1 /* 2 * System call argument to DTrace register array converstion. 3 * 4 * DO NOT EDIT-- this file is automatically generated. 5 * $FreeBSD$ 6 * This file is part of the DTrace syscall provider. 7 */ 8 9 static void 10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) 11 { 12 int64_t *iarg = (int64_t *) uarg; 13 switch (sysnum) { 14 /* nosys */ 15 case 0: { 16 *n_args = 0; 17 break; 18 } 19 /* sys_exit */ 20 case 1: { 21 struct sys_exit_args *p = params; 22 iarg[0] = p->rval; /* int */ 23 *n_args = 1; 24 break; 25 } 26 /* fork */ 27 case 2: { 28 *n_args = 0; 29 break; 30 } 31 /* read */ 32 case 3: { 33 struct read_args *p = params; 34 iarg[0] = p->fd; /* int */ 35 uarg[1] = (intptr_t) p->buf; /* void * */ 36 uarg[2] = p->nbyte; /* size_t */ 37 *n_args = 3; 38 break; 39 } 40 /* write */ 41 case 4: { 42 struct write_args *p = params; 43 iarg[0] = p->fd; /* int */ 44 uarg[1] = (intptr_t) p->buf; /* const void * */ 45 uarg[2] = p->nbyte; /* size_t */ 46 *n_args = 3; 47 break; 48 } 49 /* open */ 50 case 5: { 51 struct open_args *p = params; 52 uarg[0] = (intptr_t) p->path; /* char * */ 53 iarg[1] = p->flags; /* int */ 54 iarg[2] = p->mode; /* int */ 55 *n_args = 3; 56 break; 57 } 58 /* close */ 59 case 6: { 60 struct close_args *p = params; 61 iarg[0] = p->fd; /* int */ 62 *n_args = 1; 63 break; 64 } 65 /* wait4 */ 66 case 7: { 67 struct wait4_args *p = params; 68 iarg[0] = p->pid; /* int */ 69 uarg[1] = (intptr_t) p->status; /* int * */ 70 iarg[2] = p->options; /* int */ 71 uarg[3] = (intptr_t) p->rusage; /* struct rusage * */ 72 *n_args = 4; 73 break; 74 } 75 /* link */ 76 case 9: { 77 struct link_args *p = params; 78 uarg[0] = (intptr_t) p->path; /* char * */ 79 uarg[1] = (intptr_t) p->link; /* char * */ 80 *n_args = 2; 81 break; 82 } 83 /* unlink */ 84 case 10: { 85 struct unlink_args *p = params; 86 uarg[0] = (intptr_t) p->path; /* char * */ 87 *n_args = 1; 88 break; 89 } 90 /* chdir */ 91 case 12: { 92 struct chdir_args *p = params; 93 uarg[0] = (intptr_t) p->path; /* char * */ 94 *n_args = 1; 95 break; 96 } 97 /* fchdir */ 98 case 13: { 99 struct fchdir_args *p = params; 100 iarg[0] = p->fd; /* int */ 101 *n_args = 1; 102 break; 103 } 104 /* mknod */ 105 case 14: { 106 struct mknod_args *p = params; 107 uarg[0] = (intptr_t) p->path; /* char * */ 108 iarg[1] = p->mode; /* int */ 109 iarg[2] = p->dev; /* int */ 110 *n_args = 3; 111 break; 112 } 113 /* chmod */ 114 case 15: { 115 struct chmod_args *p = params; 116 uarg[0] = (intptr_t) p->path; /* char * */ 117 iarg[1] = p->mode; /* int */ 118 *n_args = 2; 119 break; 120 } 121 /* chown */ 122 case 16: { 123 struct chown_args *p = params; 124 uarg[0] = (intptr_t) p->path; /* char * */ 125 iarg[1] = p->uid; /* int */ 126 iarg[2] = p->gid; /* int */ 127 *n_args = 3; 128 break; 129 } 130 /* obreak */ 131 case 17: { 132 struct obreak_args *p = params; 133 uarg[0] = (intptr_t) p->nsize; /* char * */ 134 *n_args = 1; 135 break; 136 } 137 /* getpid */ 138 case 20: { 139 *n_args = 0; 140 break; 141 } 142 /* mount */ 143 case 21: { 144 struct mount_args *p = params; 145 uarg[0] = (intptr_t) p->type; /* char * */ 146 uarg[1] = (intptr_t) p->path; /* char * */ 147 iarg[2] = p->flags; /* int */ 148 uarg[3] = (intptr_t) p->data; /* caddr_t */ 149 *n_args = 4; 150 break; 151 } 152 /* unmount */ 153 case 22: { 154 struct unmount_args *p = params; 155 uarg[0] = (intptr_t) p->path; /* char * */ 156 iarg[1] = p->flags; /* int */ 157 *n_args = 2; 158 break; 159 } 160 /* setuid */ 161 case 23: { 162 struct setuid_args *p = params; 163 uarg[0] = p->uid; /* uid_t */ 164 *n_args = 1; 165 break; 166 } 167 /* getuid */ 168 case 24: { 169 *n_args = 0; 170 break; 171 } 172 /* geteuid */ 173 case 25: { 174 *n_args = 0; 175 break; 176 } 177 /* ptrace */ 178 case 26: { 179 struct ptrace_args *p = params; 180 iarg[0] = p->req; /* int */ 181 iarg[1] = p->pid; /* pid_t */ 182 uarg[2] = (intptr_t) p->addr; /* caddr_t */ 183 iarg[3] = p->data; /* int */ 184 *n_args = 4; 185 break; 186 } 187 /* recvmsg */ 188 case 27: { 189 struct recvmsg_args *p = params; 190 iarg[0] = p->s; /* int */ 191 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */ 192 iarg[2] = p->flags; /* int */ 193 *n_args = 3; 194 break; 195 } 196 /* sendmsg */ 197 case 28: { 198 struct sendmsg_args *p = params; 199 iarg[0] = p->s; /* int */ 200 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */ 201 iarg[2] = p->flags; /* int */ 202 *n_args = 3; 203 break; 204 } 205 /* recvfrom */ 206 case 29: { 207 struct recvfrom_args *p = params; 208 iarg[0] = p->s; /* int */ 209 uarg[1] = (intptr_t) p->buf; /* caddr_t */ 210 uarg[2] = p->len; /* size_t */ 211 iarg[3] = p->flags; /* int */ 212 uarg[4] = (intptr_t) p->from; /* struct sockaddr * */ 213 uarg[5] = (intptr_t) p->fromlenaddr; /* __socklen_t * */ 214 *n_args = 6; 215 break; 216 } 217 /* accept */ 218 case 30: { 219 struct accept_args *p = params; 220 iarg[0] = p->s; /* int */ 221 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */ 222 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */ 223 *n_args = 3; 224 break; 225 } 226 /* getpeername */ 227 case 31: { 228 struct getpeername_args *p = params; 229 iarg[0] = p->fdes; /* int */ 230 uarg[1] = (intptr_t) p->asa; /* struct sockaddr * */ 231 uarg[2] = (intptr_t) p->alen; /* __socklen_t * */ 232 *n_args = 3; 233 break; 234 } 235 /* getsockname */ 236 case 32: { 237 struct getsockname_args *p = params; 238 iarg[0] = p->fdes; /* int */ 239 uarg[1] = (intptr_t) p->asa; /* struct sockaddr * */ 240 uarg[2] = (intptr_t) p->alen; /* __socklen_t * */ 241 *n_args = 3; 242 break; 243 } 244 /* access */ 245 case 33: { 246 struct access_args *p = params; 247 uarg[0] = (intptr_t) p->path; /* char * */ 248 iarg[1] = p->amode; /* int */ 249 *n_args = 2; 250 break; 251 } 252 /* chflags */ 253 case 34: { 254 struct chflags_args *p = params; 255 uarg[0] = (intptr_t) p->path; /* const char * */ 256 uarg[1] = p->flags; /* u_long */ 257 *n_args = 2; 258 break; 259 } 260 /* fchflags */ 261 case 35: { 262 struct fchflags_args *p = params; 263 iarg[0] = p->fd; /* int */ 264 uarg[1] = p->flags; /* u_long */ 265 *n_args = 2; 266 break; 267 } 268 /* sync */ 269 case 36: { 270 *n_args = 0; 271 break; 272 } 273 /* kill */ 274 case 37: { 275 struct kill_args *p = params; 276 iarg[0] = p->pid; /* int */ 277 iarg[1] = p->signum; /* int */ 278 *n_args = 2; 279 break; 280 } 281 /* getppid */ 282 case 39: { 283 *n_args = 0; 284 break; 285 } 286 /* dup */ 287 case 41: { 288 struct dup_args *p = params; 289 uarg[0] = p->fd; /* u_int */ 290 *n_args = 1; 291 break; 292 } 293 /* pipe */ 294 case 42: { 295 *n_args = 0; 296 break; 297 } 298 /* getegid */ 299 case 43: { 300 *n_args = 0; 301 break; 302 } 303 /* profil */ 304 case 44: { 305 struct profil_args *p = params; 306 uarg[0] = (intptr_t) p->samples; /* caddr_t */ 307 uarg[1] = p->size; /* size_t */ 308 uarg[2] = p->offset; /* size_t */ 309 uarg[3] = p->scale; /* u_int */ 310 *n_args = 4; 311 break; 312 } 313 /* ktrace */ 314 case 45: { 315 struct ktrace_args *p = params; 316 uarg[0] = (intptr_t) p->fname; /* const char * */ 317 iarg[1] = p->ops; /* int */ 318 iarg[2] = p->facs; /* int */ 319 iarg[3] = p->pid; /* int */ 320 *n_args = 4; 321 break; 322 } 323 /* getgid */ 324 case 47: { 325 *n_args = 0; 326 break; 327 } 328 /* getlogin */ 329 case 49: { 330 struct getlogin_args *p = params; 331 uarg[0] = (intptr_t) p->namebuf; /* char * */ 332 uarg[1] = p->namelen; /* u_int */ 333 *n_args = 2; 334 break; 335 } 336 /* setlogin */ 337 case 50: { 338 struct setlogin_args *p = params; 339 uarg[0] = (intptr_t) p->namebuf; /* char * */ 340 *n_args = 1; 341 break; 342 } 343 /* acct */ 344 case 51: { 345 struct acct_args *p = params; 346 uarg[0] = (intptr_t) p->path; /* char * */ 347 *n_args = 1; 348 break; 349 } 350 /* sigaltstack */ 351 case 53: { 352 struct sigaltstack_args *p = params; 353 uarg[0] = (intptr_t) p->ss; /* stack_t * */ 354 uarg[1] = (intptr_t) p->oss; /* stack_t * */ 355 *n_args = 2; 356 break; 357 } 358 /* ioctl */ 359 case 54: { 360 struct ioctl_args *p = params; 361 iarg[0] = p->fd; /* int */ 362 uarg[1] = p->com; /* u_long */ 363 uarg[2] = (intptr_t) p->data; /* caddr_t */ 364 *n_args = 3; 365 break; 366 } 367 /* reboot */ 368 case 55: { 369 struct reboot_args *p = params; 370 iarg[0] = p->opt; /* int */ 371 *n_args = 1; 372 break; 373 } 374 /* revoke */ 375 case 56: { 376 struct revoke_args *p = params; 377 uarg[0] = (intptr_t) p->path; /* char * */ 378 *n_args = 1; 379 break; 380 } 381 /* symlink */ 382 case 57: { 383 struct symlink_args *p = params; 384 uarg[0] = (intptr_t) p->path; /* char * */ 385 uarg[1] = (intptr_t) p->link; /* char * */ 386 *n_args = 2; 387 break; 388 } 389 /* readlink */ 390 case 58: { 391 struct readlink_args *p = params; 392 uarg[0] = (intptr_t) p->path; /* char * */ 393 uarg[1] = (intptr_t) p->buf; /* char * */ 394 uarg[2] = p->count; /* size_t */ 395 *n_args = 3; 396 break; 397 } 398 /* execve */ 399 case 59: { 400 struct execve_args *p = params; 401 uarg[0] = (intptr_t) p->fname; /* char * */ 402 uarg[1] = (intptr_t) p->argv; /* char ** */ 403 uarg[2] = (intptr_t) p->envv; /* char ** */ 404 *n_args = 3; 405 break; 406 } 407 /* umask */ 408 case 60: { 409 struct umask_args *p = params; 410 iarg[0] = p->newmask; /* int */ 411 *n_args = 1; 412 break; 413 } 414 /* chroot */ 415 case 61: { 416 struct chroot_args *p = params; 417 uarg[0] = (intptr_t) p->path; /* char * */ 418 *n_args = 1; 419 break; 420 } 421 /* msync */ 422 case 65: { 423 struct msync_args *p = params; 424 uarg[0] = (intptr_t) p->addr; /* void * */ 425 uarg[1] = p->len; /* size_t */ 426 iarg[2] = p->flags; /* int */ 427 *n_args = 3; 428 break; 429 } 430 /* vfork */ 431 case 66: { 432 *n_args = 0; 433 break; 434 } 435 /* sbrk */ 436 case 69: { 437 struct sbrk_args *p = params; 438 iarg[0] = p->incr; /* int */ 439 *n_args = 1; 440 break; 441 } 442 /* sstk */ 443 case 70: { 444 struct sstk_args *p = params; 445 iarg[0] = p->incr; /* int */ 446 *n_args = 1; 447 break; 448 } 449 /* ovadvise */ 450 case 72: { 451 struct ovadvise_args *p = params; 452 iarg[0] = p->anom; /* int */ 453 *n_args = 1; 454 break; 455 } 456 /* munmap */ 457 case 73: { 458 struct munmap_args *p = params; 459 uarg[0] = (intptr_t) p->addr; /* void * */ 460 uarg[1] = p->len; /* size_t */ 461 *n_args = 2; 462 break; 463 } 464 /* mprotect */ 465 case 74: { 466 struct mprotect_args *p = params; 467 uarg[0] = (intptr_t) p->addr; /* const void * */ 468 uarg[1] = p->len; /* size_t */ 469 iarg[2] = p->prot; /* int */ 470 *n_args = 3; 471 break; 472 } 473 /* madvise */ 474 case 75: { 475 struct madvise_args *p = params; 476 uarg[0] = (intptr_t) p->addr; /* void * */ 477 uarg[1] = p->len; /* size_t */ 478 iarg[2] = p->behav; /* int */ 479 *n_args = 3; 480 break; 481 } 482 /* mincore */ 483 case 78: { 484 struct mincore_args *p = params; 485 uarg[0] = (intptr_t) p->addr; /* const void * */ 486 uarg[1] = p->len; /* size_t */ 487 uarg[2] = (intptr_t) p->vec; /* char * */ 488 *n_args = 3; 489 break; 490 } 491 /* getgroups */ 492 case 79: { 493 struct getgroups_args *p = params; 494 uarg[0] = p->gidsetsize; /* u_int */ 495 uarg[1] = (intptr_t) p->gidset; /* gid_t * */ 496 *n_args = 2; 497 break; 498 } 499 /* setgroups */ 500 case 80: { 501 struct setgroups_args *p = params; 502 uarg[0] = p->gidsetsize; /* u_int */ 503 uarg[1] = (intptr_t) p->gidset; /* gid_t * */ 504 *n_args = 2; 505 break; 506 } 507 /* getpgrp */ 508 case 81: { 509 *n_args = 0; 510 break; 511 } 512 /* setpgid */ 513 case 82: { 514 struct setpgid_args *p = params; 515 iarg[0] = p->pid; /* int */ 516 iarg[1] = p->pgid; /* int */ 517 *n_args = 2; 518 break; 519 } 520 /* setitimer */ 521 case 83: { 522 struct setitimer_args *p = params; 523 uarg[0] = p->which; /* u_int */ 524 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */ 525 uarg[2] = (intptr_t) p->oitv; /* struct itimerval * */ 526 *n_args = 3; 527 break; 528 } 529 /* swapon */ 530 case 85: { 531 struct swapon_args *p = params; 532 uarg[0] = (intptr_t) p->name; /* char * */ 533 *n_args = 1; 534 break; 535 } 536 /* getitimer */ 537 case 86: { 538 struct getitimer_args *p = params; 539 uarg[0] = p->which; /* u_int */ 540 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */ 541 *n_args = 2; 542 break; 543 } 544 /* getdtablesize */ 545 case 89: { 546 *n_args = 0; 547 break; 548 } 549 /* dup2 */ 550 case 90: { 551 struct dup2_args *p = params; 552 uarg[0] = p->from; /* u_int */ 553 uarg[1] = p->to; /* u_int */ 554 *n_args = 2; 555 break; 556 } 557 /* fcntl */ 558 case 92: { 559 struct fcntl_args *p = params; 560 iarg[0] = p->fd; /* int */ 561 iarg[1] = p->cmd; /* int */ 562 iarg[2] = p->arg; /* long */ 563 *n_args = 3; 564 break; 565 } 566 /* select */ 567 case 93: { 568 struct select_args *p = params; 569 iarg[0] = p->nd; /* int */ 570 uarg[1] = (intptr_t) p->in; /* fd_set * */ 571 uarg[2] = (intptr_t) p->ou; /* fd_set * */ 572 uarg[3] = (intptr_t) p->ex; /* fd_set * */ 573 uarg[4] = (intptr_t) p->tv; /* struct timeval * */ 574 *n_args = 5; 575 break; 576 } 577 /* fsync */ 578 case 95: { 579 struct fsync_args *p = params; 580 iarg[0] = p->fd; /* int */ 581 *n_args = 1; 582 break; 583 } 584 /* setpriority */ 585 case 96: { 586 struct setpriority_args *p = params; 587 iarg[0] = p->which; /* int */ 588 iarg[1] = p->who; /* int */ 589 iarg[2] = p->prio; /* int */ 590 *n_args = 3; 591 break; 592 } 593 /* socket */ 594 case 97: { 595 struct socket_args *p = params; 596 iarg[0] = p->domain; /* int */ 597 iarg[1] = p->type; /* int */ 598 iarg[2] = p->protocol; /* int */ 599 *n_args = 3; 600 break; 601 } 602 /* connect */ 603 case 98: { 604 struct connect_args *p = params; 605 iarg[0] = p->s; /* int */ 606 uarg[1] = (intptr_t) p->name; /* caddr_t */ 607 iarg[2] = p->namelen; /* int */ 608 *n_args = 3; 609 break; 610 } 611 /* getpriority */ 612 case 100: { 613 struct getpriority_args *p = params; 614 iarg[0] = p->which; /* int */ 615 iarg[1] = p->who; /* int */ 616 *n_args = 2; 617 break; 618 } 619 /* bind */ 620 case 104: { 621 struct bind_args *p = params; 622 iarg[0] = p->s; /* int */ 623 uarg[1] = (intptr_t) p->name; /* caddr_t */ 624 iarg[2] = p->namelen; /* int */ 625 *n_args = 3; 626 break; 627 } 628 /* setsockopt */ 629 case 105: { 630 struct setsockopt_args *p = params; 631 iarg[0] = p->s; /* int */ 632 iarg[1] = p->level; /* int */ 633 iarg[2] = p->name; /* int */ 634 uarg[3] = (intptr_t) p->val; /* caddr_t */ 635 iarg[4] = p->valsize; /* int */ 636 *n_args = 5; 637 break; 638 } 639 /* listen */ 640 case 106: { 641 struct listen_args *p = params; 642 iarg[0] = p->s; /* int */ 643 iarg[1] = p->backlog; /* int */ 644 *n_args = 2; 645 break; 646 } 647 /* gettimeofday */ 648 case 116: { 649 struct gettimeofday_args *p = params; 650 uarg[0] = (intptr_t) p->tp; /* struct timeval * */ 651 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */ 652 *n_args = 2; 653 break; 654 } 655 /* getrusage */ 656 case 117: { 657 struct getrusage_args *p = params; 658 iarg[0] = p->who; /* int */ 659 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */ 660 *n_args = 2; 661 break; 662 } 663 /* getsockopt */ 664 case 118: { 665 struct getsockopt_args *p = params; 666 iarg[0] = p->s; /* int */ 667 iarg[1] = p->level; /* int */ 668 iarg[2] = p->name; /* int */ 669 uarg[3] = (intptr_t) p->val; /* caddr_t */ 670 uarg[4] = (intptr_t) p->avalsize; /* int * */ 671 *n_args = 5; 672 break; 673 } 674 /* readv */ 675 case 120: { 676 struct readv_args *p = params; 677 iarg[0] = p->fd; /* int */ 678 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ 679 uarg[2] = p->iovcnt; /* u_int */ 680 *n_args = 3; 681 break; 682 } 683 /* writev */ 684 case 121: { 685 struct writev_args *p = params; 686 iarg[0] = p->fd; /* int */ 687 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ 688 uarg[2] = p->iovcnt; /* u_int */ 689 *n_args = 3; 690 break; 691 } 692 /* settimeofday */ 693 case 122: { 694 struct settimeofday_args *p = params; 695 uarg[0] = (intptr_t) p->tv; /* struct timeval * */ 696 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */ 697 *n_args = 2; 698 break; 699 } 700 /* fchown */ 701 case 123: { 702 struct fchown_args *p = params; 703 iarg[0] = p->fd; /* int */ 704 iarg[1] = p->uid; /* int */ 705 iarg[2] = p->gid; /* int */ 706 *n_args = 3; 707 break; 708 } 709 /* fchmod */ 710 case 124: { 711 struct fchmod_args *p = params; 712 iarg[0] = p->fd; /* int */ 713 iarg[1] = p->mode; /* int */ 714 *n_args = 2; 715 break; 716 } 717 /* setreuid */ 718 case 126: { 719 struct setreuid_args *p = params; 720 iarg[0] = p->ruid; /* int */ 721 iarg[1] = p->euid; /* int */ 722 *n_args = 2; 723 break; 724 } 725 /* setregid */ 726 case 127: { 727 struct setregid_args *p = params; 728 iarg[0] = p->rgid; /* int */ 729 iarg[1] = p->egid; /* int */ 730 *n_args = 2; 731 break; 732 } 733 /* rename */ 734 case 128: { 735 struct rename_args *p = params; 736 uarg[0] = (intptr_t) p->from; /* char * */ 737 uarg[1] = (intptr_t) p->to; /* char * */ 738 *n_args = 2; 739 break; 740 } 741 /* flock */ 742 case 131: { 743 struct flock_args *p = params; 744 iarg[0] = p->fd; /* int */ 745 iarg[1] = p->how; /* int */ 746 *n_args = 2; 747 break; 748 } 749 /* mkfifo */ 750 case 132: { 751 struct mkfifo_args *p = params; 752 uarg[0] = (intptr_t) p->path; /* char * */ 753 iarg[1] = p->mode; /* int */ 754 *n_args = 2; 755 break; 756 } 757 /* sendto */ 758 case 133: { 759 struct sendto_args *p = params; 760 iarg[0] = p->s; /* int */ 761 uarg[1] = (intptr_t) p->buf; /* caddr_t */ 762 uarg[2] = p->len; /* size_t */ 763 iarg[3] = p->flags; /* int */ 764 uarg[4] = (intptr_t) p->to; /* caddr_t */ 765 iarg[5] = p->tolen; /* int */ 766 *n_args = 6; 767 break; 768 } 769 /* shutdown */ 770 case 134: { 771 struct shutdown_args *p = params; 772 iarg[0] = p->s; /* int */ 773 iarg[1] = p->how; /* int */ 774 *n_args = 2; 775 break; 776 } 777 /* socketpair */ 778 case 135: { 779 struct socketpair_args *p = params; 780 iarg[0] = p->domain; /* int */ 781 iarg[1] = p->type; /* int */ 782 iarg[2] = p->protocol; /* int */ 783 uarg[3] = (intptr_t) p->rsv; /* int * */ 784 *n_args = 4; 785 break; 786 } 787 /* mkdir */ 788 case 136: { 789 struct mkdir_args *p = params; 790 uarg[0] = (intptr_t) p->path; /* char * */ 791 iarg[1] = p->mode; /* int */ 792 *n_args = 2; 793 break; 794 } 795 /* rmdir */ 796 case 137: { 797 struct rmdir_args *p = params; 798 uarg[0] = (intptr_t) p->path; /* char * */ 799 *n_args = 1; 800 break; 801 } 802 /* utimes */ 803 case 138: { 804 struct utimes_args *p = params; 805 uarg[0] = (intptr_t) p->path; /* char * */ 806 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */ 807 *n_args = 2; 808 break; 809 } 810 /* adjtime */ 811 case 140: { 812 struct adjtime_args *p = params; 813 uarg[0] = (intptr_t) p->delta; /* struct timeval * */ 814 uarg[1] = (intptr_t) p->olddelta; /* struct timeval * */ 815 *n_args = 2; 816 break; 817 } 818 /* setsid */ 819 case 147: { 820 *n_args = 0; 821 break; 822 } 823 /* quotactl */ 824 case 148: { 825 struct quotactl_args *p = params; 826 uarg[0] = (intptr_t) p->path; /* char * */ 827 iarg[1] = p->cmd; /* int */ 828 iarg[2] = p->uid; /* int */ 829 uarg[3] = (intptr_t) p->arg; /* caddr_t */ 830 *n_args = 4; 831 break; 832 } 833 /* nlm_syscall */ 834 case 154: { 835 struct nlm_syscall_args *p = params; 836 iarg[0] = p->debug_level; /* int */ 837 iarg[1] = p->grace_period; /* int */ 838 iarg[2] = p->addr_count; /* int */ 839 uarg[3] = (intptr_t) p->addrs; /* char ** */ 840 *n_args = 4; 841 break; 842 } 843 /* nfssvc */ 844 case 155: { 845 struct nfssvc_args *p = params; 846 iarg[0] = p->flag; /* int */ 847 uarg[1] = (intptr_t) p->argp; /* caddr_t */ 848 *n_args = 2; 849 break; 850 } 851 /* lgetfh */ 852 case 160: { 853 struct lgetfh_args *p = params; 854 uarg[0] = (intptr_t) p->fname; /* char * */ 855 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */ 856 *n_args = 2; 857 break; 858 } 859 /* getfh */ 860 case 161: { 861 struct getfh_args *p = params; 862 uarg[0] = (intptr_t) p->fname; /* char * */ 863 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */ 864 *n_args = 2; 865 break; 866 } 867 /* sysarch */ 868 case 165: { 869 struct sysarch_args *p = params; 870 iarg[0] = p->op; /* int */ 871 uarg[1] = (intptr_t) p->parms; /* char * */ 872 *n_args = 2; 873 break; 874 } 875 /* rtprio */ 876 case 166: { 877 struct rtprio_args *p = params; 878 iarg[0] = p->function; /* int */ 879 iarg[1] = p->pid; /* pid_t */ 880 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */ 881 *n_args = 3; 882 break; 883 } 884 /* semsys */ 885 case 169: { 886 struct semsys_args *p = params; 887 iarg[0] = p->which; /* int */ 888 iarg[1] = p->a2; /* int */ 889 iarg[2] = p->a3; /* int */ 890 iarg[3] = p->a4; /* int */ 891 iarg[4] = p->a5; /* int */ 892 *n_args = 5; 893 break; 894 } 895 /* msgsys */ 896 case 170: { 897 struct msgsys_args *p = params; 898 iarg[0] = p->which; /* int */ 899 iarg[1] = p->a2; /* int */ 900 iarg[2] = p->a3; /* int */ 901 iarg[3] = p->a4; /* int */ 902 iarg[4] = p->a5; /* int */ 903 iarg[5] = p->a6; /* int */ 904 *n_args = 6; 905 break; 906 } 907 /* shmsys */ 908 case 171: { 909 struct shmsys_args *p = params; 910 iarg[0] = p->which; /* int */ 911 iarg[1] = p->a2; /* int */ 912 iarg[2] = p->a3; /* int */ 913 iarg[3] = p->a4; /* int */ 914 *n_args = 4; 915 break; 916 } 917 /* freebsd6_pread */ 918 case 173: { 919 struct freebsd6_pread_args *p = params; 920 iarg[0] = p->fd; /* int */ 921 uarg[1] = (intptr_t) p->buf; /* void * */ 922 uarg[2] = p->nbyte; /* size_t */ 923 iarg[3] = p->pad; /* int */ 924 iarg[4] = p->offset; /* off_t */ 925 *n_args = 5; 926 break; 927 } 928 /* freebsd6_pwrite */ 929 case 174: { 930 struct freebsd6_pwrite_args *p = params; 931 iarg[0] = p->fd; /* int */ 932 uarg[1] = (intptr_t) p->buf; /* const void * */ 933 uarg[2] = p->nbyte; /* size_t */ 934 iarg[3] = p->pad; /* int */ 935 iarg[4] = p->offset; /* off_t */ 936 *n_args = 5; 937 break; 938 } 939 /* setfib */ 940 case 175: { 941 struct setfib_args *p = params; 942 iarg[0] = p->fibnum; /* int */ 943 *n_args = 1; 944 break; 945 } 946 /* ntp_adjtime */ 947 case 176: { 948 struct ntp_adjtime_args *p = params; 949 uarg[0] = (intptr_t) p->tp; /* struct timex * */ 950 *n_args = 1; 951 break; 952 } 953 /* setgid */ 954 case 181: { 955 struct setgid_args *p = params; 956 iarg[0] = p->gid; /* gid_t */ 957 *n_args = 1; 958 break; 959 } 960 /* setegid */ 961 case 182: { 962 struct setegid_args *p = params; 963 iarg[0] = p->egid; /* gid_t */ 964 *n_args = 1; 965 break; 966 } 967 /* seteuid */ 968 case 183: { 969 struct seteuid_args *p = params; 970 uarg[0] = p->euid; /* uid_t */ 971 *n_args = 1; 972 break; 973 } 974 /* stat */ 975 case 188: { 976 struct stat_args *p = params; 977 uarg[0] = (intptr_t) p->path; /* char * */ 978 uarg[1] = (intptr_t) p->ub; /* struct stat * */ 979 *n_args = 2; 980 break; 981 } 982 /* fstat */ 983 case 189: { 984 struct fstat_args *p = params; 985 iarg[0] = p->fd; /* int */ 986 uarg[1] = (intptr_t) p->sb; /* struct stat * */ 987 *n_args = 2; 988 break; 989 } 990 /* lstat */ 991 case 190: { 992 struct lstat_args *p = params; 993 uarg[0] = (intptr_t) p->path; /* char * */ 994 uarg[1] = (intptr_t) p->ub; /* struct stat * */ 995 *n_args = 2; 996 break; 997 } 998 /* pathconf */ 999 case 191: { 1000 struct pathconf_args *p = params; 1001 uarg[0] = (intptr_t) p->path; /* char * */ 1002 iarg[1] = p->name; /* int */ 1003 *n_args = 2; 1004 break; 1005 } 1006 /* fpathconf */ 1007 case 192: { 1008 struct fpathconf_args *p = params; 1009 iarg[0] = p->fd; /* int */ 1010 iarg[1] = p->name; /* int */ 1011 *n_args = 2; 1012 break; 1013 } 1014 /* getrlimit */ 1015 case 194: { 1016 struct __getrlimit_args *p = params; 1017 uarg[0] = p->which; /* u_int */ 1018 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */ 1019 *n_args = 2; 1020 break; 1021 } 1022 /* setrlimit */ 1023 case 195: { 1024 struct __setrlimit_args *p = params; 1025 uarg[0] = p->which; /* u_int */ 1026 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */ 1027 *n_args = 2; 1028 break; 1029 } 1030 /* getdirentries */ 1031 case 196: { 1032 struct getdirentries_args *p = params; 1033 iarg[0] = p->fd; /* int */ 1034 uarg[1] = (intptr_t) p->buf; /* char * */ 1035 uarg[2] = p->count; /* u_int */ 1036 uarg[3] = (intptr_t) p->basep; /* long * */ 1037 *n_args = 4; 1038 break; 1039 } 1040 /* freebsd6_mmap */ 1041 case 197: { 1042 struct freebsd6_mmap_args *p = params; 1043 uarg[0] = (intptr_t) p->addr; /* caddr_t */ 1044 uarg[1] = p->len; /* size_t */ 1045 iarg[2] = p->prot; /* int */ 1046 iarg[3] = p->flags; /* int */ 1047 iarg[4] = p->fd; /* int */ 1048 iarg[5] = p->pad; /* int */ 1049 iarg[6] = p->pos; /* off_t */ 1050 *n_args = 7; 1051 break; 1052 } 1053 /* nosys */ 1054 case 198: { 1055 *n_args = 0; 1056 break; 1057 } 1058 /* freebsd6_lseek */ 1059 case 199: { 1060 struct freebsd6_lseek_args *p = params; 1061 iarg[0] = p->fd; /* int */ 1062 iarg[1] = p->pad; /* int */ 1063 iarg[2] = p->offset; /* off_t */ 1064 iarg[3] = p->whence; /* int */ 1065 *n_args = 4; 1066 break; 1067 } 1068 /* freebsd6_truncate */ 1069 case 200: { 1070 struct freebsd6_truncate_args *p = params; 1071 uarg[0] = (intptr_t) p->path; /* char * */ 1072 iarg[1] = p->pad; /* int */ 1073 iarg[2] = p->length; /* off_t */ 1074 *n_args = 3; 1075 break; 1076 } 1077 /* freebsd6_ftruncate */ 1078 case 201: { 1079 struct freebsd6_ftruncate_args *p = params; 1080 iarg[0] = p->fd; /* int */ 1081 iarg[1] = p->pad; /* int */ 1082 iarg[2] = p->length; /* off_t */ 1083 *n_args = 3; 1084 break; 1085 } 1086 /* __sysctl */ 1087 case 202: { 1088 struct sysctl_args *p = params; 1089 uarg[0] = (intptr_t) p->name; /* int * */ 1090 uarg[1] = p->namelen; /* u_int */ 1091 uarg[2] = (intptr_t) p->old; /* void * */ 1092 uarg[3] = (intptr_t) p->oldlenp; /* size_t * */ 1093 uarg[4] = (intptr_t) p->new; /* void * */ 1094 uarg[5] = p->newlen; /* size_t */ 1095 *n_args = 6; 1096 break; 1097 } 1098 /* mlock */ 1099 case 203: { 1100 struct mlock_args *p = params; 1101 uarg[0] = (intptr_t) p->addr; /* const void * */ 1102 uarg[1] = p->len; /* size_t */ 1103 *n_args = 2; 1104 break; 1105 } 1106 /* munlock */ 1107 case 204: { 1108 struct munlock_args *p = params; 1109 uarg[0] = (intptr_t) p->addr; /* const void * */ 1110 uarg[1] = p->len; /* size_t */ 1111 *n_args = 2; 1112 break; 1113 } 1114 /* undelete */ 1115 case 205: { 1116 struct undelete_args *p = params; 1117 uarg[0] = (intptr_t) p->path; /* char * */ 1118 *n_args = 1; 1119 break; 1120 } 1121 /* futimes */ 1122 case 206: { 1123 struct futimes_args *p = params; 1124 iarg[0] = p->fd; /* int */ 1125 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */ 1126 *n_args = 2; 1127 break; 1128 } 1129 /* getpgid */ 1130 case 207: { 1131 struct getpgid_args *p = params; 1132 iarg[0] = p->pid; /* pid_t */ 1133 *n_args = 1; 1134 break; 1135 } 1136 /* poll */ 1137 case 209: { 1138 struct poll_args *p = params; 1139 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */ 1140 uarg[1] = p->nfds; /* u_int */ 1141 iarg[2] = p->timeout; /* int */ 1142 *n_args = 3; 1143 break; 1144 } 1145 /* lkmnosys */ 1146 case 210: { 1147 *n_args = 0; 1148 break; 1149 } 1150 /* lkmnosys */ 1151 case 211: { 1152 *n_args = 0; 1153 break; 1154 } 1155 /* lkmnosys */ 1156 case 212: { 1157 *n_args = 0; 1158 break; 1159 } 1160 /* lkmnosys */ 1161 case 213: { 1162 *n_args = 0; 1163 break; 1164 } 1165 /* lkmnosys */ 1166 case 214: { 1167 *n_args = 0; 1168 break; 1169 } 1170 /* lkmnosys */ 1171 case 215: { 1172 *n_args = 0; 1173 break; 1174 } 1175 /* lkmnosys */ 1176 case 216: { 1177 *n_args = 0; 1178 break; 1179 } 1180 /* lkmnosys */ 1181 case 217: { 1182 *n_args = 0; 1183 break; 1184 } 1185 /* lkmnosys */ 1186 case 218: { 1187 *n_args = 0; 1188 break; 1189 } 1190 /* lkmnosys */ 1191 case 219: { 1192 *n_args = 0; 1193 break; 1194 } 1195 /* semget */ 1196 case 221: { 1197 struct semget_args *p = params; 1198 iarg[0] = p->key; /* key_t */ 1199 iarg[1] = p->nsems; /* int */ 1200 iarg[2] = p->semflg; /* int */ 1201 *n_args = 3; 1202 break; 1203 } 1204 /* semop */ 1205 case 222: { 1206 struct semop_args *p = params; 1207 iarg[0] = p->semid; /* int */ 1208 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */ 1209 uarg[2] = p->nsops; /* size_t */ 1210 *n_args = 3; 1211 break; 1212 } 1213 /* msgget */ 1214 case 225: { 1215 struct msgget_args *p = params; 1216 iarg[0] = p->key; /* key_t */ 1217 iarg[1] = p->msgflg; /* int */ 1218 *n_args = 2; 1219 break; 1220 } 1221 /* msgsnd */ 1222 case 226: { 1223 struct msgsnd_args *p = params; 1224 iarg[0] = p->msqid; /* int */ 1225 uarg[1] = (intptr_t) p->msgp; /* const void * */ 1226 uarg[2] = p->msgsz; /* size_t */ 1227 iarg[3] = p->msgflg; /* int */ 1228 *n_args = 4; 1229 break; 1230 } 1231 /* msgrcv */ 1232 case 227: { 1233 struct msgrcv_args *p = params; 1234 iarg[0] = p->msqid; /* int */ 1235 uarg[1] = (intptr_t) p->msgp; /* void * */ 1236 uarg[2] = p->msgsz; /* size_t */ 1237 iarg[3] = p->msgtyp; /* long */ 1238 iarg[4] = p->msgflg; /* int */ 1239 *n_args = 5; 1240 break; 1241 } 1242 /* shmat */ 1243 case 228: { 1244 struct shmat_args *p = params; 1245 iarg[0] = p->shmid; /* int */ 1246 uarg[1] = (intptr_t) p->shmaddr; /* const void * */ 1247 iarg[2] = p->shmflg; /* int */ 1248 *n_args = 3; 1249 break; 1250 } 1251 /* shmdt */ 1252 case 230: { 1253 struct shmdt_args *p = params; 1254 uarg[0] = (intptr_t) p->shmaddr; /* const void * */ 1255 *n_args = 1; 1256 break; 1257 } 1258 /* shmget */ 1259 case 231: { 1260 struct shmget_args *p = params; 1261 iarg[0] = p->key; /* key_t */ 1262 uarg[1] = p->size; /* size_t */ 1263 iarg[2] = p->shmflg; /* int */ 1264 *n_args = 3; 1265 break; 1266 } 1267 /* clock_gettime */ 1268 case 232: { 1269 struct clock_gettime_args *p = params; 1270 iarg[0] = p->clock_id; /* clockid_t */ 1271 uarg[1] = (intptr_t) p->tp; /* struct timespec * */ 1272 *n_args = 2; 1273 break; 1274 } 1275 /* clock_settime */ 1276 case 233: { 1277 struct clock_settime_args *p = params; 1278 iarg[0] = p->clock_id; /* clockid_t */ 1279 uarg[1] = (intptr_t) p->tp; /* const struct timespec * */ 1280 *n_args = 2; 1281 break; 1282 } 1283 /* clock_getres */ 1284 case 234: { 1285 struct clock_getres_args *p = params; 1286 iarg[0] = p->clock_id; /* clockid_t */ 1287 uarg[1] = (intptr_t) p->tp; /* struct timespec * */ 1288 *n_args = 2; 1289 break; 1290 } 1291 /* ktimer_create */ 1292 case 235: { 1293 struct ktimer_create_args *p = params; 1294 iarg[0] = p->clock_id; /* clockid_t */ 1295 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */ 1296 uarg[2] = (intptr_t) p->timerid; /* int * */ 1297 *n_args = 3; 1298 break; 1299 } 1300 /* ktimer_delete */ 1301 case 236: { 1302 struct ktimer_delete_args *p = params; 1303 iarg[0] = p->timerid; /* int */ 1304 *n_args = 1; 1305 break; 1306 } 1307 /* ktimer_settime */ 1308 case 237: { 1309 struct ktimer_settime_args *p = params; 1310 iarg[0] = p->timerid; /* int */ 1311 iarg[1] = p->flags; /* int */ 1312 uarg[2] = (intptr_t) p->value; /* const struct itimerspec * */ 1313 uarg[3] = (intptr_t) p->ovalue; /* struct itimerspec * */ 1314 *n_args = 4; 1315 break; 1316 } 1317 /* ktimer_gettime */ 1318 case 238: { 1319 struct ktimer_gettime_args *p = params; 1320 iarg[0] = p->timerid; /* int */ 1321 uarg[1] = (intptr_t) p->value; /* struct itimerspec * */ 1322 *n_args = 2; 1323 break; 1324 } 1325 /* ktimer_getoverrun */ 1326 case 239: { 1327 struct ktimer_getoverrun_args *p = params; 1328 iarg[0] = p->timerid; /* int */ 1329 *n_args = 1; 1330 break; 1331 } 1332 /* nanosleep */ 1333 case 240: { 1334 struct nanosleep_args *p = params; 1335 uarg[0] = (intptr_t) p->rqtp; /* const struct timespec * */ 1336 uarg[1] = (intptr_t) p->rmtp; /* struct timespec * */ 1337 *n_args = 2; 1338 break; 1339 } 1340 /* ffclock_getcounter */ 1341 case 241: { 1342 struct ffclock_getcounter_args *p = params; 1343 uarg[0] = (intptr_t) p->ffcount; /* ffcounter * */ 1344 *n_args = 1; 1345 break; 1346 } 1347 /* ffclock_setestimate */ 1348 case 242: { 1349 struct ffclock_setestimate_args *p = params; 1350 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */ 1351 *n_args = 1; 1352 break; 1353 } 1354 /* ffclock_getestimate */ 1355 case 243: { 1356 struct ffclock_getestimate_args *p = params; 1357 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */ 1358 *n_args = 1; 1359 break; 1360 } 1361 /* clock_getcpuclockid2 */ 1362 case 247: { 1363 struct clock_getcpuclockid2_args *p = params; 1364 iarg[0] = p->id; /* id_t */ 1365 iarg[1] = p->which; /* int */ 1366 uarg[2] = (intptr_t) p->clock_id; /* clockid_t * */ 1367 *n_args = 3; 1368 break; 1369 } 1370 /* ntp_gettime */ 1371 case 248: { 1372 struct ntp_gettime_args *p = params; 1373 uarg[0] = (intptr_t) p->ntvp; /* struct ntptimeval * */ 1374 *n_args = 1; 1375 break; 1376 } 1377 /* minherit */ 1378 case 250: { 1379 struct minherit_args *p = params; 1380 uarg[0] = (intptr_t) p->addr; /* void * */ 1381 uarg[1] = p->len; /* size_t */ 1382 iarg[2] = p->inherit; /* int */ 1383 *n_args = 3; 1384 break; 1385 } 1386 /* rfork */ 1387 case 251: { 1388 struct rfork_args *p = params; 1389 iarg[0] = p->flags; /* int */ 1390 *n_args = 1; 1391 break; 1392 } 1393 /* openbsd_poll */ 1394 case 252: { 1395 struct openbsd_poll_args *p = params; 1396 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */ 1397 uarg[1] = p->nfds; /* u_int */ 1398 iarg[2] = p->timeout; /* int */ 1399 *n_args = 3; 1400 break; 1401 } 1402 /* issetugid */ 1403 case 253: { 1404 *n_args = 0; 1405 break; 1406 } 1407 /* lchown */ 1408 case 254: { 1409 struct lchown_args *p = params; 1410 uarg[0] = (intptr_t) p->path; /* char * */ 1411 iarg[1] = p->uid; /* int */ 1412 iarg[2] = p->gid; /* int */ 1413 *n_args = 3; 1414 break; 1415 } 1416 /* aio_read */ 1417 case 255: { 1418 struct aio_read_args *p = params; 1419 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */ 1420 *n_args = 1; 1421 break; 1422 } 1423 /* aio_write */ 1424 case 256: { 1425 struct aio_write_args *p = params; 1426 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */ 1427 *n_args = 1; 1428 break; 1429 } 1430 /* lio_listio */ 1431 case 257: { 1432 struct lio_listio_args *p = params; 1433 iarg[0] = p->mode; /* int */ 1434 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb *const * */ 1435 iarg[2] = p->nent; /* int */ 1436 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */ 1437 *n_args = 4; 1438 break; 1439 } 1440 /* getdents */ 1441 case 272: { 1442 struct getdents_args *p = params; 1443 iarg[0] = p->fd; /* int */ 1444 uarg[1] = (intptr_t) p->buf; /* char * */ 1445 uarg[2] = p->count; /* size_t */ 1446 *n_args = 3; 1447 break; 1448 } 1449 /* lchmod */ 1450 case 274: { 1451 struct lchmod_args *p = params; 1452 uarg[0] = (intptr_t) p->path; /* char * */ 1453 iarg[1] = p->mode; /* mode_t */ 1454 *n_args = 2; 1455 break; 1456 } 1457 /* lchown */ 1458 case 275: { 1459 struct lchown_args *p = params; 1460 uarg[0] = (intptr_t) p->path; /* char * */ 1461 uarg[1] = p->uid; /* uid_t */ 1462 iarg[2] = p->gid; /* gid_t */ 1463 *n_args = 3; 1464 break; 1465 } 1466 /* lutimes */ 1467 case 276: { 1468 struct lutimes_args *p = params; 1469 uarg[0] = (intptr_t) p->path; /* char * */ 1470 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */ 1471 *n_args = 2; 1472 break; 1473 } 1474 /* msync */ 1475 case 277: { 1476 struct msync_args *p = params; 1477 uarg[0] = (intptr_t) p->addr; /* void * */ 1478 uarg[1] = p->len; /* size_t */ 1479 iarg[2] = p->flags; /* int */ 1480 *n_args = 3; 1481 break; 1482 } 1483 /* nstat */ 1484 case 278: { 1485 struct nstat_args *p = params; 1486 uarg[0] = (intptr_t) p->path; /* char * */ 1487 uarg[1] = (intptr_t) p->ub; /* struct nstat * */ 1488 *n_args = 2; 1489 break; 1490 } 1491 /* nfstat */ 1492 case 279: { 1493 struct nfstat_args *p = params; 1494 iarg[0] = p->fd; /* int */ 1495 uarg[1] = (intptr_t) p->sb; /* struct nstat * */ 1496 *n_args = 2; 1497 break; 1498 } 1499 /* nlstat */ 1500 case 280: { 1501 struct nlstat_args *p = params; 1502 uarg[0] = (intptr_t) p->path; /* char * */ 1503 uarg[1] = (intptr_t) p->ub; /* struct nstat * */ 1504 *n_args = 2; 1505 break; 1506 } 1507 /* preadv */ 1508 case 289: { 1509 struct preadv_args *p = params; 1510 iarg[0] = p->fd; /* int */ 1511 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ 1512 uarg[2] = p->iovcnt; /* u_int */ 1513 iarg[3] = p->offset; /* off_t */ 1514 *n_args = 4; 1515 break; 1516 } 1517 /* pwritev */ 1518 case 290: { 1519 struct pwritev_args *p = params; 1520 iarg[0] = p->fd; /* int */ 1521 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ 1522 uarg[2] = p->iovcnt; /* u_int */ 1523 iarg[3] = p->offset; /* off_t */ 1524 *n_args = 4; 1525 break; 1526 } 1527 /* fhopen */ 1528 case 298: { 1529 struct fhopen_args *p = params; 1530 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */ 1531 iarg[1] = p->flags; /* int */ 1532 *n_args = 2; 1533 break; 1534 } 1535 /* fhstat */ 1536 case 299: { 1537 struct fhstat_args *p = params; 1538 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */ 1539 uarg[1] = (intptr_t) p->sb; /* struct stat * */ 1540 *n_args = 2; 1541 break; 1542 } 1543 /* modnext */ 1544 case 300: { 1545 struct modnext_args *p = params; 1546 iarg[0] = p->modid; /* int */ 1547 *n_args = 1; 1548 break; 1549 } 1550 /* modstat */ 1551 case 301: { 1552 struct modstat_args *p = params; 1553 iarg[0] = p->modid; /* int */ 1554 uarg[1] = (intptr_t) p->stat; /* struct module_stat * */ 1555 *n_args = 2; 1556 break; 1557 } 1558 /* modfnext */ 1559 case 302: { 1560 struct modfnext_args *p = params; 1561 iarg[0] = p->modid; /* int */ 1562 *n_args = 1; 1563 break; 1564 } 1565 /* modfind */ 1566 case 303: { 1567 struct modfind_args *p = params; 1568 uarg[0] = (intptr_t) p->name; /* const char * */ 1569 *n_args = 1; 1570 break; 1571 } 1572 /* kldload */ 1573 case 304: { 1574 struct kldload_args *p = params; 1575 uarg[0] = (intptr_t) p->file; /* const char * */ 1576 *n_args = 1; 1577 break; 1578 } 1579 /* kldunload */ 1580 case 305: { 1581 struct kldunload_args *p = params; 1582 iarg[0] = p->fileid; /* int */ 1583 *n_args = 1; 1584 break; 1585 } 1586 /* kldfind */ 1587 case 306: { 1588 struct kldfind_args *p = params; 1589 uarg[0] = (intptr_t) p->file; /* const char * */ 1590 *n_args = 1; 1591 break; 1592 } 1593 /* kldnext */ 1594 case 307: { 1595 struct kldnext_args *p = params; 1596 iarg[0] = p->fileid; /* int */ 1597 *n_args = 1; 1598 break; 1599 } 1600 /* kldstat */ 1601 case 308: { 1602 struct kldstat_args *p = params; 1603 iarg[0] = p->fileid; /* int */ 1604 uarg[1] = (intptr_t) p->stat; /* struct kld_file_stat * */ 1605 *n_args = 2; 1606 break; 1607 } 1608 /* kldfirstmod */ 1609 case 309: { 1610 struct kldfirstmod_args *p = params; 1611 iarg[0] = p->fileid; /* int */ 1612 *n_args = 1; 1613 break; 1614 } 1615 /* getsid */ 1616 case 310: { 1617 struct getsid_args *p = params; 1618 iarg[0] = p->pid; /* pid_t */ 1619 *n_args = 1; 1620 break; 1621 } 1622 /* setresuid */ 1623 case 311: { 1624 struct setresuid_args *p = params; 1625 uarg[0] = p->ruid; /* uid_t */ 1626 uarg[1] = p->euid; /* uid_t */ 1627 uarg[2] = p->suid; /* uid_t */ 1628 *n_args = 3; 1629 break; 1630 } 1631 /* setresgid */ 1632 case 312: { 1633 struct setresgid_args *p = params; 1634 iarg[0] = p->rgid; /* gid_t */ 1635 iarg[1] = p->egid; /* gid_t */ 1636 iarg[2] = p->sgid; /* gid_t */ 1637 *n_args = 3; 1638 break; 1639 } 1640 /* aio_return */ 1641 case 314: { 1642 struct aio_return_args *p = params; 1643 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */ 1644 *n_args = 1; 1645 break; 1646 } 1647 /* aio_suspend */ 1648 case 315: { 1649 struct aio_suspend_args *p = params; 1650 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb *const * */ 1651 iarg[1] = p->nent; /* int */ 1652 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */ 1653 *n_args = 3; 1654 break; 1655 } 1656 /* aio_cancel */ 1657 case 316: { 1658 struct aio_cancel_args *p = params; 1659 iarg[0] = p->fd; /* int */ 1660 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */ 1661 *n_args = 2; 1662 break; 1663 } 1664 /* aio_error */ 1665 case 317: { 1666 struct aio_error_args *p = params; 1667 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */ 1668 *n_args = 1; 1669 break; 1670 } 1671 /* oaio_read */ 1672 case 318: { 1673 struct oaio_read_args *p = params; 1674 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */ 1675 *n_args = 1; 1676 break; 1677 } 1678 /* oaio_write */ 1679 case 319: { 1680 struct oaio_write_args *p = params; 1681 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */ 1682 *n_args = 1; 1683 break; 1684 } 1685 /* olio_listio */ 1686 case 320: { 1687 struct olio_listio_args *p = params; 1688 iarg[0] = p->mode; /* int */ 1689 uarg[1] = (intptr_t) p->acb_list; /* struct oaiocb *const * */ 1690 iarg[2] = p->nent; /* int */ 1691 uarg[3] = (intptr_t) p->sig; /* struct osigevent * */ 1692 *n_args = 4; 1693 break; 1694 } 1695 /* yield */ 1696 case 321: { 1697 *n_args = 0; 1698 break; 1699 } 1700 /* mlockall */ 1701 case 324: { 1702 struct mlockall_args *p = params; 1703 iarg[0] = p->how; /* int */ 1704 *n_args = 1; 1705 break; 1706 } 1707 /* munlockall */ 1708 case 325: { 1709 *n_args = 0; 1710 break; 1711 } 1712 /* __getcwd */ 1713 case 326: { 1714 struct __getcwd_args *p = params; 1715 uarg[0] = (intptr_t) p->buf; /* u_char * */ 1716 uarg[1] = p->buflen; /* u_int */ 1717 *n_args = 2; 1718 break; 1719 } 1720 /* sched_setparam */ 1721 case 327: { 1722 struct sched_setparam_args *p = params; 1723 iarg[0] = p->pid; /* pid_t */ 1724 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */ 1725 *n_args = 2; 1726 break; 1727 } 1728 /* sched_getparam */ 1729 case 328: { 1730 struct sched_getparam_args *p = params; 1731 iarg[0] = p->pid; /* pid_t */ 1732 uarg[1] = (intptr_t) p->param; /* struct sched_param * */ 1733 *n_args = 2; 1734 break; 1735 } 1736 /* sched_setscheduler */ 1737 case 329: { 1738 struct sched_setscheduler_args *p = params; 1739 iarg[0] = p->pid; /* pid_t */ 1740 iarg[1] = p->policy; /* int */ 1741 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */ 1742 *n_args = 3; 1743 break; 1744 } 1745 /* sched_getscheduler */ 1746 case 330: { 1747 struct sched_getscheduler_args *p = params; 1748 iarg[0] = p->pid; /* pid_t */ 1749 *n_args = 1; 1750 break; 1751 } 1752 /* sched_yield */ 1753 case 331: { 1754 *n_args = 0; 1755 break; 1756 } 1757 /* sched_get_priority_max */ 1758 case 332: { 1759 struct sched_get_priority_max_args *p = params; 1760 iarg[0] = p->policy; /* int */ 1761 *n_args = 1; 1762 break; 1763 } 1764 /* sched_get_priority_min */ 1765 case 333: { 1766 struct sched_get_priority_min_args *p = params; 1767 iarg[0] = p->policy; /* int */ 1768 *n_args = 1; 1769 break; 1770 } 1771 /* sched_rr_get_interval */ 1772 case 334: { 1773 struct sched_rr_get_interval_args *p = params; 1774 iarg[0] = p->pid; /* pid_t */ 1775 uarg[1] = (intptr_t) p->interval; /* struct timespec * */ 1776 *n_args = 2; 1777 break; 1778 } 1779 /* utrace */ 1780 case 335: { 1781 struct utrace_args *p = params; 1782 uarg[0] = (intptr_t) p->addr; /* const void * */ 1783 uarg[1] = p->len; /* size_t */ 1784 *n_args = 2; 1785 break; 1786 } 1787 /* kldsym */ 1788 case 337: { 1789 struct kldsym_args *p = params; 1790 iarg[0] = p->fileid; /* int */ 1791 iarg[1] = p->cmd; /* int */ 1792 uarg[2] = (intptr_t) p->data; /* void * */ 1793 *n_args = 3; 1794 break; 1795 } 1796 /* jail */ 1797 case 338: { 1798 struct jail_args *p = params; 1799 uarg[0] = (intptr_t) p->jail; /* struct jail * */ 1800 *n_args = 1; 1801 break; 1802 } 1803 /* nnpfs_syscall */ 1804 case 339: { 1805 struct nnpfs_syscall_args *p = params; 1806 iarg[0] = p->operation; /* int */ 1807 uarg[1] = (intptr_t) p->a_pathP; /* char * */ 1808 iarg[2] = p->a_opcode; /* int */ 1809 uarg[3] = (intptr_t) p->a_paramsP; /* void * */ 1810 iarg[4] = p->a_followSymlinks; /* int */ 1811 *n_args = 5; 1812 break; 1813 } 1814 /* sigprocmask */ 1815 case 340: { 1816 struct sigprocmask_args *p = params; 1817 iarg[0] = p->how; /* int */ 1818 uarg[1] = (intptr_t) p->set; /* const sigset_t * */ 1819 uarg[2] = (intptr_t) p->oset; /* sigset_t * */ 1820 *n_args = 3; 1821 break; 1822 } 1823 /* sigsuspend */ 1824 case 341: { 1825 struct sigsuspend_args *p = params; 1826 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */ 1827 *n_args = 1; 1828 break; 1829 } 1830 /* sigpending */ 1831 case 343: { 1832 struct sigpending_args *p = params; 1833 uarg[0] = (intptr_t) p->set; /* sigset_t * */ 1834 *n_args = 1; 1835 break; 1836 } 1837 /* sigtimedwait */ 1838 case 345: { 1839 struct sigtimedwait_args *p = params; 1840 uarg[0] = (intptr_t) p->set; /* const sigset_t * */ 1841 uarg[1] = (intptr_t) p->info; /* siginfo_t * */ 1842 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */ 1843 *n_args = 3; 1844 break; 1845 } 1846 /* sigwaitinfo */ 1847 case 346: { 1848 struct sigwaitinfo_args *p = params; 1849 uarg[0] = (intptr_t) p->set; /* const sigset_t * */ 1850 uarg[1] = (intptr_t) p->info; /* siginfo_t * */ 1851 *n_args = 2; 1852 break; 1853 } 1854 /* __acl_get_file */ 1855 case 347: { 1856 struct __acl_get_file_args *p = params; 1857 uarg[0] = (intptr_t) p->path; /* const char * */ 1858 iarg[1] = p->type; /* acl_type_t */ 1859 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 1860 *n_args = 3; 1861 break; 1862 } 1863 /* __acl_set_file */ 1864 case 348: { 1865 struct __acl_set_file_args *p = params; 1866 uarg[0] = (intptr_t) p->path; /* const char * */ 1867 iarg[1] = p->type; /* acl_type_t */ 1868 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 1869 *n_args = 3; 1870 break; 1871 } 1872 /* __acl_get_fd */ 1873 case 349: { 1874 struct __acl_get_fd_args *p = params; 1875 iarg[0] = p->filedes; /* int */ 1876 iarg[1] = p->type; /* acl_type_t */ 1877 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 1878 *n_args = 3; 1879 break; 1880 } 1881 /* __acl_set_fd */ 1882 case 350: { 1883 struct __acl_set_fd_args *p = params; 1884 iarg[0] = p->filedes; /* int */ 1885 iarg[1] = p->type; /* acl_type_t */ 1886 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 1887 *n_args = 3; 1888 break; 1889 } 1890 /* __acl_delete_file */ 1891 case 351: { 1892 struct __acl_delete_file_args *p = params; 1893 uarg[0] = (intptr_t) p->path; /* const char * */ 1894 iarg[1] = p->type; /* acl_type_t */ 1895 *n_args = 2; 1896 break; 1897 } 1898 /* __acl_delete_fd */ 1899 case 352: { 1900 struct __acl_delete_fd_args *p = params; 1901 iarg[0] = p->filedes; /* int */ 1902 iarg[1] = p->type; /* acl_type_t */ 1903 *n_args = 2; 1904 break; 1905 } 1906 /* __acl_aclcheck_file */ 1907 case 353: { 1908 struct __acl_aclcheck_file_args *p = params; 1909 uarg[0] = (intptr_t) p->path; /* const char * */ 1910 iarg[1] = p->type; /* acl_type_t */ 1911 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 1912 *n_args = 3; 1913 break; 1914 } 1915 /* __acl_aclcheck_fd */ 1916 case 354: { 1917 struct __acl_aclcheck_fd_args *p = params; 1918 iarg[0] = p->filedes; /* int */ 1919 iarg[1] = p->type; /* acl_type_t */ 1920 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 1921 *n_args = 3; 1922 break; 1923 } 1924 /* extattrctl */ 1925 case 355: { 1926 struct extattrctl_args *p = params; 1927 uarg[0] = (intptr_t) p->path; /* const char * */ 1928 iarg[1] = p->cmd; /* int */ 1929 uarg[2] = (intptr_t) p->filename; /* const char * */ 1930 iarg[3] = p->attrnamespace; /* int */ 1931 uarg[4] = (intptr_t) p->attrname; /* const char * */ 1932 *n_args = 5; 1933 break; 1934 } 1935 /* extattr_set_file */ 1936 case 356: { 1937 struct extattr_set_file_args *p = params; 1938 uarg[0] = (intptr_t) p->path; /* const char * */ 1939 iarg[1] = p->attrnamespace; /* int */ 1940 uarg[2] = (intptr_t) p->attrname; /* const char * */ 1941 uarg[3] = (intptr_t) p->data; /* void * */ 1942 uarg[4] = p->nbytes; /* size_t */ 1943 *n_args = 5; 1944 break; 1945 } 1946 /* extattr_get_file */ 1947 case 357: { 1948 struct extattr_get_file_args *p = params; 1949 uarg[0] = (intptr_t) p->path; /* const char * */ 1950 iarg[1] = p->attrnamespace; /* int */ 1951 uarg[2] = (intptr_t) p->attrname; /* const char * */ 1952 uarg[3] = (intptr_t) p->data; /* void * */ 1953 uarg[4] = p->nbytes; /* size_t */ 1954 *n_args = 5; 1955 break; 1956 } 1957 /* extattr_delete_file */ 1958 case 358: { 1959 struct extattr_delete_file_args *p = params; 1960 uarg[0] = (intptr_t) p->path; /* const char * */ 1961 iarg[1] = p->attrnamespace; /* int */ 1962 uarg[2] = (intptr_t) p->attrname; /* const char * */ 1963 *n_args = 3; 1964 break; 1965 } 1966 /* aio_waitcomplete */ 1967 case 359: { 1968 struct aio_waitcomplete_args *p = params; 1969 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */ 1970 uarg[1] = (intptr_t) p->timeout; /* struct timespec * */ 1971 *n_args = 2; 1972 break; 1973 } 1974 /* getresuid */ 1975 case 360: { 1976 struct getresuid_args *p = params; 1977 uarg[0] = (intptr_t) p->ruid; /* uid_t * */ 1978 uarg[1] = (intptr_t) p->euid; /* uid_t * */ 1979 uarg[2] = (intptr_t) p->suid; /* uid_t * */ 1980 *n_args = 3; 1981 break; 1982 } 1983 /* getresgid */ 1984 case 361: { 1985 struct getresgid_args *p = params; 1986 uarg[0] = (intptr_t) p->rgid; /* gid_t * */ 1987 uarg[1] = (intptr_t) p->egid; /* gid_t * */ 1988 uarg[2] = (intptr_t) p->sgid; /* gid_t * */ 1989 *n_args = 3; 1990 break; 1991 } 1992 /* kqueue */ 1993 case 362: { 1994 *n_args = 0; 1995 break; 1996 } 1997 /* kevent */ 1998 case 363: { 1999 struct kevent_args *p = params; 2000 iarg[0] = p->fd; /* int */ 2001 uarg[1] = (intptr_t) p->changelist; /* struct kevent * */ 2002 iarg[2] = p->nchanges; /* int */ 2003 uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */ 2004 iarg[4] = p->nevents; /* int */ 2005 uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */ 2006 *n_args = 6; 2007 break; 2008 } 2009 /* extattr_set_fd */ 2010 case 371: { 2011 struct extattr_set_fd_args *p = params; 2012 iarg[0] = p->fd; /* int */ 2013 iarg[1] = p->attrnamespace; /* int */ 2014 uarg[2] = (intptr_t) p->attrname; /* const char * */ 2015 uarg[3] = (intptr_t) p->data; /* void * */ 2016 uarg[4] = p->nbytes; /* size_t */ 2017 *n_args = 5; 2018 break; 2019 } 2020 /* extattr_get_fd */ 2021 case 372: { 2022 struct extattr_get_fd_args *p = params; 2023 iarg[0] = p->fd; /* int */ 2024 iarg[1] = p->attrnamespace; /* int */ 2025 uarg[2] = (intptr_t) p->attrname; /* const char * */ 2026 uarg[3] = (intptr_t) p->data; /* void * */ 2027 uarg[4] = p->nbytes; /* size_t */ 2028 *n_args = 5; 2029 break; 2030 } 2031 /* extattr_delete_fd */ 2032 case 373: { 2033 struct extattr_delete_fd_args *p = params; 2034 iarg[0] = p->fd; /* int */ 2035 iarg[1] = p->attrnamespace; /* int */ 2036 uarg[2] = (intptr_t) p->attrname; /* const char * */ 2037 *n_args = 3; 2038 break; 2039 } 2040 /* __setugid */ 2041 case 374: { 2042 struct __setugid_args *p = params; 2043 iarg[0] = p->flag; /* int */ 2044 *n_args = 1; 2045 break; 2046 } 2047 /* eaccess */ 2048 case 376: { 2049 struct eaccess_args *p = params; 2050 uarg[0] = (intptr_t) p->path; /* char * */ 2051 iarg[1] = p->amode; /* int */ 2052 *n_args = 2; 2053 break; 2054 } 2055 /* afs3_syscall */ 2056 case 377: { 2057 struct afs3_syscall_args *p = params; 2058 iarg[0] = p->syscall; /* long */ 2059 iarg[1] = p->parm1; /* long */ 2060 iarg[2] = p->parm2; /* long */ 2061 iarg[3] = p->parm3; /* long */ 2062 iarg[4] = p->parm4; /* long */ 2063 iarg[5] = p->parm5; /* long */ 2064 iarg[6] = p->parm6; /* long */ 2065 *n_args = 7; 2066 break; 2067 } 2068 /* nmount */ 2069 case 378: { 2070 struct nmount_args *p = params; 2071 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */ 2072 uarg[1] = p->iovcnt; /* unsigned int */ 2073 iarg[2] = p->flags; /* int */ 2074 *n_args = 3; 2075 break; 2076 } 2077 /* __mac_get_proc */ 2078 case 384: { 2079 struct __mac_get_proc_args *p = params; 2080 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */ 2081 *n_args = 1; 2082 break; 2083 } 2084 /* __mac_set_proc */ 2085 case 385: { 2086 struct __mac_set_proc_args *p = params; 2087 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */ 2088 *n_args = 1; 2089 break; 2090 } 2091 /* __mac_get_fd */ 2092 case 386: { 2093 struct __mac_get_fd_args *p = params; 2094 iarg[0] = p->fd; /* int */ 2095 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ 2096 *n_args = 2; 2097 break; 2098 } 2099 /* __mac_get_file */ 2100 case 387: { 2101 struct __mac_get_file_args *p = params; 2102 uarg[0] = (intptr_t) p->path_p; /* const char * */ 2103 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ 2104 *n_args = 2; 2105 break; 2106 } 2107 /* __mac_set_fd */ 2108 case 388: { 2109 struct __mac_set_fd_args *p = params; 2110 iarg[0] = p->fd; /* int */ 2111 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ 2112 *n_args = 2; 2113 break; 2114 } 2115 /* __mac_set_file */ 2116 case 389: { 2117 struct __mac_set_file_args *p = params; 2118 uarg[0] = (intptr_t) p->path_p; /* const char * */ 2119 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ 2120 *n_args = 2; 2121 break; 2122 } 2123 /* kenv */ 2124 case 390: { 2125 struct kenv_args *p = params; 2126 iarg[0] = p->what; /* int */ 2127 uarg[1] = (intptr_t) p->name; /* const char * */ 2128 uarg[2] = (intptr_t) p->value; /* char * */ 2129 iarg[3] = p->len; /* int */ 2130 *n_args = 4; 2131 break; 2132 } 2133 /* lchflags */ 2134 case 391: { 2135 struct lchflags_args *p = params; 2136 uarg[0] = (intptr_t) p->path; /* const char * */ 2137 uarg[1] = p->flags; /* u_long */ 2138 *n_args = 2; 2139 break; 2140 } 2141 /* uuidgen */ 2142 case 392: { 2143 struct uuidgen_args *p = params; 2144 uarg[0] = (intptr_t) p->store; /* struct uuid * */ 2145 iarg[1] = p->count; /* int */ 2146 *n_args = 2; 2147 break; 2148 } 2149 /* sendfile */ 2150 case 393: { 2151 struct sendfile_args *p = params; 2152 iarg[0] = p->fd; /* int */ 2153 iarg[1] = p->s; /* int */ 2154 iarg[2] = p->offset; /* off_t */ 2155 uarg[3] = p->nbytes; /* size_t */ 2156 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */ 2157 uarg[5] = (intptr_t) p->sbytes; /* off_t * */ 2158 iarg[6] = p->flags; /* int */ 2159 *n_args = 7; 2160 break; 2161 } 2162 /* mac_syscall */ 2163 case 394: { 2164 struct mac_syscall_args *p = params; 2165 uarg[0] = (intptr_t) p->policy; /* const char * */ 2166 iarg[1] = p->call; /* int */ 2167 uarg[2] = (intptr_t) p->arg; /* void * */ 2168 *n_args = 3; 2169 break; 2170 } 2171 /* getfsstat */ 2172 case 395: { 2173 struct getfsstat_args *p = params; 2174 uarg[0] = (intptr_t) p->buf; /* struct statfs * */ 2175 iarg[1] = p->bufsize; /* long */ 2176 iarg[2] = p->flags; /* int */ 2177 *n_args = 3; 2178 break; 2179 } 2180 /* statfs */ 2181 case 396: { 2182 struct statfs_args *p = params; 2183 uarg[0] = (intptr_t) p->path; /* char * */ 2184 uarg[1] = (intptr_t) p->buf; /* struct statfs * */ 2185 *n_args = 2; 2186 break; 2187 } 2188 /* fstatfs */ 2189 case 397: { 2190 struct fstatfs_args *p = params; 2191 iarg[0] = p->fd; /* int */ 2192 uarg[1] = (intptr_t) p->buf; /* struct statfs * */ 2193 *n_args = 2; 2194 break; 2195 } 2196 /* fhstatfs */ 2197 case 398: { 2198 struct fhstatfs_args *p = params; 2199 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */ 2200 uarg[1] = (intptr_t) p->buf; /* struct statfs * */ 2201 *n_args = 2; 2202 break; 2203 } 2204 /* ksem_close */ 2205 case 400: { 2206 struct ksem_close_args *p = params; 2207 iarg[0] = p->id; /* semid_t */ 2208 *n_args = 1; 2209 break; 2210 } 2211 /* ksem_post */ 2212 case 401: { 2213 struct ksem_post_args *p = params; 2214 iarg[0] = p->id; /* semid_t */ 2215 *n_args = 1; 2216 break; 2217 } 2218 /* ksem_wait */ 2219 case 402: { 2220 struct ksem_wait_args *p = params; 2221 iarg[0] = p->id; /* semid_t */ 2222 *n_args = 1; 2223 break; 2224 } 2225 /* ksem_trywait */ 2226 case 403: { 2227 struct ksem_trywait_args *p = params; 2228 iarg[0] = p->id; /* semid_t */ 2229 *n_args = 1; 2230 break; 2231 } 2232 /* ksem_init */ 2233 case 404: { 2234 struct ksem_init_args *p = params; 2235 uarg[0] = (intptr_t) p->idp; /* semid_t * */ 2236 uarg[1] = p->value; /* unsigned int */ 2237 *n_args = 2; 2238 break; 2239 } 2240 /* ksem_open */ 2241 case 405: { 2242 struct ksem_open_args *p = params; 2243 uarg[0] = (intptr_t) p->idp; /* semid_t * */ 2244 uarg[1] = (intptr_t) p->name; /* const char * */ 2245 iarg[2] = p->oflag; /* int */ 2246 iarg[3] = p->mode; /* mode_t */ 2247 uarg[4] = p->value; /* unsigned int */ 2248 *n_args = 5; 2249 break; 2250 } 2251 /* ksem_unlink */ 2252 case 406: { 2253 struct ksem_unlink_args *p = params; 2254 uarg[0] = (intptr_t) p->name; /* const char * */ 2255 *n_args = 1; 2256 break; 2257 } 2258 /* ksem_getvalue */ 2259 case 407: { 2260 struct ksem_getvalue_args *p = params; 2261 iarg[0] = p->id; /* semid_t */ 2262 uarg[1] = (intptr_t) p->val; /* int * */ 2263 *n_args = 2; 2264 break; 2265 } 2266 /* ksem_destroy */ 2267 case 408: { 2268 struct ksem_destroy_args *p = params; 2269 iarg[0] = p->id; /* semid_t */ 2270 *n_args = 1; 2271 break; 2272 } 2273 /* __mac_get_pid */ 2274 case 409: { 2275 struct __mac_get_pid_args *p = params; 2276 iarg[0] = p->pid; /* pid_t */ 2277 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ 2278 *n_args = 2; 2279 break; 2280 } 2281 /* __mac_get_link */ 2282 case 410: { 2283 struct __mac_get_link_args *p = params; 2284 uarg[0] = (intptr_t) p->path_p; /* const char * */ 2285 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ 2286 *n_args = 2; 2287 break; 2288 } 2289 /* __mac_set_link */ 2290 case 411: { 2291 struct __mac_set_link_args *p = params; 2292 uarg[0] = (intptr_t) p->path_p; /* const char * */ 2293 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ 2294 *n_args = 2; 2295 break; 2296 } 2297 /* extattr_set_link */ 2298 case 412: { 2299 struct extattr_set_link_args *p = params; 2300 uarg[0] = (intptr_t) p->path; /* const char * */ 2301 iarg[1] = p->attrnamespace; /* int */ 2302 uarg[2] = (intptr_t) p->attrname; /* const char * */ 2303 uarg[3] = (intptr_t) p->data; /* void * */ 2304 uarg[4] = p->nbytes; /* size_t */ 2305 *n_args = 5; 2306 break; 2307 } 2308 /* extattr_get_link */ 2309 case 413: { 2310 struct extattr_get_link_args *p = params; 2311 uarg[0] = (intptr_t) p->path; /* const char * */ 2312 iarg[1] = p->attrnamespace; /* int */ 2313 uarg[2] = (intptr_t) p->attrname; /* const char * */ 2314 uarg[3] = (intptr_t) p->data; /* void * */ 2315 uarg[4] = p->nbytes; /* size_t */ 2316 *n_args = 5; 2317 break; 2318 } 2319 /* extattr_delete_link */ 2320 case 414: { 2321 struct extattr_delete_link_args *p = params; 2322 uarg[0] = (intptr_t) p->path; /* const char * */ 2323 iarg[1] = p->attrnamespace; /* int */ 2324 uarg[2] = (intptr_t) p->attrname; /* const char * */ 2325 *n_args = 3; 2326 break; 2327 } 2328 /* __mac_execve */ 2329 case 415: { 2330 struct __mac_execve_args *p = params; 2331 uarg[0] = (intptr_t) p->fname; /* char * */ 2332 uarg[1] = (intptr_t) p->argv; /* char ** */ 2333 uarg[2] = (intptr_t) p->envv; /* char ** */ 2334 uarg[3] = (intptr_t) p->mac_p; /* struct mac * */ 2335 *n_args = 4; 2336 break; 2337 } 2338 /* sigaction */ 2339 case 416: { 2340 struct sigaction_args *p = params; 2341 iarg[0] = p->sig; /* int */ 2342 uarg[1] = (intptr_t) p->act; /* const struct sigaction * */ 2343 uarg[2] = (intptr_t) p->oact; /* struct sigaction * */ 2344 *n_args = 3; 2345 break; 2346 } 2347 /* sigreturn */ 2348 case 417: { 2349 struct sigreturn_args *p = params; 2350 uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */ 2351 *n_args = 1; 2352 break; 2353 } 2354 /* getcontext */ 2355 case 421: { 2356 struct getcontext_args *p = params; 2357 uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */ 2358 *n_args = 1; 2359 break; 2360 } 2361 /* setcontext */ 2362 case 422: { 2363 struct setcontext_args *p = params; 2364 uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */ 2365 *n_args = 1; 2366 break; 2367 } 2368 /* swapcontext */ 2369 case 423: { 2370 struct swapcontext_args *p = params; 2371 uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */ 2372 uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */ 2373 *n_args = 2; 2374 break; 2375 } 2376 /* swapoff */ 2377 case 424: { 2378 struct swapoff_args *p = params; 2379 uarg[0] = (intptr_t) p->name; /* const char * */ 2380 *n_args = 1; 2381 break; 2382 } 2383 /* __acl_get_link */ 2384 case 425: { 2385 struct __acl_get_link_args *p = params; 2386 uarg[0] = (intptr_t) p->path; /* const char * */ 2387 iarg[1] = p->type; /* acl_type_t */ 2388 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 2389 *n_args = 3; 2390 break; 2391 } 2392 /* __acl_set_link */ 2393 case 426: { 2394 struct __acl_set_link_args *p = params; 2395 uarg[0] = (intptr_t) p->path; /* const char * */ 2396 iarg[1] = p->type; /* acl_type_t */ 2397 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 2398 *n_args = 3; 2399 break; 2400 } 2401 /* __acl_delete_link */ 2402 case 427: { 2403 struct __acl_delete_link_args *p = params; 2404 uarg[0] = (intptr_t) p->path; /* const char * */ 2405 iarg[1] = p->type; /* acl_type_t */ 2406 *n_args = 2; 2407 break; 2408 } 2409 /* __acl_aclcheck_link */ 2410 case 428: { 2411 struct __acl_aclcheck_link_args *p = params; 2412 uarg[0] = (intptr_t) p->path; /* const char * */ 2413 iarg[1] = p->type; /* acl_type_t */ 2414 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 2415 *n_args = 3; 2416 break; 2417 } 2418 /* sigwait */ 2419 case 429: { 2420 struct sigwait_args *p = params; 2421 uarg[0] = (intptr_t) p->set; /* const sigset_t * */ 2422 uarg[1] = (intptr_t) p->sig; /* int * */ 2423 *n_args = 2; 2424 break; 2425 } 2426 /* thr_create */ 2427 case 430: { 2428 struct thr_create_args *p = params; 2429 uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */ 2430 uarg[1] = (intptr_t) p->id; /* long * */ 2431 iarg[2] = p->flags; /* int */ 2432 *n_args = 3; 2433 break; 2434 } 2435 /* thr_exit */ 2436 case 431: { 2437 struct thr_exit_args *p = params; 2438 uarg[0] = (intptr_t) p->state; /* long * */ 2439 *n_args = 1; 2440 break; 2441 } 2442 /* thr_self */ 2443 case 432: { 2444 struct thr_self_args *p = params; 2445 uarg[0] = (intptr_t) p->id; /* long * */ 2446 *n_args = 1; 2447 break; 2448 } 2449 /* thr_kill */ 2450 case 433: { 2451 struct thr_kill_args *p = params; 2452 iarg[0] = p->id; /* long */ 2453 iarg[1] = p->sig; /* int */ 2454 *n_args = 2; 2455 break; 2456 } 2457 /* _umtx_lock */ 2458 case 434: { 2459 struct _umtx_lock_args *p = params; 2460 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */ 2461 *n_args = 1; 2462 break; 2463 } 2464 /* _umtx_unlock */ 2465 case 435: { 2466 struct _umtx_unlock_args *p = params; 2467 uarg[0] = (intptr_t) p->umtx; /* struct umtx * */ 2468 *n_args = 1; 2469 break; 2470 } 2471 /* jail_attach */ 2472 case 436: { 2473 struct jail_attach_args *p = params; 2474 iarg[0] = p->jid; /* int */ 2475 *n_args = 1; 2476 break; 2477 } 2478 /* extattr_list_fd */ 2479 case 437: { 2480 struct extattr_list_fd_args *p = params; 2481 iarg[0] = p->fd; /* int */ 2482 iarg[1] = p->attrnamespace; /* int */ 2483 uarg[2] = (intptr_t) p->data; /* void * */ 2484 uarg[3] = p->nbytes; /* size_t */ 2485 *n_args = 4; 2486 break; 2487 } 2488 /* extattr_list_file */ 2489 case 438: { 2490 struct extattr_list_file_args *p = params; 2491 uarg[0] = (intptr_t) p->path; /* const char * */ 2492 iarg[1] = p->attrnamespace; /* int */ 2493 uarg[2] = (intptr_t) p->data; /* void * */ 2494 uarg[3] = p->nbytes; /* size_t */ 2495 *n_args = 4; 2496 break; 2497 } 2498 /* extattr_list_link */ 2499 case 439: { 2500 struct extattr_list_link_args *p = params; 2501 uarg[0] = (intptr_t) p->path; /* const char * */ 2502 iarg[1] = p->attrnamespace; /* int */ 2503 uarg[2] = (intptr_t) p->data; /* void * */ 2504 uarg[3] = p->nbytes; /* size_t */ 2505 *n_args = 4; 2506 break; 2507 } 2508 /* ksem_timedwait */ 2509 case 441: { 2510 struct ksem_timedwait_args *p = params; 2511 iarg[0] = p->id; /* semid_t */ 2512 uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */ 2513 *n_args = 2; 2514 break; 2515 } 2516 /* thr_suspend */ 2517 case 442: { 2518 struct thr_suspend_args *p = params; 2519 uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */ 2520 *n_args = 1; 2521 break; 2522 } 2523 /* thr_wake */ 2524 case 443: { 2525 struct thr_wake_args *p = params; 2526 iarg[0] = p->id; /* long */ 2527 *n_args = 1; 2528 break; 2529 } 2530 /* kldunloadf */ 2531 case 444: { 2532 struct kldunloadf_args *p = params; 2533 iarg[0] = p->fileid; /* int */ 2534 iarg[1] = p->flags; /* int */ 2535 *n_args = 2; 2536 break; 2537 } 2538 /* audit */ 2539 case 445: { 2540 struct audit_args *p = params; 2541 uarg[0] = (intptr_t) p->record; /* const void * */ 2542 uarg[1] = p->length; /* u_int */ 2543 *n_args = 2; 2544 break; 2545 } 2546 /* auditon */ 2547 case 446: { 2548 struct auditon_args *p = params; 2549 iarg[0] = p->cmd; /* int */ 2550 uarg[1] = (intptr_t) p->data; /* void * */ 2551 uarg[2] = p->length; /* u_int */ 2552 *n_args = 3; 2553 break; 2554 } 2555 /* getauid */ 2556 case 447: { 2557 struct getauid_args *p = params; 2558 uarg[0] = (intptr_t) p->auid; /* uid_t * */ 2559 *n_args = 1; 2560 break; 2561 } 2562 /* setauid */ 2563 case 448: { 2564 struct setauid_args *p = params; 2565 uarg[0] = (intptr_t) p->auid; /* uid_t * */ 2566 *n_args = 1; 2567 break; 2568 } 2569 /* getaudit */ 2570 case 449: { 2571 struct getaudit_args *p = params; 2572 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */ 2573 *n_args = 1; 2574 break; 2575 } 2576 /* setaudit */ 2577 case 450: { 2578 struct setaudit_args *p = params; 2579 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */ 2580 *n_args = 1; 2581 break; 2582 } 2583 /* getaudit_addr */ 2584 case 451: { 2585 struct getaudit_addr_args *p = params; 2586 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */ 2587 uarg[1] = p->length; /* u_int */ 2588 *n_args = 2; 2589 break; 2590 } 2591 /* setaudit_addr */ 2592 case 452: { 2593 struct setaudit_addr_args *p = params; 2594 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */ 2595 uarg[1] = p->length; /* u_int */ 2596 *n_args = 2; 2597 break; 2598 } 2599 /* auditctl */ 2600 case 453: { 2601 struct auditctl_args *p = params; 2602 uarg[0] = (intptr_t) p->path; /* char * */ 2603 *n_args = 1; 2604 break; 2605 } 2606 /* _umtx_op */ 2607 case 454: { 2608 struct _umtx_op_args *p = params; 2609 uarg[0] = (intptr_t) p->obj; /* void * */ 2610 iarg[1] = p->op; /* int */ 2611 uarg[2] = p->val; /* u_long */ 2612 uarg[3] = (intptr_t) p->uaddr1; /* void * */ 2613 uarg[4] = (intptr_t) p->uaddr2; /* void * */ 2614 *n_args = 5; 2615 break; 2616 } 2617 /* thr_new */ 2618 case 455: { 2619 struct thr_new_args *p = params; 2620 uarg[0] = (intptr_t) p->param; /* struct thr_param * */ 2621 iarg[1] = p->param_size; /* int */ 2622 *n_args = 2; 2623 break; 2624 } 2625 /* sigqueue */ 2626 case 456: { 2627 struct sigqueue_args *p = params; 2628 iarg[0] = p->pid; /* pid_t */ 2629 iarg[1] = p->signum; /* int */ 2630 uarg[2] = (intptr_t) p->value; /* void * */ 2631 *n_args = 3; 2632 break; 2633 } 2634 /* kmq_open */ 2635 case 457: { 2636 struct kmq_open_args *p = params; 2637 uarg[0] = (intptr_t) p->path; /* const char * */ 2638 iarg[1] = p->flags; /* int */ 2639 iarg[2] = p->mode; /* mode_t */ 2640 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */ 2641 *n_args = 4; 2642 break; 2643 } 2644 /* kmq_setattr */ 2645 case 458: { 2646 struct kmq_setattr_args *p = params; 2647 iarg[0] = p->mqd; /* int */ 2648 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */ 2649 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */ 2650 *n_args = 3; 2651 break; 2652 } 2653 /* kmq_timedreceive */ 2654 case 459: { 2655 struct kmq_timedreceive_args *p = params; 2656 iarg[0] = p->mqd; /* int */ 2657 uarg[1] = (intptr_t) p->msg_ptr; /* char * */ 2658 uarg[2] = p->msg_len; /* size_t */ 2659 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */ 2660 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */ 2661 *n_args = 5; 2662 break; 2663 } 2664 /* kmq_timedsend */ 2665 case 460: { 2666 struct kmq_timedsend_args *p = params; 2667 iarg[0] = p->mqd; /* int */ 2668 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */ 2669 uarg[2] = p->msg_len; /* size_t */ 2670 uarg[3] = p->msg_prio; /* unsigned */ 2671 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */ 2672 *n_args = 5; 2673 break; 2674 } 2675 /* kmq_notify */ 2676 case 461: { 2677 struct kmq_notify_args *p = params; 2678 iarg[0] = p->mqd; /* int */ 2679 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */ 2680 *n_args = 2; 2681 break; 2682 } 2683 /* kmq_unlink */ 2684 case 462: { 2685 struct kmq_unlink_args *p = params; 2686 uarg[0] = (intptr_t) p->path; /* const char * */ 2687 *n_args = 1; 2688 break; 2689 } 2690 /* abort2 */ 2691 case 463: { 2692 struct abort2_args *p = params; 2693 uarg[0] = (intptr_t) p->why; /* const char * */ 2694 iarg[1] = p->nargs; /* int */ 2695 uarg[2] = (intptr_t) p->args; /* void ** */ 2696 *n_args = 3; 2697 break; 2698 } 2699 /* thr_set_name */ 2700 case 464: { 2701 struct thr_set_name_args *p = params; 2702 iarg[0] = p->id; /* long */ 2703 uarg[1] = (intptr_t) p->name; /* const char * */ 2704 *n_args = 2; 2705 break; 2706 } 2707 /* aio_fsync */ 2708 case 465: { 2709 struct aio_fsync_args *p = params; 2710 iarg[0] = p->op; /* int */ 2711 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */ 2712 *n_args = 2; 2713 break; 2714 } 2715 /* rtprio_thread */ 2716 case 466: { 2717 struct rtprio_thread_args *p = params; 2718 iarg[0] = p->function; /* int */ 2719 iarg[1] = p->lwpid; /* lwpid_t */ 2720 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */ 2721 *n_args = 3; 2722 break; 2723 } 2724 /* sctp_peeloff */ 2725 case 471: { 2726 struct sctp_peeloff_args *p = params; 2727 iarg[0] = p->sd; /* int */ 2728 uarg[1] = p->name; /* uint32_t */ 2729 *n_args = 2; 2730 break; 2731 } 2732 /* sctp_generic_sendmsg */ 2733 case 472: { 2734 struct sctp_generic_sendmsg_args *p = params; 2735 iarg[0] = p->sd; /* int */ 2736 uarg[1] = (intptr_t) p->msg; /* caddr_t */ 2737 iarg[2] = p->mlen; /* int */ 2738 uarg[3] = (intptr_t) p->to; /* caddr_t */ 2739 iarg[4] = p->tolen; /* __socklen_t */ 2740 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */ 2741 iarg[6] = p->flags; /* int */ 2742 *n_args = 7; 2743 break; 2744 } 2745 /* sctp_generic_sendmsg_iov */ 2746 case 473: { 2747 struct sctp_generic_sendmsg_iov_args *p = params; 2748 iarg[0] = p->sd; /* int */ 2749 uarg[1] = (intptr_t) p->iov; /* struct iovec * */ 2750 iarg[2] = p->iovlen; /* int */ 2751 uarg[3] = (intptr_t) p->to; /* caddr_t */ 2752 iarg[4] = p->tolen; /* __socklen_t */ 2753 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */ 2754 iarg[6] = p->flags; /* int */ 2755 *n_args = 7; 2756 break; 2757 } 2758 /* sctp_generic_recvmsg */ 2759 case 474: { 2760 struct sctp_generic_recvmsg_args *p = params; 2761 iarg[0] = p->sd; /* int */ 2762 uarg[1] = (intptr_t) p->iov; /* struct iovec * */ 2763 iarg[2] = p->iovlen; /* int */ 2764 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */ 2765 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */ 2766 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */ 2767 uarg[6] = (intptr_t) p->msg_flags; /* int * */ 2768 *n_args = 7; 2769 break; 2770 } 2771 /* pread */ 2772 case 475: { 2773 struct pread_args *p = params; 2774 iarg[0] = p->fd; /* int */ 2775 uarg[1] = (intptr_t) p->buf; /* void * */ 2776 uarg[2] = p->nbyte; /* size_t */ 2777 iarg[3] = p->offset; /* off_t */ 2778 *n_args = 4; 2779 break; 2780 } 2781 /* pwrite */ 2782 case 476: { 2783 struct pwrite_args *p = params; 2784 iarg[0] = p->fd; /* int */ 2785 uarg[1] = (intptr_t) p->buf; /* const void * */ 2786 uarg[2] = p->nbyte; /* size_t */ 2787 iarg[3] = p->offset; /* off_t */ 2788 *n_args = 4; 2789 break; 2790 } 2791 /* mmap */ 2792 case 477: { 2793 struct mmap_args *p = params; 2794 uarg[0] = (intptr_t) p->addr; /* caddr_t */ 2795 uarg[1] = p->len; /* size_t */ 2796 iarg[2] = p->prot; /* int */ 2797 iarg[3] = p->flags; /* int */ 2798 iarg[4] = p->fd; /* int */ 2799 iarg[5] = p->pos; /* off_t */ 2800 *n_args = 6; 2801 break; 2802 } 2803 /* lseek */ 2804 case 478: { 2805 struct lseek_args *p = params; 2806 iarg[0] = p->fd; /* int */ 2807 iarg[1] = p->offset; /* off_t */ 2808 iarg[2] = p->whence; /* int */ 2809 *n_args = 3; 2810 break; 2811 } 2812 /* truncate */ 2813 case 479: { 2814 struct truncate_args *p = params; 2815 uarg[0] = (intptr_t) p->path; /* char * */ 2816 iarg[1] = p->length; /* off_t */ 2817 *n_args = 2; 2818 break; 2819 } 2820 /* ftruncate */ 2821 case 480: { 2822 struct ftruncate_args *p = params; 2823 iarg[0] = p->fd; /* int */ 2824 iarg[1] = p->length; /* off_t */ 2825 *n_args = 2; 2826 break; 2827 } 2828 /* thr_kill2 */ 2829 case 481: { 2830 struct thr_kill2_args *p = params; 2831 iarg[0] = p->pid; /* pid_t */ 2832 iarg[1] = p->id; /* long */ 2833 iarg[2] = p->sig; /* int */ 2834 *n_args = 3; 2835 break; 2836 } 2837 /* shm_open */ 2838 case 482: { 2839 struct shm_open_args *p = params; 2840 uarg[0] = (intptr_t) p->path; /* const char * */ 2841 iarg[1] = p->flags; /* int */ 2842 iarg[2] = p->mode; /* mode_t */ 2843 *n_args = 3; 2844 break; 2845 } 2846 /* shm_unlink */ 2847 case 483: { 2848 struct shm_unlink_args *p = params; 2849 uarg[0] = (intptr_t) p->path; /* const char * */ 2850 *n_args = 1; 2851 break; 2852 } 2853 /* cpuset */ 2854 case 484: { 2855 struct cpuset_args *p = params; 2856 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */ 2857 *n_args = 1; 2858 break; 2859 } 2860 /* cpuset_setid */ 2861 case 485: { 2862 struct cpuset_setid_args *p = params; 2863 iarg[0] = p->which; /* cpuwhich_t */ 2864 iarg[1] = p->id; /* id_t */ 2865 iarg[2] = p->setid; /* cpusetid_t */ 2866 *n_args = 3; 2867 break; 2868 } 2869 /* cpuset_getid */ 2870 case 486: { 2871 struct cpuset_getid_args *p = params; 2872 iarg[0] = p->level; /* cpulevel_t */ 2873 iarg[1] = p->which; /* cpuwhich_t */ 2874 iarg[2] = p->id; /* id_t */ 2875 uarg[3] = (intptr_t) p->setid; /* cpusetid_t * */ 2876 *n_args = 4; 2877 break; 2878 } 2879 /* cpuset_getaffinity */ 2880 case 487: { 2881 struct cpuset_getaffinity_args *p = params; 2882 iarg[0] = p->level; /* cpulevel_t */ 2883 iarg[1] = p->which; /* cpuwhich_t */ 2884 iarg[2] = p->id; /* id_t */ 2885 uarg[3] = p->cpusetsize; /* size_t */ 2886 uarg[4] = (intptr_t) p->mask; /* cpuset_t * */ 2887 *n_args = 5; 2888 break; 2889 } 2890 /* cpuset_setaffinity */ 2891 case 488: { 2892 struct cpuset_setaffinity_args *p = params; 2893 iarg[0] = p->level; /* cpulevel_t */ 2894 iarg[1] = p->which; /* cpuwhich_t */ 2895 iarg[2] = p->id; /* id_t */ 2896 uarg[3] = p->cpusetsize; /* size_t */ 2897 uarg[4] = (intptr_t) p->mask; /* const cpuset_t * */ 2898 *n_args = 5; 2899 break; 2900 } 2901 /* faccessat */ 2902 case 489: { 2903 struct faccessat_args *p = params; 2904 iarg[0] = p->fd; /* int */ 2905 uarg[1] = (intptr_t) p->path; /* char * */ 2906 iarg[2] = p->amode; /* int */ 2907 iarg[3] = p->flag; /* int */ 2908 *n_args = 4; 2909 break; 2910 } 2911 /* fchmodat */ 2912 case 490: { 2913 struct fchmodat_args *p = params; 2914 iarg[0] = p->fd; /* int */ 2915 uarg[1] = (intptr_t) p->path; /* char * */ 2916 iarg[2] = p->mode; /* mode_t */ 2917 iarg[3] = p->flag; /* int */ 2918 *n_args = 4; 2919 break; 2920 } 2921 /* fchownat */ 2922 case 491: { 2923 struct fchownat_args *p = params; 2924 iarg[0] = p->fd; /* int */ 2925 uarg[1] = (intptr_t) p->path; /* char * */ 2926 uarg[2] = p->uid; /* uid_t */ 2927 iarg[3] = p->gid; /* gid_t */ 2928 iarg[4] = p->flag; /* int */ 2929 *n_args = 5; 2930 break; 2931 } 2932 /* fexecve */ 2933 case 492: { 2934 struct fexecve_args *p = params; 2935 iarg[0] = p->fd; /* int */ 2936 uarg[1] = (intptr_t) p->argv; /* char ** */ 2937 uarg[2] = (intptr_t) p->envv; /* char ** */ 2938 *n_args = 3; 2939 break; 2940 } 2941 /* fstatat */ 2942 case 493: { 2943 struct fstatat_args *p = params; 2944 iarg[0] = p->fd; /* int */ 2945 uarg[1] = (intptr_t) p->path; /* char * */ 2946 uarg[2] = (intptr_t) p->buf; /* struct stat * */ 2947 iarg[3] = p->flag; /* int */ 2948 *n_args = 4; 2949 break; 2950 } 2951 /* futimesat */ 2952 case 494: { 2953 struct futimesat_args *p = params; 2954 iarg[0] = p->fd; /* int */ 2955 uarg[1] = (intptr_t) p->path; /* char * */ 2956 uarg[2] = (intptr_t) p->times; /* struct timeval * */ 2957 *n_args = 3; 2958 break; 2959 } 2960 /* linkat */ 2961 case 495: { 2962 struct linkat_args *p = params; 2963 iarg[0] = p->fd1; /* int */ 2964 uarg[1] = (intptr_t) p->path1; /* char * */ 2965 iarg[2] = p->fd2; /* int */ 2966 uarg[3] = (intptr_t) p->path2; /* char * */ 2967 iarg[4] = p->flag; /* int */ 2968 *n_args = 5; 2969 break; 2970 } 2971 /* mkdirat */ 2972 case 496: { 2973 struct mkdirat_args *p = params; 2974 iarg[0] = p->fd; /* int */ 2975 uarg[1] = (intptr_t) p->path; /* char * */ 2976 iarg[2] = p->mode; /* mode_t */ 2977 *n_args = 3; 2978 break; 2979 } 2980 /* mkfifoat */ 2981 case 497: { 2982 struct mkfifoat_args *p = params; 2983 iarg[0] = p->fd; /* int */ 2984 uarg[1] = (intptr_t) p->path; /* char * */ 2985 iarg[2] = p->mode; /* mode_t */ 2986 *n_args = 3; 2987 break; 2988 } 2989 /* mknodat */ 2990 case 498: { 2991 struct mknodat_args *p = params; 2992 iarg[0] = p->fd; /* int */ 2993 uarg[1] = (intptr_t) p->path; /* char * */ 2994 iarg[2] = p->mode; /* mode_t */ 2995 iarg[3] = p->dev; /* dev_t */ 2996 *n_args = 4; 2997 break; 2998 } 2999 /* openat */ 3000 case 499: { 3001 struct openat_args *p = params; 3002 iarg[0] = p->fd; /* int */ 3003 uarg[1] = (intptr_t) p->path; /* char * */ 3004 iarg[2] = p->flag; /* int */ 3005 iarg[3] = p->mode; /* mode_t */ 3006 *n_args = 4; 3007 break; 3008 } 3009 /* readlinkat */ 3010 case 500: { 3011 struct readlinkat_args *p = params; 3012 iarg[0] = p->fd; /* int */ 3013 uarg[1] = (intptr_t) p->path; /* char * */ 3014 uarg[2] = (intptr_t) p->buf; /* char * */ 3015 uarg[3] = p->bufsize; /* size_t */ 3016 *n_args = 4; 3017 break; 3018 } 3019 /* renameat */ 3020 case 501: { 3021 struct renameat_args *p = params; 3022 iarg[0] = p->oldfd; /* int */ 3023 uarg[1] = (intptr_t) p->old; /* char * */ 3024 iarg[2] = p->newfd; /* int */ 3025 uarg[3] = (intptr_t) p->new; /* char * */ 3026 *n_args = 4; 3027 break; 3028 } 3029 /* symlinkat */ 3030 case 502: { 3031 struct symlinkat_args *p = params; 3032 uarg[0] = (intptr_t) p->path1; /* char * */ 3033 iarg[1] = p->fd; /* int */ 3034 uarg[2] = (intptr_t) p->path2; /* char * */ 3035 *n_args = 3; 3036 break; 3037 } 3038 /* unlinkat */ 3039 case 503: { 3040 struct unlinkat_args *p = params; 3041 iarg[0] = p->fd; /* int */ 3042 uarg[1] = (intptr_t) p->path; /* char * */ 3043 iarg[2] = p->flag; /* int */ 3044 *n_args = 3; 3045 break; 3046 } 3047 /* posix_openpt */ 3048 case 504: { 3049 struct posix_openpt_args *p = params; 3050 iarg[0] = p->flags; /* int */ 3051 *n_args = 1; 3052 break; 3053 } 3054 /* gssd_syscall */ 3055 case 505: { 3056 struct gssd_syscall_args *p = params; 3057 uarg[0] = (intptr_t) p->path; /* char * */ 3058 *n_args = 1; 3059 break; 3060 } 3061 /* jail_get */ 3062 case 506: { 3063 struct jail_get_args *p = params; 3064 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */ 3065 uarg[1] = p->iovcnt; /* unsigned int */ 3066 iarg[2] = p->flags; /* int */ 3067 *n_args = 3; 3068 break; 3069 } 3070 /* jail_set */ 3071 case 507: { 3072 struct jail_set_args *p = params; 3073 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */ 3074 uarg[1] = p->iovcnt; /* unsigned int */ 3075 iarg[2] = p->flags; /* int */ 3076 *n_args = 3; 3077 break; 3078 } 3079 /* jail_remove */ 3080 case 508: { 3081 struct jail_remove_args *p = params; 3082 iarg[0] = p->jid; /* int */ 3083 *n_args = 1; 3084 break; 3085 } 3086 /* closefrom */ 3087 case 509: { 3088 struct closefrom_args *p = params; 3089 iarg[0] = p->lowfd; /* int */ 3090 *n_args = 1; 3091 break; 3092 } 3093 /* __semctl */ 3094 case 510: { 3095 struct __semctl_args *p = params; 3096 iarg[0] = p->semid; /* int */ 3097 iarg[1] = p->semnum; /* int */ 3098 iarg[2] = p->cmd; /* int */ 3099 uarg[3] = (intptr_t) p->arg; /* union semun * */ 3100 *n_args = 4; 3101 break; 3102 } 3103 /* msgctl */ 3104 case 511: { 3105 struct msgctl_args *p = params; 3106 iarg[0] = p->msqid; /* int */ 3107 iarg[1] = p->cmd; /* int */ 3108 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */ 3109 *n_args = 3; 3110 break; 3111 } 3112 /* shmctl */ 3113 case 512: { 3114 struct shmctl_args *p = params; 3115 iarg[0] = p->shmid; /* int */ 3116 iarg[1] = p->cmd; /* int */ 3117 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */ 3118 *n_args = 3; 3119 break; 3120 } 3121 /* lpathconf */ 3122 case 513: { 3123 struct lpathconf_args *p = params; 3124 uarg[0] = (intptr_t) p->path; /* char * */ 3125 iarg[1] = p->name; /* int */ 3126 *n_args = 2; 3127 break; 3128 } 3129 /* __cap_rights_get */ 3130 case 515: { 3131 struct __cap_rights_get_args *p = params; 3132 iarg[0] = p->version; /* int */ 3133 iarg[1] = p->fd; /* int */ 3134 uarg[2] = (intptr_t) p->rightsp; /* cap_rights_t * */ 3135 *n_args = 3; 3136 break; 3137 } 3138 /* cap_enter */ 3139 case 516: { 3140 *n_args = 0; 3141 break; 3142 } 3143 /* cap_getmode */ 3144 case 517: { 3145 struct cap_getmode_args *p = params; 3146 uarg[0] = (intptr_t) p->modep; /* u_int * */ 3147 *n_args = 1; 3148 break; 3149 } 3150 /* pdfork */ 3151 case 518: { 3152 struct pdfork_args *p = params; 3153 uarg[0] = (intptr_t) p->fdp; /* int * */ 3154 iarg[1] = p->flags; /* int */ 3155 *n_args = 2; 3156 break; 3157 } 3158 /* pdkill */ 3159 case 519: { 3160 struct pdkill_args *p = params; 3161 iarg[0] = p->fd; /* int */ 3162 iarg[1] = p->signum; /* int */ 3163 *n_args = 2; 3164 break; 3165 } 3166 /* pdgetpid */ 3167 case 520: { 3168 struct pdgetpid_args *p = params; 3169 iarg[0] = p->fd; /* int */ 3170 uarg[1] = (intptr_t) p->pidp; /* pid_t * */ 3171 *n_args = 2; 3172 break; 3173 } 3174 /* pselect */ 3175 case 522: { 3176 struct pselect_args *p = params; 3177 iarg[0] = p->nd; /* int */ 3178 uarg[1] = (intptr_t) p->in; /* fd_set * */ 3179 uarg[2] = (intptr_t) p->ou; /* fd_set * */ 3180 uarg[3] = (intptr_t) p->ex; /* fd_set * */ 3181 uarg[4] = (intptr_t) p->ts; /* const struct timespec * */ 3182 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */ 3183 *n_args = 6; 3184 break; 3185 } 3186 /* getloginclass */ 3187 case 523: { 3188 struct getloginclass_args *p = params; 3189 uarg[0] = (intptr_t) p->namebuf; /* char * */ 3190 uarg[1] = p->namelen; /* size_t */ 3191 *n_args = 2; 3192 break; 3193 } 3194 /* setloginclass */ 3195 case 524: { 3196 struct setloginclass_args *p = params; 3197 uarg[0] = (intptr_t) p->namebuf; /* const char * */ 3198 *n_args = 1; 3199 break; 3200 } 3201 /* rctl_get_racct */ 3202 case 525: { 3203 struct rctl_get_racct_args *p = params; 3204 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 3205 uarg[1] = p->inbuflen; /* size_t */ 3206 uarg[2] = (intptr_t) p->outbufp; /* void * */ 3207 uarg[3] = p->outbuflen; /* size_t */ 3208 *n_args = 4; 3209 break; 3210 } 3211 /* rctl_get_rules */ 3212 case 526: { 3213 struct rctl_get_rules_args *p = params; 3214 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 3215 uarg[1] = p->inbuflen; /* size_t */ 3216 uarg[2] = (intptr_t) p->outbufp; /* void * */ 3217 uarg[3] = p->outbuflen; /* size_t */ 3218 *n_args = 4; 3219 break; 3220 } 3221 /* rctl_get_limits */ 3222 case 527: { 3223 struct rctl_get_limits_args *p = params; 3224 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 3225 uarg[1] = p->inbuflen; /* size_t */ 3226 uarg[2] = (intptr_t) p->outbufp; /* void * */ 3227 uarg[3] = p->outbuflen; /* size_t */ 3228 *n_args = 4; 3229 break; 3230 } 3231 /* rctl_add_rule */ 3232 case 528: { 3233 struct rctl_add_rule_args *p = params; 3234 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 3235 uarg[1] = p->inbuflen; /* size_t */ 3236 uarg[2] = (intptr_t) p->outbufp; /* void * */ 3237 uarg[3] = p->outbuflen; /* size_t */ 3238 *n_args = 4; 3239 break; 3240 } 3241 /* rctl_remove_rule */ 3242 case 529: { 3243 struct rctl_remove_rule_args *p = params; 3244 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 3245 uarg[1] = p->inbuflen; /* size_t */ 3246 uarg[2] = (intptr_t) p->outbufp; /* void * */ 3247 uarg[3] = p->outbuflen; /* size_t */ 3248 *n_args = 4; 3249 break; 3250 } 3251 /* posix_fallocate */ 3252 case 530: { 3253 struct posix_fallocate_args *p = params; 3254 iarg[0] = p->fd; /* int */ 3255 iarg[1] = p->offset; /* off_t */ 3256 iarg[2] = p->len; /* off_t */ 3257 *n_args = 3; 3258 break; 3259 } 3260 /* posix_fadvise */ 3261 case 531: { 3262 struct posix_fadvise_args *p = params; 3263 iarg[0] = p->fd; /* int */ 3264 iarg[1] = p->offset; /* off_t */ 3265 iarg[2] = p->len; /* off_t */ 3266 iarg[3] = p->advice; /* int */ 3267 *n_args = 4; 3268 break; 3269 } 3270 /* wait6 */ 3271 case 532: { 3272 struct wait6_args *p = params; 3273 iarg[0] = p->idtype; /* idtype_t */ 3274 iarg[1] = p->id; /* id_t */ 3275 uarg[2] = (intptr_t) p->status; /* int * */ 3276 iarg[3] = p->options; /* int */ 3277 uarg[4] = (intptr_t) p->wrusage; /* struct __wrusage * */ 3278 uarg[5] = (intptr_t) p->info; /* siginfo_t * */ 3279 *n_args = 6; 3280 break; 3281 } 3282 /* cap_rights_limit */ 3283 case 533: { 3284 struct cap_rights_limit_args *p = params; 3285 iarg[0] = p->fd; /* int */ 3286 uarg[1] = (intptr_t) p->rightsp; /* cap_rights_t * */ 3287 *n_args = 2; 3288 break; 3289 } 3290 /* cap_ioctls_limit */ 3291 case 534: { 3292 struct cap_ioctls_limit_args *p = params; 3293 iarg[0] = p->fd; /* int */ 3294 uarg[1] = (intptr_t) p->cmds; /* const u_long * */ 3295 uarg[2] = p->ncmds; /* size_t */ 3296 *n_args = 3; 3297 break; 3298 } 3299 /* cap_ioctls_get */ 3300 case 535: { 3301 struct cap_ioctls_get_args *p = params; 3302 iarg[0] = p->fd; /* int */ 3303 uarg[1] = (intptr_t) p->cmds; /* u_long * */ 3304 uarg[2] = p->maxcmds; /* size_t */ 3305 *n_args = 3; 3306 break; 3307 } 3308 /* cap_fcntls_limit */ 3309 case 536: { 3310 struct cap_fcntls_limit_args *p = params; 3311 iarg[0] = p->fd; /* int */ 3312 uarg[1] = p->fcntlrights; /* uint32_t */ 3313 *n_args = 2; 3314 break; 3315 } 3316 /* cap_fcntls_get */ 3317 case 537: { 3318 struct cap_fcntls_get_args *p = params; 3319 iarg[0] = p->fd; /* int */ 3320 uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */ 3321 *n_args = 2; 3322 break; 3323 } 3324 /* bindat */ 3325 case 538: { 3326 struct bindat_args *p = params; 3327 iarg[0] = p->fd; /* int */ 3328 iarg[1] = p->s; /* int */ 3329 uarg[2] = (intptr_t) p->name; /* caddr_t */ 3330 iarg[3] = p->namelen; /* int */ 3331 *n_args = 4; 3332 break; 3333 } 3334 /* connectat */ 3335 case 539: { 3336 struct connectat_args *p = params; 3337 iarg[0] = p->fd; /* int */ 3338 iarg[1] = p->s; /* int */ 3339 uarg[2] = (intptr_t) p->name; /* caddr_t */ 3340 iarg[3] = p->namelen; /* int */ 3341 *n_args = 4; 3342 break; 3343 } 3344 /* chflagsat */ 3345 case 540: { 3346 struct chflagsat_args *p = params; 3347 iarg[0] = p->fd; /* int */ 3348 uarg[1] = (intptr_t) p->path; /* const char * */ 3349 uarg[2] = p->flags; /* u_long */ 3350 iarg[3] = p->atflag; /* int */ 3351 *n_args = 4; 3352 break; 3353 } 3354 /* accept4 */ 3355 case 541: { 3356 struct accept4_args *p = params; 3357 iarg[0] = p->s; /* int */ 3358 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */ 3359 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */ 3360 iarg[3] = p->flags; /* int */ 3361 *n_args = 4; 3362 break; 3363 } 3364 /* pipe2 */ 3365 case 542: { 3366 struct pipe2_args *p = params; 3367 uarg[0] = (intptr_t) p->fildes; /* int * */ 3368 iarg[1] = p->flags; /* int */ 3369 *n_args = 2; 3370 break; 3371 } 3372 /* aio_mlock */ 3373 case 543: { 3374 struct aio_mlock_args *p = params; 3375 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */ 3376 *n_args = 1; 3377 break; 3378 } 3379 /* procctl */ 3380 case 544: { 3381 struct procctl_args *p = params; 3382 iarg[0] = p->idtype; /* idtype_t */ 3383 iarg[1] = p->id; /* id_t */ 3384 iarg[2] = p->com; /* int */ 3385 uarg[3] = (intptr_t) p->data; /* void * */ 3386 *n_args = 4; 3387 break; 3388 } 3389 default: 3390 *n_args = 0; 3391 break; 3392 }; 3393 } 3394 static void 3395 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 3396 { 3397 const char *p = NULL; 3398 switch (sysnum) { 3399 /* nosys */ 3400 case 0: 3401 break; 3402 /* sys_exit */ 3403 case 1: 3404 switch(ndx) { 3405 case 0: 3406 p = "int"; 3407 break; 3408 default: 3409 break; 3410 }; 3411 break; 3412 /* fork */ 3413 case 2: 3414 break; 3415 /* read */ 3416 case 3: 3417 switch(ndx) { 3418 case 0: 3419 p = "int"; 3420 break; 3421 case 1: 3422 p = "void *"; 3423 break; 3424 case 2: 3425 p = "size_t"; 3426 break; 3427 default: 3428 break; 3429 }; 3430 break; 3431 /* write */ 3432 case 4: 3433 switch(ndx) { 3434 case 0: 3435 p = "int"; 3436 break; 3437 case 1: 3438 p = "const void *"; 3439 break; 3440 case 2: 3441 p = "size_t"; 3442 break; 3443 default: 3444 break; 3445 }; 3446 break; 3447 /* open */ 3448 case 5: 3449 switch(ndx) { 3450 case 0: 3451 p = "char *"; 3452 break; 3453 case 1: 3454 p = "int"; 3455 break; 3456 case 2: 3457 p = "int"; 3458 break; 3459 default: 3460 break; 3461 }; 3462 break; 3463 /* close */ 3464 case 6: 3465 switch(ndx) { 3466 case 0: 3467 p = "int"; 3468 break; 3469 default: 3470 break; 3471 }; 3472 break; 3473 /* wait4 */ 3474 case 7: 3475 switch(ndx) { 3476 case 0: 3477 p = "int"; 3478 break; 3479 case 1: 3480 p = "int *"; 3481 break; 3482 case 2: 3483 p = "int"; 3484 break; 3485 case 3: 3486 p = "struct rusage *"; 3487 break; 3488 default: 3489 break; 3490 }; 3491 break; 3492 /* link */ 3493 case 9: 3494 switch(ndx) { 3495 case 0: 3496 p = "char *"; 3497 break; 3498 case 1: 3499 p = "char *"; 3500 break; 3501 default: 3502 break; 3503 }; 3504 break; 3505 /* unlink */ 3506 case 10: 3507 switch(ndx) { 3508 case 0: 3509 p = "char *"; 3510 break; 3511 default: 3512 break; 3513 }; 3514 break; 3515 /* chdir */ 3516 case 12: 3517 switch(ndx) { 3518 case 0: 3519 p = "char *"; 3520 break; 3521 default: 3522 break; 3523 }; 3524 break; 3525 /* fchdir */ 3526 case 13: 3527 switch(ndx) { 3528 case 0: 3529 p = "int"; 3530 break; 3531 default: 3532 break; 3533 }; 3534 break; 3535 /* mknod */ 3536 case 14: 3537 switch(ndx) { 3538 case 0: 3539 p = "char *"; 3540 break; 3541 case 1: 3542 p = "int"; 3543 break; 3544 case 2: 3545 p = "int"; 3546 break; 3547 default: 3548 break; 3549 }; 3550 break; 3551 /* chmod */ 3552 case 15: 3553 switch(ndx) { 3554 case 0: 3555 p = "char *"; 3556 break; 3557 case 1: 3558 p = "int"; 3559 break; 3560 default: 3561 break; 3562 }; 3563 break; 3564 /* chown */ 3565 case 16: 3566 switch(ndx) { 3567 case 0: 3568 p = "char *"; 3569 break; 3570 case 1: 3571 p = "int"; 3572 break; 3573 case 2: 3574 p = "int"; 3575 break; 3576 default: 3577 break; 3578 }; 3579 break; 3580 /* obreak */ 3581 case 17: 3582 switch(ndx) { 3583 case 0: 3584 p = "char *"; 3585 break; 3586 default: 3587 break; 3588 }; 3589 break; 3590 /* getpid */ 3591 case 20: 3592 break; 3593 /* mount */ 3594 case 21: 3595 switch(ndx) { 3596 case 0: 3597 p = "char *"; 3598 break; 3599 case 1: 3600 p = "char *"; 3601 break; 3602 case 2: 3603 p = "int"; 3604 break; 3605 case 3: 3606 p = "caddr_t"; 3607 break; 3608 default: 3609 break; 3610 }; 3611 break; 3612 /* unmount */ 3613 case 22: 3614 switch(ndx) { 3615 case 0: 3616 p = "char *"; 3617 break; 3618 case 1: 3619 p = "int"; 3620 break; 3621 default: 3622 break; 3623 }; 3624 break; 3625 /* setuid */ 3626 case 23: 3627 switch(ndx) { 3628 case 0: 3629 p = "uid_t"; 3630 break; 3631 default: 3632 break; 3633 }; 3634 break; 3635 /* getuid */ 3636 case 24: 3637 break; 3638 /* geteuid */ 3639 case 25: 3640 break; 3641 /* ptrace */ 3642 case 26: 3643 switch(ndx) { 3644 case 0: 3645 p = "int"; 3646 break; 3647 case 1: 3648 p = "pid_t"; 3649 break; 3650 case 2: 3651 p = "caddr_t"; 3652 break; 3653 case 3: 3654 p = "int"; 3655 break; 3656 default: 3657 break; 3658 }; 3659 break; 3660 /* recvmsg */ 3661 case 27: 3662 switch(ndx) { 3663 case 0: 3664 p = "int"; 3665 break; 3666 case 1: 3667 p = "struct msghdr *"; 3668 break; 3669 case 2: 3670 p = "int"; 3671 break; 3672 default: 3673 break; 3674 }; 3675 break; 3676 /* sendmsg */ 3677 case 28: 3678 switch(ndx) { 3679 case 0: 3680 p = "int"; 3681 break; 3682 case 1: 3683 p = "struct msghdr *"; 3684 break; 3685 case 2: 3686 p = "int"; 3687 break; 3688 default: 3689 break; 3690 }; 3691 break; 3692 /* recvfrom */ 3693 case 29: 3694 switch(ndx) { 3695 case 0: 3696 p = "int"; 3697 break; 3698 case 1: 3699 p = "caddr_t"; 3700 break; 3701 case 2: 3702 p = "size_t"; 3703 break; 3704 case 3: 3705 p = "int"; 3706 break; 3707 case 4: 3708 p = "struct sockaddr *"; 3709 break; 3710 case 5: 3711 p = "__socklen_t *"; 3712 break; 3713 default: 3714 break; 3715 }; 3716 break; 3717 /* accept */ 3718 case 30: 3719 switch(ndx) { 3720 case 0: 3721 p = "int"; 3722 break; 3723 case 1: 3724 p = "struct sockaddr *"; 3725 break; 3726 case 2: 3727 p = "__socklen_t *"; 3728 break; 3729 default: 3730 break; 3731 }; 3732 break; 3733 /* getpeername */ 3734 case 31: 3735 switch(ndx) { 3736 case 0: 3737 p = "int"; 3738 break; 3739 case 1: 3740 p = "struct sockaddr *"; 3741 break; 3742 case 2: 3743 p = "__socklen_t *"; 3744 break; 3745 default: 3746 break; 3747 }; 3748 break; 3749 /* getsockname */ 3750 case 32: 3751 switch(ndx) { 3752 case 0: 3753 p = "int"; 3754 break; 3755 case 1: 3756 p = "struct sockaddr *"; 3757 break; 3758 case 2: 3759 p = "__socklen_t *"; 3760 break; 3761 default: 3762 break; 3763 }; 3764 break; 3765 /* access */ 3766 case 33: 3767 switch(ndx) { 3768 case 0: 3769 p = "char *"; 3770 break; 3771 case 1: 3772 p = "int"; 3773 break; 3774 default: 3775 break; 3776 }; 3777 break; 3778 /* chflags */ 3779 case 34: 3780 switch(ndx) { 3781 case 0: 3782 p = "const char *"; 3783 break; 3784 case 1: 3785 p = "u_long"; 3786 break; 3787 default: 3788 break; 3789 }; 3790 break; 3791 /* fchflags */ 3792 case 35: 3793 switch(ndx) { 3794 case 0: 3795 p = "int"; 3796 break; 3797 case 1: 3798 p = "u_long"; 3799 break; 3800 default: 3801 break; 3802 }; 3803 break; 3804 /* sync */ 3805 case 36: 3806 break; 3807 /* kill */ 3808 case 37: 3809 switch(ndx) { 3810 case 0: 3811 p = "int"; 3812 break; 3813 case 1: 3814 p = "int"; 3815 break; 3816 default: 3817 break; 3818 }; 3819 break; 3820 /* getppid */ 3821 case 39: 3822 break; 3823 /* dup */ 3824 case 41: 3825 switch(ndx) { 3826 case 0: 3827 p = "u_int"; 3828 break; 3829 default: 3830 break; 3831 }; 3832 break; 3833 /* pipe */ 3834 case 42: 3835 break; 3836 /* getegid */ 3837 case 43: 3838 break; 3839 /* profil */ 3840 case 44: 3841 switch(ndx) { 3842 case 0: 3843 p = "caddr_t"; 3844 break; 3845 case 1: 3846 p = "size_t"; 3847 break; 3848 case 2: 3849 p = "size_t"; 3850 break; 3851 case 3: 3852 p = "u_int"; 3853 break; 3854 default: 3855 break; 3856 }; 3857 break; 3858 /* ktrace */ 3859 case 45: 3860 switch(ndx) { 3861 case 0: 3862 p = "const char *"; 3863 break; 3864 case 1: 3865 p = "int"; 3866 break; 3867 case 2: 3868 p = "int"; 3869 break; 3870 case 3: 3871 p = "int"; 3872 break; 3873 default: 3874 break; 3875 }; 3876 break; 3877 /* getgid */ 3878 case 47: 3879 break; 3880 /* getlogin */ 3881 case 49: 3882 switch(ndx) { 3883 case 0: 3884 p = "char *"; 3885 break; 3886 case 1: 3887 p = "u_int"; 3888 break; 3889 default: 3890 break; 3891 }; 3892 break; 3893 /* setlogin */ 3894 case 50: 3895 switch(ndx) { 3896 case 0: 3897 p = "char *"; 3898 break; 3899 default: 3900 break; 3901 }; 3902 break; 3903 /* acct */ 3904 case 51: 3905 switch(ndx) { 3906 case 0: 3907 p = "char *"; 3908 break; 3909 default: 3910 break; 3911 }; 3912 break; 3913 /* sigaltstack */ 3914 case 53: 3915 switch(ndx) { 3916 case 0: 3917 p = "stack_t *"; 3918 break; 3919 case 1: 3920 p = "stack_t *"; 3921 break; 3922 default: 3923 break; 3924 }; 3925 break; 3926 /* ioctl */ 3927 case 54: 3928 switch(ndx) { 3929 case 0: 3930 p = "int"; 3931 break; 3932 case 1: 3933 p = "u_long"; 3934 break; 3935 case 2: 3936 p = "caddr_t"; 3937 break; 3938 default: 3939 break; 3940 }; 3941 break; 3942 /* reboot */ 3943 case 55: 3944 switch(ndx) { 3945 case 0: 3946 p = "int"; 3947 break; 3948 default: 3949 break; 3950 }; 3951 break; 3952 /* revoke */ 3953 case 56: 3954 switch(ndx) { 3955 case 0: 3956 p = "char *"; 3957 break; 3958 default: 3959 break; 3960 }; 3961 break; 3962 /* symlink */ 3963 case 57: 3964 switch(ndx) { 3965 case 0: 3966 p = "char *"; 3967 break; 3968 case 1: 3969 p = "char *"; 3970 break; 3971 default: 3972 break; 3973 }; 3974 break; 3975 /* readlink */ 3976 case 58: 3977 switch(ndx) { 3978 case 0: 3979 p = "char *"; 3980 break; 3981 case 1: 3982 p = "char *"; 3983 break; 3984 case 2: 3985 p = "size_t"; 3986 break; 3987 default: 3988 break; 3989 }; 3990 break; 3991 /* execve */ 3992 case 59: 3993 switch(ndx) { 3994 case 0: 3995 p = "char *"; 3996 break; 3997 case 1: 3998 p = "char **"; 3999 break; 4000 case 2: 4001 p = "char **"; 4002 break; 4003 default: 4004 break; 4005 }; 4006 break; 4007 /* umask */ 4008 case 60: 4009 switch(ndx) { 4010 case 0: 4011 p = "int"; 4012 break; 4013 default: 4014 break; 4015 }; 4016 break; 4017 /* chroot */ 4018 case 61: 4019 switch(ndx) { 4020 case 0: 4021 p = "char *"; 4022 break; 4023 default: 4024 break; 4025 }; 4026 break; 4027 /* msync */ 4028 case 65: 4029 switch(ndx) { 4030 case 0: 4031 p = "void *"; 4032 break; 4033 case 1: 4034 p = "size_t"; 4035 break; 4036 case 2: 4037 p = "int"; 4038 break; 4039 default: 4040 break; 4041 }; 4042 break; 4043 /* vfork */ 4044 case 66: 4045 break; 4046 /* sbrk */ 4047 case 69: 4048 switch(ndx) { 4049 case 0: 4050 p = "int"; 4051 break; 4052 default: 4053 break; 4054 }; 4055 break; 4056 /* sstk */ 4057 case 70: 4058 switch(ndx) { 4059 case 0: 4060 p = "int"; 4061 break; 4062 default: 4063 break; 4064 }; 4065 break; 4066 /* ovadvise */ 4067 case 72: 4068 switch(ndx) { 4069 case 0: 4070 p = "int"; 4071 break; 4072 default: 4073 break; 4074 }; 4075 break; 4076 /* munmap */ 4077 case 73: 4078 switch(ndx) { 4079 case 0: 4080 p = "void *"; 4081 break; 4082 case 1: 4083 p = "size_t"; 4084 break; 4085 default: 4086 break; 4087 }; 4088 break; 4089 /* mprotect */ 4090 case 74: 4091 switch(ndx) { 4092 case 0: 4093 p = "const void *"; 4094 break; 4095 case 1: 4096 p = "size_t"; 4097 break; 4098 case 2: 4099 p = "int"; 4100 break; 4101 default: 4102 break; 4103 }; 4104 break; 4105 /* madvise */ 4106 case 75: 4107 switch(ndx) { 4108 case 0: 4109 p = "void *"; 4110 break; 4111 case 1: 4112 p = "size_t"; 4113 break; 4114 case 2: 4115 p = "int"; 4116 break; 4117 default: 4118 break; 4119 }; 4120 break; 4121 /* mincore */ 4122 case 78: 4123 switch(ndx) { 4124 case 0: 4125 p = "const void *"; 4126 break; 4127 case 1: 4128 p = "size_t"; 4129 break; 4130 case 2: 4131 p = "char *"; 4132 break; 4133 default: 4134 break; 4135 }; 4136 break; 4137 /* getgroups */ 4138 case 79: 4139 switch(ndx) { 4140 case 0: 4141 p = "u_int"; 4142 break; 4143 case 1: 4144 p = "gid_t *"; 4145 break; 4146 default: 4147 break; 4148 }; 4149 break; 4150 /* setgroups */ 4151 case 80: 4152 switch(ndx) { 4153 case 0: 4154 p = "u_int"; 4155 break; 4156 case 1: 4157 p = "gid_t *"; 4158 break; 4159 default: 4160 break; 4161 }; 4162 break; 4163 /* getpgrp */ 4164 case 81: 4165 break; 4166 /* setpgid */ 4167 case 82: 4168 switch(ndx) { 4169 case 0: 4170 p = "int"; 4171 break; 4172 case 1: 4173 p = "int"; 4174 break; 4175 default: 4176 break; 4177 }; 4178 break; 4179 /* setitimer */ 4180 case 83: 4181 switch(ndx) { 4182 case 0: 4183 p = "u_int"; 4184 break; 4185 case 1: 4186 p = "struct itimerval *"; 4187 break; 4188 case 2: 4189 p = "struct itimerval *"; 4190 break; 4191 default: 4192 break; 4193 }; 4194 break; 4195 /* swapon */ 4196 case 85: 4197 switch(ndx) { 4198 case 0: 4199 p = "char *"; 4200 break; 4201 default: 4202 break; 4203 }; 4204 break; 4205 /* getitimer */ 4206 case 86: 4207 switch(ndx) { 4208 case 0: 4209 p = "u_int"; 4210 break; 4211 case 1: 4212 p = "struct itimerval *"; 4213 break; 4214 default: 4215 break; 4216 }; 4217 break; 4218 /* getdtablesize */ 4219 case 89: 4220 break; 4221 /* dup2 */ 4222 case 90: 4223 switch(ndx) { 4224 case 0: 4225 p = "u_int"; 4226 break; 4227 case 1: 4228 p = "u_int"; 4229 break; 4230 default: 4231 break; 4232 }; 4233 break; 4234 /* fcntl */ 4235 case 92: 4236 switch(ndx) { 4237 case 0: 4238 p = "int"; 4239 break; 4240 case 1: 4241 p = "int"; 4242 break; 4243 case 2: 4244 p = "long"; 4245 break; 4246 default: 4247 break; 4248 }; 4249 break; 4250 /* select */ 4251 case 93: 4252 switch(ndx) { 4253 case 0: 4254 p = "int"; 4255 break; 4256 case 1: 4257 p = "fd_set *"; 4258 break; 4259 case 2: 4260 p = "fd_set *"; 4261 break; 4262 case 3: 4263 p = "fd_set *"; 4264 break; 4265 case 4: 4266 p = "struct timeval *"; 4267 break; 4268 default: 4269 break; 4270 }; 4271 break; 4272 /* fsync */ 4273 case 95: 4274 switch(ndx) { 4275 case 0: 4276 p = "int"; 4277 break; 4278 default: 4279 break; 4280 }; 4281 break; 4282 /* setpriority */ 4283 case 96: 4284 switch(ndx) { 4285 case 0: 4286 p = "int"; 4287 break; 4288 case 1: 4289 p = "int"; 4290 break; 4291 case 2: 4292 p = "int"; 4293 break; 4294 default: 4295 break; 4296 }; 4297 break; 4298 /* socket */ 4299 case 97: 4300 switch(ndx) { 4301 case 0: 4302 p = "int"; 4303 break; 4304 case 1: 4305 p = "int"; 4306 break; 4307 case 2: 4308 p = "int"; 4309 break; 4310 default: 4311 break; 4312 }; 4313 break; 4314 /* connect */ 4315 case 98: 4316 switch(ndx) { 4317 case 0: 4318 p = "int"; 4319 break; 4320 case 1: 4321 p = "caddr_t"; 4322 break; 4323 case 2: 4324 p = "int"; 4325 break; 4326 default: 4327 break; 4328 }; 4329 break; 4330 /* getpriority */ 4331 case 100: 4332 switch(ndx) { 4333 case 0: 4334 p = "int"; 4335 break; 4336 case 1: 4337 p = "int"; 4338 break; 4339 default: 4340 break; 4341 }; 4342 break; 4343 /* bind */ 4344 case 104: 4345 switch(ndx) { 4346 case 0: 4347 p = "int"; 4348 break; 4349 case 1: 4350 p = "caddr_t"; 4351 break; 4352 case 2: 4353 p = "int"; 4354 break; 4355 default: 4356 break; 4357 }; 4358 break; 4359 /* setsockopt */ 4360 case 105: 4361 switch(ndx) { 4362 case 0: 4363 p = "int"; 4364 break; 4365 case 1: 4366 p = "int"; 4367 break; 4368 case 2: 4369 p = "int"; 4370 break; 4371 case 3: 4372 p = "caddr_t"; 4373 break; 4374 case 4: 4375 p = "int"; 4376 break; 4377 default: 4378 break; 4379 }; 4380 break; 4381 /* listen */ 4382 case 106: 4383 switch(ndx) { 4384 case 0: 4385 p = "int"; 4386 break; 4387 case 1: 4388 p = "int"; 4389 break; 4390 default: 4391 break; 4392 }; 4393 break; 4394 /* gettimeofday */ 4395 case 116: 4396 switch(ndx) { 4397 case 0: 4398 p = "struct timeval *"; 4399 break; 4400 case 1: 4401 p = "struct timezone *"; 4402 break; 4403 default: 4404 break; 4405 }; 4406 break; 4407 /* getrusage */ 4408 case 117: 4409 switch(ndx) { 4410 case 0: 4411 p = "int"; 4412 break; 4413 case 1: 4414 p = "struct rusage *"; 4415 break; 4416 default: 4417 break; 4418 }; 4419 break; 4420 /* getsockopt */ 4421 case 118: 4422 switch(ndx) { 4423 case 0: 4424 p = "int"; 4425 break; 4426 case 1: 4427 p = "int"; 4428 break; 4429 case 2: 4430 p = "int"; 4431 break; 4432 case 3: 4433 p = "caddr_t"; 4434 break; 4435 case 4: 4436 p = "int *"; 4437 break; 4438 default: 4439 break; 4440 }; 4441 break; 4442 /* readv */ 4443 case 120: 4444 switch(ndx) { 4445 case 0: 4446 p = "int"; 4447 break; 4448 case 1: 4449 p = "struct iovec *"; 4450 break; 4451 case 2: 4452 p = "u_int"; 4453 break; 4454 default: 4455 break; 4456 }; 4457 break; 4458 /* writev */ 4459 case 121: 4460 switch(ndx) { 4461 case 0: 4462 p = "int"; 4463 break; 4464 case 1: 4465 p = "struct iovec *"; 4466 break; 4467 case 2: 4468 p = "u_int"; 4469 break; 4470 default: 4471 break; 4472 }; 4473 break; 4474 /* settimeofday */ 4475 case 122: 4476 switch(ndx) { 4477 case 0: 4478 p = "struct timeval *"; 4479 break; 4480 case 1: 4481 p = "struct timezone *"; 4482 break; 4483 default: 4484 break; 4485 }; 4486 break; 4487 /* fchown */ 4488 case 123: 4489 switch(ndx) { 4490 case 0: 4491 p = "int"; 4492 break; 4493 case 1: 4494 p = "int"; 4495 break; 4496 case 2: 4497 p = "int"; 4498 break; 4499 default: 4500 break; 4501 }; 4502 break; 4503 /* fchmod */ 4504 case 124: 4505 switch(ndx) { 4506 case 0: 4507 p = "int"; 4508 break; 4509 case 1: 4510 p = "int"; 4511 break; 4512 default: 4513 break; 4514 }; 4515 break; 4516 /* setreuid */ 4517 case 126: 4518 switch(ndx) { 4519 case 0: 4520 p = "int"; 4521 break; 4522 case 1: 4523 p = "int"; 4524 break; 4525 default: 4526 break; 4527 }; 4528 break; 4529 /* setregid */ 4530 case 127: 4531 switch(ndx) { 4532 case 0: 4533 p = "int"; 4534 break; 4535 case 1: 4536 p = "int"; 4537 break; 4538 default: 4539 break; 4540 }; 4541 break; 4542 /* rename */ 4543 case 128: 4544 switch(ndx) { 4545 case 0: 4546 p = "char *"; 4547 break; 4548 case 1: 4549 p = "char *"; 4550 break; 4551 default: 4552 break; 4553 }; 4554 break; 4555 /* flock */ 4556 case 131: 4557 switch(ndx) { 4558 case 0: 4559 p = "int"; 4560 break; 4561 case 1: 4562 p = "int"; 4563 break; 4564 default: 4565 break; 4566 }; 4567 break; 4568 /* mkfifo */ 4569 case 132: 4570 switch(ndx) { 4571 case 0: 4572 p = "char *"; 4573 break; 4574 case 1: 4575 p = "int"; 4576 break; 4577 default: 4578 break; 4579 }; 4580 break; 4581 /* sendto */ 4582 case 133: 4583 switch(ndx) { 4584 case 0: 4585 p = "int"; 4586 break; 4587 case 1: 4588 p = "caddr_t"; 4589 break; 4590 case 2: 4591 p = "size_t"; 4592 break; 4593 case 3: 4594 p = "int"; 4595 break; 4596 case 4: 4597 p = "caddr_t"; 4598 break; 4599 case 5: 4600 p = "int"; 4601 break; 4602 default: 4603 break; 4604 }; 4605 break; 4606 /* shutdown */ 4607 case 134: 4608 switch(ndx) { 4609 case 0: 4610 p = "int"; 4611 break; 4612 case 1: 4613 p = "int"; 4614 break; 4615 default: 4616 break; 4617 }; 4618 break; 4619 /* socketpair */ 4620 case 135: 4621 switch(ndx) { 4622 case 0: 4623 p = "int"; 4624 break; 4625 case 1: 4626 p = "int"; 4627 break; 4628 case 2: 4629 p = "int"; 4630 break; 4631 case 3: 4632 p = "int *"; 4633 break; 4634 default: 4635 break; 4636 }; 4637 break; 4638 /* mkdir */ 4639 case 136: 4640 switch(ndx) { 4641 case 0: 4642 p = "char *"; 4643 break; 4644 case 1: 4645 p = "int"; 4646 break; 4647 default: 4648 break; 4649 }; 4650 break; 4651 /* rmdir */ 4652 case 137: 4653 switch(ndx) { 4654 case 0: 4655 p = "char *"; 4656 break; 4657 default: 4658 break; 4659 }; 4660 break; 4661 /* utimes */ 4662 case 138: 4663 switch(ndx) { 4664 case 0: 4665 p = "char *"; 4666 break; 4667 case 1: 4668 p = "struct timeval *"; 4669 break; 4670 default: 4671 break; 4672 }; 4673 break; 4674 /* adjtime */ 4675 case 140: 4676 switch(ndx) { 4677 case 0: 4678 p = "struct timeval *"; 4679 break; 4680 case 1: 4681 p = "struct timeval *"; 4682 break; 4683 default: 4684 break; 4685 }; 4686 break; 4687 /* setsid */ 4688 case 147: 4689 break; 4690 /* quotactl */ 4691 case 148: 4692 switch(ndx) { 4693 case 0: 4694 p = "char *"; 4695 break; 4696 case 1: 4697 p = "int"; 4698 break; 4699 case 2: 4700 p = "int"; 4701 break; 4702 case 3: 4703 p = "caddr_t"; 4704 break; 4705 default: 4706 break; 4707 }; 4708 break; 4709 /* nlm_syscall */ 4710 case 154: 4711 switch(ndx) { 4712 case 0: 4713 p = "int"; 4714 break; 4715 case 1: 4716 p = "int"; 4717 break; 4718 case 2: 4719 p = "int"; 4720 break; 4721 case 3: 4722 p = "char **"; 4723 break; 4724 default: 4725 break; 4726 }; 4727 break; 4728 /* nfssvc */ 4729 case 155: 4730 switch(ndx) { 4731 case 0: 4732 p = "int"; 4733 break; 4734 case 1: 4735 p = "caddr_t"; 4736 break; 4737 default: 4738 break; 4739 }; 4740 break; 4741 /* lgetfh */ 4742 case 160: 4743 switch(ndx) { 4744 case 0: 4745 p = "char *"; 4746 break; 4747 case 1: 4748 p = "struct fhandle *"; 4749 break; 4750 default: 4751 break; 4752 }; 4753 break; 4754 /* getfh */ 4755 case 161: 4756 switch(ndx) { 4757 case 0: 4758 p = "char *"; 4759 break; 4760 case 1: 4761 p = "struct fhandle *"; 4762 break; 4763 default: 4764 break; 4765 }; 4766 break; 4767 /* sysarch */ 4768 case 165: 4769 switch(ndx) { 4770 case 0: 4771 p = "int"; 4772 break; 4773 case 1: 4774 p = "char *"; 4775 break; 4776 default: 4777 break; 4778 }; 4779 break; 4780 /* rtprio */ 4781 case 166: 4782 switch(ndx) { 4783 case 0: 4784 p = "int"; 4785 break; 4786 case 1: 4787 p = "pid_t"; 4788 break; 4789 case 2: 4790 p = "struct rtprio *"; 4791 break; 4792 default: 4793 break; 4794 }; 4795 break; 4796 /* semsys */ 4797 case 169: 4798 switch(ndx) { 4799 case 0: 4800 p = "int"; 4801 break; 4802 case 1: 4803 p = "int"; 4804 break; 4805 case 2: 4806 p = "int"; 4807 break; 4808 case 3: 4809 p = "int"; 4810 break; 4811 case 4: 4812 p = "int"; 4813 break; 4814 default: 4815 break; 4816 }; 4817 break; 4818 /* msgsys */ 4819 case 170: 4820 switch(ndx) { 4821 case 0: 4822 p = "int"; 4823 break; 4824 case 1: 4825 p = "int"; 4826 break; 4827 case 2: 4828 p = "int"; 4829 break; 4830 case 3: 4831 p = "int"; 4832 break; 4833 case 4: 4834 p = "int"; 4835 break; 4836 case 5: 4837 p = "int"; 4838 break; 4839 default: 4840 break; 4841 }; 4842 break; 4843 /* shmsys */ 4844 case 171: 4845 switch(ndx) { 4846 case 0: 4847 p = "int"; 4848 break; 4849 case 1: 4850 p = "int"; 4851 break; 4852 case 2: 4853 p = "int"; 4854 break; 4855 case 3: 4856 p = "int"; 4857 break; 4858 default: 4859 break; 4860 }; 4861 break; 4862 /* freebsd6_pread */ 4863 case 173: 4864 switch(ndx) { 4865 case 0: 4866 p = "int"; 4867 break; 4868 case 1: 4869 p = "void *"; 4870 break; 4871 case 2: 4872 p = "size_t"; 4873 break; 4874 case 3: 4875 p = "int"; 4876 break; 4877 case 4: 4878 p = "off_t"; 4879 break; 4880 default: 4881 break; 4882 }; 4883 break; 4884 /* freebsd6_pwrite */ 4885 case 174: 4886 switch(ndx) { 4887 case 0: 4888 p = "int"; 4889 break; 4890 case 1: 4891 p = "const void *"; 4892 break; 4893 case 2: 4894 p = "size_t"; 4895 break; 4896 case 3: 4897 p = "int"; 4898 break; 4899 case 4: 4900 p = "off_t"; 4901 break; 4902 default: 4903 break; 4904 }; 4905 break; 4906 /* setfib */ 4907 case 175: 4908 switch(ndx) { 4909 case 0: 4910 p = "int"; 4911 break; 4912 default: 4913 break; 4914 }; 4915 break; 4916 /* ntp_adjtime */ 4917 case 176: 4918 switch(ndx) { 4919 case 0: 4920 p = "struct timex *"; 4921 break; 4922 default: 4923 break; 4924 }; 4925 break; 4926 /* setgid */ 4927 case 181: 4928 switch(ndx) { 4929 case 0: 4930 p = "gid_t"; 4931 break; 4932 default: 4933 break; 4934 }; 4935 break; 4936 /* setegid */ 4937 case 182: 4938 switch(ndx) { 4939 case 0: 4940 p = "gid_t"; 4941 break; 4942 default: 4943 break; 4944 }; 4945 break; 4946 /* seteuid */ 4947 case 183: 4948 switch(ndx) { 4949 case 0: 4950 p = "uid_t"; 4951 break; 4952 default: 4953 break; 4954 }; 4955 break; 4956 /* stat */ 4957 case 188: 4958 switch(ndx) { 4959 case 0: 4960 p = "char *"; 4961 break; 4962 case 1: 4963 p = "struct stat *"; 4964 break; 4965 default: 4966 break; 4967 }; 4968 break; 4969 /* fstat */ 4970 case 189: 4971 switch(ndx) { 4972 case 0: 4973 p = "int"; 4974 break; 4975 case 1: 4976 p = "struct stat *"; 4977 break; 4978 default: 4979 break; 4980 }; 4981 break; 4982 /* lstat */ 4983 case 190: 4984 switch(ndx) { 4985 case 0: 4986 p = "char *"; 4987 break; 4988 case 1: 4989 p = "struct stat *"; 4990 break; 4991 default: 4992 break; 4993 }; 4994 break; 4995 /* pathconf */ 4996 case 191: 4997 switch(ndx) { 4998 case 0: 4999 p = "char *"; 5000 break; 5001 case 1: 5002 p = "int"; 5003 break; 5004 default: 5005 break; 5006 }; 5007 break; 5008 /* fpathconf */ 5009 case 192: 5010 switch(ndx) { 5011 case 0: 5012 p = "int"; 5013 break; 5014 case 1: 5015 p = "int"; 5016 break; 5017 default: 5018 break; 5019 }; 5020 break; 5021 /* getrlimit */ 5022 case 194: 5023 switch(ndx) { 5024 case 0: 5025 p = "u_int"; 5026 break; 5027 case 1: 5028 p = "struct rlimit *"; 5029 break; 5030 default: 5031 break; 5032 }; 5033 break; 5034 /* setrlimit */ 5035 case 195: 5036 switch(ndx) { 5037 case 0: 5038 p = "u_int"; 5039 break; 5040 case 1: 5041 p = "struct rlimit *"; 5042 break; 5043 default: 5044 break; 5045 }; 5046 break; 5047 /* getdirentries */ 5048 case 196: 5049 switch(ndx) { 5050 case 0: 5051 p = "int"; 5052 break; 5053 case 1: 5054 p = "char *"; 5055 break; 5056 case 2: 5057 p = "u_int"; 5058 break; 5059 case 3: 5060 p = "long *"; 5061 break; 5062 default: 5063 break; 5064 }; 5065 break; 5066 /* freebsd6_mmap */ 5067 case 197: 5068 switch(ndx) { 5069 case 0: 5070 p = "caddr_t"; 5071 break; 5072 case 1: 5073 p = "size_t"; 5074 break; 5075 case 2: 5076 p = "int"; 5077 break; 5078 case 3: 5079 p = "int"; 5080 break; 5081 case 4: 5082 p = "int"; 5083 break; 5084 case 5: 5085 p = "int"; 5086 break; 5087 case 6: 5088 p = "off_t"; 5089 break; 5090 default: 5091 break; 5092 }; 5093 break; 5094 /* nosys */ 5095 case 198: 5096 break; 5097 /* freebsd6_lseek */ 5098 case 199: 5099 switch(ndx) { 5100 case 0: 5101 p = "int"; 5102 break; 5103 case 1: 5104 p = "int"; 5105 break; 5106 case 2: 5107 p = "off_t"; 5108 break; 5109 case 3: 5110 p = "int"; 5111 break; 5112 default: 5113 break; 5114 }; 5115 break; 5116 /* freebsd6_truncate */ 5117 case 200: 5118 switch(ndx) { 5119 case 0: 5120 p = "char *"; 5121 break; 5122 case 1: 5123 p = "int"; 5124 break; 5125 case 2: 5126 p = "off_t"; 5127 break; 5128 default: 5129 break; 5130 }; 5131 break; 5132 /* freebsd6_ftruncate */ 5133 case 201: 5134 switch(ndx) { 5135 case 0: 5136 p = "int"; 5137 break; 5138 case 1: 5139 p = "int"; 5140 break; 5141 case 2: 5142 p = "off_t"; 5143 break; 5144 default: 5145 break; 5146 }; 5147 break; 5148 /* __sysctl */ 5149 case 202: 5150 switch(ndx) { 5151 case 0: 5152 p = "int *"; 5153 break; 5154 case 1: 5155 p = "u_int"; 5156 break; 5157 case 2: 5158 p = "void *"; 5159 break; 5160 case 3: 5161 p = "size_t *"; 5162 break; 5163 case 4: 5164 p = "void *"; 5165 break; 5166 case 5: 5167 p = "size_t"; 5168 break; 5169 default: 5170 break; 5171 }; 5172 break; 5173 /* mlock */ 5174 case 203: 5175 switch(ndx) { 5176 case 0: 5177 p = "const void *"; 5178 break; 5179 case 1: 5180 p = "size_t"; 5181 break; 5182 default: 5183 break; 5184 }; 5185 break; 5186 /* munlock */ 5187 case 204: 5188 switch(ndx) { 5189 case 0: 5190 p = "const void *"; 5191 break; 5192 case 1: 5193 p = "size_t"; 5194 break; 5195 default: 5196 break; 5197 }; 5198 break; 5199 /* undelete */ 5200 case 205: 5201 switch(ndx) { 5202 case 0: 5203 p = "char *"; 5204 break; 5205 default: 5206 break; 5207 }; 5208 break; 5209 /* futimes */ 5210 case 206: 5211 switch(ndx) { 5212 case 0: 5213 p = "int"; 5214 break; 5215 case 1: 5216 p = "struct timeval *"; 5217 break; 5218 default: 5219 break; 5220 }; 5221 break; 5222 /* getpgid */ 5223 case 207: 5224 switch(ndx) { 5225 case 0: 5226 p = "pid_t"; 5227 break; 5228 default: 5229 break; 5230 }; 5231 break; 5232 /* poll */ 5233 case 209: 5234 switch(ndx) { 5235 case 0: 5236 p = "struct pollfd *"; 5237 break; 5238 case 1: 5239 p = "u_int"; 5240 break; 5241 case 2: 5242 p = "int"; 5243 break; 5244 default: 5245 break; 5246 }; 5247 break; 5248 /* lkmnosys */ 5249 case 210: 5250 break; 5251 /* lkmnosys */ 5252 case 211: 5253 break; 5254 /* lkmnosys */ 5255 case 212: 5256 break; 5257 /* lkmnosys */ 5258 case 213: 5259 break; 5260 /* lkmnosys */ 5261 case 214: 5262 break; 5263 /* lkmnosys */ 5264 case 215: 5265 break; 5266 /* lkmnosys */ 5267 case 216: 5268 break; 5269 /* lkmnosys */ 5270 case 217: 5271 break; 5272 /* lkmnosys */ 5273 case 218: 5274 break; 5275 /* lkmnosys */ 5276 case 219: 5277 break; 5278 /* semget */ 5279 case 221: 5280 switch(ndx) { 5281 case 0: 5282 p = "key_t"; 5283 break; 5284 case 1: 5285 p = "int"; 5286 break; 5287 case 2: 5288 p = "int"; 5289 break; 5290 default: 5291 break; 5292 }; 5293 break; 5294 /* semop */ 5295 case 222: 5296 switch(ndx) { 5297 case 0: 5298 p = "int"; 5299 break; 5300 case 1: 5301 p = "struct sembuf *"; 5302 break; 5303 case 2: 5304 p = "size_t"; 5305 break; 5306 default: 5307 break; 5308 }; 5309 break; 5310 /* msgget */ 5311 case 225: 5312 switch(ndx) { 5313 case 0: 5314 p = "key_t"; 5315 break; 5316 case 1: 5317 p = "int"; 5318 break; 5319 default: 5320 break; 5321 }; 5322 break; 5323 /* msgsnd */ 5324 case 226: 5325 switch(ndx) { 5326 case 0: 5327 p = "int"; 5328 break; 5329 case 1: 5330 p = "const void *"; 5331 break; 5332 case 2: 5333 p = "size_t"; 5334 break; 5335 case 3: 5336 p = "int"; 5337 break; 5338 default: 5339 break; 5340 }; 5341 break; 5342 /* msgrcv */ 5343 case 227: 5344 switch(ndx) { 5345 case 0: 5346 p = "int"; 5347 break; 5348 case 1: 5349 p = "void *"; 5350 break; 5351 case 2: 5352 p = "size_t"; 5353 break; 5354 case 3: 5355 p = "long"; 5356 break; 5357 case 4: 5358 p = "int"; 5359 break; 5360 default: 5361 break; 5362 }; 5363 break; 5364 /* shmat */ 5365 case 228: 5366 switch(ndx) { 5367 case 0: 5368 p = "int"; 5369 break; 5370 case 1: 5371 p = "const void *"; 5372 break; 5373 case 2: 5374 p = "int"; 5375 break; 5376 default: 5377 break; 5378 }; 5379 break; 5380 /* shmdt */ 5381 case 230: 5382 switch(ndx) { 5383 case 0: 5384 p = "const void *"; 5385 break; 5386 default: 5387 break; 5388 }; 5389 break; 5390 /* shmget */ 5391 case 231: 5392 switch(ndx) { 5393 case 0: 5394 p = "key_t"; 5395 break; 5396 case 1: 5397 p = "size_t"; 5398 break; 5399 case 2: 5400 p = "int"; 5401 break; 5402 default: 5403 break; 5404 }; 5405 break; 5406 /* clock_gettime */ 5407 case 232: 5408 switch(ndx) { 5409 case 0: 5410 p = "clockid_t"; 5411 break; 5412 case 1: 5413 p = "struct timespec *"; 5414 break; 5415 default: 5416 break; 5417 }; 5418 break; 5419 /* clock_settime */ 5420 case 233: 5421 switch(ndx) { 5422 case 0: 5423 p = "clockid_t"; 5424 break; 5425 case 1: 5426 p = "const struct timespec *"; 5427 break; 5428 default: 5429 break; 5430 }; 5431 break; 5432 /* clock_getres */ 5433 case 234: 5434 switch(ndx) { 5435 case 0: 5436 p = "clockid_t"; 5437 break; 5438 case 1: 5439 p = "struct timespec *"; 5440 break; 5441 default: 5442 break; 5443 }; 5444 break; 5445 /* ktimer_create */ 5446 case 235: 5447 switch(ndx) { 5448 case 0: 5449 p = "clockid_t"; 5450 break; 5451 case 1: 5452 p = "struct sigevent *"; 5453 break; 5454 case 2: 5455 p = "int *"; 5456 break; 5457 default: 5458 break; 5459 }; 5460 break; 5461 /* ktimer_delete */ 5462 case 236: 5463 switch(ndx) { 5464 case 0: 5465 p = "int"; 5466 break; 5467 default: 5468 break; 5469 }; 5470 break; 5471 /* ktimer_settime */ 5472 case 237: 5473 switch(ndx) { 5474 case 0: 5475 p = "int"; 5476 break; 5477 case 1: 5478 p = "int"; 5479 break; 5480 case 2: 5481 p = "const struct itimerspec *"; 5482 break; 5483 case 3: 5484 p = "struct itimerspec *"; 5485 break; 5486 default: 5487 break; 5488 }; 5489 break; 5490 /* ktimer_gettime */ 5491 case 238: 5492 switch(ndx) { 5493 case 0: 5494 p = "int"; 5495 break; 5496 case 1: 5497 p = "struct itimerspec *"; 5498 break; 5499 default: 5500 break; 5501 }; 5502 break; 5503 /* ktimer_getoverrun */ 5504 case 239: 5505 switch(ndx) { 5506 case 0: 5507 p = "int"; 5508 break; 5509 default: 5510 break; 5511 }; 5512 break; 5513 /* nanosleep */ 5514 case 240: 5515 switch(ndx) { 5516 case 0: 5517 p = "const struct timespec *"; 5518 break; 5519 case 1: 5520 p = "struct timespec *"; 5521 break; 5522 default: 5523 break; 5524 }; 5525 break; 5526 /* ffclock_getcounter */ 5527 case 241: 5528 switch(ndx) { 5529 case 0: 5530 p = "ffcounter *"; 5531 break; 5532 default: 5533 break; 5534 }; 5535 break; 5536 /* ffclock_setestimate */ 5537 case 242: 5538 switch(ndx) { 5539 case 0: 5540 p = "struct ffclock_estimate *"; 5541 break; 5542 default: 5543 break; 5544 }; 5545 break; 5546 /* ffclock_getestimate */ 5547 case 243: 5548 switch(ndx) { 5549 case 0: 5550 p = "struct ffclock_estimate *"; 5551 break; 5552 default: 5553 break; 5554 }; 5555 break; 5556 /* clock_getcpuclockid2 */ 5557 case 247: 5558 switch(ndx) { 5559 case 0: 5560 p = "id_t"; 5561 break; 5562 case 1: 5563 p = "int"; 5564 break; 5565 case 2: 5566 p = "clockid_t *"; 5567 break; 5568 default: 5569 break; 5570 }; 5571 break; 5572 /* ntp_gettime */ 5573 case 248: 5574 switch(ndx) { 5575 case 0: 5576 p = "struct ntptimeval *"; 5577 break; 5578 default: 5579 break; 5580 }; 5581 break; 5582 /* minherit */ 5583 case 250: 5584 switch(ndx) { 5585 case 0: 5586 p = "void *"; 5587 break; 5588 case 1: 5589 p = "size_t"; 5590 break; 5591 case 2: 5592 p = "int"; 5593 break; 5594 default: 5595 break; 5596 }; 5597 break; 5598 /* rfork */ 5599 case 251: 5600 switch(ndx) { 5601 case 0: 5602 p = "int"; 5603 break; 5604 default: 5605 break; 5606 }; 5607 break; 5608 /* openbsd_poll */ 5609 case 252: 5610 switch(ndx) { 5611 case 0: 5612 p = "struct pollfd *"; 5613 break; 5614 case 1: 5615 p = "u_int"; 5616 break; 5617 case 2: 5618 p = "int"; 5619 break; 5620 default: 5621 break; 5622 }; 5623 break; 5624 /* issetugid */ 5625 case 253: 5626 break; 5627 /* lchown */ 5628 case 254: 5629 switch(ndx) { 5630 case 0: 5631 p = "char *"; 5632 break; 5633 case 1: 5634 p = "int"; 5635 break; 5636 case 2: 5637 p = "int"; 5638 break; 5639 default: 5640 break; 5641 }; 5642 break; 5643 /* aio_read */ 5644 case 255: 5645 switch(ndx) { 5646 case 0: 5647 p = "struct aiocb *"; 5648 break; 5649 default: 5650 break; 5651 }; 5652 break; 5653 /* aio_write */ 5654 case 256: 5655 switch(ndx) { 5656 case 0: 5657 p = "struct aiocb *"; 5658 break; 5659 default: 5660 break; 5661 }; 5662 break; 5663 /* lio_listio */ 5664 case 257: 5665 switch(ndx) { 5666 case 0: 5667 p = "int"; 5668 break; 5669 case 1: 5670 p = "struct aiocb *const *"; 5671 break; 5672 case 2: 5673 p = "int"; 5674 break; 5675 case 3: 5676 p = "struct sigevent *"; 5677 break; 5678 default: 5679 break; 5680 }; 5681 break; 5682 /* getdents */ 5683 case 272: 5684 switch(ndx) { 5685 case 0: 5686 p = "int"; 5687 break; 5688 case 1: 5689 p = "char *"; 5690 break; 5691 case 2: 5692 p = "size_t"; 5693 break; 5694 default: 5695 break; 5696 }; 5697 break; 5698 /* lchmod */ 5699 case 274: 5700 switch(ndx) { 5701 case 0: 5702 p = "char *"; 5703 break; 5704 case 1: 5705 p = "mode_t"; 5706 break; 5707 default: 5708 break; 5709 }; 5710 break; 5711 /* lchown */ 5712 case 275: 5713 switch(ndx) { 5714 case 0: 5715 p = "char *"; 5716 break; 5717 case 1: 5718 p = "uid_t"; 5719 break; 5720 case 2: 5721 p = "gid_t"; 5722 break; 5723 default: 5724 break; 5725 }; 5726 break; 5727 /* lutimes */ 5728 case 276: 5729 switch(ndx) { 5730 case 0: 5731 p = "char *"; 5732 break; 5733 case 1: 5734 p = "struct timeval *"; 5735 break; 5736 default: 5737 break; 5738 }; 5739 break; 5740 /* msync */ 5741 case 277: 5742 switch(ndx) { 5743 case 0: 5744 p = "void *"; 5745 break; 5746 case 1: 5747 p = "size_t"; 5748 break; 5749 case 2: 5750 p = "int"; 5751 break; 5752 default: 5753 break; 5754 }; 5755 break; 5756 /* nstat */ 5757 case 278: 5758 switch(ndx) { 5759 case 0: 5760 p = "char *"; 5761 break; 5762 case 1: 5763 p = "struct nstat *"; 5764 break; 5765 default: 5766 break; 5767 }; 5768 break; 5769 /* nfstat */ 5770 case 279: 5771 switch(ndx) { 5772 case 0: 5773 p = "int"; 5774 break; 5775 case 1: 5776 p = "struct nstat *"; 5777 break; 5778 default: 5779 break; 5780 }; 5781 break; 5782 /* nlstat */ 5783 case 280: 5784 switch(ndx) { 5785 case 0: 5786 p = "char *"; 5787 break; 5788 case 1: 5789 p = "struct nstat *"; 5790 break; 5791 default: 5792 break; 5793 }; 5794 break; 5795 /* preadv */ 5796 case 289: 5797 switch(ndx) { 5798 case 0: 5799 p = "int"; 5800 break; 5801 case 1: 5802 p = "struct iovec *"; 5803 break; 5804 case 2: 5805 p = "u_int"; 5806 break; 5807 case 3: 5808 p = "off_t"; 5809 break; 5810 default: 5811 break; 5812 }; 5813 break; 5814 /* pwritev */ 5815 case 290: 5816 switch(ndx) { 5817 case 0: 5818 p = "int"; 5819 break; 5820 case 1: 5821 p = "struct iovec *"; 5822 break; 5823 case 2: 5824 p = "u_int"; 5825 break; 5826 case 3: 5827 p = "off_t"; 5828 break; 5829 default: 5830 break; 5831 }; 5832 break; 5833 /* fhopen */ 5834 case 298: 5835 switch(ndx) { 5836 case 0: 5837 p = "const struct fhandle *"; 5838 break; 5839 case 1: 5840 p = "int"; 5841 break; 5842 default: 5843 break; 5844 }; 5845 break; 5846 /* fhstat */ 5847 case 299: 5848 switch(ndx) { 5849 case 0: 5850 p = "const struct fhandle *"; 5851 break; 5852 case 1: 5853 p = "struct stat *"; 5854 break; 5855 default: 5856 break; 5857 }; 5858 break; 5859 /* modnext */ 5860 case 300: 5861 switch(ndx) { 5862 case 0: 5863 p = "int"; 5864 break; 5865 default: 5866 break; 5867 }; 5868 break; 5869 /* modstat */ 5870 case 301: 5871 switch(ndx) { 5872 case 0: 5873 p = "int"; 5874 break; 5875 case 1: 5876 p = "struct module_stat *"; 5877 break; 5878 default: 5879 break; 5880 }; 5881 break; 5882 /* modfnext */ 5883 case 302: 5884 switch(ndx) { 5885 case 0: 5886 p = "int"; 5887 break; 5888 default: 5889 break; 5890 }; 5891 break; 5892 /* modfind */ 5893 case 303: 5894 switch(ndx) { 5895 case 0: 5896 p = "const char *"; 5897 break; 5898 default: 5899 break; 5900 }; 5901 break; 5902 /* kldload */ 5903 case 304: 5904 switch(ndx) { 5905 case 0: 5906 p = "const char *"; 5907 break; 5908 default: 5909 break; 5910 }; 5911 break; 5912 /* kldunload */ 5913 case 305: 5914 switch(ndx) { 5915 case 0: 5916 p = "int"; 5917 break; 5918 default: 5919 break; 5920 }; 5921 break; 5922 /* kldfind */ 5923 case 306: 5924 switch(ndx) { 5925 case 0: 5926 p = "const char *"; 5927 break; 5928 default: 5929 break; 5930 }; 5931 break; 5932 /* kldnext */ 5933 case 307: 5934 switch(ndx) { 5935 case 0: 5936 p = "int"; 5937 break; 5938 default: 5939 break; 5940 }; 5941 break; 5942 /* kldstat */ 5943 case 308: 5944 switch(ndx) { 5945 case 0: 5946 p = "int"; 5947 break; 5948 case 1: 5949 p = "struct kld_file_stat *"; 5950 break; 5951 default: 5952 break; 5953 }; 5954 break; 5955 /* kldfirstmod */ 5956 case 309: 5957 switch(ndx) { 5958 case 0: 5959 p = "int"; 5960 break; 5961 default: 5962 break; 5963 }; 5964 break; 5965 /* getsid */ 5966 case 310: 5967 switch(ndx) { 5968 case 0: 5969 p = "pid_t"; 5970 break; 5971 default: 5972 break; 5973 }; 5974 break; 5975 /* setresuid */ 5976 case 311: 5977 switch(ndx) { 5978 case 0: 5979 p = "uid_t"; 5980 break; 5981 case 1: 5982 p = "uid_t"; 5983 break; 5984 case 2: 5985 p = "uid_t"; 5986 break; 5987 default: 5988 break; 5989 }; 5990 break; 5991 /* setresgid */ 5992 case 312: 5993 switch(ndx) { 5994 case 0: 5995 p = "gid_t"; 5996 break; 5997 case 1: 5998 p = "gid_t"; 5999 break; 6000 case 2: 6001 p = "gid_t"; 6002 break; 6003 default: 6004 break; 6005 }; 6006 break; 6007 /* aio_return */ 6008 case 314: 6009 switch(ndx) { 6010 case 0: 6011 p = "struct aiocb *"; 6012 break; 6013 default: 6014 break; 6015 }; 6016 break; 6017 /* aio_suspend */ 6018 case 315: 6019 switch(ndx) { 6020 case 0: 6021 p = "struct aiocb *const *"; 6022 break; 6023 case 1: 6024 p = "int"; 6025 break; 6026 case 2: 6027 p = "const struct timespec *"; 6028 break; 6029 default: 6030 break; 6031 }; 6032 break; 6033 /* aio_cancel */ 6034 case 316: 6035 switch(ndx) { 6036 case 0: 6037 p = "int"; 6038 break; 6039 case 1: 6040 p = "struct aiocb *"; 6041 break; 6042 default: 6043 break; 6044 }; 6045 break; 6046 /* aio_error */ 6047 case 317: 6048 switch(ndx) { 6049 case 0: 6050 p = "struct aiocb *"; 6051 break; 6052 default: 6053 break; 6054 }; 6055 break; 6056 /* oaio_read */ 6057 case 318: 6058 switch(ndx) { 6059 case 0: 6060 p = "struct oaiocb *"; 6061 break; 6062 default: 6063 break; 6064 }; 6065 break; 6066 /* oaio_write */ 6067 case 319: 6068 switch(ndx) { 6069 case 0: 6070 p = "struct oaiocb *"; 6071 break; 6072 default: 6073 break; 6074 }; 6075 break; 6076 /* olio_listio */ 6077 case 320: 6078 switch(ndx) { 6079 case 0: 6080 p = "int"; 6081 break; 6082 case 1: 6083 p = "struct oaiocb *const *"; 6084 break; 6085 case 2: 6086 p = "int"; 6087 break; 6088 case 3: 6089 p = "struct osigevent *"; 6090 break; 6091 default: 6092 break; 6093 }; 6094 break; 6095 /* yield */ 6096 case 321: 6097 break; 6098 /* mlockall */ 6099 case 324: 6100 switch(ndx) { 6101 case 0: 6102 p = "int"; 6103 break; 6104 default: 6105 break; 6106 }; 6107 break; 6108 /* munlockall */ 6109 case 325: 6110 break; 6111 /* __getcwd */ 6112 case 326: 6113 switch(ndx) { 6114 case 0: 6115 p = "u_char *"; 6116 break; 6117 case 1: 6118 p = "u_int"; 6119 break; 6120 default: 6121 break; 6122 }; 6123 break; 6124 /* sched_setparam */ 6125 case 327: 6126 switch(ndx) { 6127 case 0: 6128 p = "pid_t"; 6129 break; 6130 case 1: 6131 p = "const struct sched_param *"; 6132 break; 6133 default: 6134 break; 6135 }; 6136 break; 6137 /* sched_getparam */ 6138 case 328: 6139 switch(ndx) { 6140 case 0: 6141 p = "pid_t"; 6142 break; 6143 case 1: 6144 p = "struct sched_param *"; 6145 break; 6146 default: 6147 break; 6148 }; 6149 break; 6150 /* sched_setscheduler */ 6151 case 329: 6152 switch(ndx) { 6153 case 0: 6154 p = "pid_t"; 6155 break; 6156 case 1: 6157 p = "int"; 6158 break; 6159 case 2: 6160 p = "const struct sched_param *"; 6161 break; 6162 default: 6163 break; 6164 }; 6165 break; 6166 /* sched_getscheduler */ 6167 case 330: 6168 switch(ndx) { 6169 case 0: 6170 p = "pid_t"; 6171 break; 6172 default: 6173 break; 6174 }; 6175 break; 6176 /* sched_yield */ 6177 case 331: 6178 break; 6179 /* sched_get_priority_max */ 6180 case 332: 6181 switch(ndx) { 6182 case 0: 6183 p = "int"; 6184 break; 6185 default: 6186 break; 6187 }; 6188 break; 6189 /* sched_get_priority_min */ 6190 case 333: 6191 switch(ndx) { 6192 case 0: 6193 p = "int"; 6194 break; 6195 default: 6196 break; 6197 }; 6198 break; 6199 /* sched_rr_get_interval */ 6200 case 334: 6201 switch(ndx) { 6202 case 0: 6203 p = "pid_t"; 6204 break; 6205 case 1: 6206 p = "struct timespec *"; 6207 break; 6208 default: 6209 break; 6210 }; 6211 break; 6212 /* utrace */ 6213 case 335: 6214 switch(ndx) { 6215 case 0: 6216 p = "const void *"; 6217 break; 6218 case 1: 6219 p = "size_t"; 6220 break; 6221 default: 6222 break; 6223 }; 6224 break; 6225 /* kldsym */ 6226 case 337: 6227 switch(ndx) { 6228 case 0: 6229 p = "int"; 6230 break; 6231 case 1: 6232 p = "int"; 6233 break; 6234 case 2: 6235 p = "void *"; 6236 break; 6237 default: 6238 break; 6239 }; 6240 break; 6241 /* jail */ 6242 case 338: 6243 switch(ndx) { 6244 case 0: 6245 p = "struct jail *"; 6246 break; 6247 default: 6248 break; 6249 }; 6250 break; 6251 /* nnpfs_syscall */ 6252 case 339: 6253 switch(ndx) { 6254 case 0: 6255 p = "int"; 6256 break; 6257 case 1: 6258 p = "char *"; 6259 break; 6260 case 2: 6261 p = "int"; 6262 break; 6263 case 3: 6264 p = "void *"; 6265 break; 6266 case 4: 6267 p = "int"; 6268 break; 6269 default: 6270 break; 6271 }; 6272 break; 6273 /* sigprocmask */ 6274 case 340: 6275 switch(ndx) { 6276 case 0: 6277 p = "int"; 6278 break; 6279 case 1: 6280 p = "const sigset_t *"; 6281 break; 6282 case 2: 6283 p = "sigset_t *"; 6284 break; 6285 default: 6286 break; 6287 }; 6288 break; 6289 /* sigsuspend */ 6290 case 341: 6291 switch(ndx) { 6292 case 0: 6293 p = "const sigset_t *"; 6294 break; 6295 default: 6296 break; 6297 }; 6298 break; 6299 /* sigpending */ 6300 case 343: 6301 switch(ndx) { 6302 case 0: 6303 p = "sigset_t *"; 6304 break; 6305 default: 6306 break; 6307 }; 6308 break; 6309 /* sigtimedwait */ 6310 case 345: 6311 switch(ndx) { 6312 case 0: 6313 p = "const sigset_t *"; 6314 break; 6315 case 1: 6316 p = "siginfo_t *"; 6317 break; 6318 case 2: 6319 p = "const struct timespec *"; 6320 break; 6321 default: 6322 break; 6323 }; 6324 break; 6325 /* sigwaitinfo */ 6326 case 346: 6327 switch(ndx) { 6328 case 0: 6329 p = "const sigset_t *"; 6330 break; 6331 case 1: 6332 p = "siginfo_t *"; 6333 break; 6334 default: 6335 break; 6336 }; 6337 break; 6338 /* __acl_get_file */ 6339 case 347: 6340 switch(ndx) { 6341 case 0: 6342 p = "const char *"; 6343 break; 6344 case 1: 6345 p = "acl_type_t"; 6346 break; 6347 case 2: 6348 p = "struct acl *"; 6349 break; 6350 default: 6351 break; 6352 }; 6353 break; 6354 /* __acl_set_file */ 6355 case 348: 6356 switch(ndx) { 6357 case 0: 6358 p = "const char *"; 6359 break; 6360 case 1: 6361 p = "acl_type_t"; 6362 break; 6363 case 2: 6364 p = "struct acl *"; 6365 break; 6366 default: 6367 break; 6368 }; 6369 break; 6370 /* __acl_get_fd */ 6371 case 349: 6372 switch(ndx) { 6373 case 0: 6374 p = "int"; 6375 break; 6376 case 1: 6377 p = "acl_type_t"; 6378 break; 6379 case 2: 6380 p = "struct acl *"; 6381 break; 6382 default: 6383 break; 6384 }; 6385 break; 6386 /* __acl_set_fd */ 6387 case 350: 6388 switch(ndx) { 6389 case 0: 6390 p = "int"; 6391 break; 6392 case 1: 6393 p = "acl_type_t"; 6394 break; 6395 case 2: 6396 p = "struct acl *"; 6397 break; 6398 default: 6399 break; 6400 }; 6401 break; 6402 /* __acl_delete_file */ 6403 case 351: 6404 switch(ndx) { 6405 case 0: 6406 p = "const char *"; 6407 break; 6408 case 1: 6409 p = "acl_type_t"; 6410 break; 6411 default: 6412 break; 6413 }; 6414 break; 6415 /* __acl_delete_fd */ 6416 case 352: 6417 switch(ndx) { 6418 case 0: 6419 p = "int"; 6420 break; 6421 case 1: 6422 p = "acl_type_t"; 6423 break; 6424 default: 6425 break; 6426 }; 6427 break; 6428 /* __acl_aclcheck_file */ 6429 case 353: 6430 switch(ndx) { 6431 case 0: 6432 p = "const char *"; 6433 break; 6434 case 1: 6435 p = "acl_type_t"; 6436 break; 6437 case 2: 6438 p = "struct acl *"; 6439 break; 6440 default: 6441 break; 6442 }; 6443 break; 6444 /* __acl_aclcheck_fd */ 6445 case 354: 6446 switch(ndx) { 6447 case 0: 6448 p = "int"; 6449 break; 6450 case 1: 6451 p = "acl_type_t"; 6452 break; 6453 case 2: 6454 p = "struct acl *"; 6455 break; 6456 default: 6457 break; 6458 }; 6459 break; 6460 /* extattrctl */ 6461 case 355: 6462 switch(ndx) { 6463 case 0: 6464 p = "const char *"; 6465 break; 6466 case 1: 6467 p = "int"; 6468 break; 6469 case 2: 6470 p = "const char *"; 6471 break; 6472 case 3: 6473 p = "int"; 6474 break; 6475 case 4: 6476 p = "const char *"; 6477 break; 6478 default: 6479 break; 6480 }; 6481 break; 6482 /* extattr_set_file */ 6483 case 356: 6484 switch(ndx) { 6485 case 0: 6486 p = "const char *"; 6487 break; 6488 case 1: 6489 p = "int"; 6490 break; 6491 case 2: 6492 p = "const char *"; 6493 break; 6494 case 3: 6495 p = "void *"; 6496 break; 6497 case 4: 6498 p = "size_t"; 6499 break; 6500 default: 6501 break; 6502 }; 6503 break; 6504 /* extattr_get_file */ 6505 case 357: 6506 switch(ndx) { 6507 case 0: 6508 p = "const char *"; 6509 break; 6510 case 1: 6511 p = "int"; 6512 break; 6513 case 2: 6514 p = "const char *"; 6515 break; 6516 case 3: 6517 p = "void *"; 6518 break; 6519 case 4: 6520 p = "size_t"; 6521 break; 6522 default: 6523 break; 6524 }; 6525 break; 6526 /* extattr_delete_file */ 6527 case 358: 6528 switch(ndx) { 6529 case 0: 6530 p = "const char *"; 6531 break; 6532 case 1: 6533 p = "int"; 6534 break; 6535 case 2: 6536 p = "const char *"; 6537 break; 6538 default: 6539 break; 6540 }; 6541 break; 6542 /* aio_waitcomplete */ 6543 case 359: 6544 switch(ndx) { 6545 case 0: 6546 p = "struct aiocb **"; 6547 break; 6548 case 1: 6549 p = "struct timespec *"; 6550 break; 6551 default: 6552 break; 6553 }; 6554 break; 6555 /* getresuid */ 6556 case 360: 6557 switch(ndx) { 6558 case 0: 6559 p = "uid_t *"; 6560 break; 6561 case 1: 6562 p = "uid_t *"; 6563 break; 6564 case 2: 6565 p = "uid_t *"; 6566 break; 6567 default: 6568 break; 6569 }; 6570 break; 6571 /* getresgid */ 6572 case 361: 6573 switch(ndx) { 6574 case 0: 6575 p = "gid_t *"; 6576 break; 6577 case 1: 6578 p = "gid_t *"; 6579 break; 6580 case 2: 6581 p = "gid_t *"; 6582 break; 6583 default: 6584 break; 6585 }; 6586 break; 6587 /* kqueue */ 6588 case 362: 6589 break; 6590 /* kevent */ 6591 case 363: 6592 switch(ndx) { 6593 case 0: 6594 p = "int"; 6595 break; 6596 case 1: 6597 p = "struct kevent *"; 6598 break; 6599 case 2: 6600 p = "int"; 6601 break; 6602 case 3: 6603 p = "struct kevent *"; 6604 break; 6605 case 4: 6606 p = "int"; 6607 break; 6608 case 5: 6609 p = "const struct timespec *"; 6610 break; 6611 default: 6612 break; 6613 }; 6614 break; 6615 /* extattr_set_fd */ 6616 case 371: 6617 switch(ndx) { 6618 case 0: 6619 p = "int"; 6620 break; 6621 case 1: 6622 p = "int"; 6623 break; 6624 case 2: 6625 p = "const char *"; 6626 break; 6627 case 3: 6628 p = "void *"; 6629 break; 6630 case 4: 6631 p = "size_t"; 6632 break; 6633 default: 6634 break; 6635 }; 6636 break; 6637 /* extattr_get_fd */ 6638 case 372: 6639 switch(ndx) { 6640 case 0: 6641 p = "int"; 6642 break; 6643 case 1: 6644 p = "int"; 6645 break; 6646 case 2: 6647 p = "const char *"; 6648 break; 6649 case 3: 6650 p = "void *"; 6651 break; 6652 case 4: 6653 p = "size_t"; 6654 break; 6655 default: 6656 break; 6657 }; 6658 break; 6659 /* extattr_delete_fd */ 6660 case 373: 6661 switch(ndx) { 6662 case 0: 6663 p = "int"; 6664 break; 6665 case 1: 6666 p = "int"; 6667 break; 6668 case 2: 6669 p = "const char *"; 6670 break; 6671 default: 6672 break; 6673 }; 6674 break; 6675 /* __setugid */ 6676 case 374: 6677 switch(ndx) { 6678 case 0: 6679 p = "int"; 6680 break; 6681 default: 6682 break; 6683 }; 6684 break; 6685 /* eaccess */ 6686 case 376: 6687 switch(ndx) { 6688 case 0: 6689 p = "char *"; 6690 break; 6691 case 1: 6692 p = "int"; 6693 break; 6694 default: 6695 break; 6696 }; 6697 break; 6698 /* afs3_syscall */ 6699 case 377: 6700 switch(ndx) { 6701 case 0: 6702 p = "long"; 6703 break; 6704 case 1: 6705 p = "long"; 6706 break; 6707 case 2: 6708 p = "long"; 6709 break; 6710 case 3: 6711 p = "long"; 6712 break; 6713 case 4: 6714 p = "long"; 6715 break; 6716 case 5: 6717 p = "long"; 6718 break; 6719 case 6: 6720 p = "long"; 6721 break; 6722 default: 6723 break; 6724 }; 6725 break; 6726 /* nmount */ 6727 case 378: 6728 switch(ndx) { 6729 case 0: 6730 p = "struct iovec *"; 6731 break; 6732 case 1: 6733 p = "unsigned int"; 6734 break; 6735 case 2: 6736 p = "int"; 6737 break; 6738 default: 6739 break; 6740 }; 6741 break; 6742 /* __mac_get_proc */ 6743 case 384: 6744 switch(ndx) { 6745 case 0: 6746 p = "struct mac *"; 6747 break; 6748 default: 6749 break; 6750 }; 6751 break; 6752 /* __mac_set_proc */ 6753 case 385: 6754 switch(ndx) { 6755 case 0: 6756 p = "struct mac *"; 6757 break; 6758 default: 6759 break; 6760 }; 6761 break; 6762 /* __mac_get_fd */ 6763 case 386: 6764 switch(ndx) { 6765 case 0: 6766 p = "int"; 6767 break; 6768 case 1: 6769 p = "struct mac *"; 6770 break; 6771 default: 6772 break; 6773 }; 6774 break; 6775 /* __mac_get_file */ 6776 case 387: 6777 switch(ndx) { 6778 case 0: 6779 p = "const char *"; 6780 break; 6781 case 1: 6782 p = "struct mac *"; 6783 break; 6784 default: 6785 break; 6786 }; 6787 break; 6788 /* __mac_set_fd */ 6789 case 388: 6790 switch(ndx) { 6791 case 0: 6792 p = "int"; 6793 break; 6794 case 1: 6795 p = "struct mac *"; 6796 break; 6797 default: 6798 break; 6799 }; 6800 break; 6801 /* __mac_set_file */ 6802 case 389: 6803 switch(ndx) { 6804 case 0: 6805 p = "const char *"; 6806 break; 6807 case 1: 6808 p = "struct mac *"; 6809 break; 6810 default: 6811 break; 6812 }; 6813 break; 6814 /* kenv */ 6815 case 390: 6816 switch(ndx) { 6817 case 0: 6818 p = "int"; 6819 break; 6820 case 1: 6821 p = "const char *"; 6822 break; 6823 case 2: 6824 p = "char *"; 6825 break; 6826 case 3: 6827 p = "int"; 6828 break; 6829 default: 6830 break; 6831 }; 6832 break; 6833 /* lchflags */ 6834 case 391: 6835 switch(ndx) { 6836 case 0: 6837 p = "const char *"; 6838 break; 6839 case 1: 6840 p = "u_long"; 6841 break; 6842 default: 6843 break; 6844 }; 6845 break; 6846 /* uuidgen */ 6847 case 392: 6848 switch(ndx) { 6849 case 0: 6850 p = "struct uuid *"; 6851 break; 6852 case 1: 6853 p = "int"; 6854 break; 6855 default: 6856 break; 6857 }; 6858 break; 6859 /* sendfile */ 6860 case 393: 6861 switch(ndx) { 6862 case 0: 6863 p = "int"; 6864 break; 6865 case 1: 6866 p = "int"; 6867 break; 6868 case 2: 6869 p = "off_t"; 6870 break; 6871 case 3: 6872 p = "size_t"; 6873 break; 6874 case 4: 6875 p = "struct sf_hdtr *"; 6876 break; 6877 case 5: 6878 p = "off_t *"; 6879 break; 6880 case 6: 6881 p = "int"; 6882 break; 6883 default: 6884 break; 6885 }; 6886 break; 6887 /* mac_syscall */ 6888 case 394: 6889 switch(ndx) { 6890 case 0: 6891 p = "const char *"; 6892 break; 6893 case 1: 6894 p = "int"; 6895 break; 6896 case 2: 6897 p = "void *"; 6898 break; 6899 default: 6900 break; 6901 }; 6902 break; 6903 /* getfsstat */ 6904 case 395: 6905 switch(ndx) { 6906 case 0: 6907 p = "struct statfs *"; 6908 break; 6909 case 1: 6910 p = "long"; 6911 break; 6912 case 2: 6913 p = "int"; 6914 break; 6915 default: 6916 break; 6917 }; 6918 break; 6919 /* statfs */ 6920 case 396: 6921 switch(ndx) { 6922 case 0: 6923 p = "char *"; 6924 break; 6925 case 1: 6926 p = "struct statfs *"; 6927 break; 6928 default: 6929 break; 6930 }; 6931 break; 6932 /* fstatfs */ 6933 case 397: 6934 switch(ndx) { 6935 case 0: 6936 p = "int"; 6937 break; 6938 case 1: 6939 p = "struct statfs *"; 6940 break; 6941 default: 6942 break; 6943 }; 6944 break; 6945 /* fhstatfs */ 6946 case 398: 6947 switch(ndx) { 6948 case 0: 6949 p = "const struct fhandle *"; 6950 break; 6951 case 1: 6952 p = "struct statfs *"; 6953 break; 6954 default: 6955 break; 6956 }; 6957 break; 6958 /* ksem_close */ 6959 case 400: 6960 switch(ndx) { 6961 case 0: 6962 p = "semid_t"; 6963 break; 6964 default: 6965 break; 6966 }; 6967 break; 6968 /* ksem_post */ 6969 case 401: 6970 switch(ndx) { 6971 case 0: 6972 p = "semid_t"; 6973 break; 6974 default: 6975 break; 6976 }; 6977 break; 6978 /* ksem_wait */ 6979 case 402: 6980 switch(ndx) { 6981 case 0: 6982 p = "semid_t"; 6983 break; 6984 default: 6985 break; 6986 }; 6987 break; 6988 /* ksem_trywait */ 6989 case 403: 6990 switch(ndx) { 6991 case 0: 6992 p = "semid_t"; 6993 break; 6994 default: 6995 break; 6996 }; 6997 break; 6998 /* ksem_init */ 6999 case 404: 7000 switch(ndx) { 7001 case 0: 7002 p = "semid_t *"; 7003 break; 7004 case 1: 7005 p = "unsigned int"; 7006 break; 7007 default: 7008 break; 7009 }; 7010 break; 7011 /* ksem_open */ 7012 case 405: 7013 switch(ndx) { 7014 case 0: 7015 p = "semid_t *"; 7016 break; 7017 case 1: 7018 p = "const char *"; 7019 break; 7020 case 2: 7021 p = "int"; 7022 break; 7023 case 3: 7024 p = "mode_t"; 7025 break; 7026 case 4: 7027 p = "unsigned int"; 7028 break; 7029 default: 7030 break; 7031 }; 7032 break; 7033 /* ksem_unlink */ 7034 case 406: 7035 switch(ndx) { 7036 case 0: 7037 p = "const char *"; 7038 break; 7039 default: 7040 break; 7041 }; 7042 break; 7043 /* ksem_getvalue */ 7044 case 407: 7045 switch(ndx) { 7046 case 0: 7047 p = "semid_t"; 7048 break; 7049 case 1: 7050 p = "int *"; 7051 break; 7052 default: 7053 break; 7054 }; 7055 break; 7056 /* ksem_destroy */ 7057 case 408: 7058 switch(ndx) { 7059 case 0: 7060 p = "semid_t"; 7061 break; 7062 default: 7063 break; 7064 }; 7065 break; 7066 /* __mac_get_pid */ 7067 case 409: 7068 switch(ndx) { 7069 case 0: 7070 p = "pid_t"; 7071 break; 7072 case 1: 7073 p = "struct mac *"; 7074 break; 7075 default: 7076 break; 7077 }; 7078 break; 7079 /* __mac_get_link */ 7080 case 410: 7081 switch(ndx) { 7082 case 0: 7083 p = "const char *"; 7084 break; 7085 case 1: 7086 p = "struct mac *"; 7087 break; 7088 default: 7089 break; 7090 }; 7091 break; 7092 /* __mac_set_link */ 7093 case 411: 7094 switch(ndx) { 7095 case 0: 7096 p = "const char *"; 7097 break; 7098 case 1: 7099 p = "struct mac *"; 7100 break; 7101 default: 7102 break; 7103 }; 7104 break; 7105 /* extattr_set_link */ 7106 case 412: 7107 switch(ndx) { 7108 case 0: 7109 p = "const char *"; 7110 break; 7111 case 1: 7112 p = "int"; 7113 break; 7114 case 2: 7115 p = "const char *"; 7116 break; 7117 case 3: 7118 p = "void *"; 7119 break; 7120 case 4: 7121 p = "size_t"; 7122 break; 7123 default: 7124 break; 7125 }; 7126 break; 7127 /* extattr_get_link */ 7128 case 413: 7129 switch(ndx) { 7130 case 0: 7131 p = "const char *"; 7132 break; 7133 case 1: 7134 p = "int"; 7135 break; 7136 case 2: 7137 p = "const char *"; 7138 break; 7139 case 3: 7140 p = "void *"; 7141 break; 7142 case 4: 7143 p = "size_t"; 7144 break; 7145 default: 7146 break; 7147 }; 7148 break; 7149 /* extattr_delete_link */ 7150 case 414: 7151 switch(ndx) { 7152 case 0: 7153 p = "const char *"; 7154 break; 7155 case 1: 7156 p = "int"; 7157 break; 7158 case 2: 7159 p = "const char *"; 7160 break; 7161 default: 7162 break; 7163 }; 7164 break; 7165 /* __mac_execve */ 7166 case 415: 7167 switch(ndx) { 7168 case 0: 7169 p = "char *"; 7170 break; 7171 case 1: 7172 p = "char **"; 7173 break; 7174 case 2: 7175 p = "char **"; 7176 break; 7177 case 3: 7178 p = "struct mac *"; 7179 break; 7180 default: 7181 break; 7182 }; 7183 break; 7184 /* sigaction */ 7185 case 416: 7186 switch(ndx) { 7187 case 0: 7188 p = "int"; 7189 break; 7190 case 1: 7191 p = "const struct sigaction *"; 7192 break; 7193 case 2: 7194 p = "struct sigaction *"; 7195 break; 7196 default: 7197 break; 7198 }; 7199 break; 7200 /* sigreturn */ 7201 case 417: 7202 switch(ndx) { 7203 case 0: 7204 p = "const struct __ucontext *"; 7205 break; 7206 default: 7207 break; 7208 }; 7209 break; 7210 /* getcontext */ 7211 case 421: 7212 switch(ndx) { 7213 case 0: 7214 p = "struct __ucontext *"; 7215 break; 7216 default: 7217 break; 7218 }; 7219 break; 7220 /* setcontext */ 7221 case 422: 7222 switch(ndx) { 7223 case 0: 7224 p = "const struct __ucontext *"; 7225 break; 7226 default: 7227 break; 7228 }; 7229 break; 7230 /* swapcontext */ 7231 case 423: 7232 switch(ndx) { 7233 case 0: 7234 p = "struct __ucontext *"; 7235 break; 7236 case 1: 7237 p = "const struct __ucontext *"; 7238 break; 7239 default: 7240 break; 7241 }; 7242 break; 7243 /* swapoff */ 7244 case 424: 7245 switch(ndx) { 7246 case 0: 7247 p = "const char *"; 7248 break; 7249 default: 7250 break; 7251 }; 7252 break; 7253 /* __acl_get_link */ 7254 case 425: 7255 switch(ndx) { 7256 case 0: 7257 p = "const char *"; 7258 break; 7259 case 1: 7260 p = "acl_type_t"; 7261 break; 7262 case 2: 7263 p = "struct acl *"; 7264 break; 7265 default: 7266 break; 7267 }; 7268 break; 7269 /* __acl_set_link */ 7270 case 426: 7271 switch(ndx) { 7272 case 0: 7273 p = "const char *"; 7274 break; 7275 case 1: 7276 p = "acl_type_t"; 7277 break; 7278 case 2: 7279 p = "struct acl *"; 7280 break; 7281 default: 7282 break; 7283 }; 7284 break; 7285 /* __acl_delete_link */ 7286 case 427: 7287 switch(ndx) { 7288 case 0: 7289 p = "const char *"; 7290 break; 7291 case 1: 7292 p = "acl_type_t"; 7293 break; 7294 default: 7295 break; 7296 }; 7297 break; 7298 /* __acl_aclcheck_link */ 7299 case 428: 7300 switch(ndx) { 7301 case 0: 7302 p = "const char *"; 7303 break; 7304 case 1: 7305 p = "acl_type_t"; 7306 break; 7307 case 2: 7308 p = "struct acl *"; 7309 break; 7310 default: 7311 break; 7312 }; 7313 break; 7314 /* sigwait */ 7315 case 429: 7316 switch(ndx) { 7317 case 0: 7318 p = "const sigset_t *"; 7319 break; 7320 case 1: 7321 p = "int *"; 7322 break; 7323 default: 7324 break; 7325 }; 7326 break; 7327 /* thr_create */ 7328 case 430: 7329 switch(ndx) { 7330 case 0: 7331 p = "ucontext_t *"; 7332 break; 7333 case 1: 7334 p = "long *"; 7335 break; 7336 case 2: 7337 p = "int"; 7338 break; 7339 default: 7340 break; 7341 }; 7342 break; 7343 /* thr_exit */ 7344 case 431: 7345 switch(ndx) { 7346 case 0: 7347 p = "long *"; 7348 break; 7349 default: 7350 break; 7351 }; 7352 break; 7353 /* thr_self */ 7354 case 432: 7355 switch(ndx) { 7356 case 0: 7357 p = "long *"; 7358 break; 7359 default: 7360 break; 7361 }; 7362 break; 7363 /* thr_kill */ 7364 case 433: 7365 switch(ndx) { 7366 case 0: 7367 p = "long"; 7368 break; 7369 case 1: 7370 p = "int"; 7371 break; 7372 default: 7373 break; 7374 }; 7375 break; 7376 /* _umtx_lock */ 7377 case 434: 7378 switch(ndx) { 7379 case 0: 7380 p = "struct umtx *"; 7381 break; 7382 default: 7383 break; 7384 }; 7385 break; 7386 /* _umtx_unlock */ 7387 case 435: 7388 switch(ndx) { 7389 case 0: 7390 p = "struct umtx *"; 7391 break; 7392 default: 7393 break; 7394 }; 7395 break; 7396 /* jail_attach */ 7397 case 436: 7398 switch(ndx) { 7399 case 0: 7400 p = "int"; 7401 break; 7402 default: 7403 break; 7404 }; 7405 break; 7406 /* extattr_list_fd */ 7407 case 437: 7408 switch(ndx) { 7409 case 0: 7410 p = "int"; 7411 break; 7412 case 1: 7413 p = "int"; 7414 break; 7415 case 2: 7416 p = "void *"; 7417 break; 7418 case 3: 7419 p = "size_t"; 7420 break; 7421 default: 7422 break; 7423 }; 7424 break; 7425 /* extattr_list_file */ 7426 case 438: 7427 switch(ndx) { 7428 case 0: 7429 p = "const char *"; 7430 break; 7431 case 1: 7432 p = "int"; 7433 break; 7434 case 2: 7435 p = "void *"; 7436 break; 7437 case 3: 7438 p = "size_t"; 7439 break; 7440 default: 7441 break; 7442 }; 7443 break; 7444 /* extattr_list_link */ 7445 case 439: 7446 switch(ndx) { 7447 case 0: 7448 p = "const char *"; 7449 break; 7450 case 1: 7451 p = "int"; 7452 break; 7453 case 2: 7454 p = "void *"; 7455 break; 7456 case 3: 7457 p = "size_t"; 7458 break; 7459 default: 7460 break; 7461 }; 7462 break; 7463 /* ksem_timedwait */ 7464 case 441: 7465 switch(ndx) { 7466 case 0: 7467 p = "semid_t"; 7468 break; 7469 case 1: 7470 p = "const struct timespec *"; 7471 break; 7472 default: 7473 break; 7474 }; 7475 break; 7476 /* thr_suspend */ 7477 case 442: 7478 switch(ndx) { 7479 case 0: 7480 p = "const struct timespec *"; 7481 break; 7482 default: 7483 break; 7484 }; 7485 break; 7486 /* thr_wake */ 7487 case 443: 7488 switch(ndx) { 7489 case 0: 7490 p = "long"; 7491 break; 7492 default: 7493 break; 7494 }; 7495 break; 7496 /* kldunloadf */ 7497 case 444: 7498 switch(ndx) { 7499 case 0: 7500 p = "int"; 7501 break; 7502 case 1: 7503 p = "int"; 7504 break; 7505 default: 7506 break; 7507 }; 7508 break; 7509 /* audit */ 7510 case 445: 7511 switch(ndx) { 7512 case 0: 7513 p = "const void *"; 7514 break; 7515 case 1: 7516 p = "u_int"; 7517 break; 7518 default: 7519 break; 7520 }; 7521 break; 7522 /* auditon */ 7523 case 446: 7524 switch(ndx) { 7525 case 0: 7526 p = "int"; 7527 break; 7528 case 1: 7529 p = "void *"; 7530 break; 7531 case 2: 7532 p = "u_int"; 7533 break; 7534 default: 7535 break; 7536 }; 7537 break; 7538 /* getauid */ 7539 case 447: 7540 switch(ndx) { 7541 case 0: 7542 p = "uid_t *"; 7543 break; 7544 default: 7545 break; 7546 }; 7547 break; 7548 /* setauid */ 7549 case 448: 7550 switch(ndx) { 7551 case 0: 7552 p = "uid_t *"; 7553 break; 7554 default: 7555 break; 7556 }; 7557 break; 7558 /* getaudit */ 7559 case 449: 7560 switch(ndx) { 7561 case 0: 7562 p = "struct auditinfo *"; 7563 break; 7564 default: 7565 break; 7566 }; 7567 break; 7568 /* setaudit */ 7569 case 450: 7570 switch(ndx) { 7571 case 0: 7572 p = "struct auditinfo *"; 7573 break; 7574 default: 7575 break; 7576 }; 7577 break; 7578 /* getaudit_addr */ 7579 case 451: 7580 switch(ndx) { 7581 case 0: 7582 p = "struct auditinfo_addr *"; 7583 break; 7584 case 1: 7585 p = "u_int"; 7586 break; 7587 default: 7588 break; 7589 }; 7590 break; 7591 /* setaudit_addr */ 7592 case 452: 7593 switch(ndx) { 7594 case 0: 7595 p = "struct auditinfo_addr *"; 7596 break; 7597 case 1: 7598 p = "u_int"; 7599 break; 7600 default: 7601 break; 7602 }; 7603 break; 7604 /* auditctl */ 7605 case 453: 7606 switch(ndx) { 7607 case 0: 7608 p = "char *"; 7609 break; 7610 default: 7611 break; 7612 }; 7613 break; 7614 /* _umtx_op */ 7615 case 454: 7616 switch(ndx) { 7617 case 0: 7618 p = "void *"; 7619 break; 7620 case 1: 7621 p = "int"; 7622 break; 7623 case 2: 7624 p = "u_long"; 7625 break; 7626 case 3: 7627 p = "void *"; 7628 break; 7629 case 4: 7630 p = "void *"; 7631 break; 7632 default: 7633 break; 7634 }; 7635 break; 7636 /* thr_new */ 7637 case 455: 7638 switch(ndx) { 7639 case 0: 7640 p = "struct thr_param *"; 7641 break; 7642 case 1: 7643 p = "int"; 7644 break; 7645 default: 7646 break; 7647 }; 7648 break; 7649 /* sigqueue */ 7650 case 456: 7651 switch(ndx) { 7652 case 0: 7653 p = "pid_t"; 7654 break; 7655 case 1: 7656 p = "int"; 7657 break; 7658 case 2: 7659 p = "void *"; 7660 break; 7661 default: 7662 break; 7663 }; 7664 break; 7665 /* kmq_open */ 7666 case 457: 7667 switch(ndx) { 7668 case 0: 7669 p = "const char *"; 7670 break; 7671 case 1: 7672 p = "int"; 7673 break; 7674 case 2: 7675 p = "mode_t"; 7676 break; 7677 case 3: 7678 p = "const struct mq_attr *"; 7679 break; 7680 default: 7681 break; 7682 }; 7683 break; 7684 /* kmq_setattr */ 7685 case 458: 7686 switch(ndx) { 7687 case 0: 7688 p = "int"; 7689 break; 7690 case 1: 7691 p = "const struct mq_attr *"; 7692 break; 7693 case 2: 7694 p = "struct mq_attr *"; 7695 break; 7696 default: 7697 break; 7698 }; 7699 break; 7700 /* kmq_timedreceive */ 7701 case 459: 7702 switch(ndx) { 7703 case 0: 7704 p = "int"; 7705 break; 7706 case 1: 7707 p = "char *"; 7708 break; 7709 case 2: 7710 p = "size_t"; 7711 break; 7712 case 3: 7713 p = "unsigned *"; 7714 break; 7715 case 4: 7716 p = "const struct timespec *"; 7717 break; 7718 default: 7719 break; 7720 }; 7721 break; 7722 /* kmq_timedsend */ 7723 case 460: 7724 switch(ndx) { 7725 case 0: 7726 p = "int"; 7727 break; 7728 case 1: 7729 p = "const char *"; 7730 break; 7731 case 2: 7732 p = "size_t"; 7733 break; 7734 case 3: 7735 p = "unsigned"; 7736 break; 7737 case 4: 7738 p = "const struct timespec *"; 7739 break; 7740 default: 7741 break; 7742 }; 7743 break; 7744 /* kmq_notify */ 7745 case 461: 7746 switch(ndx) { 7747 case 0: 7748 p = "int"; 7749 break; 7750 case 1: 7751 p = "const struct sigevent *"; 7752 break; 7753 default: 7754 break; 7755 }; 7756 break; 7757 /* kmq_unlink */ 7758 case 462: 7759 switch(ndx) { 7760 case 0: 7761 p = "const char *"; 7762 break; 7763 default: 7764 break; 7765 }; 7766 break; 7767 /* abort2 */ 7768 case 463: 7769 switch(ndx) { 7770 case 0: 7771 p = "const char *"; 7772 break; 7773 case 1: 7774 p = "int"; 7775 break; 7776 case 2: 7777 p = "void **"; 7778 break; 7779 default: 7780 break; 7781 }; 7782 break; 7783 /* thr_set_name */ 7784 case 464: 7785 switch(ndx) { 7786 case 0: 7787 p = "long"; 7788 break; 7789 case 1: 7790 p = "const char *"; 7791 break; 7792 default: 7793 break; 7794 }; 7795 break; 7796 /* aio_fsync */ 7797 case 465: 7798 switch(ndx) { 7799 case 0: 7800 p = "int"; 7801 break; 7802 case 1: 7803 p = "struct aiocb *"; 7804 break; 7805 default: 7806 break; 7807 }; 7808 break; 7809 /* rtprio_thread */ 7810 case 466: 7811 switch(ndx) { 7812 case 0: 7813 p = "int"; 7814 break; 7815 case 1: 7816 p = "lwpid_t"; 7817 break; 7818 case 2: 7819 p = "struct rtprio *"; 7820 break; 7821 default: 7822 break; 7823 }; 7824 break; 7825 /* sctp_peeloff */ 7826 case 471: 7827 switch(ndx) { 7828 case 0: 7829 p = "int"; 7830 break; 7831 case 1: 7832 p = "uint32_t"; 7833 break; 7834 default: 7835 break; 7836 }; 7837 break; 7838 /* sctp_generic_sendmsg */ 7839 case 472: 7840 switch(ndx) { 7841 case 0: 7842 p = "int"; 7843 break; 7844 case 1: 7845 p = "caddr_t"; 7846 break; 7847 case 2: 7848 p = "int"; 7849 break; 7850 case 3: 7851 p = "caddr_t"; 7852 break; 7853 case 4: 7854 p = "__socklen_t"; 7855 break; 7856 case 5: 7857 p = "struct sctp_sndrcvinfo *"; 7858 break; 7859 case 6: 7860 p = "int"; 7861 break; 7862 default: 7863 break; 7864 }; 7865 break; 7866 /* sctp_generic_sendmsg_iov */ 7867 case 473: 7868 switch(ndx) { 7869 case 0: 7870 p = "int"; 7871 break; 7872 case 1: 7873 p = "struct iovec *"; 7874 break; 7875 case 2: 7876 p = "int"; 7877 break; 7878 case 3: 7879 p = "caddr_t"; 7880 break; 7881 case 4: 7882 p = "__socklen_t"; 7883 break; 7884 case 5: 7885 p = "struct sctp_sndrcvinfo *"; 7886 break; 7887 case 6: 7888 p = "int"; 7889 break; 7890 default: 7891 break; 7892 }; 7893 break; 7894 /* sctp_generic_recvmsg */ 7895 case 474: 7896 switch(ndx) { 7897 case 0: 7898 p = "int"; 7899 break; 7900 case 1: 7901 p = "struct iovec *"; 7902 break; 7903 case 2: 7904 p = "int"; 7905 break; 7906 case 3: 7907 p = "struct sockaddr *"; 7908 break; 7909 case 4: 7910 p = "__socklen_t *"; 7911 break; 7912 case 5: 7913 p = "struct sctp_sndrcvinfo *"; 7914 break; 7915 case 6: 7916 p = "int *"; 7917 break; 7918 default: 7919 break; 7920 }; 7921 break; 7922 /* pread */ 7923 case 475: 7924 switch(ndx) { 7925 case 0: 7926 p = "int"; 7927 break; 7928 case 1: 7929 p = "void *"; 7930 break; 7931 case 2: 7932 p = "size_t"; 7933 break; 7934 case 3: 7935 p = "off_t"; 7936 break; 7937 default: 7938 break; 7939 }; 7940 break; 7941 /* pwrite */ 7942 case 476: 7943 switch(ndx) { 7944 case 0: 7945 p = "int"; 7946 break; 7947 case 1: 7948 p = "const void *"; 7949 break; 7950 case 2: 7951 p = "size_t"; 7952 break; 7953 case 3: 7954 p = "off_t"; 7955 break; 7956 default: 7957 break; 7958 }; 7959 break; 7960 /* mmap */ 7961 case 477: 7962 switch(ndx) { 7963 case 0: 7964 p = "caddr_t"; 7965 break; 7966 case 1: 7967 p = "size_t"; 7968 break; 7969 case 2: 7970 p = "int"; 7971 break; 7972 case 3: 7973 p = "int"; 7974 break; 7975 case 4: 7976 p = "int"; 7977 break; 7978 case 5: 7979 p = "off_t"; 7980 break; 7981 default: 7982 break; 7983 }; 7984 break; 7985 /* lseek */ 7986 case 478: 7987 switch(ndx) { 7988 case 0: 7989 p = "int"; 7990 break; 7991 case 1: 7992 p = "off_t"; 7993 break; 7994 case 2: 7995 p = "int"; 7996 break; 7997 default: 7998 break; 7999 }; 8000 break; 8001 /* truncate */ 8002 case 479: 8003 switch(ndx) { 8004 case 0: 8005 p = "char *"; 8006 break; 8007 case 1: 8008 p = "off_t"; 8009 break; 8010 default: 8011 break; 8012 }; 8013 break; 8014 /* ftruncate */ 8015 case 480: 8016 switch(ndx) { 8017 case 0: 8018 p = "int"; 8019 break; 8020 case 1: 8021 p = "off_t"; 8022 break; 8023 default: 8024 break; 8025 }; 8026 break; 8027 /* thr_kill2 */ 8028 case 481: 8029 switch(ndx) { 8030 case 0: 8031 p = "pid_t"; 8032 break; 8033 case 1: 8034 p = "long"; 8035 break; 8036 case 2: 8037 p = "int"; 8038 break; 8039 default: 8040 break; 8041 }; 8042 break; 8043 /* shm_open */ 8044 case 482: 8045 switch(ndx) { 8046 case 0: 8047 p = "const char *"; 8048 break; 8049 case 1: 8050 p = "int"; 8051 break; 8052 case 2: 8053 p = "mode_t"; 8054 break; 8055 default: 8056 break; 8057 }; 8058 break; 8059 /* shm_unlink */ 8060 case 483: 8061 switch(ndx) { 8062 case 0: 8063 p = "const char *"; 8064 break; 8065 default: 8066 break; 8067 }; 8068 break; 8069 /* cpuset */ 8070 case 484: 8071 switch(ndx) { 8072 case 0: 8073 p = "cpusetid_t *"; 8074 break; 8075 default: 8076 break; 8077 }; 8078 break; 8079 /* cpuset_setid */ 8080 case 485: 8081 switch(ndx) { 8082 case 0: 8083 p = "cpuwhich_t"; 8084 break; 8085 case 1: 8086 p = "id_t"; 8087 break; 8088 case 2: 8089 p = "cpusetid_t"; 8090 break; 8091 default: 8092 break; 8093 }; 8094 break; 8095 /* cpuset_getid */ 8096 case 486: 8097 switch(ndx) { 8098 case 0: 8099 p = "cpulevel_t"; 8100 break; 8101 case 1: 8102 p = "cpuwhich_t"; 8103 break; 8104 case 2: 8105 p = "id_t"; 8106 break; 8107 case 3: 8108 p = "cpusetid_t *"; 8109 break; 8110 default: 8111 break; 8112 }; 8113 break; 8114 /* cpuset_getaffinity */ 8115 case 487: 8116 switch(ndx) { 8117 case 0: 8118 p = "cpulevel_t"; 8119 break; 8120 case 1: 8121 p = "cpuwhich_t"; 8122 break; 8123 case 2: 8124 p = "id_t"; 8125 break; 8126 case 3: 8127 p = "size_t"; 8128 break; 8129 case 4: 8130 p = "cpuset_t *"; 8131 break; 8132 default: 8133 break; 8134 }; 8135 break; 8136 /* cpuset_setaffinity */ 8137 case 488: 8138 switch(ndx) { 8139 case 0: 8140 p = "cpulevel_t"; 8141 break; 8142 case 1: 8143 p = "cpuwhich_t"; 8144 break; 8145 case 2: 8146 p = "id_t"; 8147 break; 8148 case 3: 8149 p = "size_t"; 8150 break; 8151 case 4: 8152 p = "const cpuset_t *"; 8153 break; 8154 default: 8155 break; 8156 }; 8157 break; 8158 /* faccessat */ 8159 case 489: 8160 switch(ndx) { 8161 case 0: 8162 p = "int"; 8163 break; 8164 case 1: 8165 p = "char *"; 8166 break; 8167 case 2: 8168 p = "int"; 8169 break; 8170 case 3: 8171 p = "int"; 8172 break; 8173 default: 8174 break; 8175 }; 8176 break; 8177 /* fchmodat */ 8178 case 490: 8179 switch(ndx) { 8180 case 0: 8181 p = "int"; 8182 break; 8183 case 1: 8184 p = "char *"; 8185 break; 8186 case 2: 8187 p = "mode_t"; 8188 break; 8189 case 3: 8190 p = "int"; 8191 break; 8192 default: 8193 break; 8194 }; 8195 break; 8196 /* fchownat */ 8197 case 491: 8198 switch(ndx) { 8199 case 0: 8200 p = "int"; 8201 break; 8202 case 1: 8203 p = "char *"; 8204 break; 8205 case 2: 8206 p = "uid_t"; 8207 break; 8208 case 3: 8209 p = "gid_t"; 8210 break; 8211 case 4: 8212 p = "int"; 8213 break; 8214 default: 8215 break; 8216 }; 8217 break; 8218 /* fexecve */ 8219 case 492: 8220 switch(ndx) { 8221 case 0: 8222 p = "int"; 8223 break; 8224 case 1: 8225 p = "char **"; 8226 break; 8227 case 2: 8228 p = "char **"; 8229 break; 8230 default: 8231 break; 8232 }; 8233 break; 8234 /* fstatat */ 8235 case 493: 8236 switch(ndx) { 8237 case 0: 8238 p = "int"; 8239 break; 8240 case 1: 8241 p = "char *"; 8242 break; 8243 case 2: 8244 p = "struct stat *"; 8245 break; 8246 case 3: 8247 p = "int"; 8248 break; 8249 default: 8250 break; 8251 }; 8252 break; 8253 /* futimesat */ 8254 case 494: 8255 switch(ndx) { 8256 case 0: 8257 p = "int"; 8258 break; 8259 case 1: 8260 p = "char *"; 8261 break; 8262 case 2: 8263 p = "struct timeval *"; 8264 break; 8265 default: 8266 break; 8267 }; 8268 break; 8269 /* linkat */ 8270 case 495: 8271 switch(ndx) { 8272 case 0: 8273 p = "int"; 8274 break; 8275 case 1: 8276 p = "char *"; 8277 break; 8278 case 2: 8279 p = "int"; 8280 break; 8281 case 3: 8282 p = "char *"; 8283 break; 8284 case 4: 8285 p = "int"; 8286 break; 8287 default: 8288 break; 8289 }; 8290 break; 8291 /* mkdirat */ 8292 case 496: 8293 switch(ndx) { 8294 case 0: 8295 p = "int"; 8296 break; 8297 case 1: 8298 p = "char *"; 8299 break; 8300 case 2: 8301 p = "mode_t"; 8302 break; 8303 default: 8304 break; 8305 }; 8306 break; 8307 /* mkfifoat */ 8308 case 497: 8309 switch(ndx) { 8310 case 0: 8311 p = "int"; 8312 break; 8313 case 1: 8314 p = "char *"; 8315 break; 8316 case 2: 8317 p = "mode_t"; 8318 break; 8319 default: 8320 break; 8321 }; 8322 break; 8323 /* mknodat */ 8324 case 498: 8325 switch(ndx) { 8326 case 0: 8327 p = "int"; 8328 break; 8329 case 1: 8330 p = "char *"; 8331 break; 8332 case 2: 8333 p = "mode_t"; 8334 break; 8335 case 3: 8336 p = "dev_t"; 8337 break; 8338 default: 8339 break; 8340 }; 8341 break; 8342 /* openat */ 8343 case 499: 8344 switch(ndx) { 8345 case 0: 8346 p = "int"; 8347 break; 8348 case 1: 8349 p = "char *"; 8350 break; 8351 case 2: 8352 p = "int"; 8353 break; 8354 case 3: 8355 p = "mode_t"; 8356 break; 8357 default: 8358 break; 8359 }; 8360 break; 8361 /* readlinkat */ 8362 case 500: 8363 switch(ndx) { 8364 case 0: 8365 p = "int"; 8366 break; 8367 case 1: 8368 p = "char *"; 8369 break; 8370 case 2: 8371 p = "char *"; 8372 break; 8373 case 3: 8374 p = "size_t"; 8375 break; 8376 default: 8377 break; 8378 }; 8379 break; 8380 /* renameat */ 8381 case 501: 8382 switch(ndx) { 8383 case 0: 8384 p = "int"; 8385 break; 8386 case 1: 8387 p = "char *"; 8388 break; 8389 case 2: 8390 p = "int"; 8391 break; 8392 case 3: 8393 p = "char *"; 8394 break; 8395 default: 8396 break; 8397 }; 8398 break; 8399 /* symlinkat */ 8400 case 502: 8401 switch(ndx) { 8402 case 0: 8403 p = "char *"; 8404 break; 8405 case 1: 8406 p = "int"; 8407 break; 8408 case 2: 8409 p = "char *"; 8410 break; 8411 default: 8412 break; 8413 }; 8414 break; 8415 /* unlinkat */ 8416 case 503: 8417 switch(ndx) { 8418 case 0: 8419 p = "int"; 8420 break; 8421 case 1: 8422 p = "char *"; 8423 break; 8424 case 2: 8425 p = "int"; 8426 break; 8427 default: 8428 break; 8429 }; 8430 break; 8431 /* posix_openpt */ 8432 case 504: 8433 switch(ndx) { 8434 case 0: 8435 p = "int"; 8436 break; 8437 default: 8438 break; 8439 }; 8440 break; 8441 /* gssd_syscall */ 8442 case 505: 8443 switch(ndx) { 8444 case 0: 8445 p = "char *"; 8446 break; 8447 default: 8448 break; 8449 }; 8450 break; 8451 /* jail_get */ 8452 case 506: 8453 switch(ndx) { 8454 case 0: 8455 p = "struct iovec *"; 8456 break; 8457 case 1: 8458 p = "unsigned int"; 8459 break; 8460 case 2: 8461 p = "int"; 8462 break; 8463 default: 8464 break; 8465 }; 8466 break; 8467 /* jail_set */ 8468 case 507: 8469 switch(ndx) { 8470 case 0: 8471 p = "struct iovec *"; 8472 break; 8473 case 1: 8474 p = "unsigned int"; 8475 break; 8476 case 2: 8477 p = "int"; 8478 break; 8479 default: 8480 break; 8481 }; 8482 break; 8483 /* jail_remove */ 8484 case 508: 8485 switch(ndx) { 8486 case 0: 8487 p = "int"; 8488 break; 8489 default: 8490 break; 8491 }; 8492 break; 8493 /* closefrom */ 8494 case 509: 8495 switch(ndx) { 8496 case 0: 8497 p = "int"; 8498 break; 8499 default: 8500 break; 8501 }; 8502 break; 8503 /* __semctl */ 8504 case 510: 8505 switch(ndx) { 8506 case 0: 8507 p = "int"; 8508 break; 8509 case 1: 8510 p = "int"; 8511 break; 8512 case 2: 8513 p = "int"; 8514 break; 8515 case 3: 8516 p = "union semun *"; 8517 break; 8518 default: 8519 break; 8520 }; 8521 break; 8522 /* msgctl */ 8523 case 511: 8524 switch(ndx) { 8525 case 0: 8526 p = "int"; 8527 break; 8528 case 1: 8529 p = "int"; 8530 break; 8531 case 2: 8532 p = "struct msqid_ds *"; 8533 break; 8534 default: 8535 break; 8536 }; 8537 break; 8538 /* shmctl */ 8539 case 512: 8540 switch(ndx) { 8541 case 0: 8542 p = "int"; 8543 break; 8544 case 1: 8545 p = "int"; 8546 break; 8547 case 2: 8548 p = "struct shmid_ds *"; 8549 break; 8550 default: 8551 break; 8552 }; 8553 break; 8554 /* lpathconf */ 8555 case 513: 8556 switch(ndx) { 8557 case 0: 8558 p = "char *"; 8559 break; 8560 case 1: 8561 p = "int"; 8562 break; 8563 default: 8564 break; 8565 }; 8566 break; 8567 /* __cap_rights_get */ 8568 case 515: 8569 switch(ndx) { 8570 case 0: 8571 p = "int"; 8572 break; 8573 case 1: 8574 p = "int"; 8575 break; 8576 case 2: 8577 p = "cap_rights_t *"; 8578 break; 8579 default: 8580 break; 8581 }; 8582 break; 8583 /* cap_enter */ 8584 case 516: 8585 break; 8586 /* cap_getmode */ 8587 case 517: 8588 switch(ndx) { 8589 case 0: 8590 p = "u_int *"; 8591 break; 8592 default: 8593 break; 8594 }; 8595 break; 8596 /* pdfork */ 8597 case 518: 8598 switch(ndx) { 8599 case 0: 8600 p = "int *"; 8601 break; 8602 case 1: 8603 p = "int"; 8604 break; 8605 default: 8606 break; 8607 }; 8608 break; 8609 /* pdkill */ 8610 case 519: 8611 switch(ndx) { 8612 case 0: 8613 p = "int"; 8614 break; 8615 case 1: 8616 p = "int"; 8617 break; 8618 default: 8619 break; 8620 }; 8621 break; 8622 /* pdgetpid */ 8623 case 520: 8624 switch(ndx) { 8625 case 0: 8626 p = "int"; 8627 break; 8628 case 1: 8629 p = "pid_t *"; 8630 break; 8631 default: 8632 break; 8633 }; 8634 break; 8635 /* pselect */ 8636 case 522: 8637 switch(ndx) { 8638 case 0: 8639 p = "int"; 8640 break; 8641 case 1: 8642 p = "fd_set *"; 8643 break; 8644 case 2: 8645 p = "fd_set *"; 8646 break; 8647 case 3: 8648 p = "fd_set *"; 8649 break; 8650 case 4: 8651 p = "const struct timespec *"; 8652 break; 8653 case 5: 8654 p = "const sigset_t *"; 8655 break; 8656 default: 8657 break; 8658 }; 8659 break; 8660 /* getloginclass */ 8661 case 523: 8662 switch(ndx) { 8663 case 0: 8664 p = "char *"; 8665 break; 8666 case 1: 8667 p = "size_t"; 8668 break; 8669 default: 8670 break; 8671 }; 8672 break; 8673 /* setloginclass */ 8674 case 524: 8675 switch(ndx) { 8676 case 0: 8677 p = "const char *"; 8678 break; 8679 default: 8680 break; 8681 }; 8682 break; 8683 /* rctl_get_racct */ 8684 case 525: 8685 switch(ndx) { 8686 case 0: 8687 p = "const void *"; 8688 break; 8689 case 1: 8690 p = "size_t"; 8691 break; 8692 case 2: 8693 p = "void *"; 8694 break; 8695 case 3: 8696 p = "size_t"; 8697 break; 8698 default: 8699 break; 8700 }; 8701 break; 8702 /* rctl_get_rules */ 8703 case 526: 8704 switch(ndx) { 8705 case 0: 8706 p = "const void *"; 8707 break; 8708 case 1: 8709 p = "size_t"; 8710 break; 8711 case 2: 8712 p = "void *"; 8713 break; 8714 case 3: 8715 p = "size_t"; 8716 break; 8717 default: 8718 break; 8719 }; 8720 break; 8721 /* rctl_get_limits */ 8722 case 527: 8723 switch(ndx) { 8724 case 0: 8725 p = "const void *"; 8726 break; 8727 case 1: 8728 p = "size_t"; 8729 break; 8730 case 2: 8731 p = "void *"; 8732 break; 8733 case 3: 8734 p = "size_t"; 8735 break; 8736 default: 8737 break; 8738 }; 8739 break; 8740 /* rctl_add_rule */ 8741 case 528: 8742 switch(ndx) { 8743 case 0: 8744 p = "const void *"; 8745 break; 8746 case 1: 8747 p = "size_t"; 8748 break; 8749 case 2: 8750 p = "void *"; 8751 break; 8752 case 3: 8753 p = "size_t"; 8754 break; 8755 default: 8756 break; 8757 }; 8758 break; 8759 /* rctl_remove_rule */ 8760 case 529: 8761 switch(ndx) { 8762 case 0: 8763 p = "const void *"; 8764 break; 8765 case 1: 8766 p = "size_t"; 8767 break; 8768 case 2: 8769 p = "void *"; 8770 break; 8771 case 3: 8772 p = "size_t"; 8773 break; 8774 default: 8775 break; 8776 }; 8777 break; 8778 /* posix_fallocate */ 8779 case 530: 8780 switch(ndx) { 8781 case 0: 8782 p = "int"; 8783 break; 8784 case 1: 8785 p = "off_t"; 8786 break; 8787 case 2: 8788 p = "off_t"; 8789 break; 8790 default: 8791 break; 8792 }; 8793 break; 8794 /* posix_fadvise */ 8795 case 531: 8796 switch(ndx) { 8797 case 0: 8798 p = "int"; 8799 break; 8800 case 1: 8801 p = "off_t"; 8802 break; 8803 case 2: 8804 p = "off_t"; 8805 break; 8806 case 3: 8807 p = "int"; 8808 break; 8809 default: 8810 break; 8811 }; 8812 break; 8813 /* wait6 */ 8814 case 532: 8815 switch(ndx) { 8816 case 0: 8817 p = "idtype_t"; 8818 break; 8819 case 1: 8820 p = "id_t"; 8821 break; 8822 case 2: 8823 p = "int *"; 8824 break; 8825 case 3: 8826 p = "int"; 8827 break; 8828 case 4: 8829 p = "struct __wrusage *"; 8830 break; 8831 case 5: 8832 p = "siginfo_t *"; 8833 break; 8834 default: 8835 break; 8836 }; 8837 break; 8838 /* cap_rights_limit */ 8839 case 533: 8840 switch(ndx) { 8841 case 0: 8842 p = "int"; 8843 break; 8844 case 1: 8845 p = "cap_rights_t *"; 8846 break; 8847 default: 8848 break; 8849 }; 8850 break; 8851 /* cap_ioctls_limit */ 8852 case 534: 8853 switch(ndx) { 8854 case 0: 8855 p = "int"; 8856 break; 8857 case 1: 8858 p = "const u_long *"; 8859 break; 8860 case 2: 8861 p = "size_t"; 8862 break; 8863 default: 8864 break; 8865 }; 8866 break; 8867 /* cap_ioctls_get */ 8868 case 535: 8869 switch(ndx) { 8870 case 0: 8871 p = "int"; 8872 break; 8873 case 1: 8874 p = "u_long *"; 8875 break; 8876 case 2: 8877 p = "size_t"; 8878 break; 8879 default: 8880 break; 8881 }; 8882 break; 8883 /* cap_fcntls_limit */ 8884 case 536: 8885 switch(ndx) { 8886 case 0: 8887 p = "int"; 8888 break; 8889 case 1: 8890 p = "uint32_t"; 8891 break; 8892 default: 8893 break; 8894 }; 8895 break; 8896 /* cap_fcntls_get */ 8897 case 537: 8898 switch(ndx) { 8899 case 0: 8900 p = "int"; 8901 break; 8902 case 1: 8903 p = "uint32_t *"; 8904 break; 8905 default: 8906 break; 8907 }; 8908 break; 8909 /* bindat */ 8910 case 538: 8911 switch(ndx) { 8912 case 0: 8913 p = "int"; 8914 break; 8915 case 1: 8916 p = "int"; 8917 break; 8918 case 2: 8919 p = "caddr_t"; 8920 break; 8921 case 3: 8922 p = "int"; 8923 break; 8924 default: 8925 break; 8926 }; 8927 break; 8928 /* connectat */ 8929 case 539: 8930 switch(ndx) { 8931 case 0: 8932 p = "int"; 8933 break; 8934 case 1: 8935 p = "int"; 8936 break; 8937 case 2: 8938 p = "caddr_t"; 8939 break; 8940 case 3: 8941 p = "int"; 8942 break; 8943 default: 8944 break; 8945 }; 8946 break; 8947 /* chflagsat */ 8948 case 540: 8949 switch(ndx) { 8950 case 0: 8951 p = "int"; 8952 break; 8953 case 1: 8954 p = "const char *"; 8955 break; 8956 case 2: 8957 p = "u_long"; 8958 break; 8959 case 3: 8960 p = "int"; 8961 break; 8962 default: 8963 break; 8964 }; 8965 break; 8966 /* accept4 */ 8967 case 541: 8968 switch(ndx) { 8969 case 0: 8970 p = "int"; 8971 break; 8972 case 1: 8973 p = "struct sockaddr *"; 8974 break; 8975 case 2: 8976 p = "__socklen_t *"; 8977 break; 8978 case 3: 8979 p = "int"; 8980 break; 8981 default: 8982 break; 8983 }; 8984 break; 8985 /* pipe2 */ 8986 case 542: 8987 switch(ndx) { 8988 case 0: 8989 p = "int *"; 8990 break; 8991 case 1: 8992 p = "int"; 8993 break; 8994 default: 8995 break; 8996 }; 8997 break; 8998 /* aio_mlock */ 8999 case 543: 9000 switch(ndx) { 9001 case 0: 9002 p = "struct aiocb *"; 9003 break; 9004 default: 9005 break; 9006 }; 9007 break; 9008 /* procctl */ 9009 case 544: 9010 switch(ndx) { 9011 case 0: 9012 p = "idtype_t"; 9013 break; 9014 case 1: 9015 p = "id_t"; 9016 break; 9017 case 2: 9018 p = "int"; 9019 break; 9020 case 3: 9021 p = "void *"; 9022 break; 9023 default: 9024 break; 9025 }; 9026 break; 9027 default: 9028 break; 9029 }; 9030 if (p != NULL) 9031 strlcpy(desc, p, descsz); 9032 } 9033 static void 9034 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 9035 { 9036 const char *p = NULL; 9037 switch (sysnum) { 9038 /* nosys */ 9039 case 0: 9040 /* sys_exit */ 9041 case 1: 9042 if (ndx == 0 || ndx == 1) 9043 p = "void"; 9044 break; 9045 /* fork */ 9046 case 2: 9047 /* read */ 9048 case 3: 9049 if (ndx == 0 || ndx == 1) 9050 p = "ssize_t"; 9051 break; 9052 /* write */ 9053 case 4: 9054 if (ndx == 0 || ndx == 1) 9055 p = "ssize_t"; 9056 break; 9057 /* open */ 9058 case 5: 9059 if (ndx == 0 || ndx == 1) 9060 p = "int"; 9061 break; 9062 /* close */ 9063 case 6: 9064 if (ndx == 0 || ndx == 1) 9065 p = "int"; 9066 break; 9067 /* wait4 */ 9068 case 7: 9069 if (ndx == 0 || ndx == 1) 9070 p = "int"; 9071 break; 9072 /* link */ 9073 case 9: 9074 if (ndx == 0 || ndx == 1) 9075 p = "int"; 9076 break; 9077 /* unlink */ 9078 case 10: 9079 if (ndx == 0 || ndx == 1) 9080 p = "int"; 9081 break; 9082 /* chdir */ 9083 case 12: 9084 if (ndx == 0 || ndx == 1) 9085 p = "int"; 9086 break; 9087 /* fchdir */ 9088 case 13: 9089 if (ndx == 0 || ndx == 1) 9090 p = "int"; 9091 break; 9092 /* mknod */ 9093 case 14: 9094 if (ndx == 0 || ndx == 1) 9095 p = "int"; 9096 break; 9097 /* chmod */ 9098 case 15: 9099 if (ndx == 0 || ndx == 1) 9100 p = "int"; 9101 break; 9102 /* chown */ 9103 case 16: 9104 if (ndx == 0 || ndx == 1) 9105 p = "int"; 9106 break; 9107 /* obreak */ 9108 case 17: 9109 if (ndx == 0 || ndx == 1) 9110 p = "int"; 9111 break; 9112 /* getpid */ 9113 case 20: 9114 /* mount */ 9115 case 21: 9116 if (ndx == 0 || ndx == 1) 9117 p = "int"; 9118 break; 9119 /* unmount */ 9120 case 22: 9121 if (ndx == 0 || ndx == 1) 9122 p = "int"; 9123 break; 9124 /* setuid */ 9125 case 23: 9126 if (ndx == 0 || ndx == 1) 9127 p = "int"; 9128 break; 9129 /* getuid */ 9130 case 24: 9131 /* geteuid */ 9132 case 25: 9133 /* ptrace */ 9134 case 26: 9135 if (ndx == 0 || ndx == 1) 9136 p = "int"; 9137 break; 9138 /* recvmsg */ 9139 case 27: 9140 if (ndx == 0 || ndx == 1) 9141 p = "int"; 9142 break; 9143 /* sendmsg */ 9144 case 28: 9145 if (ndx == 0 || ndx == 1) 9146 p = "int"; 9147 break; 9148 /* recvfrom */ 9149 case 29: 9150 if (ndx == 0 || ndx == 1) 9151 p = "int"; 9152 break; 9153 /* accept */ 9154 case 30: 9155 if (ndx == 0 || ndx == 1) 9156 p = "int"; 9157 break; 9158 /* getpeername */ 9159 case 31: 9160 if (ndx == 0 || ndx == 1) 9161 p = "int"; 9162 break; 9163 /* getsockname */ 9164 case 32: 9165 if (ndx == 0 || ndx == 1) 9166 p = "int"; 9167 break; 9168 /* access */ 9169 case 33: 9170 if (ndx == 0 || ndx == 1) 9171 p = "int"; 9172 break; 9173 /* chflags */ 9174 case 34: 9175 if (ndx == 0 || ndx == 1) 9176 p = "int"; 9177 break; 9178 /* fchflags */ 9179 case 35: 9180 if (ndx == 0 || ndx == 1) 9181 p = "int"; 9182 break; 9183 /* sync */ 9184 case 36: 9185 /* kill */ 9186 case 37: 9187 if (ndx == 0 || ndx == 1) 9188 p = "int"; 9189 break; 9190 /* getppid */ 9191 case 39: 9192 /* dup */ 9193 case 41: 9194 if (ndx == 0 || ndx == 1) 9195 p = "int"; 9196 break; 9197 /* pipe */ 9198 case 42: 9199 /* getegid */ 9200 case 43: 9201 /* profil */ 9202 case 44: 9203 if (ndx == 0 || ndx == 1) 9204 p = "int"; 9205 break; 9206 /* ktrace */ 9207 case 45: 9208 if (ndx == 0 || ndx == 1) 9209 p = "int"; 9210 break; 9211 /* getgid */ 9212 case 47: 9213 /* getlogin */ 9214 case 49: 9215 if (ndx == 0 || ndx == 1) 9216 p = "int"; 9217 break; 9218 /* setlogin */ 9219 case 50: 9220 if (ndx == 0 || ndx == 1) 9221 p = "int"; 9222 break; 9223 /* acct */ 9224 case 51: 9225 if (ndx == 0 || ndx == 1) 9226 p = "int"; 9227 break; 9228 /* sigaltstack */ 9229 case 53: 9230 if (ndx == 0 || ndx == 1) 9231 p = "int"; 9232 break; 9233 /* ioctl */ 9234 case 54: 9235 if (ndx == 0 || ndx == 1) 9236 p = "int"; 9237 break; 9238 /* reboot */ 9239 case 55: 9240 if (ndx == 0 || ndx == 1) 9241 p = "int"; 9242 break; 9243 /* revoke */ 9244 case 56: 9245 if (ndx == 0 || ndx == 1) 9246 p = "int"; 9247 break; 9248 /* symlink */ 9249 case 57: 9250 if (ndx == 0 || ndx == 1) 9251 p = "int"; 9252 break; 9253 /* readlink */ 9254 case 58: 9255 if (ndx == 0 || ndx == 1) 9256 p = "ssize_t"; 9257 break; 9258 /* execve */ 9259 case 59: 9260 if (ndx == 0 || ndx == 1) 9261 p = "int"; 9262 break; 9263 /* umask */ 9264 case 60: 9265 if (ndx == 0 || ndx == 1) 9266 p = "int"; 9267 break; 9268 /* chroot */ 9269 case 61: 9270 if (ndx == 0 || ndx == 1) 9271 p = "int"; 9272 break; 9273 /* msync */ 9274 case 65: 9275 if (ndx == 0 || ndx == 1) 9276 p = "int"; 9277 break; 9278 /* vfork */ 9279 case 66: 9280 /* sbrk */ 9281 case 69: 9282 if (ndx == 0 || ndx == 1) 9283 p = "int"; 9284 break; 9285 /* sstk */ 9286 case 70: 9287 if (ndx == 0 || ndx == 1) 9288 p = "int"; 9289 break; 9290 /* ovadvise */ 9291 case 72: 9292 if (ndx == 0 || ndx == 1) 9293 p = "int"; 9294 break; 9295 /* munmap */ 9296 case 73: 9297 if (ndx == 0 || ndx == 1) 9298 p = "int"; 9299 break; 9300 /* mprotect */ 9301 case 74: 9302 if (ndx == 0 || ndx == 1) 9303 p = "int"; 9304 break; 9305 /* madvise */ 9306 case 75: 9307 if (ndx == 0 || ndx == 1) 9308 p = "int"; 9309 break; 9310 /* mincore */ 9311 case 78: 9312 if (ndx == 0 || ndx == 1) 9313 p = "int"; 9314 break; 9315 /* getgroups */ 9316 case 79: 9317 if (ndx == 0 || ndx == 1) 9318 p = "int"; 9319 break; 9320 /* setgroups */ 9321 case 80: 9322 if (ndx == 0 || ndx == 1) 9323 p = "int"; 9324 break; 9325 /* getpgrp */ 9326 case 81: 9327 /* setpgid */ 9328 case 82: 9329 if (ndx == 0 || ndx == 1) 9330 p = "int"; 9331 break; 9332 /* setitimer */ 9333 case 83: 9334 if (ndx == 0 || ndx == 1) 9335 p = "int"; 9336 break; 9337 /* swapon */ 9338 case 85: 9339 if (ndx == 0 || ndx == 1) 9340 p = "int"; 9341 break; 9342 /* getitimer */ 9343 case 86: 9344 if (ndx == 0 || ndx == 1) 9345 p = "int"; 9346 break; 9347 /* getdtablesize */ 9348 case 89: 9349 /* dup2 */ 9350 case 90: 9351 if (ndx == 0 || ndx == 1) 9352 p = "int"; 9353 break; 9354 /* fcntl */ 9355 case 92: 9356 if (ndx == 0 || ndx == 1) 9357 p = "int"; 9358 break; 9359 /* select */ 9360 case 93: 9361 if (ndx == 0 || ndx == 1) 9362 p = "int"; 9363 break; 9364 /* fsync */ 9365 case 95: 9366 if (ndx == 0 || ndx == 1) 9367 p = "int"; 9368 break; 9369 /* setpriority */ 9370 case 96: 9371 if (ndx == 0 || ndx == 1) 9372 p = "int"; 9373 break; 9374 /* socket */ 9375 case 97: 9376 if (ndx == 0 || ndx == 1) 9377 p = "int"; 9378 break; 9379 /* connect */ 9380 case 98: 9381 if (ndx == 0 || ndx == 1) 9382 p = "int"; 9383 break; 9384 /* getpriority */ 9385 case 100: 9386 if (ndx == 0 || ndx == 1) 9387 p = "int"; 9388 break; 9389 /* bind */ 9390 case 104: 9391 if (ndx == 0 || ndx == 1) 9392 p = "int"; 9393 break; 9394 /* setsockopt */ 9395 case 105: 9396 if (ndx == 0 || ndx == 1) 9397 p = "int"; 9398 break; 9399 /* listen */ 9400 case 106: 9401 if (ndx == 0 || ndx == 1) 9402 p = "int"; 9403 break; 9404 /* gettimeofday */ 9405 case 116: 9406 if (ndx == 0 || ndx == 1) 9407 p = "int"; 9408 break; 9409 /* getrusage */ 9410 case 117: 9411 if (ndx == 0 || ndx == 1) 9412 p = "int"; 9413 break; 9414 /* getsockopt */ 9415 case 118: 9416 if (ndx == 0 || ndx == 1) 9417 p = "int"; 9418 break; 9419 /* readv */ 9420 case 120: 9421 if (ndx == 0 || ndx == 1) 9422 p = "int"; 9423 break; 9424 /* writev */ 9425 case 121: 9426 if (ndx == 0 || ndx == 1) 9427 p = "int"; 9428 break; 9429 /* settimeofday */ 9430 case 122: 9431 if (ndx == 0 || ndx == 1) 9432 p = "int"; 9433 break; 9434 /* fchown */ 9435 case 123: 9436 if (ndx == 0 || ndx == 1) 9437 p = "int"; 9438 break; 9439 /* fchmod */ 9440 case 124: 9441 if (ndx == 0 || ndx == 1) 9442 p = "int"; 9443 break; 9444 /* setreuid */ 9445 case 126: 9446 if (ndx == 0 || ndx == 1) 9447 p = "int"; 9448 break; 9449 /* setregid */ 9450 case 127: 9451 if (ndx == 0 || ndx == 1) 9452 p = "int"; 9453 break; 9454 /* rename */ 9455 case 128: 9456 if (ndx == 0 || ndx == 1) 9457 p = "int"; 9458 break; 9459 /* flock */ 9460 case 131: 9461 if (ndx == 0 || ndx == 1) 9462 p = "int"; 9463 break; 9464 /* mkfifo */ 9465 case 132: 9466 if (ndx == 0 || ndx == 1) 9467 p = "int"; 9468 break; 9469 /* sendto */ 9470 case 133: 9471 if (ndx == 0 || ndx == 1) 9472 p = "int"; 9473 break; 9474 /* shutdown */ 9475 case 134: 9476 if (ndx == 0 || ndx == 1) 9477 p = "int"; 9478 break; 9479 /* socketpair */ 9480 case 135: 9481 if (ndx == 0 || ndx == 1) 9482 p = "int"; 9483 break; 9484 /* mkdir */ 9485 case 136: 9486 if (ndx == 0 || ndx == 1) 9487 p = "int"; 9488 break; 9489 /* rmdir */ 9490 case 137: 9491 if (ndx == 0 || ndx == 1) 9492 p = "int"; 9493 break; 9494 /* utimes */ 9495 case 138: 9496 if (ndx == 0 || ndx == 1) 9497 p = "int"; 9498 break; 9499 /* adjtime */ 9500 case 140: 9501 if (ndx == 0 || ndx == 1) 9502 p = "int"; 9503 break; 9504 /* setsid */ 9505 case 147: 9506 /* quotactl */ 9507 case 148: 9508 if (ndx == 0 || ndx == 1) 9509 p = "int"; 9510 break; 9511 /* nlm_syscall */ 9512 case 154: 9513 if (ndx == 0 || ndx == 1) 9514 p = "int"; 9515 break; 9516 /* nfssvc */ 9517 case 155: 9518 if (ndx == 0 || ndx == 1) 9519 p = "int"; 9520 break; 9521 /* lgetfh */ 9522 case 160: 9523 if (ndx == 0 || ndx == 1) 9524 p = "int"; 9525 break; 9526 /* getfh */ 9527 case 161: 9528 if (ndx == 0 || ndx == 1) 9529 p = "int"; 9530 break; 9531 /* sysarch */ 9532 case 165: 9533 if (ndx == 0 || ndx == 1) 9534 p = "int"; 9535 break; 9536 /* rtprio */ 9537 case 166: 9538 if (ndx == 0 || ndx == 1) 9539 p = "int"; 9540 break; 9541 /* semsys */ 9542 case 169: 9543 if (ndx == 0 || ndx == 1) 9544 p = "int"; 9545 break; 9546 /* msgsys */ 9547 case 170: 9548 if (ndx == 0 || ndx == 1) 9549 p = "int"; 9550 break; 9551 /* shmsys */ 9552 case 171: 9553 if (ndx == 0 || ndx == 1) 9554 p = "int"; 9555 break; 9556 /* freebsd6_pread */ 9557 case 173: 9558 if (ndx == 0 || ndx == 1) 9559 p = "ssize_t"; 9560 break; 9561 /* freebsd6_pwrite */ 9562 case 174: 9563 if (ndx == 0 || ndx == 1) 9564 p = "ssize_t"; 9565 break; 9566 /* setfib */ 9567 case 175: 9568 if (ndx == 0 || ndx == 1) 9569 p = "int"; 9570 break; 9571 /* ntp_adjtime */ 9572 case 176: 9573 if (ndx == 0 || ndx == 1) 9574 p = "int"; 9575 break; 9576 /* setgid */ 9577 case 181: 9578 if (ndx == 0 || ndx == 1) 9579 p = "int"; 9580 break; 9581 /* setegid */ 9582 case 182: 9583 if (ndx == 0 || ndx == 1) 9584 p = "int"; 9585 break; 9586 /* seteuid */ 9587 case 183: 9588 if (ndx == 0 || ndx == 1) 9589 p = "int"; 9590 break; 9591 /* stat */ 9592 case 188: 9593 if (ndx == 0 || ndx == 1) 9594 p = "int"; 9595 break; 9596 /* fstat */ 9597 case 189: 9598 if (ndx == 0 || ndx == 1) 9599 p = "int"; 9600 break; 9601 /* lstat */ 9602 case 190: 9603 if (ndx == 0 || ndx == 1) 9604 p = "int"; 9605 break; 9606 /* pathconf */ 9607 case 191: 9608 if (ndx == 0 || ndx == 1) 9609 p = "int"; 9610 break; 9611 /* fpathconf */ 9612 case 192: 9613 if (ndx == 0 || ndx == 1) 9614 p = "int"; 9615 break; 9616 /* getrlimit */ 9617 case 194: 9618 if (ndx == 0 || ndx == 1) 9619 p = "int"; 9620 break; 9621 /* setrlimit */ 9622 case 195: 9623 if (ndx == 0 || ndx == 1) 9624 p = "int"; 9625 break; 9626 /* getdirentries */ 9627 case 196: 9628 if (ndx == 0 || ndx == 1) 9629 p = "int"; 9630 break; 9631 /* freebsd6_mmap */ 9632 case 197: 9633 if (ndx == 0 || ndx == 1) 9634 p = "caddr_t"; 9635 break; 9636 /* nosys */ 9637 case 198: 9638 /* freebsd6_lseek */ 9639 case 199: 9640 if (ndx == 0 || ndx == 1) 9641 p = "off_t"; 9642 break; 9643 /* freebsd6_truncate */ 9644 case 200: 9645 if (ndx == 0 || ndx == 1) 9646 p = "int"; 9647 break; 9648 /* freebsd6_ftruncate */ 9649 case 201: 9650 if (ndx == 0 || ndx == 1) 9651 p = "int"; 9652 break; 9653 /* __sysctl */ 9654 case 202: 9655 if (ndx == 0 || ndx == 1) 9656 p = "int"; 9657 break; 9658 /* mlock */ 9659 case 203: 9660 if (ndx == 0 || ndx == 1) 9661 p = "int"; 9662 break; 9663 /* munlock */ 9664 case 204: 9665 if (ndx == 0 || ndx == 1) 9666 p = "int"; 9667 break; 9668 /* undelete */ 9669 case 205: 9670 if (ndx == 0 || ndx == 1) 9671 p = "int"; 9672 break; 9673 /* futimes */ 9674 case 206: 9675 if (ndx == 0 || ndx == 1) 9676 p = "int"; 9677 break; 9678 /* getpgid */ 9679 case 207: 9680 if (ndx == 0 || ndx == 1) 9681 p = "int"; 9682 break; 9683 /* poll */ 9684 case 209: 9685 if (ndx == 0 || ndx == 1) 9686 p = "int"; 9687 break; 9688 /* lkmnosys */ 9689 case 210: 9690 /* lkmnosys */ 9691 case 211: 9692 /* lkmnosys */ 9693 case 212: 9694 /* lkmnosys */ 9695 case 213: 9696 /* lkmnosys */ 9697 case 214: 9698 /* lkmnosys */ 9699 case 215: 9700 /* lkmnosys */ 9701 case 216: 9702 /* lkmnosys */ 9703 case 217: 9704 /* lkmnosys */ 9705 case 218: 9706 /* lkmnosys */ 9707 case 219: 9708 /* semget */ 9709 case 221: 9710 if (ndx == 0 || ndx == 1) 9711 p = "int"; 9712 break; 9713 /* semop */ 9714 case 222: 9715 if (ndx == 0 || ndx == 1) 9716 p = "int"; 9717 break; 9718 /* msgget */ 9719 case 225: 9720 if (ndx == 0 || ndx == 1) 9721 p = "int"; 9722 break; 9723 /* msgsnd */ 9724 case 226: 9725 if (ndx == 0 || ndx == 1) 9726 p = "int"; 9727 break; 9728 /* msgrcv */ 9729 case 227: 9730 if (ndx == 0 || ndx == 1) 9731 p = "int"; 9732 break; 9733 /* shmat */ 9734 case 228: 9735 if (ndx == 0 || ndx == 1) 9736 p = "int"; 9737 break; 9738 /* shmdt */ 9739 case 230: 9740 if (ndx == 0 || ndx == 1) 9741 p = "int"; 9742 break; 9743 /* shmget */ 9744 case 231: 9745 if (ndx == 0 || ndx == 1) 9746 p = "int"; 9747 break; 9748 /* clock_gettime */ 9749 case 232: 9750 if (ndx == 0 || ndx == 1) 9751 p = "int"; 9752 break; 9753 /* clock_settime */ 9754 case 233: 9755 if (ndx == 0 || ndx == 1) 9756 p = "int"; 9757 break; 9758 /* clock_getres */ 9759 case 234: 9760 if (ndx == 0 || ndx == 1) 9761 p = "int"; 9762 break; 9763 /* ktimer_create */ 9764 case 235: 9765 if (ndx == 0 || ndx == 1) 9766 p = "int"; 9767 break; 9768 /* ktimer_delete */ 9769 case 236: 9770 if (ndx == 0 || ndx == 1) 9771 p = "int"; 9772 break; 9773 /* ktimer_settime */ 9774 case 237: 9775 if (ndx == 0 || ndx == 1) 9776 p = "int"; 9777 break; 9778 /* ktimer_gettime */ 9779 case 238: 9780 if (ndx == 0 || ndx == 1) 9781 p = "int"; 9782 break; 9783 /* ktimer_getoverrun */ 9784 case 239: 9785 if (ndx == 0 || ndx == 1) 9786 p = "int"; 9787 break; 9788 /* nanosleep */ 9789 case 240: 9790 if (ndx == 0 || ndx == 1) 9791 p = "int"; 9792 break; 9793 /* ffclock_getcounter */ 9794 case 241: 9795 if (ndx == 0 || ndx == 1) 9796 p = "int"; 9797 break; 9798 /* ffclock_setestimate */ 9799 case 242: 9800 if (ndx == 0 || ndx == 1) 9801 p = "int"; 9802 break; 9803 /* ffclock_getestimate */ 9804 case 243: 9805 if (ndx == 0 || ndx == 1) 9806 p = "int"; 9807 break; 9808 /* clock_getcpuclockid2 */ 9809 case 247: 9810 if (ndx == 0 || ndx == 1) 9811 p = "int"; 9812 break; 9813 /* ntp_gettime */ 9814 case 248: 9815 if (ndx == 0 || ndx == 1) 9816 p = "int"; 9817 break; 9818 /* minherit */ 9819 case 250: 9820 if (ndx == 0 || ndx == 1) 9821 p = "int"; 9822 break; 9823 /* rfork */ 9824 case 251: 9825 if (ndx == 0 || ndx == 1) 9826 p = "int"; 9827 break; 9828 /* openbsd_poll */ 9829 case 252: 9830 if (ndx == 0 || ndx == 1) 9831 p = "int"; 9832 break; 9833 /* issetugid */ 9834 case 253: 9835 /* lchown */ 9836 case 254: 9837 if (ndx == 0 || ndx == 1) 9838 p = "int"; 9839 break; 9840 /* aio_read */ 9841 case 255: 9842 if (ndx == 0 || ndx == 1) 9843 p = "int"; 9844 break; 9845 /* aio_write */ 9846 case 256: 9847 if (ndx == 0 || ndx == 1) 9848 p = "int"; 9849 break; 9850 /* lio_listio */ 9851 case 257: 9852 if (ndx == 0 || ndx == 1) 9853 p = "int"; 9854 break; 9855 /* getdents */ 9856 case 272: 9857 if (ndx == 0 || ndx == 1) 9858 p = "int"; 9859 break; 9860 /* lchmod */ 9861 case 274: 9862 if (ndx == 0 || ndx == 1) 9863 p = "int"; 9864 break; 9865 /* lchown */ 9866 case 275: 9867 if (ndx == 0 || ndx == 1) 9868 p = "int"; 9869 break; 9870 /* lutimes */ 9871 case 276: 9872 if (ndx == 0 || ndx == 1) 9873 p = "int"; 9874 break; 9875 /* msync */ 9876 case 277: 9877 if (ndx == 0 || ndx == 1) 9878 p = "int"; 9879 break; 9880 /* nstat */ 9881 case 278: 9882 if (ndx == 0 || ndx == 1) 9883 p = "int"; 9884 break; 9885 /* nfstat */ 9886 case 279: 9887 if (ndx == 0 || ndx == 1) 9888 p = "int"; 9889 break; 9890 /* nlstat */ 9891 case 280: 9892 if (ndx == 0 || ndx == 1) 9893 p = "int"; 9894 break; 9895 /* preadv */ 9896 case 289: 9897 if (ndx == 0 || ndx == 1) 9898 p = "ssize_t"; 9899 break; 9900 /* pwritev */ 9901 case 290: 9902 if (ndx == 0 || ndx == 1) 9903 p = "ssize_t"; 9904 break; 9905 /* fhopen */ 9906 case 298: 9907 if (ndx == 0 || ndx == 1) 9908 p = "int"; 9909 break; 9910 /* fhstat */ 9911 case 299: 9912 if (ndx == 0 || ndx == 1) 9913 p = "int"; 9914 break; 9915 /* modnext */ 9916 case 300: 9917 if (ndx == 0 || ndx == 1) 9918 p = "int"; 9919 break; 9920 /* modstat */ 9921 case 301: 9922 if (ndx == 0 || ndx == 1) 9923 p = "int"; 9924 break; 9925 /* modfnext */ 9926 case 302: 9927 if (ndx == 0 || ndx == 1) 9928 p = "int"; 9929 break; 9930 /* modfind */ 9931 case 303: 9932 if (ndx == 0 || ndx == 1) 9933 p = "int"; 9934 break; 9935 /* kldload */ 9936 case 304: 9937 if (ndx == 0 || ndx == 1) 9938 p = "int"; 9939 break; 9940 /* kldunload */ 9941 case 305: 9942 if (ndx == 0 || ndx == 1) 9943 p = "int"; 9944 break; 9945 /* kldfind */ 9946 case 306: 9947 if (ndx == 0 || ndx == 1) 9948 p = "int"; 9949 break; 9950 /* kldnext */ 9951 case 307: 9952 if (ndx == 0 || ndx == 1) 9953 p = "int"; 9954 break; 9955 /* kldstat */ 9956 case 308: 9957 if (ndx == 0 || ndx == 1) 9958 p = "int"; 9959 break; 9960 /* kldfirstmod */ 9961 case 309: 9962 if (ndx == 0 || ndx == 1) 9963 p = "int"; 9964 break; 9965 /* getsid */ 9966 case 310: 9967 if (ndx == 0 || ndx == 1) 9968 p = "int"; 9969 break; 9970 /* setresuid */ 9971 case 311: 9972 if (ndx == 0 || ndx == 1) 9973 p = "int"; 9974 break; 9975 /* setresgid */ 9976 case 312: 9977 if (ndx == 0 || ndx == 1) 9978 p = "int"; 9979 break; 9980 /* aio_return */ 9981 case 314: 9982 if (ndx == 0 || ndx == 1) 9983 p = "int"; 9984 break; 9985 /* aio_suspend */ 9986 case 315: 9987 if (ndx == 0 || ndx == 1) 9988 p = "int"; 9989 break; 9990 /* aio_cancel */ 9991 case 316: 9992 if (ndx == 0 || ndx == 1) 9993 p = "int"; 9994 break; 9995 /* aio_error */ 9996 case 317: 9997 if (ndx == 0 || ndx == 1) 9998 p = "int"; 9999 break; 10000 /* oaio_read */ 10001 case 318: 10002 if (ndx == 0 || ndx == 1) 10003 p = "int"; 10004 break; 10005 /* oaio_write */ 10006 case 319: 10007 if (ndx == 0 || ndx == 1) 10008 p = "int"; 10009 break; 10010 /* olio_listio */ 10011 case 320: 10012 if (ndx == 0 || ndx == 1) 10013 p = "int"; 10014 break; 10015 /* yield */ 10016 case 321: 10017 /* mlockall */ 10018 case 324: 10019 if (ndx == 0 || ndx == 1) 10020 p = "int"; 10021 break; 10022 /* munlockall */ 10023 case 325: 10024 /* __getcwd */ 10025 case 326: 10026 if (ndx == 0 || ndx == 1) 10027 p = "int"; 10028 break; 10029 /* sched_setparam */ 10030 case 327: 10031 if (ndx == 0 || ndx == 1) 10032 p = "int"; 10033 break; 10034 /* sched_getparam */ 10035 case 328: 10036 if (ndx == 0 || ndx == 1) 10037 p = "int"; 10038 break; 10039 /* sched_setscheduler */ 10040 case 329: 10041 if (ndx == 0 || ndx == 1) 10042 p = "int"; 10043 break; 10044 /* sched_getscheduler */ 10045 case 330: 10046 if (ndx == 0 || ndx == 1) 10047 p = "int"; 10048 break; 10049 /* sched_yield */ 10050 case 331: 10051 /* sched_get_priority_max */ 10052 case 332: 10053 if (ndx == 0 || ndx == 1) 10054 p = "int"; 10055 break; 10056 /* sched_get_priority_min */ 10057 case 333: 10058 if (ndx == 0 || ndx == 1) 10059 p = "int"; 10060 break; 10061 /* sched_rr_get_interval */ 10062 case 334: 10063 if (ndx == 0 || ndx == 1) 10064 p = "int"; 10065 break; 10066 /* utrace */ 10067 case 335: 10068 if (ndx == 0 || ndx == 1) 10069 p = "int"; 10070 break; 10071 /* kldsym */ 10072 case 337: 10073 if (ndx == 0 || ndx == 1) 10074 p = "int"; 10075 break; 10076 /* jail */ 10077 case 338: 10078 if (ndx == 0 || ndx == 1) 10079 p = "int"; 10080 break; 10081 /* nnpfs_syscall */ 10082 case 339: 10083 if (ndx == 0 || ndx == 1) 10084 p = "int"; 10085 break; 10086 /* sigprocmask */ 10087 case 340: 10088 if (ndx == 0 || ndx == 1) 10089 p = "int"; 10090 break; 10091 /* sigsuspend */ 10092 case 341: 10093 if (ndx == 0 || ndx == 1) 10094 p = "int"; 10095 break; 10096 /* sigpending */ 10097 case 343: 10098 if (ndx == 0 || ndx == 1) 10099 p = "int"; 10100 break; 10101 /* sigtimedwait */ 10102 case 345: 10103 if (ndx == 0 || ndx == 1) 10104 p = "int"; 10105 break; 10106 /* sigwaitinfo */ 10107 case 346: 10108 if (ndx == 0 || ndx == 1) 10109 p = "int"; 10110 break; 10111 /* __acl_get_file */ 10112 case 347: 10113 if (ndx == 0 || ndx == 1) 10114 p = "int"; 10115 break; 10116 /* __acl_set_file */ 10117 case 348: 10118 if (ndx == 0 || ndx == 1) 10119 p = "int"; 10120 break; 10121 /* __acl_get_fd */ 10122 case 349: 10123 if (ndx == 0 || ndx == 1) 10124 p = "int"; 10125 break; 10126 /* __acl_set_fd */ 10127 case 350: 10128 if (ndx == 0 || ndx == 1) 10129 p = "int"; 10130 break; 10131 /* __acl_delete_file */ 10132 case 351: 10133 if (ndx == 0 || ndx == 1) 10134 p = "int"; 10135 break; 10136 /* __acl_delete_fd */ 10137 case 352: 10138 if (ndx == 0 || ndx == 1) 10139 p = "int"; 10140 break; 10141 /* __acl_aclcheck_file */ 10142 case 353: 10143 if (ndx == 0 || ndx == 1) 10144 p = "int"; 10145 break; 10146 /* __acl_aclcheck_fd */ 10147 case 354: 10148 if (ndx == 0 || ndx == 1) 10149 p = "int"; 10150 break; 10151 /* extattrctl */ 10152 case 355: 10153 if (ndx == 0 || ndx == 1) 10154 p = "int"; 10155 break; 10156 /* extattr_set_file */ 10157 case 356: 10158 if (ndx == 0 || ndx == 1) 10159 p = "ssize_t"; 10160 break; 10161 /* extattr_get_file */ 10162 case 357: 10163 if (ndx == 0 || ndx == 1) 10164 p = "ssize_t"; 10165 break; 10166 /* extattr_delete_file */ 10167 case 358: 10168 if (ndx == 0 || ndx == 1) 10169 p = "int"; 10170 break; 10171 /* aio_waitcomplete */ 10172 case 359: 10173 if (ndx == 0 || ndx == 1) 10174 p = "int"; 10175 break; 10176 /* getresuid */ 10177 case 360: 10178 if (ndx == 0 || ndx == 1) 10179 p = "int"; 10180 break; 10181 /* getresgid */ 10182 case 361: 10183 if (ndx == 0 || ndx == 1) 10184 p = "int"; 10185 break; 10186 /* kqueue */ 10187 case 362: 10188 /* kevent */ 10189 case 363: 10190 if (ndx == 0 || ndx == 1) 10191 p = "int"; 10192 break; 10193 /* extattr_set_fd */ 10194 case 371: 10195 if (ndx == 0 || ndx == 1) 10196 p = "ssize_t"; 10197 break; 10198 /* extattr_get_fd */ 10199 case 372: 10200 if (ndx == 0 || ndx == 1) 10201 p = "ssize_t"; 10202 break; 10203 /* extattr_delete_fd */ 10204 case 373: 10205 if (ndx == 0 || ndx == 1) 10206 p = "int"; 10207 break; 10208 /* __setugid */ 10209 case 374: 10210 if (ndx == 0 || ndx == 1) 10211 p = "int"; 10212 break; 10213 /* eaccess */ 10214 case 376: 10215 if (ndx == 0 || ndx == 1) 10216 p = "int"; 10217 break; 10218 /* afs3_syscall */ 10219 case 377: 10220 if (ndx == 0 || ndx == 1) 10221 p = "int"; 10222 break; 10223 /* nmount */ 10224 case 378: 10225 if (ndx == 0 || ndx == 1) 10226 p = "int"; 10227 break; 10228 /* __mac_get_proc */ 10229 case 384: 10230 if (ndx == 0 || ndx == 1) 10231 p = "int"; 10232 break; 10233 /* __mac_set_proc */ 10234 case 385: 10235 if (ndx == 0 || ndx == 1) 10236 p = "int"; 10237 break; 10238 /* __mac_get_fd */ 10239 case 386: 10240 if (ndx == 0 || ndx == 1) 10241 p = "int"; 10242 break; 10243 /* __mac_get_file */ 10244 case 387: 10245 if (ndx == 0 || ndx == 1) 10246 p = "int"; 10247 break; 10248 /* __mac_set_fd */ 10249 case 388: 10250 if (ndx == 0 || ndx == 1) 10251 p = "int"; 10252 break; 10253 /* __mac_set_file */ 10254 case 389: 10255 if (ndx == 0 || ndx == 1) 10256 p = "int"; 10257 break; 10258 /* kenv */ 10259 case 390: 10260 if (ndx == 0 || ndx == 1) 10261 p = "int"; 10262 break; 10263 /* lchflags */ 10264 case 391: 10265 if (ndx == 0 || ndx == 1) 10266 p = "int"; 10267 break; 10268 /* uuidgen */ 10269 case 392: 10270 if (ndx == 0 || ndx == 1) 10271 p = "int"; 10272 break; 10273 /* sendfile */ 10274 case 393: 10275 if (ndx == 0 || ndx == 1) 10276 p = "int"; 10277 break; 10278 /* mac_syscall */ 10279 case 394: 10280 if (ndx == 0 || ndx == 1) 10281 p = "int"; 10282 break; 10283 /* getfsstat */ 10284 case 395: 10285 if (ndx == 0 || ndx == 1) 10286 p = "int"; 10287 break; 10288 /* statfs */ 10289 case 396: 10290 if (ndx == 0 || ndx == 1) 10291 p = "int"; 10292 break; 10293 /* fstatfs */ 10294 case 397: 10295 if (ndx == 0 || ndx == 1) 10296 p = "int"; 10297 break; 10298 /* fhstatfs */ 10299 case 398: 10300 if (ndx == 0 || ndx == 1) 10301 p = "int"; 10302 break; 10303 /* ksem_close */ 10304 case 400: 10305 if (ndx == 0 || ndx == 1) 10306 p = "int"; 10307 break; 10308 /* ksem_post */ 10309 case 401: 10310 if (ndx == 0 || ndx == 1) 10311 p = "int"; 10312 break; 10313 /* ksem_wait */ 10314 case 402: 10315 if (ndx == 0 || ndx == 1) 10316 p = "int"; 10317 break; 10318 /* ksem_trywait */ 10319 case 403: 10320 if (ndx == 0 || ndx == 1) 10321 p = "int"; 10322 break; 10323 /* ksem_init */ 10324 case 404: 10325 if (ndx == 0 || ndx == 1) 10326 p = "int"; 10327 break; 10328 /* ksem_open */ 10329 case 405: 10330 if (ndx == 0 || ndx == 1) 10331 p = "int"; 10332 break; 10333 /* ksem_unlink */ 10334 case 406: 10335 if (ndx == 0 || ndx == 1) 10336 p = "int"; 10337 break; 10338 /* ksem_getvalue */ 10339 case 407: 10340 if (ndx == 0 || ndx == 1) 10341 p = "int"; 10342 break; 10343 /* ksem_destroy */ 10344 case 408: 10345 if (ndx == 0 || ndx == 1) 10346 p = "int"; 10347 break; 10348 /* __mac_get_pid */ 10349 case 409: 10350 if (ndx == 0 || ndx == 1) 10351 p = "int"; 10352 break; 10353 /* __mac_get_link */ 10354 case 410: 10355 if (ndx == 0 || ndx == 1) 10356 p = "int"; 10357 break; 10358 /* __mac_set_link */ 10359 case 411: 10360 if (ndx == 0 || ndx == 1) 10361 p = "int"; 10362 break; 10363 /* extattr_set_link */ 10364 case 412: 10365 if (ndx == 0 || ndx == 1) 10366 p = "ssize_t"; 10367 break; 10368 /* extattr_get_link */ 10369 case 413: 10370 if (ndx == 0 || ndx == 1) 10371 p = "ssize_t"; 10372 break; 10373 /* extattr_delete_link */ 10374 case 414: 10375 if (ndx == 0 || ndx == 1) 10376 p = "int"; 10377 break; 10378 /* __mac_execve */ 10379 case 415: 10380 if (ndx == 0 || ndx == 1) 10381 p = "int"; 10382 break; 10383 /* sigaction */ 10384 case 416: 10385 if (ndx == 0 || ndx == 1) 10386 p = "int"; 10387 break; 10388 /* sigreturn */ 10389 case 417: 10390 if (ndx == 0 || ndx == 1) 10391 p = "int"; 10392 break; 10393 /* getcontext */ 10394 case 421: 10395 if (ndx == 0 || ndx == 1) 10396 p = "int"; 10397 break; 10398 /* setcontext */ 10399 case 422: 10400 if (ndx == 0 || ndx == 1) 10401 p = "int"; 10402 break; 10403 /* swapcontext */ 10404 case 423: 10405 if (ndx == 0 || ndx == 1) 10406 p = "int"; 10407 break; 10408 /* swapoff */ 10409 case 424: 10410 if (ndx == 0 || ndx == 1) 10411 p = "int"; 10412 break; 10413 /* __acl_get_link */ 10414 case 425: 10415 if (ndx == 0 || ndx == 1) 10416 p = "int"; 10417 break; 10418 /* __acl_set_link */ 10419 case 426: 10420 if (ndx == 0 || ndx == 1) 10421 p = "int"; 10422 break; 10423 /* __acl_delete_link */ 10424 case 427: 10425 if (ndx == 0 || ndx == 1) 10426 p = "int"; 10427 break; 10428 /* __acl_aclcheck_link */ 10429 case 428: 10430 if (ndx == 0 || ndx == 1) 10431 p = "int"; 10432 break; 10433 /* sigwait */ 10434 case 429: 10435 if (ndx == 0 || ndx == 1) 10436 p = "int"; 10437 break; 10438 /* thr_create */ 10439 case 430: 10440 if (ndx == 0 || ndx == 1) 10441 p = "int"; 10442 break; 10443 /* thr_exit */ 10444 case 431: 10445 if (ndx == 0 || ndx == 1) 10446 p = "void"; 10447 break; 10448 /* thr_self */ 10449 case 432: 10450 if (ndx == 0 || ndx == 1) 10451 p = "int"; 10452 break; 10453 /* thr_kill */ 10454 case 433: 10455 if (ndx == 0 || ndx == 1) 10456 p = "int"; 10457 break; 10458 /* _umtx_lock */ 10459 case 434: 10460 if (ndx == 0 || ndx == 1) 10461 p = "int"; 10462 break; 10463 /* _umtx_unlock */ 10464 case 435: 10465 if (ndx == 0 || ndx == 1) 10466 p = "int"; 10467 break; 10468 /* jail_attach */ 10469 case 436: 10470 if (ndx == 0 || ndx == 1) 10471 p = "int"; 10472 break; 10473 /* extattr_list_fd */ 10474 case 437: 10475 if (ndx == 0 || ndx == 1) 10476 p = "ssize_t"; 10477 break; 10478 /* extattr_list_file */ 10479 case 438: 10480 if (ndx == 0 || ndx == 1) 10481 p = "ssize_t"; 10482 break; 10483 /* extattr_list_link */ 10484 case 439: 10485 if (ndx == 0 || ndx == 1) 10486 p = "ssize_t"; 10487 break; 10488 /* ksem_timedwait */ 10489 case 441: 10490 if (ndx == 0 || ndx == 1) 10491 p = "int"; 10492 break; 10493 /* thr_suspend */ 10494 case 442: 10495 if (ndx == 0 || ndx == 1) 10496 p = "int"; 10497 break; 10498 /* thr_wake */ 10499 case 443: 10500 if (ndx == 0 || ndx == 1) 10501 p = "int"; 10502 break; 10503 /* kldunloadf */ 10504 case 444: 10505 if (ndx == 0 || ndx == 1) 10506 p = "int"; 10507 break; 10508 /* audit */ 10509 case 445: 10510 if (ndx == 0 || ndx == 1) 10511 p = "int"; 10512 break; 10513 /* auditon */ 10514 case 446: 10515 if (ndx == 0 || ndx == 1) 10516 p = "int"; 10517 break; 10518 /* getauid */ 10519 case 447: 10520 if (ndx == 0 || ndx == 1) 10521 p = "int"; 10522 break; 10523 /* setauid */ 10524 case 448: 10525 if (ndx == 0 || ndx == 1) 10526 p = "int"; 10527 break; 10528 /* getaudit */ 10529 case 449: 10530 if (ndx == 0 || ndx == 1) 10531 p = "int"; 10532 break; 10533 /* setaudit */ 10534 case 450: 10535 if (ndx == 0 || ndx == 1) 10536 p = "int"; 10537 break; 10538 /* getaudit_addr */ 10539 case 451: 10540 if (ndx == 0 || ndx == 1) 10541 p = "int"; 10542 break; 10543 /* setaudit_addr */ 10544 case 452: 10545 if (ndx == 0 || ndx == 1) 10546 p = "int"; 10547 break; 10548 /* auditctl */ 10549 case 453: 10550 if (ndx == 0 || ndx == 1) 10551 p = "int"; 10552 break; 10553 /* _umtx_op */ 10554 case 454: 10555 if (ndx == 0 || ndx == 1) 10556 p = "int"; 10557 break; 10558 /* thr_new */ 10559 case 455: 10560 if (ndx == 0 || ndx == 1) 10561 p = "int"; 10562 break; 10563 /* sigqueue */ 10564 case 456: 10565 if (ndx == 0 || ndx == 1) 10566 p = "int"; 10567 break; 10568 /* kmq_open */ 10569 case 457: 10570 if (ndx == 0 || ndx == 1) 10571 p = "int"; 10572 break; 10573 /* kmq_setattr */ 10574 case 458: 10575 if (ndx == 0 || ndx == 1) 10576 p = "int"; 10577 break; 10578 /* kmq_timedreceive */ 10579 case 459: 10580 if (ndx == 0 || ndx == 1) 10581 p = "int"; 10582 break; 10583 /* kmq_timedsend */ 10584 case 460: 10585 if (ndx == 0 || ndx == 1) 10586 p = "int"; 10587 break; 10588 /* kmq_notify */ 10589 case 461: 10590 if (ndx == 0 || ndx == 1) 10591 p = "int"; 10592 break; 10593 /* kmq_unlink */ 10594 case 462: 10595 if (ndx == 0 || ndx == 1) 10596 p = "int"; 10597 break; 10598 /* abort2 */ 10599 case 463: 10600 if (ndx == 0 || ndx == 1) 10601 p = "int"; 10602 break; 10603 /* thr_set_name */ 10604 case 464: 10605 if (ndx == 0 || ndx == 1) 10606 p = "int"; 10607 break; 10608 /* aio_fsync */ 10609 case 465: 10610 if (ndx == 0 || ndx == 1) 10611 p = "int"; 10612 break; 10613 /* rtprio_thread */ 10614 case 466: 10615 if (ndx == 0 || ndx == 1) 10616 p = "int"; 10617 break; 10618 /* sctp_peeloff */ 10619 case 471: 10620 if (ndx == 0 || ndx == 1) 10621 p = "int"; 10622 break; 10623 /* sctp_generic_sendmsg */ 10624 case 472: 10625 if (ndx == 0 || ndx == 1) 10626 p = "int"; 10627 break; 10628 /* sctp_generic_sendmsg_iov */ 10629 case 473: 10630 if (ndx == 0 || ndx == 1) 10631 p = "int"; 10632 break; 10633 /* sctp_generic_recvmsg */ 10634 case 474: 10635 if (ndx == 0 || ndx == 1) 10636 p = "int"; 10637 break; 10638 /* pread */ 10639 case 475: 10640 if (ndx == 0 || ndx == 1) 10641 p = "ssize_t"; 10642 break; 10643 /* pwrite */ 10644 case 476: 10645 if (ndx == 0 || ndx == 1) 10646 p = "ssize_t"; 10647 break; 10648 /* mmap */ 10649 case 477: 10650 if (ndx == 0 || ndx == 1) 10651 p = "caddr_t"; 10652 break; 10653 /* lseek */ 10654 case 478: 10655 if (ndx == 0 || ndx == 1) 10656 p = "off_t"; 10657 break; 10658 /* truncate */ 10659 case 479: 10660 if (ndx == 0 || ndx == 1) 10661 p = "int"; 10662 break; 10663 /* ftruncate */ 10664 case 480: 10665 if (ndx == 0 || ndx == 1) 10666 p = "int"; 10667 break; 10668 /* thr_kill2 */ 10669 case 481: 10670 if (ndx == 0 || ndx == 1) 10671 p = "int"; 10672 break; 10673 /* shm_open */ 10674 case 482: 10675 if (ndx == 0 || ndx == 1) 10676 p = "int"; 10677 break; 10678 /* shm_unlink */ 10679 case 483: 10680 if (ndx == 0 || ndx == 1) 10681 p = "int"; 10682 break; 10683 /* cpuset */ 10684 case 484: 10685 if (ndx == 0 || ndx == 1) 10686 p = "int"; 10687 break; 10688 /* cpuset_setid */ 10689 case 485: 10690 if (ndx == 0 || ndx == 1) 10691 p = "int"; 10692 break; 10693 /* cpuset_getid */ 10694 case 486: 10695 if (ndx == 0 || ndx == 1) 10696 p = "int"; 10697 break; 10698 /* cpuset_getaffinity */ 10699 case 487: 10700 if (ndx == 0 || ndx == 1) 10701 p = "int"; 10702 break; 10703 /* cpuset_setaffinity */ 10704 case 488: 10705 if (ndx == 0 || ndx == 1) 10706 p = "int"; 10707 break; 10708 /* faccessat */ 10709 case 489: 10710 if (ndx == 0 || ndx == 1) 10711 p = "int"; 10712 break; 10713 /* fchmodat */ 10714 case 490: 10715 if (ndx == 0 || ndx == 1) 10716 p = "int"; 10717 break; 10718 /* fchownat */ 10719 case 491: 10720 if (ndx == 0 || ndx == 1) 10721 p = "int"; 10722 break; 10723 /* fexecve */ 10724 case 492: 10725 if (ndx == 0 || ndx == 1) 10726 p = "int"; 10727 break; 10728 /* fstatat */ 10729 case 493: 10730 if (ndx == 0 || ndx == 1) 10731 p = "int"; 10732 break; 10733 /* futimesat */ 10734 case 494: 10735 if (ndx == 0 || ndx == 1) 10736 p = "int"; 10737 break; 10738 /* linkat */ 10739 case 495: 10740 if (ndx == 0 || ndx == 1) 10741 p = "int"; 10742 break; 10743 /* mkdirat */ 10744 case 496: 10745 if (ndx == 0 || ndx == 1) 10746 p = "int"; 10747 break; 10748 /* mkfifoat */ 10749 case 497: 10750 if (ndx == 0 || ndx == 1) 10751 p = "int"; 10752 break; 10753 /* mknodat */ 10754 case 498: 10755 if (ndx == 0 || ndx == 1) 10756 p = "int"; 10757 break; 10758 /* openat */ 10759 case 499: 10760 if (ndx == 0 || ndx == 1) 10761 p = "int"; 10762 break; 10763 /* readlinkat */ 10764 case 500: 10765 if (ndx == 0 || ndx == 1) 10766 p = "int"; 10767 break; 10768 /* renameat */ 10769 case 501: 10770 if (ndx == 0 || ndx == 1) 10771 p = "int"; 10772 break; 10773 /* symlinkat */ 10774 case 502: 10775 if (ndx == 0 || ndx == 1) 10776 p = "int"; 10777 break; 10778 /* unlinkat */ 10779 case 503: 10780 if (ndx == 0 || ndx == 1) 10781 p = "int"; 10782 break; 10783 /* posix_openpt */ 10784 case 504: 10785 if (ndx == 0 || ndx == 1) 10786 p = "int"; 10787 break; 10788 /* gssd_syscall */ 10789 case 505: 10790 if (ndx == 0 || ndx == 1) 10791 p = "int"; 10792 break; 10793 /* jail_get */ 10794 case 506: 10795 if (ndx == 0 || ndx == 1) 10796 p = "int"; 10797 break; 10798 /* jail_set */ 10799 case 507: 10800 if (ndx == 0 || ndx == 1) 10801 p = "int"; 10802 break; 10803 /* jail_remove */ 10804 case 508: 10805 if (ndx == 0 || ndx == 1) 10806 p = "int"; 10807 break; 10808 /* closefrom */ 10809 case 509: 10810 if (ndx == 0 || ndx == 1) 10811 p = "int"; 10812 break; 10813 /* __semctl */ 10814 case 510: 10815 if (ndx == 0 || ndx == 1) 10816 p = "int"; 10817 break; 10818 /* msgctl */ 10819 case 511: 10820 if (ndx == 0 || ndx == 1) 10821 p = "int"; 10822 break; 10823 /* shmctl */ 10824 case 512: 10825 if (ndx == 0 || ndx == 1) 10826 p = "int"; 10827 break; 10828 /* lpathconf */ 10829 case 513: 10830 if (ndx == 0 || ndx == 1) 10831 p = "int"; 10832 break; 10833 /* __cap_rights_get */ 10834 case 515: 10835 if (ndx == 0 || ndx == 1) 10836 p = "int"; 10837 break; 10838 /* cap_enter */ 10839 case 516: 10840 /* cap_getmode */ 10841 case 517: 10842 if (ndx == 0 || ndx == 1) 10843 p = "int"; 10844 break; 10845 /* pdfork */ 10846 case 518: 10847 if (ndx == 0 || ndx == 1) 10848 p = "int"; 10849 break; 10850 /* pdkill */ 10851 case 519: 10852 if (ndx == 0 || ndx == 1) 10853 p = "int"; 10854 break; 10855 /* pdgetpid */ 10856 case 520: 10857 if (ndx == 0 || ndx == 1) 10858 p = "int"; 10859 break; 10860 /* pselect */ 10861 case 522: 10862 if (ndx == 0 || ndx == 1) 10863 p = "int"; 10864 break; 10865 /* getloginclass */ 10866 case 523: 10867 if (ndx == 0 || ndx == 1) 10868 p = "int"; 10869 break; 10870 /* setloginclass */ 10871 case 524: 10872 if (ndx == 0 || ndx == 1) 10873 p = "int"; 10874 break; 10875 /* rctl_get_racct */ 10876 case 525: 10877 if (ndx == 0 || ndx == 1) 10878 p = "int"; 10879 break; 10880 /* rctl_get_rules */ 10881 case 526: 10882 if (ndx == 0 || ndx == 1) 10883 p = "int"; 10884 break; 10885 /* rctl_get_limits */ 10886 case 527: 10887 if (ndx == 0 || ndx == 1) 10888 p = "int"; 10889 break; 10890 /* rctl_add_rule */ 10891 case 528: 10892 if (ndx == 0 || ndx == 1) 10893 p = "int"; 10894 break; 10895 /* rctl_remove_rule */ 10896 case 529: 10897 if (ndx == 0 || ndx == 1) 10898 p = "int"; 10899 break; 10900 /* posix_fallocate */ 10901 case 530: 10902 if (ndx == 0 || ndx == 1) 10903 p = "int"; 10904 break; 10905 /* posix_fadvise */ 10906 case 531: 10907 if (ndx == 0 || ndx == 1) 10908 p = "int"; 10909 break; 10910 /* wait6 */ 10911 case 532: 10912 if (ndx == 0 || ndx == 1) 10913 p = "int"; 10914 break; 10915 /* cap_rights_limit */ 10916 case 533: 10917 if (ndx == 0 || ndx == 1) 10918 p = "int"; 10919 break; 10920 /* cap_ioctls_limit */ 10921 case 534: 10922 if (ndx == 0 || ndx == 1) 10923 p = "int"; 10924 break; 10925 /* cap_ioctls_get */ 10926 case 535: 10927 if (ndx == 0 || ndx == 1) 10928 p = "ssize_t"; 10929 break; 10930 /* cap_fcntls_limit */ 10931 case 536: 10932 if (ndx == 0 || ndx == 1) 10933 p = "int"; 10934 break; 10935 /* cap_fcntls_get */ 10936 case 537: 10937 if (ndx == 0 || ndx == 1) 10938 p = "int"; 10939 break; 10940 /* bindat */ 10941 case 538: 10942 if (ndx == 0 || ndx == 1) 10943 p = "int"; 10944 break; 10945 /* connectat */ 10946 case 539: 10947 if (ndx == 0 || ndx == 1) 10948 p = "int"; 10949 break; 10950 /* chflagsat */ 10951 case 540: 10952 if (ndx == 0 || ndx == 1) 10953 p = "int"; 10954 break; 10955 /* accept4 */ 10956 case 541: 10957 if (ndx == 0 || ndx == 1) 10958 p = "int"; 10959 break; 10960 /* pipe2 */ 10961 case 542: 10962 if (ndx == 0 || ndx == 1) 10963 p = "int"; 10964 break; 10965 /* aio_mlock */ 10966 case 543: 10967 if (ndx == 0 || ndx == 1) 10968 p = "int"; 10969 break; 10970 /* procctl */ 10971 case 544: 10972 if (ndx == 0 || ndx == 1) 10973 p = "int"; 10974 break; 10975 default: 10976 break; 10977 }; 10978 if (p != NULL) 10979 strlcpy(desc, p, descsz); 10980 } 10981