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 *__restrict */ 213 uarg[5] = (intptr_t) p->fromlenaddr; /* __socklen_t *__restrict */ 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 *__restrict */ 222 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t *__restrict */ 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 *__restrict */ 231 uarg[2] = (intptr_t) p->alen; /* __socklen_t *__restrict */ 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 *__restrict */ 240 uarg[2] = (intptr_t) p->alen; /* __socklen_t *__restrict */ 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_new */ 3130 case 514: { 3131 struct cap_new_args *p = params; 3132 iarg[0] = p->fd; /* int */ 3133 uarg[1] = p->rights; /* uint64_t */ 3134 *n_args = 2; 3135 break; 3136 } 3137 /* cap_rights_get */ 3138 case 515: { 3139 struct cap_rights_get_args *p = params; 3140 iarg[0] = p->fd; /* int */ 3141 uarg[1] = (intptr_t) p->rightsp; /* uint64_t * */ 3142 *n_args = 2; 3143 break; 3144 } 3145 /* cap_enter */ 3146 case 516: { 3147 *n_args = 0; 3148 break; 3149 } 3150 /* cap_getmode */ 3151 case 517: { 3152 struct cap_getmode_args *p = params; 3153 uarg[0] = (intptr_t) p->modep; /* u_int * */ 3154 *n_args = 1; 3155 break; 3156 } 3157 /* pdfork */ 3158 case 518: { 3159 struct pdfork_args *p = params; 3160 uarg[0] = (intptr_t) p->fdp; /* int * */ 3161 iarg[1] = p->flags; /* int */ 3162 *n_args = 2; 3163 break; 3164 } 3165 /* pdkill */ 3166 case 519: { 3167 struct pdkill_args *p = params; 3168 iarg[0] = p->fd; /* int */ 3169 iarg[1] = p->signum; /* int */ 3170 *n_args = 2; 3171 break; 3172 } 3173 /* pdgetpid */ 3174 case 520: { 3175 struct pdgetpid_args *p = params; 3176 iarg[0] = p->fd; /* int */ 3177 uarg[1] = (intptr_t) p->pidp; /* pid_t * */ 3178 *n_args = 2; 3179 break; 3180 } 3181 /* pselect */ 3182 case 522: { 3183 struct pselect_args *p = params; 3184 iarg[0] = p->nd; /* int */ 3185 uarg[1] = (intptr_t) p->in; /* fd_set * */ 3186 uarg[2] = (intptr_t) p->ou; /* fd_set * */ 3187 uarg[3] = (intptr_t) p->ex; /* fd_set * */ 3188 uarg[4] = (intptr_t) p->ts; /* const struct timespec * */ 3189 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */ 3190 *n_args = 6; 3191 break; 3192 } 3193 /* getloginclass */ 3194 case 523: { 3195 struct getloginclass_args *p = params; 3196 uarg[0] = (intptr_t) p->namebuf; /* char * */ 3197 uarg[1] = p->namelen; /* size_t */ 3198 *n_args = 2; 3199 break; 3200 } 3201 /* setloginclass */ 3202 case 524: { 3203 struct setloginclass_args *p = params; 3204 uarg[0] = (intptr_t) p->namebuf; /* const char * */ 3205 *n_args = 1; 3206 break; 3207 } 3208 /* rctl_get_racct */ 3209 case 525: { 3210 struct rctl_get_racct_args *p = params; 3211 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 3212 uarg[1] = p->inbuflen; /* size_t */ 3213 uarg[2] = (intptr_t) p->outbufp; /* void * */ 3214 uarg[3] = p->outbuflen; /* size_t */ 3215 *n_args = 4; 3216 break; 3217 } 3218 /* rctl_get_rules */ 3219 case 526: { 3220 struct rctl_get_rules_args *p = params; 3221 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 3222 uarg[1] = p->inbuflen; /* size_t */ 3223 uarg[2] = (intptr_t) p->outbufp; /* void * */ 3224 uarg[3] = p->outbuflen; /* size_t */ 3225 *n_args = 4; 3226 break; 3227 } 3228 /* rctl_get_limits */ 3229 case 527: { 3230 struct rctl_get_limits_args *p = params; 3231 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 3232 uarg[1] = p->inbuflen; /* size_t */ 3233 uarg[2] = (intptr_t) p->outbufp; /* void * */ 3234 uarg[3] = p->outbuflen; /* size_t */ 3235 *n_args = 4; 3236 break; 3237 } 3238 /* rctl_add_rule */ 3239 case 528: { 3240 struct rctl_add_rule_args *p = params; 3241 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 3242 uarg[1] = p->inbuflen; /* size_t */ 3243 uarg[2] = (intptr_t) p->outbufp; /* void * */ 3244 uarg[3] = p->outbuflen; /* size_t */ 3245 *n_args = 4; 3246 break; 3247 } 3248 /* rctl_remove_rule */ 3249 case 529: { 3250 struct rctl_remove_rule_args *p = params; 3251 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 3252 uarg[1] = p->inbuflen; /* size_t */ 3253 uarg[2] = (intptr_t) p->outbufp; /* void * */ 3254 uarg[3] = p->outbuflen; /* size_t */ 3255 *n_args = 4; 3256 break; 3257 } 3258 /* posix_fallocate */ 3259 case 530: { 3260 struct posix_fallocate_args *p = params; 3261 iarg[0] = p->fd; /* int */ 3262 iarg[1] = p->offset; /* off_t */ 3263 iarg[2] = p->len; /* off_t */ 3264 *n_args = 3; 3265 break; 3266 } 3267 /* posix_fadvise */ 3268 case 531: { 3269 struct posix_fadvise_args *p = params; 3270 iarg[0] = p->fd; /* int */ 3271 iarg[1] = p->offset; /* off_t */ 3272 iarg[2] = p->len; /* off_t */ 3273 iarg[3] = p->advice; /* int */ 3274 *n_args = 4; 3275 break; 3276 } 3277 /* wait6 */ 3278 case 532: { 3279 struct wait6_args *p = params; 3280 iarg[0] = p->idtype; /* int */ 3281 iarg[1] = p->id; /* int */ 3282 uarg[2] = (intptr_t) p->status; /* int * */ 3283 iarg[3] = p->options; /* int */ 3284 uarg[4] = (intptr_t) p->wrusage; /* struct __wrusage * */ 3285 uarg[5] = (intptr_t) p->info; /* siginfo_t * */ 3286 *n_args = 6; 3287 break; 3288 } 3289 /* cap_rights_limit */ 3290 case 533: { 3291 struct cap_rights_limit_args *p = params; 3292 iarg[0] = p->fd; /* int */ 3293 uarg[1] = p->rights; /* uint64_t */ 3294 *n_args = 2; 3295 break; 3296 } 3297 /* cap_ioctls_limit */ 3298 case 534: { 3299 struct cap_ioctls_limit_args *p = params; 3300 iarg[0] = p->fd; /* int */ 3301 uarg[1] = (intptr_t) p->cmds; /* const u_long * */ 3302 uarg[2] = p->ncmds; /* size_t */ 3303 *n_args = 3; 3304 break; 3305 } 3306 /* cap_ioctls_get */ 3307 case 535: { 3308 struct cap_ioctls_get_args *p = params; 3309 iarg[0] = p->fd; /* int */ 3310 uarg[1] = (intptr_t) p->cmds; /* u_long * */ 3311 uarg[2] = p->maxcmds; /* size_t */ 3312 *n_args = 3; 3313 break; 3314 } 3315 /* cap_fcntls_limit */ 3316 case 536: { 3317 struct cap_fcntls_limit_args *p = params; 3318 iarg[0] = p->fd; /* int */ 3319 uarg[1] = p->fcntlrights; /* uint32_t */ 3320 *n_args = 2; 3321 break; 3322 } 3323 /* cap_fcntls_get */ 3324 case 537: { 3325 struct cap_fcntls_get_args *p = params; 3326 iarg[0] = p->fd; /* int */ 3327 uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */ 3328 *n_args = 2; 3329 break; 3330 } 3331 /* bindat */ 3332 case 538: { 3333 struct bindat_args *p = params; 3334 iarg[0] = p->fd; /* int */ 3335 iarg[1] = p->s; /* int */ 3336 uarg[2] = (intptr_t) p->name; /* caddr_t */ 3337 iarg[3] = p->namelen; /* int */ 3338 *n_args = 4; 3339 break; 3340 } 3341 /* connectat */ 3342 case 539: { 3343 struct connectat_args *p = params; 3344 iarg[0] = p->fd; /* int */ 3345 iarg[1] = p->s; /* int */ 3346 uarg[2] = (intptr_t) p->name; /* caddr_t */ 3347 iarg[3] = p->namelen; /* int */ 3348 *n_args = 4; 3349 break; 3350 } 3351 /* chflagsat */ 3352 case 540: { 3353 struct chflagsat_args *p = params; 3354 iarg[0] = p->fd; /* int */ 3355 uarg[1] = (intptr_t) p->path; /* const char * */ 3356 uarg[2] = p->flags; /* u_long */ 3357 iarg[3] = p->atflag; /* int */ 3358 *n_args = 4; 3359 break; 3360 } 3361 default: 3362 *n_args = 0; 3363 break; 3364 }; 3365 } 3366 static void 3367 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 3368 { 3369 const char *p = NULL; 3370 switch (sysnum) { 3371 /* nosys */ 3372 case 0: 3373 break; 3374 /* sys_exit */ 3375 case 1: 3376 switch(ndx) { 3377 case 0: 3378 p = "int"; 3379 break; 3380 default: 3381 break; 3382 }; 3383 break; 3384 /* fork */ 3385 case 2: 3386 break; 3387 /* read */ 3388 case 3: 3389 switch(ndx) { 3390 case 0: 3391 p = "int"; 3392 break; 3393 case 1: 3394 p = "void *"; 3395 break; 3396 case 2: 3397 p = "size_t"; 3398 break; 3399 default: 3400 break; 3401 }; 3402 break; 3403 /* write */ 3404 case 4: 3405 switch(ndx) { 3406 case 0: 3407 p = "int"; 3408 break; 3409 case 1: 3410 p = "const void *"; 3411 break; 3412 case 2: 3413 p = "size_t"; 3414 break; 3415 default: 3416 break; 3417 }; 3418 break; 3419 /* open */ 3420 case 5: 3421 switch(ndx) { 3422 case 0: 3423 p = "char *"; 3424 break; 3425 case 1: 3426 p = "int"; 3427 break; 3428 case 2: 3429 p = "int"; 3430 break; 3431 default: 3432 break; 3433 }; 3434 break; 3435 /* close */ 3436 case 6: 3437 switch(ndx) { 3438 case 0: 3439 p = "int"; 3440 break; 3441 default: 3442 break; 3443 }; 3444 break; 3445 /* wait4 */ 3446 case 7: 3447 switch(ndx) { 3448 case 0: 3449 p = "int"; 3450 break; 3451 case 1: 3452 p = "int *"; 3453 break; 3454 case 2: 3455 p = "int"; 3456 break; 3457 case 3: 3458 p = "struct rusage *"; 3459 break; 3460 default: 3461 break; 3462 }; 3463 break; 3464 /* link */ 3465 case 9: 3466 switch(ndx) { 3467 case 0: 3468 p = "char *"; 3469 break; 3470 case 1: 3471 p = "char *"; 3472 break; 3473 default: 3474 break; 3475 }; 3476 break; 3477 /* unlink */ 3478 case 10: 3479 switch(ndx) { 3480 case 0: 3481 p = "char *"; 3482 break; 3483 default: 3484 break; 3485 }; 3486 break; 3487 /* chdir */ 3488 case 12: 3489 switch(ndx) { 3490 case 0: 3491 p = "char *"; 3492 break; 3493 default: 3494 break; 3495 }; 3496 break; 3497 /* fchdir */ 3498 case 13: 3499 switch(ndx) { 3500 case 0: 3501 p = "int"; 3502 break; 3503 default: 3504 break; 3505 }; 3506 break; 3507 /* mknod */ 3508 case 14: 3509 switch(ndx) { 3510 case 0: 3511 p = "char *"; 3512 break; 3513 case 1: 3514 p = "int"; 3515 break; 3516 case 2: 3517 p = "int"; 3518 break; 3519 default: 3520 break; 3521 }; 3522 break; 3523 /* chmod */ 3524 case 15: 3525 switch(ndx) { 3526 case 0: 3527 p = "char *"; 3528 break; 3529 case 1: 3530 p = "int"; 3531 break; 3532 default: 3533 break; 3534 }; 3535 break; 3536 /* chown */ 3537 case 16: 3538 switch(ndx) { 3539 case 0: 3540 p = "char *"; 3541 break; 3542 case 1: 3543 p = "int"; 3544 break; 3545 case 2: 3546 p = "int"; 3547 break; 3548 default: 3549 break; 3550 }; 3551 break; 3552 /* obreak */ 3553 case 17: 3554 switch(ndx) { 3555 case 0: 3556 p = "char *"; 3557 break; 3558 default: 3559 break; 3560 }; 3561 break; 3562 /* getpid */ 3563 case 20: 3564 break; 3565 /* mount */ 3566 case 21: 3567 switch(ndx) { 3568 case 0: 3569 p = "char *"; 3570 break; 3571 case 1: 3572 p = "char *"; 3573 break; 3574 case 2: 3575 p = "int"; 3576 break; 3577 case 3: 3578 p = "caddr_t"; 3579 break; 3580 default: 3581 break; 3582 }; 3583 break; 3584 /* unmount */ 3585 case 22: 3586 switch(ndx) { 3587 case 0: 3588 p = "char *"; 3589 break; 3590 case 1: 3591 p = "int"; 3592 break; 3593 default: 3594 break; 3595 }; 3596 break; 3597 /* setuid */ 3598 case 23: 3599 switch(ndx) { 3600 case 0: 3601 p = "uid_t"; 3602 break; 3603 default: 3604 break; 3605 }; 3606 break; 3607 /* getuid */ 3608 case 24: 3609 break; 3610 /* geteuid */ 3611 case 25: 3612 break; 3613 /* ptrace */ 3614 case 26: 3615 switch(ndx) { 3616 case 0: 3617 p = "int"; 3618 break; 3619 case 1: 3620 p = "pid_t"; 3621 break; 3622 case 2: 3623 p = "caddr_t"; 3624 break; 3625 case 3: 3626 p = "int"; 3627 break; 3628 default: 3629 break; 3630 }; 3631 break; 3632 /* recvmsg */ 3633 case 27: 3634 switch(ndx) { 3635 case 0: 3636 p = "int"; 3637 break; 3638 case 1: 3639 p = "struct msghdr *"; 3640 break; 3641 case 2: 3642 p = "int"; 3643 break; 3644 default: 3645 break; 3646 }; 3647 break; 3648 /* sendmsg */ 3649 case 28: 3650 switch(ndx) { 3651 case 0: 3652 p = "int"; 3653 break; 3654 case 1: 3655 p = "struct msghdr *"; 3656 break; 3657 case 2: 3658 p = "int"; 3659 break; 3660 default: 3661 break; 3662 }; 3663 break; 3664 /* recvfrom */ 3665 case 29: 3666 switch(ndx) { 3667 case 0: 3668 p = "int"; 3669 break; 3670 case 1: 3671 p = "caddr_t"; 3672 break; 3673 case 2: 3674 p = "size_t"; 3675 break; 3676 case 3: 3677 p = "int"; 3678 break; 3679 case 4: 3680 p = "struct sockaddr *__restrict"; 3681 break; 3682 case 5: 3683 p = "__socklen_t *__restrict"; 3684 break; 3685 default: 3686 break; 3687 }; 3688 break; 3689 /* accept */ 3690 case 30: 3691 switch(ndx) { 3692 case 0: 3693 p = "int"; 3694 break; 3695 case 1: 3696 p = "struct sockaddr *__restrict"; 3697 break; 3698 case 2: 3699 p = "__socklen_t *__restrict"; 3700 break; 3701 default: 3702 break; 3703 }; 3704 break; 3705 /* getpeername */ 3706 case 31: 3707 switch(ndx) { 3708 case 0: 3709 p = "int"; 3710 break; 3711 case 1: 3712 p = "struct sockaddr *__restrict"; 3713 break; 3714 case 2: 3715 p = "__socklen_t *__restrict"; 3716 break; 3717 default: 3718 break; 3719 }; 3720 break; 3721 /* getsockname */ 3722 case 32: 3723 switch(ndx) { 3724 case 0: 3725 p = "int"; 3726 break; 3727 case 1: 3728 p = "struct sockaddr *__restrict"; 3729 break; 3730 case 2: 3731 p = "__socklen_t *__restrict"; 3732 break; 3733 default: 3734 break; 3735 }; 3736 break; 3737 /* access */ 3738 case 33: 3739 switch(ndx) { 3740 case 0: 3741 p = "char *"; 3742 break; 3743 case 1: 3744 p = "int"; 3745 break; 3746 default: 3747 break; 3748 }; 3749 break; 3750 /* chflags */ 3751 case 34: 3752 switch(ndx) { 3753 case 0: 3754 p = "const char *"; 3755 break; 3756 case 1: 3757 p = "u_long"; 3758 break; 3759 default: 3760 break; 3761 }; 3762 break; 3763 /* fchflags */ 3764 case 35: 3765 switch(ndx) { 3766 case 0: 3767 p = "int"; 3768 break; 3769 case 1: 3770 p = "u_long"; 3771 break; 3772 default: 3773 break; 3774 }; 3775 break; 3776 /* sync */ 3777 case 36: 3778 break; 3779 /* kill */ 3780 case 37: 3781 switch(ndx) { 3782 case 0: 3783 p = "int"; 3784 break; 3785 case 1: 3786 p = "int"; 3787 break; 3788 default: 3789 break; 3790 }; 3791 break; 3792 /* getppid */ 3793 case 39: 3794 break; 3795 /* dup */ 3796 case 41: 3797 switch(ndx) { 3798 case 0: 3799 p = "u_int"; 3800 break; 3801 default: 3802 break; 3803 }; 3804 break; 3805 /* pipe */ 3806 case 42: 3807 break; 3808 /* getegid */ 3809 case 43: 3810 break; 3811 /* profil */ 3812 case 44: 3813 switch(ndx) { 3814 case 0: 3815 p = "caddr_t"; 3816 break; 3817 case 1: 3818 p = "size_t"; 3819 break; 3820 case 2: 3821 p = "size_t"; 3822 break; 3823 case 3: 3824 p = "u_int"; 3825 break; 3826 default: 3827 break; 3828 }; 3829 break; 3830 /* ktrace */ 3831 case 45: 3832 switch(ndx) { 3833 case 0: 3834 p = "const char *"; 3835 break; 3836 case 1: 3837 p = "int"; 3838 break; 3839 case 2: 3840 p = "int"; 3841 break; 3842 case 3: 3843 p = "int"; 3844 break; 3845 default: 3846 break; 3847 }; 3848 break; 3849 /* getgid */ 3850 case 47: 3851 break; 3852 /* getlogin */ 3853 case 49: 3854 switch(ndx) { 3855 case 0: 3856 p = "char *"; 3857 break; 3858 case 1: 3859 p = "u_int"; 3860 break; 3861 default: 3862 break; 3863 }; 3864 break; 3865 /* setlogin */ 3866 case 50: 3867 switch(ndx) { 3868 case 0: 3869 p = "char *"; 3870 break; 3871 default: 3872 break; 3873 }; 3874 break; 3875 /* acct */ 3876 case 51: 3877 switch(ndx) { 3878 case 0: 3879 p = "char *"; 3880 break; 3881 default: 3882 break; 3883 }; 3884 break; 3885 /* sigaltstack */ 3886 case 53: 3887 switch(ndx) { 3888 case 0: 3889 p = "stack_t *"; 3890 break; 3891 case 1: 3892 p = "stack_t *"; 3893 break; 3894 default: 3895 break; 3896 }; 3897 break; 3898 /* ioctl */ 3899 case 54: 3900 switch(ndx) { 3901 case 0: 3902 p = "int"; 3903 break; 3904 case 1: 3905 p = "u_long"; 3906 break; 3907 case 2: 3908 p = "caddr_t"; 3909 break; 3910 default: 3911 break; 3912 }; 3913 break; 3914 /* reboot */ 3915 case 55: 3916 switch(ndx) { 3917 case 0: 3918 p = "int"; 3919 break; 3920 default: 3921 break; 3922 }; 3923 break; 3924 /* revoke */ 3925 case 56: 3926 switch(ndx) { 3927 case 0: 3928 p = "char *"; 3929 break; 3930 default: 3931 break; 3932 }; 3933 break; 3934 /* symlink */ 3935 case 57: 3936 switch(ndx) { 3937 case 0: 3938 p = "char *"; 3939 break; 3940 case 1: 3941 p = "char *"; 3942 break; 3943 default: 3944 break; 3945 }; 3946 break; 3947 /* readlink */ 3948 case 58: 3949 switch(ndx) { 3950 case 0: 3951 p = "char *"; 3952 break; 3953 case 1: 3954 p = "char *"; 3955 break; 3956 case 2: 3957 p = "size_t"; 3958 break; 3959 default: 3960 break; 3961 }; 3962 break; 3963 /* execve */ 3964 case 59: 3965 switch(ndx) { 3966 case 0: 3967 p = "char *"; 3968 break; 3969 case 1: 3970 p = "char **"; 3971 break; 3972 case 2: 3973 p = "char **"; 3974 break; 3975 default: 3976 break; 3977 }; 3978 break; 3979 /* umask */ 3980 case 60: 3981 switch(ndx) { 3982 case 0: 3983 p = "int"; 3984 break; 3985 default: 3986 break; 3987 }; 3988 break; 3989 /* chroot */ 3990 case 61: 3991 switch(ndx) { 3992 case 0: 3993 p = "char *"; 3994 break; 3995 default: 3996 break; 3997 }; 3998 break; 3999 /* msync */ 4000 case 65: 4001 switch(ndx) { 4002 case 0: 4003 p = "void *"; 4004 break; 4005 case 1: 4006 p = "size_t"; 4007 break; 4008 case 2: 4009 p = "int"; 4010 break; 4011 default: 4012 break; 4013 }; 4014 break; 4015 /* vfork */ 4016 case 66: 4017 break; 4018 /* sbrk */ 4019 case 69: 4020 switch(ndx) { 4021 case 0: 4022 p = "int"; 4023 break; 4024 default: 4025 break; 4026 }; 4027 break; 4028 /* sstk */ 4029 case 70: 4030 switch(ndx) { 4031 case 0: 4032 p = "int"; 4033 break; 4034 default: 4035 break; 4036 }; 4037 break; 4038 /* ovadvise */ 4039 case 72: 4040 switch(ndx) { 4041 case 0: 4042 p = "int"; 4043 break; 4044 default: 4045 break; 4046 }; 4047 break; 4048 /* munmap */ 4049 case 73: 4050 switch(ndx) { 4051 case 0: 4052 p = "void *"; 4053 break; 4054 case 1: 4055 p = "size_t"; 4056 break; 4057 default: 4058 break; 4059 }; 4060 break; 4061 /* mprotect */ 4062 case 74: 4063 switch(ndx) { 4064 case 0: 4065 p = "const void *"; 4066 break; 4067 case 1: 4068 p = "size_t"; 4069 break; 4070 case 2: 4071 p = "int"; 4072 break; 4073 default: 4074 break; 4075 }; 4076 break; 4077 /* madvise */ 4078 case 75: 4079 switch(ndx) { 4080 case 0: 4081 p = "void *"; 4082 break; 4083 case 1: 4084 p = "size_t"; 4085 break; 4086 case 2: 4087 p = "int"; 4088 break; 4089 default: 4090 break; 4091 }; 4092 break; 4093 /* mincore */ 4094 case 78: 4095 switch(ndx) { 4096 case 0: 4097 p = "const void *"; 4098 break; 4099 case 1: 4100 p = "size_t"; 4101 break; 4102 case 2: 4103 p = "char *"; 4104 break; 4105 default: 4106 break; 4107 }; 4108 break; 4109 /* getgroups */ 4110 case 79: 4111 switch(ndx) { 4112 case 0: 4113 p = "u_int"; 4114 break; 4115 case 1: 4116 p = "gid_t *"; 4117 break; 4118 default: 4119 break; 4120 }; 4121 break; 4122 /* setgroups */ 4123 case 80: 4124 switch(ndx) { 4125 case 0: 4126 p = "u_int"; 4127 break; 4128 case 1: 4129 p = "gid_t *"; 4130 break; 4131 default: 4132 break; 4133 }; 4134 break; 4135 /* getpgrp */ 4136 case 81: 4137 break; 4138 /* setpgid */ 4139 case 82: 4140 switch(ndx) { 4141 case 0: 4142 p = "int"; 4143 break; 4144 case 1: 4145 p = "int"; 4146 break; 4147 default: 4148 break; 4149 }; 4150 break; 4151 /* setitimer */ 4152 case 83: 4153 switch(ndx) { 4154 case 0: 4155 p = "u_int"; 4156 break; 4157 case 1: 4158 p = "struct itimerval *"; 4159 break; 4160 case 2: 4161 p = "struct itimerval *"; 4162 break; 4163 default: 4164 break; 4165 }; 4166 break; 4167 /* swapon */ 4168 case 85: 4169 switch(ndx) { 4170 case 0: 4171 p = "char *"; 4172 break; 4173 default: 4174 break; 4175 }; 4176 break; 4177 /* getitimer */ 4178 case 86: 4179 switch(ndx) { 4180 case 0: 4181 p = "u_int"; 4182 break; 4183 case 1: 4184 p = "struct itimerval *"; 4185 break; 4186 default: 4187 break; 4188 }; 4189 break; 4190 /* getdtablesize */ 4191 case 89: 4192 break; 4193 /* dup2 */ 4194 case 90: 4195 switch(ndx) { 4196 case 0: 4197 p = "u_int"; 4198 break; 4199 case 1: 4200 p = "u_int"; 4201 break; 4202 default: 4203 break; 4204 }; 4205 break; 4206 /* fcntl */ 4207 case 92: 4208 switch(ndx) { 4209 case 0: 4210 p = "int"; 4211 break; 4212 case 1: 4213 p = "int"; 4214 break; 4215 case 2: 4216 p = "long"; 4217 break; 4218 default: 4219 break; 4220 }; 4221 break; 4222 /* select */ 4223 case 93: 4224 switch(ndx) { 4225 case 0: 4226 p = "int"; 4227 break; 4228 case 1: 4229 p = "fd_set *"; 4230 break; 4231 case 2: 4232 p = "fd_set *"; 4233 break; 4234 case 3: 4235 p = "fd_set *"; 4236 break; 4237 case 4: 4238 p = "struct timeval *"; 4239 break; 4240 default: 4241 break; 4242 }; 4243 break; 4244 /* fsync */ 4245 case 95: 4246 switch(ndx) { 4247 case 0: 4248 p = "int"; 4249 break; 4250 default: 4251 break; 4252 }; 4253 break; 4254 /* setpriority */ 4255 case 96: 4256 switch(ndx) { 4257 case 0: 4258 p = "int"; 4259 break; 4260 case 1: 4261 p = "int"; 4262 break; 4263 case 2: 4264 p = "int"; 4265 break; 4266 default: 4267 break; 4268 }; 4269 break; 4270 /* socket */ 4271 case 97: 4272 switch(ndx) { 4273 case 0: 4274 p = "int"; 4275 break; 4276 case 1: 4277 p = "int"; 4278 break; 4279 case 2: 4280 p = "int"; 4281 break; 4282 default: 4283 break; 4284 }; 4285 break; 4286 /* connect */ 4287 case 98: 4288 switch(ndx) { 4289 case 0: 4290 p = "int"; 4291 break; 4292 case 1: 4293 p = "caddr_t"; 4294 break; 4295 case 2: 4296 p = "int"; 4297 break; 4298 default: 4299 break; 4300 }; 4301 break; 4302 /* getpriority */ 4303 case 100: 4304 switch(ndx) { 4305 case 0: 4306 p = "int"; 4307 break; 4308 case 1: 4309 p = "int"; 4310 break; 4311 default: 4312 break; 4313 }; 4314 break; 4315 /* bind */ 4316 case 104: 4317 switch(ndx) { 4318 case 0: 4319 p = "int"; 4320 break; 4321 case 1: 4322 p = "caddr_t"; 4323 break; 4324 case 2: 4325 p = "int"; 4326 break; 4327 default: 4328 break; 4329 }; 4330 break; 4331 /* setsockopt */ 4332 case 105: 4333 switch(ndx) { 4334 case 0: 4335 p = "int"; 4336 break; 4337 case 1: 4338 p = "int"; 4339 break; 4340 case 2: 4341 p = "int"; 4342 break; 4343 case 3: 4344 p = "caddr_t"; 4345 break; 4346 case 4: 4347 p = "int"; 4348 break; 4349 default: 4350 break; 4351 }; 4352 break; 4353 /* listen */ 4354 case 106: 4355 switch(ndx) { 4356 case 0: 4357 p = "int"; 4358 break; 4359 case 1: 4360 p = "int"; 4361 break; 4362 default: 4363 break; 4364 }; 4365 break; 4366 /* gettimeofday */ 4367 case 116: 4368 switch(ndx) { 4369 case 0: 4370 p = "struct timeval *"; 4371 break; 4372 case 1: 4373 p = "struct timezone *"; 4374 break; 4375 default: 4376 break; 4377 }; 4378 break; 4379 /* getrusage */ 4380 case 117: 4381 switch(ndx) { 4382 case 0: 4383 p = "int"; 4384 break; 4385 case 1: 4386 p = "struct rusage *"; 4387 break; 4388 default: 4389 break; 4390 }; 4391 break; 4392 /* getsockopt */ 4393 case 118: 4394 switch(ndx) { 4395 case 0: 4396 p = "int"; 4397 break; 4398 case 1: 4399 p = "int"; 4400 break; 4401 case 2: 4402 p = "int"; 4403 break; 4404 case 3: 4405 p = "caddr_t"; 4406 break; 4407 case 4: 4408 p = "int *"; 4409 break; 4410 default: 4411 break; 4412 }; 4413 break; 4414 /* readv */ 4415 case 120: 4416 switch(ndx) { 4417 case 0: 4418 p = "int"; 4419 break; 4420 case 1: 4421 p = "struct iovec *"; 4422 break; 4423 case 2: 4424 p = "u_int"; 4425 break; 4426 default: 4427 break; 4428 }; 4429 break; 4430 /* writev */ 4431 case 121: 4432 switch(ndx) { 4433 case 0: 4434 p = "int"; 4435 break; 4436 case 1: 4437 p = "struct iovec *"; 4438 break; 4439 case 2: 4440 p = "u_int"; 4441 break; 4442 default: 4443 break; 4444 }; 4445 break; 4446 /* settimeofday */ 4447 case 122: 4448 switch(ndx) { 4449 case 0: 4450 p = "struct timeval *"; 4451 break; 4452 case 1: 4453 p = "struct timezone *"; 4454 break; 4455 default: 4456 break; 4457 }; 4458 break; 4459 /* fchown */ 4460 case 123: 4461 switch(ndx) { 4462 case 0: 4463 p = "int"; 4464 break; 4465 case 1: 4466 p = "int"; 4467 break; 4468 case 2: 4469 p = "int"; 4470 break; 4471 default: 4472 break; 4473 }; 4474 break; 4475 /* fchmod */ 4476 case 124: 4477 switch(ndx) { 4478 case 0: 4479 p = "int"; 4480 break; 4481 case 1: 4482 p = "int"; 4483 break; 4484 default: 4485 break; 4486 }; 4487 break; 4488 /* setreuid */ 4489 case 126: 4490 switch(ndx) { 4491 case 0: 4492 p = "int"; 4493 break; 4494 case 1: 4495 p = "int"; 4496 break; 4497 default: 4498 break; 4499 }; 4500 break; 4501 /* setregid */ 4502 case 127: 4503 switch(ndx) { 4504 case 0: 4505 p = "int"; 4506 break; 4507 case 1: 4508 p = "int"; 4509 break; 4510 default: 4511 break; 4512 }; 4513 break; 4514 /* rename */ 4515 case 128: 4516 switch(ndx) { 4517 case 0: 4518 p = "char *"; 4519 break; 4520 case 1: 4521 p = "char *"; 4522 break; 4523 default: 4524 break; 4525 }; 4526 break; 4527 /* flock */ 4528 case 131: 4529 switch(ndx) { 4530 case 0: 4531 p = "int"; 4532 break; 4533 case 1: 4534 p = "int"; 4535 break; 4536 default: 4537 break; 4538 }; 4539 break; 4540 /* mkfifo */ 4541 case 132: 4542 switch(ndx) { 4543 case 0: 4544 p = "char *"; 4545 break; 4546 case 1: 4547 p = "int"; 4548 break; 4549 default: 4550 break; 4551 }; 4552 break; 4553 /* sendto */ 4554 case 133: 4555 switch(ndx) { 4556 case 0: 4557 p = "int"; 4558 break; 4559 case 1: 4560 p = "caddr_t"; 4561 break; 4562 case 2: 4563 p = "size_t"; 4564 break; 4565 case 3: 4566 p = "int"; 4567 break; 4568 case 4: 4569 p = "caddr_t"; 4570 break; 4571 case 5: 4572 p = "int"; 4573 break; 4574 default: 4575 break; 4576 }; 4577 break; 4578 /* shutdown */ 4579 case 134: 4580 switch(ndx) { 4581 case 0: 4582 p = "int"; 4583 break; 4584 case 1: 4585 p = "int"; 4586 break; 4587 default: 4588 break; 4589 }; 4590 break; 4591 /* socketpair */ 4592 case 135: 4593 switch(ndx) { 4594 case 0: 4595 p = "int"; 4596 break; 4597 case 1: 4598 p = "int"; 4599 break; 4600 case 2: 4601 p = "int"; 4602 break; 4603 case 3: 4604 p = "int *"; 4605 break; 4606 default: 4607 break; 4608 }; 4609 break; 4610 /* mkdir */ 4611 case 136: 4612 switch(ndx) { 4613 case 0: 4614 p = "char *"; 4615 break; 4616 case 1: 4617 p = "int"; 4618 break; 4619 default: 4620 break; 4621 }; 4622 break; 4623 /* rmdir */ 4624 case 137: 4625 switch(ndx) { 4626 case 0: 4627 p = "char *"; 4628 break; 4629 default: 4630 break; 4631 }; 4632 break; 4633 /* utimes */ 4634 case 138: 4635 switch(ndx) { 4636 case 0: 4637 p = "char *"; 4638 break; 4639 case 1: 4640 p = "struct timeval *"; 4641 break; 4642 default: 4643 break; 4644 }; 4645 break; 4646 /* adjtime */ 4647 case 140: 4648 switch(ndx) { 4649 case 0: 4650 p = "struct timeval *"; 4651 break; 4652 case 1: 4653 p = "struct timeval *"; 4654 break; 4655 default: 4656 break; 4657 }; 4658 break; 4659 /* setsid */ 4660 case 147: 4661 break; 4662 /* quotactl */ 4663 case 148: 4664 switch(ndx) { 4665 case 0: 4666 p = "char *"; 4667 break; 4668 case 1: 4669 p = "int"; 4670 break; 4671 case 2: 4672 p = "int"; 4673 break; 4674 case 3: 4675 p = "caddr_t"; 4676 break; 4677 default: 4678 break; 4679 }; 4680 break; 4681 /* nlm_syscall */ 4682 case 154: 4683 switch(ndx) { 4684 case 0: 4685 p = "int"; 4686 break; 4687 case 1: 4688 p = "int"; 4689 break; 4690 case 2: 4691 p = "int"; 4692 break; 4693 case 3: 4694 p = "char **"; 4695 break; 4696 default: 4697 break; 4698 }; 4699 break; 4700 /* nfssvc */ 4701 case 155: 4702 switch(ndx) { 4703 case 0: 4704 p = "int"; 4705 break; 4706 case 1: 4707 p = "caddr_t"; 4708 break; 4709 default: 4710 break; 4711 }; 4712 break; 4713 /* lgetfh */ 4714 case 160: 4715 switch(ndx) { 4716 case 0: 4717 p = "char *"; 4718 break; 4719 case 1: 4720 p = "struct fhandle *"; 4721 break; 4722 default: 4723 break; 4724 }; 4725 break; 4726 /* getfh */ 4727 case 161: 4728 switch(ndx) { 4729 case 0: 4730 p = "char *"; 4731 break; 4732 case 1: 4733 p = "struct fhandle *"; 4734 break; 4735 default: 4736 break; 4737 }; 4738 break; 4739 /* sysarch */ 4740 case 165: 4741 switch(ndx) { 4742 case 0: 4743 p = "int"; 4744 break; 4745 case 1: 4746 p = "char *"; 4747 break; 4748 default: 4749 break; 4750 }; 4751 break; 4752 /* rtprio */ 4753 case 166: 4754 switch(ndx) { 4755 case 0: 4756 p = "int"; 4757 break; 4758 case 1: 4759 p = "pid_t"; 4760 break; 4761 case 2: 4762 p = "struct rtprio *"; 4763 break; 4764 default: 4765 break; 4766 }; 4767 break; 4768 /* semsys */ 4769 case 169: 4770 switch(ndx) { 4771 case 0: 4772 p = "int"; 4773 break; 4774 case 1: 4775 p = "int"; 4776 break; 4777 case 2: 4778 p = "int"; 4779 break; 4780 case 3: 4781 p = "int"; 4782 break; 4783 case 4: 4784 p = "int"; 4785 break; 4786 default: 4787 break; 4788 }; 4789 break; 4790 /* msgsys */ 4791 case 170: 4792 switch(ndx) { 4793 case 0: 4794 p = "int"; 4795 break; 4796 case 1: 4797 p = "int"; 4798 break; 4799 case 2: 4800 p = "int"; 4801 break; 4802 case 3: 4803 p = "int"; 4804 break; 4805 case 4: 4806 p = "int"; 4807 break; 4808 case 5: 4809 p = "int"; 4810 break; 4811 default: 4812 break; 4813 }; 4814 break; 4815 /* shmsys */ 4816 case 171: 4817 switch(ndx) { 4818 case 0: 4819 p = "int"; 4820 break; 4821 case 1: 4822 p = "int"; 4823 break; 4824 case 2: 4825 p = "int"; 4826 break; 4827 case 3: 4828 p = "int"; 4829 break; 4830 default: 4831 break; 4832 }; 4833 break; 4834 /* freebsd6_pread */ 4835 case 173: 4836 switch(ndx) { 4837 case 0: 4838 p = "int"; 4839 break; 4840 case 1: 4841 p = "void *"; 4842 break; 4843 case 2: 4844 p = "size_t"; 4845 break; 4846 case 3: 4847 p = "int"; 4848 break; 4849 case 4: 4850 p = "off_t"; 4851 break; 4852 default: 4853 break; 4854 }; 4855 break; 4856 /* freebsd6_pwrite */ 4857 case 174: 4858 switch(ndx) { 4859 case 0: 4860 p = "int"; 4861 break; 4862 case 1: 4863 p = "const void *"; 4864 break; 4865 case 2: 4866 p = "size_t"; 4867 break; 4868 case 3: 4869 p = "int"; 4870 break; 4871 case 4: 4872 p = "off_t"; 4873 break; 4874 default: 4875 break; 4876 }; 4877 break; 4878 /* setfib */ 4879 case 175: 4880 switch(ndx) { 4881 case 0: 4882 p = "int"; 4883 break; 4884 default: 4885 break; 4886 }; 4887 break; 4888 /* ntp_adjtime */ 4889 case 176: 4890 switch(ndx) { 4891 case 0: 4892 p = "struct timex *"; 4893 break; 4894 default: 4895 break; 4896 }; 4897 break; 4898 /* setgid */ 4899 case 181: 4900 switch(ndx) { 4901 case 0: 4902 p = "gid_t"; 4903 break; 4904 default: 4905 break; 4906 }; 4907 break; 4908 /* setegid */ 4909 case 182: 4910 switch(ndx) { 4911 case 0: 4912 p = "gid_t"; 4913 break; 4914 default: 4915 break; 4916 }; 4917 break; 4918 /* seteuid */ 4919 case 183: 4920 switch(ndx) { 4921 case 0: 4922 p = "uid_t"; 4923 break; 4924 default: 4925 break; 4926 }; 4927 break; 4928 /* stat */ 4929 case 188: 4930 switch(ndx) { 4931 case 0: 4932 p = "char *"; 4933 break; 4934 case 1: 4935 p = "struct stat *"; 4936 break; 4937 default: 4938 break; 4939 }; 4940 break; 4941 /* fstat */ 4942 case 189: 4943 switch(ndx) { 4944 case 0: 4945 p = "int"; 4946 break; 4947 case 1: 4948 p = "struct stat *"; 4949 break; 4950 default: 4951 break; 4952 }; 4953 break; 4954 /* lstat */ 4955 case 190: 4956 switch(ndx) { 4957 case 0: 4958 p = "char *"; 4959 break; 4960 case 1: 4961 p = "struct stat *"; 4962 break; 4963 default: 4964 break; 4965 }; 4966 break; 4967 /* pathconf */ 4968 case 191: 4969 switch(ndx) { 4970 case 0: 4971 p = "char *"; 4972 break; 4973 case 1: 4974 p = "int"; 4975 break; 4976 default: 4977 break; 4978 }; 4979 break; 4980 /* fpathconf */ 4981 case 192: 4982 switch(ndx) { 4983 case 0: 4984 p = "int"; 4985 break; 4986 case 1: 4987 p = "int"; 4988 break; 4989 default: 4990 break; 4991 }; 4992 break; 4993 /* getrlimit */ 4994 case 194: 4995 switch(ndx) { 4996 case 0: 4997 p = "u_int"; 4998 break; 4999 case 1: 5000 p = "struct rlimit *"; 5001 break; 5002 default: 5003 break; 5004 }; 5005 break; 5006 /* setrlimit */ 5007 case 195: 5008 switch(ndx) { 5009 case 0: 5010 p = "u_int"; 5011 break; 5012 case 1: 5013 p = "struct rlimit *"; 5014 break; 5015 default: 5016 break; 5017 }; 5018 break; 5019 /* getdirentries */ 5020 case 196: 5021 switch(ndx) { 5022 case 0: 5023 p = "int"; 5024 break; 5025 case 1: 5026 p = "char *"; 5027 break; 5028 case 2: 5029 p = "u_int"; 5030 break; 5031 case 3: 5032 p = "long *"; 5033 break; 5034 default: 5035 break; 5036 }; 5037 break; 5038 /* freebsd6_mmap */ 5039 case 197: 5040 switch(ndx) { 5041 case 0: 5042 p = "caddr_t"; 5043 break; 5044 case 1: 5045 p = "size_t"; 5046 break; 5047 case 2: 5048 p = "int"; 5049 break; 5050 case 3: 5051 p = "int"; 5052 break; 5053 case 4: 5054 p = "int"; 5055 break; 5056 case 5: 5057 p = "int"; 5058 break; 5059 case 6: 5060 p = "off_t"; 5061 break; 5062 default: 5063 break; 5064 }; 5065 break; 5066 /* nosys */ 5067 case 198: 5068 break; 5069 /* freebsd6_lseek */ 5070 case 199: 5071 switch(ndx) { 5072 case 0: 5073 p = "int"; 5074 break; 5075 case 1: 5076 p = "int"; 5077 break; 5078 case 2: 5079 p = "off_t"; 5080 break; 5081 case 3: 5082 p = "int"; 5083 break; 5084 default: 5085 break; 5086 }; 5087 break; 5088 /* freebsd6_truncate */ 5089 case 200: 5090 switch(ndx) { 5091 case 0: 5092 p = "char *"; 5093 break; 5094 case 1: 5095 p = "int"; 5096 break; 5097 case 2: 5098 p = "off_t"; 5099 break; 5100 default: 5101 break; 5102 }; 5103 break; 5104 /* freebsd6_ftruncate */ 5105 case 201: 5106 switch(ndx) { 5107 case 0: 5108 p = "int"; 5109 break; 5110 case 1: 5111 p = "int"; 5112 break; 5113 case 2: 5114 p = "off_t"; 5115 break; 5116 default: 5117 break; 5118 }; 5119 break; 5120 /* __sysctl */ 5121 case 202: 5122 switch(ndx) { 5123 case 0: 5124 p = "int *"; 5125 break; 5126 case 1: 5127 p = "u_int"; 5128 break; 5129 case 2: 5130 p = "void *"; 5131 break; 5132 case 3: 5133 p = "size_t *"; 5134 break; 5135 case 4: 5136 p = "void *"; 5137 break; 5138 case 5: 5139 p = "size_t"; 5140 break; 5141 default: 5142 break; 5143 }; 5144 break; 5145 /* mlock */ 5146 case 203: 5147 switch(ndx) { 5148 case 0: 5149 p = "const void *"; 5150 break; 5151 case 1: 5152 p = "size_t"; 5153 break; 5154 default: 5155 break; 5156 }; 5157 break; 5158 /* munlock */ 5159 case 204: 5160 switch(ndx) { 5161 case 0: 5162 p = "const void *"; 5163 break; 5164 case 1: 5165 p = "size_t"; 5166 break; 5167 default: 5168 break; 5169 }; 5170 break; 5171 /* undelete */ 5172 case 205: 5173 switch(ndx) { 5174 case 0: 5175 p = "char *"; 5176 break; 5177 default: 5178 break; 5179 }; 5180 break; 5181 /* futimes */ 5182 case 206: 5183 switch(ndx) { 5184 case 0: 5185 p = "int"; 5186 break; 5187 case 1: 5188 p = "struct timeval *"; 5189 break; 5190 default: 5191 break; 5192 }; 5193 break; 5194 /* getpgid */ 5195 case 207: 5196 switch(ndx) { 5197 case 0: 5198 p = "pid_t"; 5199 break; 5200 default: 5201 break; 5202 }; 5203 break; 5204 /* poll */ 5205 case 209: 5206 switch(ndx) { 5207 case 0: 5208 p = "struct pollfd *"; 5209 break; 5210 case 1: 5211 p = "u_int"; 5212 break; 5213 case 2: 5214 p = "int"; 5215 break; 5216 default: 5217 break; 5218 }; 5219 break; 5220 /* lkmnosys */ 5221 case 210: 5222 break; 5223 /* lkmnosys */ 5224 case 211: 5225 break; 5226 /* lkmnosys */ 5227 case 212: 5228 break; 5229 /* lkmnosys */ 5230 case 213: 5231 break; 5232 /* lkmnosys */ 5233 case 214: 5234 break; 5235 /* lkmnosys */ 5236 case 215: 5237 break; 5238 /* lkmnosys */ 5239 case 216: 5240 break; 5241 /* lkmnosys */ 5242 case 217: 5243 break; 5244 /* lkmnosys */ 5245 case 218: 5246 break; 5247 /* lkmnosys */ 5248 case 219: 5249 break; 5250 /* semget */ 5251 case 221: 5252 switch(ndx) { 5253 case 0: 5254 p = "key_t"; 5255 break; 5256 case 1: 5257 p = "int"; 5258 break; 5259 case 2: 5260 p = "int"; 5261 break; 5262 default: 5263 break; 5264 }; 5265 break; 5266 /* semop */ 5267 case 222: 5268 switch(ndx) { 5269 case 0: 5270 p = "int"; 5271 break; 5272 case 1: 5273 p = "struct sembuf *"; 5274 break; 5275 case 2: 5276 p = "size_t"; 5277 break; 5278 default: 5279 break; 5280 }; 5281 break; 5282 /* msgget */ 5283 case 225: 5284 switch(ndx) { 5285 case 0: 5286 p = "key_t"; 5287 break; 5288 case 1: 5289 p = "int"; 5290 break; 5291 default: 5292 break; 5293 }; 5294 break; 5295 /* msgsnd */ 5296 case 226: 5297 switch(ndx) { 5298 case 0: 5299 p = "int"; 5300 break; 5301 case 1: 5302 p = "const void *"; 5303 break; 5304 case 2: 5305 p = "size_t"; 5306 break; 5307 case 3: 5308 p = "int"; 5309 break; 5310 default: 5311 break; 5312 }; 5313 break; 5314 /* msgrcv */ 5315 case 227: 5316 switch(ndx) { 5317 case 0: 5318 p = "int"; 5319 break; 5320 case 1: 5321 p = "void *"; 5322 break; 5323 case 2: 5324 p = "size_t"; 5325 break; 5326 case 3: 5327 p = "long"; 5328 break; 5329 case 4: 5330 p = "int"; 5331 break; 5332 default: 5333 break; 5334 }; 5335 break; 5336 /* shmat */ 5337 case 228: 5338 switch(ndx) { 5339 case 0: 5340 p = "int"; 5341 break; 5342 case 1: 5343 p = "const void *"; 5344 break; 5345 case 2: 5346 p = "int"; 5347 break; 5348 default: 5349 break; 5350 }; 5351 break; 5352 /* shmdt */ 5353 case 230: 5354 switch(ndx) { 5355 case 0: 5356 p = "const void *"; 5357 break; 5358 default: 5359 break; 5360 }; 5361 break; 5362 /* shmget */ 5363 case 231: 5364 switch(ndx) { 5365 case 0: 5366 p = "key_t"; 5367 break; 5368 case 1: 5369 p = "size_t"; 5370 break; 5371 case 2: 5372 p = "int"; 5373 break; 5374 default: 5375 break; 5376 }; 5377 break; 5378 /* clock_gettime */ 5379 case 232: 5380 switch(ndx) { 5381 case 0: 5382 p = "clockid_t"; 5383 break; 5384 case 1: 5385 p = "struct timespec *"; 5386 break; 5387 default: 5388 break; 5389 }; 5390 break; 5391 /* clock_settime */ 5392 case 233: 5393 switch(ndx) { 5394 case 0: 5395 p = "clockid_t"; 5396 break; 5397 case 1: 5398 p = "const struct timespec *"; 5399 break; 5400 default: 5401 break; 5402 }; 5403 break; 5404 /* clock_getres */ 5405 case 234: 5406 switch(ndx) { 5407 case 0: 5408 p = "clockid_t"; 5409 break; 5410 case 1: 5411 p = "struct timespec *"; 5412 break; 5413 default: 5414 break; 5415 }; 5416 break; 5417 /* ktimer_create */ 5418 case 235: 5419 switch(ndx) { 5420 case 0: 5421 p = "clockid_t"; 5422 break; 5423 case 1: 5424 p = "struct sigevent *"; 5425 break; 5426 case 2: 5427 p = "int *"; 5428 break; 5429 default: 5430 break; 5431 }; 5432 break; 5433 /* ktimer_delete */ 5434 case 236: 5435 switch(ndx) { 5436 case 0: 5437 p = "int"; 5438 break; 5439 default: 5440 break; 5441 }; 5442 break; 5443 /* ktimer_settime */ 5444 case 237: 5445 switch(ndx) { 5446 case 0: 5447 p = "int"; 5448 break; 5449 case 1: 5450 p = "int"; 5451 break; 5452 case 2: 5453 p = "const struct itimerspec *"; 5454 break; 5455 case 3: 5456 p = "struct itimerspec *"; 5457 break; 5458 default: 5459 break; 5460 }; 5461 break; 5462 /* ktimer_gettime */ 5463 case 238: 5464 switch(ndx) { 5465 case 0: 5466 p = "int"; 5467 break; 5468 case 1: 5469 p = "struct itimerspec *"; 5470 break; 5471 default: 5472 break; 5473 }; 5474 break; 5475 /* ktimer_getoverrun */ 5476 case 239: 5477 switch(ndx) { 5478 case 0: 5479 p = "int"; 5480 break; 5481 default: 5482 break; 5483 }; 5484 break; 5485 /* nanosleep */ 5486 case 240: 5487 switch(ndx) { 5488 case 0: 5489 p = "const struct timespec *"; 5490 break; 5491 case 1: 5492 p = "struct timespec *"; 5493 break; 5494 default: 5495 break; 5496 }; 5497 break; 5498 /* ffclock_getcounter */ 5499 case 241: 5500 switch(ndx) { 5501 case 0: 5502 p = "ffcounter *"; 5503 break; 5504 default: 5505 break; 5506 }; 5507 break; 5508 /* ffclock_setestimate */ 5509 case 242: 5510 switch(ndx) { 5511 case 0: 5512 p = "struct ffclock_estimate *"; 5513 break; 5514 default: 5515 break; 5516 }; 5517 break; 5518 /* ffclock_getestimate */ 5519 case 243: 5520 switch(ndx) { 5521 case 0: 5522 p = "struct ffclock_estimate *"; 5523 break; 5524 default: 5525 break; 5526 }; 5527 break; 5528 /* clock_getcpuclockid2 */ 5529 case 247: 5530 switch(ndx) { 5531 case 0: 5532 p = "id_t"; 5533 break; 5534 case 1: 5535 p = "int"; 5536 break; 5537 case 2: 5538 p = "clockid_t *"; 5539 break; 5540 default: 5541 break; 5542 }; 5543 break; 5544 /* ntp_gettime */ 5545 case 248: 5546 switch(ndx) { 5547 case 0: 5548 p = "struct ntptimeval *"; 5549 break; 5550 default: 5551 break; 5552 }; 5553 break; 5554 /* minherit */ 5555 case 250: 5556 switch(ndx) { 5557 case 0: 5558 p = "void *"; 5559 break; 5560 case 1: 5561 p = "size_t"; 5562 break; 5563 case 2: 5564 p = "int"; 5565 break; 5566 default: 5567 break; 5568 }; 5569 break; 5570 /* rfork */ 5571 case 251: 5572 switch(ndx) { 5573 case 0: 5574 p = "int"; 5575 break; 5576 default: 5577 break; 5578 }; 5579 break; 5580 /* openbsd_poll */ 5581 case 252: 5582 switch(ndx) { 5583 case 0: 5584 p = "struct pollfd *"; 5585 break; 5586 case 1: 5587 p = "u_int"; 5588 break; 5589 case 2: 5590 p = "int"; 5591 break; 5592 default: 5593 break; 5594 }; 5595 break; 5596 /* issetugid */ 5597 case 253: 5598 break; 5599 /* lchown */ 5600 case 254: 5601 switch(ndx) { 5602 case 0: 5603 p = "char *"; 5604 break; 5605 case 1: 5606 p = "int"; 5607 break; 5608 case 2: 5609 p = "int"; 5610 break; 5611 default: 5612 break; 5613 }; 5614 break; 5615 /* aio_read */ 5616 case 255: 5617 switch(ndx) { 5618 case 0: 5619 p = "struct aiocb *"; 5620 break; 5621 default: 5622 break; 5623 }; 5624 break; 5625 /* aio_write */ 5626 case 256: 5627 switch(ndx) { 5628 case 0: 5629 p = "struct aiocb *"; 5630 break; 5631 default: 5632 break; 5633 }; 5634 break; 5635 /* lio_listio */ 5636 case 257: 5637 switch(ndx) { 5638 case 0: 5639 p = "int"; 5640 break; 5641 case 1: 5642 p = "struct aiocb *const *"; 5643 break; 5644 case 2: 5645 p = "int"; 5646 break; 5647 case 3: 5648 p = "struct sigevent *"; 5649 break; 5650 default: 5651 break; 5652 }; 5653 break; 5654 /* getdents */ 5655 case 272: 5656 switch(ndx) { 5657 case 0: 5658 p = "int"; 5659 break; 5660 case 1: 5661 p = "char *"; 5662 break; 5663 case 2: 5664 p = "size_t"; 5665 break; 5666 default: 5667 break; 5668 }; 5669 break; 5670 /* lchmod */ 5671 case 274: 5672 switch(ndx) { 5673 case 0: 5674 p = "char *"; 5675 break; 5676 case 1: 5677 p = "mode_t"; 5678 break; 5679 default: 5680 break; 5681 }; 5682 break; 5683 /* lchown */ 5684 case 275: 5685 switch(ndx) { 5686 case 0: 5687 p = "char *"; 5688 break; 5689 case 1: 5690 p = "uid_t"; 5691 break; 5692 case 2: 5693 p = "gid_t"; 5694 break; 5695 default: 5696 break; 5697 }; 5698 break; 5699 /* lutimes */ 5700 case 276: 5701 switch(ndx) { 5702 case 0: 5703 p = "char *"; 5704 break; 5705 case 1: 5706 p = "struct timeval *"; 5707 break; 5708 default: 5709 break; 5710 }; 5711 break; 5712 /* msync */ 5713 case 277: 5714 switch(ndx) { 5715 case 0: 5716 p = "void *"; 5717 break; 5718 case 1: 5719 p = "size_t"; 5720 break; 5721 case 2: 5722 p = "int"; 5723 break; 5724 default: 5725 break; 5726 }; 5727 break; 5728 /* nstat */ 5729 case 278: 5730 switch(ndx) { 5731 case 0: 5732 p = "char *"; 5733 break; 5734 case 1: 5735 p = "struct nstat *"; 5736 break; 5737 default: 5738 break; 5739 }; 5740 break; 5741 /* nfstat */ 5742 case 279: 5743 switch(ndx) { 5744 case 0: 5745 p = "int"; 5746 break; 5747 case 1: 5748 p = "struct nstat *"; 5749 break; 5750 default: 5751 break; 5752 }; 5753 break; 5754 /* nlstat */ 5755 case 280: 5756 switch(ndx) { 5757 case 0: 5758 p = "char *"; 5759 break; 5760 case 1: 5761 p = "struct nstat *"; 5762 break; 5763 default: 5764 break; 5765 }; 5766 break; 5767 /* preadv */ 5768 case 289: 5769 switch(ndx) { 5770 case 0: 5771 p = "int"; 5772 break; 5773 case 1: 5774 p = "struct iovec *"; 5775 break; 5776 case 2: 5777 p = "u_int"; 5778 break; 5779 case 3: 5780 p = "off_t"; 5781 break; 5782 default: 5783 break; 5784 }; 5785 break; 5786 /* pwritev */ 5787 case 290: 5788 switch(ndx) { 5789 case 0: 5790 p = "int"; 5791 break; 5792 case 1: 5793 p = "struct iovec *"; 5794 break; 5795 case 2: 5796 p = "u_int"; 5797 break; 5798 case 3: 5799 p = "off_t"; 5800 break; 5801 default: 5802 break; 5803 }; 5804 break; 5805 /* fhopen */ 5806 case 298: 5807 switch(ndx) { 5808 case 0: 5809 p = "const struct fhandle *"; 5810 break; 5811 case 1: 5812 p = "int"; 5813 break; 5814 default: 5815 break; 5816 }; 5817 break; 5818 /* fhstat */ 5819 case 299: 5820 switch(ndx) { 5821 case 0: 5822 p = "const struct fhandle *"; 5823 break; 5824 case 1: 5825 p = "struct stat *"; 5826 break; 5827 default: 5828 break; 5829 }; 5830 break; 5831 /* modnext */ 5832 case 300: 5833 switch(ndx) { 5834 case 0: 5835 p = "int"; 5836 break; 5837 default: 5838 break; 5839 }; 5840 break; 5841 /* modstat */ 5842 case 301: 5843 switch(ndx) { 5844 case 0: 5845 p = "int"; 5846 break; 5847 case 1: 5848 p = "struct module_stat *"; 5849 break; 5850 default: 5851 break; 5852 }; 5853 break; 5854 /* modfnext */ 5855 case 302: 5856 switch(ndx) { 5857 case 0: 5858 p = "int"; 5859 break; 5860 default: 5861 break; 5862 }; 5863 break; 5864 /* modfind */ 5865 case 303: 5866 switch(ndx) { 5867 case 0: 5868 p = "const char *"; 5869 break; 5870 default: 5871 break; 5872 }; 5873 break; 5874 /* kldload */ 5875 case 304: 5876 switch(ndx) { 5877 case 0: 5878 p = "const char *"; 5879 break; 5880 default: 5881 break; 5882 }; 5883 break; 5884 /* kldunload */ 5885 case 305: 5886 switch(ndx) { 5887 case 0: 5888 p = "int"; 5889 break; 5890 default: 5891 break; 5892 }; 5893 break; 5894 /* kldfind */ 5895 case 306: 5896 switch(ndx) { 5897 case 0: 5898 p = "const char *"; 5899 break; 5900 default: 5901 break; 5902 }; 5903 break; 5904 /* kldnext */ 5905 case 307: 5906 switch(ndx) { 5907 case 0: 5908 p = "int"; 5909 break; 5910 default: 5911 break; 5912 }; 5913 break; 5914 /* kldstat */ 5915 case 308: 5916 switch(ndx) { 5917 case 0: 5918 p = "int"; 5919 break; 5920 case 1: 5921 p = "struct kld_file_stat *"; 5922 break; 5923 default: 5924 break; 5925 }; 5926 break; 5927 /* kldfirstmod */ 5928 case 309: 5929 switch(ndx) { 5930 case 0: 5931 p = "int"; 5932 break; 5933 default: 5934 break; 5935 }; 5936 break; 5937 /* getsid */ 5938 case 310: 5939 switch(ndx) { 5940 case 0: 5941 p = "pid_t"; 5942 break; 5943 default: 5944 break; 5945 }; 5946 break; 5947 /* setresuid */ 5948 case 311: 5949 switch(ndx) { 5950 case 0: 5951 p = "uid_t"; 5952 break; 5953 case 1: 5954 p = "uid_t"; 5955 break; 5956 case 2: 5957 p = "uid_t"; 5958 break; 5959 default: 5960 break; 5961 }; 5962 break; 5963 /* setresgid */ 5964 case 312: 5965 switch(ndx) { 5966 case 0: 5967 p = "gid_t"; 5968 break; 5969 case 1: 5970 p = "gid_t"; 5971 break; 5972 case 2: 5973 p = "gid_t"; 5974 break; 5975 default: 5976 break; 5977 }; 5978 break; 5979 /* aio_return */ 5980 case 314: 5981 switch(ndx) { 5982 case 0: 5983 p = "struct aiocb *"; 5984 break; 5985 default: 5986 break; 5987 }; 5988 break; 5989 /* aio_suspend */ 5990 case 315: 5991 switch(ndx) { 5992 case 0: 5993 p = "struct aiocb *const *"; 5994 break; 5995 case 1: 5996 p = "int"; 5997 break; 5998 case 2: 5999 p = "const struct timespec *"; 6000 break; 6001 default: 6002 break; 6003 }; 6004 break; 6005 /* aio_cancel */ 6006 case 316: 6007 switch(ndx) { 6008 case 0: 6009 p = "int"; 6010 break; 6011 case 1: 6012 p = "struct aiocb *"; 6013 break; 6014 default: 6015 break; 6016 }; 6017 break; 6018 /* aio_error */ 6019 case 317: 6020 switch(ndx) { 6021 case 0: 6022 p = "struct aiocb *"; 6023 break; 6024 default: 6025 break; 6026 }; 6027 break; 6028 /* oaio_read */ 6029 case 318: 6030 switch(ndx) { 6031 case 0: 6032 p = "struct oaiocb *"; 6033 break; 6034 default: 6035 break; 6036 }; 6037 break; 6038 /* oaio_write */ 6039 case 319: 6040 switch(ndx) { 6041 case 0: 6042 p = "struct oaiocb *"; 6043 break; 6044 default: 6045 break; 6046 }; 6047 break; 6048 /* olio_listio */ 6049 case 320: 6050 switch(ndx) { 6051 case 0: 6052 p = "int"; 6053 break; 6054 case 1: 6055 p = "struct oaiocb *const *"; 6056 break; 6057 case 2: 6058 p = "int"; 6059 break; 6060 case 3: 6061 p = "struct osigevent *"; 6062 break; 6063 default: 6064 break; 6065 }; 6066 break; 6067 /* yield */ 6068 case 321: 6069 break; 6070 /* mlockall */ 6071 case 324: 6072 switch(ndx) { 6073 case 0: 6074 p = "int"; 6075 break; 6076 default: 6077 break; 6078 }; 6079 break; 6080 /* munlockall */ 6081 case 325: 6082 break; 6083 /* __getcwd */ 6084 case 326: 6085 switch(ndx) { 6086 case 0: 6087 p = "u_char *"; 6088 break; 6089 case 1: 6090 p = "u_int"; 6091 break; 6092 default: 6093 break; 6094 }; 6095 break; 6096 /* sched_setparam */ 6097 case 327: 6098 switch(ndx) { 6099 case 0: 6100 p = "pid_t"; 6101 break; 6102 case 1: 6103 p = "const struct sched_param *"; 6104 break; 6105 default: 6106 break; 6107 }; 6108 break; 6109 /* sched_getparam */ 6110 case 328: 6111 switch(ndx) { 6112 case 0: 6113 p = "pid_t"; 6114 break; 6115 case 1: 6116 p = "struct sched_param *"; 6117 break; 6118 default: 6119 break; 6120 }; 6121 break; 6122 /* sched_setscheduler */ 6123 case 329: 6124 switch(ndx) { 6125 case 0: 6126 p = "pid_t"; 6127 break; 6128 case 1: 6129 p = "int"; 6130 break; 6131 case 2: 6132 p = "const struct sched_param *"; 6133 break; 6134 default: 6135 break; 6136 }; 6137 break; 6138 /* sched_getscheduler */ 6139 case 330: 6140 switch(ndx) { 6141 case 0: 6142 p = "pid_t"; 6143 break; 6144 default: 6145 break; 6146 }; 6147 break; 6148 /* sched_yield */ 6149 case 331: 6150 break; 6151 /* sched_get_priority_max */ 6152 case 332: 6153 switch(ndx) { 6154 case 0: 6155 p = "int"; 6156 break; 6157 default: 6158 break; 6159 }; 6160 break; 6161 /* sched_get_priority_min */ 6162 case 333: 6163 switch(ndx) { 6164 case 0: 6165 p = "int"; 6166 break; 6167 default: 6168 break; 6169 }; 6170 break; 6171 /* sched_rr_get_interval */ 6172 case 334: 6173 switch(ndx) { 6174 case 0: 6175 p = "pid_t"; 6176 break; 6177 case 1: 6178 p = "struct timespec *"; 6179 break; 6180 default: 6181 break; 6182 }; 6183 break; 6184 /* utrace */ 6185 case 335: 6186 switch(ndx) { 6187 case 0: 6188 p = "const void *"; 6189 break; 6190 case 1: 6191 p = "size_t"; 6192 break; 6193 default: 6194 break; 6195 }; 6196 break; 6197 /* kldsym */ 6198 case 337: 6199 switch(ndx) { 6200 case 0: 6201 p = "int"; 6202 break; 6203 case 1: 6204 p = "int"; 6205 break; 6206 case 2: 6207 p = "void *"; 6208 break; 6209 default: 6210 break; 6211 }; 6212 break; 6213 /* jail */ 6214 case 338: 6215 switch(ndx) { 6216 case 0: 6217 p = "struct jail *"; 6218 break; 6219 default: 6220 break; 6221 }; 6222 break; 6223 /* nnpfs_syscall */ 6224 case 339: 6225 switch(ndx) { 6226 case 0: 6227 p = "int"; 6228 break; 6229 case 1: 6230 p = "char *"; 6231 break; 6232 case 2: 6233 p = "int"; 6234 break; 6235 case 3: 6236 p = "void *"; 6237 break; 6238 case 4: 6239 p = "int"; 6240 break; 6241 default: 6242 break; 6243 }; 6244 break; 6245 /* sigprocmask */ 6246 case 340: 6247 switch(ndx) { 6248 case 0: 6249 p = "int"; 6250 break; 6251 case 1: 6252 p = "const sigset_t *"; 6253 break; 6254 case 2: 6255 p = "sigset_t *"; 6256 break; 6257 default: 6258 break; 6259 }; 6260 break; 6261 /* sigsuspend */ 6262 case 341: 6263 switch(ndx) { 6264 case 0: 6265 p = "const sigset_t *"; 6266 break; 6267 default: 6268 break; 6269 }; 6270 break; 6271 /* sigpending */ 6272 case 343: 6273 switch(ndx) { 6274 case 0: 6275 p = "sigset_t *"; 6276 break; 6277 default: 6278 break; 6279 }; 6280 break; 6281 /* sigtimedwait */ 6282 case 345: 6283 switch(ndx) { 6284 case 0: 6285 p = "const sigset_t *"; 6286 break; 6287 case 1: 6288 p = "siginfo_t *"; 6289 break; 6290 case 2: 6291 p = "const struct timespec *"; 6292 break; 6293 default: 6294 break; 6295 }; 6296 break; 6297 /* sigwaitinfo */ 6298 case 346: 6299 switch(ndx) { 6300 case 0: 6301 p = "const sigset_t *"; 6302 break; 6303 case 1: 6304 p = "siginfo_t *"; 6305 break; 6306 default: 6307 break; 6308 }; 6309 break; 6310 /* __acl_get_file */ 6311 case 347: 6312 switch(ndx) { 6313 case 0: 6314 p = "const char *"; 6315 break; 6316 case 1: 6317 p = "acl_type_t"; 6318 break; 6319 case 2: 6320 p = "struct acl *"; 6321 break; 6322 default: 6323 break; 6324 }; 6325 break; 6326 /* __acl_set_file */ 6327 case 348: 6328 switch(ndx) { 6329 case 0: 6330 p = "const char *"; 6331 break; 6332 case 1: 6333 p = "acl_type_t"; 6334 break; 6335 case 2: 6336 p = "struct acl *"; 6337 break; 6338 default: 6339 break; 6340 }; 6341 break; 6342 /* __acl_get_fd */ 6343 case 349: 6344 switch(ndx) { 6345 case 0: 6346 p = "int"; 6347 break; 6348 case 1: 6349 p = "acl_type_t"; 6350 break; 6351 case 2: 6352 p = "struct acl *"; 6353 break; 6354 default: 6355 break; 6356 }; 6357 break; 6358 /* __acl_set_fd */ 6359 case 350: 6360 switch(ndx) { 6361 case 0: 6362 p = "int"; 6363 break; 6364 case 1: 6365 p = "acl_type_t"; 6366 break; 6367 case 2: 6368 p = "struct acl *"; 6369 break; 6370 default: 6371 break; 6372 }; 6373 break; 6374 /* __acl_delete_file */ 6375 case 351: 6376 switch(ndx) { 6377 case 0: 6378 p = "const char *"; 6379 break; 6380 case 1: 6381 p = "acl_type_t"; 6382 break; 6383 default: 6384 break; 6385 }; 6386 break; 6387 /* __acl_delete_fd */ 6388 case 352: 6389 switch(ndx) { 6390 case 0: 6391 p = "int"; 6392 break; 6393 case 1: 6394 p = "acl_type_t"; 6395 break; 6396 default: 6397 break; 6398 }; 6399 break; 6400 /* __acl_aclcheck_file */ 6401 case 353: 6402 switch(ndx) { 6403 case 0: 6404 p = "const char *"; 6405 break; 6406 case 1: 6407 p = "acl_type_t"; 6408 break; 6409 case 2: 6410 p = "struct acl *"; 6411 break; 6412 default: 6413 break; 6414 }; 6415 break; 6416 /* __acl_aclcheck_fd */ 6417 case 354: 6418 switch(ndx) { 6419 case 0: 6420 p = "int"; 6421 break; 6422 case 1: 6423 p = "acl_type_t"; 6424 break; 6425 case 2: 6426 p = "struct acl *"; 6427 break; 6428 default: 6429 break; 6430 }; 6431 break; 6432 /* extattrctl */ 6433 case 355: 6434 switch(ndx) { 6435 case 0: 6436 p = "const char *"; 6437 break; 6438 case 1: 6439 p = "int"; 6440 break; 6441 case 2: 6442 p = "const char *"; 6443 break; 6444 case 3: 6445 p = "int"; 6446 break; 6447 case 4: 6448 p = "const char *"; 6449 break; 6450 default: 6451 break; 6452 }; 6453 break; 6454 /* extattr_set_file */ 6455 case 356: 6456 switch(ndx) { 6457 case 0: 6458 p = "const char *"; 6459 break; 6460 case 1: 6461 p = "int"; 6462 break; 6463 case 2: 6464 p = "const char *"; 6465 break; 6466 case 3: 6467 p = "void *"; 6468 break; 6469 case 4: 6470 p = "size_t"; 6471 break; 6472 default: 6473 break; 6474 }; 6475 break; 6476 /* extattr_get_file */ 6477 case 357: 6478 switch(ndx) { 6479 case 0: 6480 p = "const char *"; 6481 break; 6482 case 1: 6483 p = "int"; 6484 break; 6485 case 2: 6486 p = "const char *"; 6487 break; 6488 case 3: 6489 p = "void *"; 6490 break; 6491 case 4: 6492 p = "size_t"; 6493 break; 6494 default: 6495 break; 6496 }; 6497 break; 6498 /* extattr_delete_file */ 6499 case 358: 6500 switch(ndx) { 6501 case 0: 6502 p = "const char *"; 6503 break; 6504 case 1: 6505 p = "int"; 6506 break; 6507 case 2: 6508 p = "const char *"; 6509 break; 6510 default: 6511 break; 6512 }; 6513 break; 6514 /* aio_waitcomplete */ 6515 case 359: 6516 switch(ndx) { 6517 case 0: 6518 p = "struct aiocb **"; 6519 break; 6520 case 1: 6521 p = "struct timespec *"; 6522 break; 6523 default: 6524 break; 6525 }; 6526 break; 6527 /* getresuid */ 6528 case 360: 6529 switch(ndx) { 6530 case 0: 6531 p = "uid_t *"; 6532 break; 6533 case 1: 6534 p = "uid_t *"; 6535 break; 6536 case 2: 6537 p = "uid_t *"; 6538 break; 6539 default: 6540 break; 6541 }; 6542 break; 6543 /* getresgid */ 6544 case 361: 6545 switch(ndx) { 6546 case 0: 6547 p = "gid_t *"; 6548 break; 6549 case 1: 6550 p = "gid_t *"; 6551 break; 6552 case 2: 6553 p = "gid_t *"; 6554 break; 6555 default: 6556 break; 6557 }; 6558 break; 6559 /* kqueue */ 6560 case 362: 6561 break; 6562 /* kevent */ 6563 case 363: 6564 switch(ndx) { 6565 case 0: 6566 p = "int"; 6567 break; 6568 case 1: 6569 p = "struct kevent *"; 6570 break; 6571 case 2: 6572 p = "int"; 6573 break; 6574 case 3: 6575 p = "struct kevent *"; 6576 break; 6577 case 4: 6578 p = "int"; 6579 break; 6580 case 5: 6581 p = "const struct timespec *"; 6582 break; 6583 default: 6584 break; 6585 }; 6586 break; 6587 /* extattr_set_fd */ 6588 case 371: 6589 switch(ndx) { 6590 case 0: 6591 p = "int"; 6592 break; 6593 case 1: 6594 p = "int"; 6595 break; 6596 case 2: 6597 p = "const char *"; 6598 break; 6599 case 3: 6600 p = "void *"; 6601 break; 6602 case 4: 6603 p = "size_t"; 6604 break; 6605 default: 6606 break; 6607 }; 6608 break; 6609 /* extattr_get_fd */ 6610 case 372: 6611 switch(ndx) { 6612 case 0: 6613 p = "int"; 6614 break; 6615 case 1: 6616 p = "int"; 6617 break; 6618 case 2: 6619 p = "const char *"; 6620 break; 6621 case 3: 6622 p = "void *"; 6623 break; 6624 case 4: 6625 p = "size_t"; 6626 break; 6627 default: 6628 break; 6629 }; 6630 break; 6631 /* extattr_delete_fd */ 6632 case 373: 6633 switch(ndx) { 6634 case 0: 6635 p = "int"; 6636 break; 6637 case 1: 6638 p = "int"; 6639 break; 6640 case 2: 6641 p = "const char *"; 6642 break; 6643 default: 6644 break; 6645 }; 6646 break; 6647 /* __setugid */ 6648 case 374: 6649 switch(ndx) { 6650 case 0: 6651 p = "int"; 6652 break; 6653 default: 6654 break; 6655 }; 6656 break; 6657 /* eaccess */ 6658 case 376: 6659 switch(ndx) { 6660 case 0: 6661 p = "char *"; 6662 break; 6663 case 1: 6664 p = "int"; 6665 break; 6666 default: 6667 break; 6668 }; 6669 break; 6670 /* afs3_syscall */ 6671 case 377: 6672 switch(ndx) { 6673 case 0: 6674 p = "long"; 6675 break; 6676 case 1: 6677 p = "long"; 6678 break; 6679 case 2: 6680 p = "long"; 6681 break; 6682 case 3: 6683 p = "long"; 6684 break; 6685 case 4: 6686 p = "long"; 6687 break; 6688 case 5: 6689 p = "long"; 6690 break; 6691 case 6: 6692 p = "long"; 6693 break; 6694 default: 6695 break; 6696 }; 6697 break; 6698 /* nmount */ 6699 case 378: 6700 switch(ndx) { 6701 case 0: 6702 p = "struct iovec *"; 6703 break; 6704 case 1: 6705 p = "unsigned int"; 6706 break; 6707 case 2: 6708 p = "int"; 6709 break; 6710 default: 6711 break; 6712 }; 6713 break; 6714 /* __mac_get_proc */ 6715 case 384: 6716 switch(ndx) { 6717 case 0: 6718 p = "struct mac *"; 6719 break; 6720 default: 6721 break; 6722 }; 6723 break; 6724 /* __mac_set_proc */ 6725 case 385: 6726 switch(ndx) { 6727 case 0: 6728 p = "struct mac *"; 6729 break; 6730 default: 6731 break; 6732 }; 6733 break; 6734 /* __mac_get_fd */ 6735 case 386: 6736 switch(ndx) { 6737 case 0: 6738 p = "int"; 6739 break; 6740 case 1: 6741 p = "struct mac *"; 6742 break; 6743 default: 6744 break; 6745 }; 6746 break; 6747 /* __mac_get_file */ 6748 case 387: 6749 switch(ndx) { 6750 case 0: 6751 p = "const char *"; 6752 break; 6753 case 1: 6754 p = "struct mac *"; 6755 break; 6756 default: 6757 break; 6758 }; 6759 break; 6760 /* __mac_set_fd */ 6761 case 388: 6762 switch(ndx) { 6763 case 0: 6764 p = "int"; 6765 break; 6766 case 1: 6767 p = "struct mac *"; 6768 break; 6769 default: 6770 break; 6771 }; 6772 break; 6773 /* __mac_set_file */ 6774 case 389: 6775 switch(ndx) { 6776 case 0: 6777 p = "const char *"; 6778 break; 6779 case 1: 6780 p = "struct mac *"; 6781 break; 6782 default: 6783 break; 6784 }; 6785 break; 6786 /* kenv */ 6787 case 390: 6788 switch(ndx) { 6789 case 0: 6790 p = "int"; 6791 break; 6792 case 1: 6793 p = "const char *"; 6794 break; 6795 case 2: 6796 p = "char *"; 6797 break; 6798 case 3: 6799 p = "int"; 6800 break; 6801 default: 6802 break; 6803 }; 6804 break; 6805 /* lchflags */ 6806 case 391: 6807 switch(ndx) { 6808 case 0: 6809 p = "const char *"; 6810 break; 6811 case 1: 6812 p = "u_long"; 6813 break; 6814 default: 6815 break; 6816 }; 6817 break; 6818 /* uuidgen */ 6819 case 392: 6820 switch(ndx) { 6821 case 0: 6822 p = "struct uuid *"; 6823 break; 6824 case 1: 6825 p = "int"; 6826 break; 6827 default: 6828 break; 6829 }; 6830 break; 6831 /* sendfile */ 6832 case 393: 6833 switch(ndx) { 6834 case 0: 6835 p = "int"; 6836 break; 6837 case 1: 6838 p = "int"; 6839 break; 6840 case 2: 6841 p = "off_t"; 6842 break; 6843 case 3: 6844 p = "size_t"; 6845 break; 6846 case 4: 6847 p = "struct sf_hdtr *"; 6848 break; 6849 case 5: 6850 p = "off_t *"; 6851 break; 6852 case 6: 6853 p = "int"; 6854 break; 6855 default: 6856 break; 6857 }; 6858 break; 6859 /* mac_syscall */ 6860 case 394: 6861 switch(ndx) { 6862 case 0: 6863 p = "const char *"; 6864 break; 6865 case 1: 6866 p = "int"; 6867 break; 6868 case 2: 6869 p = "void *"; 6870 break; 6871 default: 6872 break; 6873 }; 6874 break; 6875 /* getfsstat */ 6876 case 395: 6877 switch(ndx) { 6878 case 0: 6879 p = "struct statfs *"; 6880 break; 6881 case 1: 6882 p = "long"; 6883 break; 6884 case 2: 6885 p = "int"; 6886 break; 6887 default: 6888 break; 6889 }; 6890 break; 6891 /* statfs */ 6892 case 396: 6893 switch(ndx) { 6894 case 0: 6895 p = "char *"; 6896 break; 6897 case 1: 6898 p = "struct statfs *"; 6899 break; 6900 default: 6901 break; 6902 }; 6903 break; 6904 /* fstatfs */ 6905 case 397: 6906 switch(ndx) { 6907 case 0: 6908 p = "int"; 6909 break; 6910 case 1: 6911 p = "struct statfs *"; 6912 break; 6913 default: 6914 break; 6915 }; 6916 break; 6917 /* fhstatfs */ 6918 case 398: 6919 switch(ndx) { 6920 case 0: 6921 p = "const struct fhandle *"; 6922 break; 6923 case 1: 6924 p = "struct statfs *"; 6925 break; 6926 default: 6927 break; 6928 }; 6929 break; 6930 /* ksem_close */ 6931 case 400: 6932 switch(ndx) { 6933 case 0: 6934 p = "semid_t"; 6935 break; 6936 default: 6937 break; 6938 }; 6939 break; 6940 /* ksem_post */ 6941 case 401: 6942 switch(ndx) { 6943 case 0: 6944 p = "semid_t"; 6945 break; 6946 default: 6947 break; 6948 }; 6949 break; 6950 /* ksem_wait */ 6951 case 402: 6952 switch(ndx) { 6953 case 0: 6954 p = "semid_t"; 6955 break; 6956 default: 6957 break; 6958 }; 6959 break; 6960 /* ksem_trywait */ 6961 case 403: 6962 switch(ndx) { 6963 case 0: 6964 p = "semid_t"; 6965 break; 6966 default: 6967 break; 6968 }; 6969 break; 6970 /* ksem_init */ 6971 case 404: 6972 switch(ndx) { 6973 case 0: 6974 p = "semid_t *"; 6975 break; 6976 case 1: 6977 p = "unsigned int"; 6978 break; 6979 default: 6980 break; 6981 }; 6982 break; 6983 /* ksem_open */ 6984 case 405: 6985 switch(ndx) { 6986 case 0: 6987 p = "semid_t *"; 6988 break; 6989 case 1: 6990 p = "const char *"; 6991 break; 6992 case 2: 6993 p = "int"; 6994 break; 6995 case 3: 6996 p = "mode_t"; 6997 break; 6998 case 4: 6999 p = "unsigned int"; 7000 break; 7001 default: 7002 break; 7003 }; 7004 break; 7005 /* ksem_unlink */ 7006 case 406: 7007 switch(ndx) { 7008 case 0: 7009 p = "const char *"; 7010 break; 7011 default: 7012 break; 7013 }; 7014 break; 7015 /* ksem_getvalue */ 7016 case 407: 7017 switch(ndx) { 7018 case 0: 7019 p = "semid_t"; 7020 break; 7021 case 1: 7022 p = "int *"; 7023 break; 7024 default: 7025 break; 7026 }; 7027 break; 7028 /* ksem_destroy */ 7029 case 408: 7030 switch(ndx) { 7031 case 0: 7032 p = "semid_t"; 7033 break; 7034 default: 7035 break; 7036 }; 7037 break; 7038 /* __mac_get_pid */ 7039 case 409: 7040 switch(ndx) { 7041 case 0: 7042 p = "pid_t"; 7043 break; 7044 case 1: 7045 p = "struct mac *"; 7046 break; 7047 default: 7048 break; 7049 }; 7050 break; 7051 /* __mac_get_link */ 7052 case 410: 7053 switch(ndx) { 7054 case 0: 7055 p = "const char *"; 7056 break; 7057 case 1: 7058 p = "struct mac *"; 7059 break; 7060 default: 7061 break; 7062 }; 7063 break; 7064 /* __mac_set_link */ 7065 case 411: 7066 switch(ndx) { 7067 case 0: 7068 p = "const char *"; 7069 break; 7070 case 1: 7071 p = "struct mac *"; 7072 break; 7073 default: 7074 break; 7075 }; 7076 break; 7077 /* extattr_set_link */ 7078 case 412: 7079 switch(ndx) { 7080 case 0: 7081 p = "const char *"; 7082 break; 7083 case 1: 7084 p = "int"; 7085 break; 7086 case 2: 7087 p = "const char *"; 7088 break; 7089 case 3: 7090 p = "void *"; 7091 break; 7092 case 4: 7093 p = "size_t"; 7094 break; 7095 default: 7096 break; 7097 }; 7098 break; 7099 /* extattr_get_link */ 7100 case 413: 7101 switch(ndx) { 7102 case 0: 7103 p = "const char *"; 7104 break; 7105 case 1: 7106 p = "int"; 7107 break; 7108 case 2: 7109 p = "const char *"; 7110 break; 7111 case 3: 7112 p = "void *"; 7113 break; 7114 case 4: 7115 p = "size_t"; 7116 break; 7117 default: 7118 break; 7119 }; 7120 break; 7121 /* extattr_delete_link */ 7122 case 414: 7123 switch(ndx) { 7124 case 0: 7125 p = "const char *"; 7126 break; 7127 case 1: 7128 p = "int"; 7129 break; 7130 case 2: 7131 p = "const char *"; 7132 break; 7133 default: 7134 break; 7135 }; 7136 break; 7137 /* __mac_execve */ 7138 case 415: 7139 switch(ndx) { 7140 case 0: 7141 p = "char *"; 7142 break; 7143 case 1: 7144 p = "char **"; 7145 break; 7146 case 2: 7147 p = "char **"; 7148 break; 7149 case 3: 7150 p = "struct mac *"; 7151 break; 7152 default: 7153 break; 7154 }; 7155 break; 7156 /* sigaction */ 7157 case 416: 7158 switch(ndx) { 7159 case 0: 7160 p = "int"; 7161 break; 7162 case 1: 7163 p = "const struct sigaction *"; 7164 break; 7165 case 2: 7166 p = "struct sigaction *"; 7167 break; 7168 default: 7169 break; 7170 }; 7171 break; 7172 /* sigreturn */ 7173 case 417: 7174 switch(ndx) { 7175 case 0: 7176 p = "const struct __ucontext *"; 7177 break; 7178 default: 7179 break; 7180 }; 7181 break; 7182 /* getcontext */ 7183 case 421: 7184 switch(ndx) { 7185 case 0: 7186 p = "struct __ucontext *"; 7187 break; 7188 default: 7189 break; 7190 }; 7191 break; 7192 /* setcontext */ 7193 case 422: 7194 switch(ndx) { 7195 case 0: 7196 p = "const struct __ucontext *"; 7197 break; 7198 default: 7199 break; 7200 }; 7201 break; 7202 /* swapcontext */ 7203 case 423: 7204 switch(ndx) { 7205 case 0: 7206 p = "struct __ucontext *"; 7207 break; 7208 case 1: 7209 p = "const struct __ucontext *"; 7210 break; 7211 default: 7212 break; 7213 }; 7214 break; 7215 /* swapoff */ 7216 case 424: 7217 switch(ndx) { 7218 case 0: 7219 p = "const char *"; 7220 break; 7221 default: 7222 break; 7223 }; 7224 break; 7225 /* __acl_get_link */ 7226 case 425: 7227 switch(ndx) { 7228 case 0: 7229 p = "const char *"; 7230 break; 7231 case 1: 7232 p = "acl_type_t"; 7233 break; 7234 case 2: 7235 p = "struct acl *"; 7236 break; 7237 default: 7238 break; 7239 }; 7240 break; 7241 /* __acl_set_link */ 7242 case 426: 7243 switch(ndx) { 7244 case 0: 7245 p = "const char *"; 7246 break; 7247 case 1: 7248 p = "acl_type_t"; 7249 break; 7250 case 2: 7251 p = "struct acl *"; 7252 break; 7253 default: 7254 break; 7255 }; 7256 break; 7257 /* __acl_delete_link */ 7258 case 427: 7259 switch(ndx) { 7260 case 0: 7261 p = "const char *"; 7262 break; 7263 case 1: 7264 p = "acl_type_t"; 7265 break; 7266 default: 7267 break; 7268 }; 7269 break; 7270 /* __acl_aclcheck_link */ 7271 case 428: 7272 switch(ndx) { 7273 case 0: 7274 p = "const char *"; 7275 break; 7276 case 1: 7277 p = "acl_type_t"; 7278 break; 7279 case 2: 7280 p = "struct acl *"; 7281 break; 7282 default: 7283 break; 7284 }; 7285 break; 7286 /* sigwait */ 7287 case 429: 7288 switch(ndx) { 7289 case 0: 7290 p = "const sigset_t *"; 7291 break; 7292 case 1: 7293 p = "int *"; 7294 break; 7295 default: 7296 break; 7297 }; 7298 break; 7299 /* thr_create */ 7300 case 430: 7301 switch(ndx) { 7302 case 0: 7303 p = "ucontext_t *"; 7304 break; 7305 case 1: 7306 p = "long *"; 7307 break; 7308 case 2: 7309 p = "int"; 7310 break; 7311 default: 7312 break; 7313 }; 7314 break; 7315 /* thr_exit */ 7316 case 431: 7317 switch(ndx) { 7318 case 0: 7319 p = "long *"; 7320 break; 7321 default: 7322 break; 7323 }; 7324 break; 7325 /* thr_self */ 7326 case 432: 7327 switch(ndx) { 7328 case 0: 7329 p = "long *"; 7330 break; 7331 default: 7332 break; 7333 }; 7334 break; 7335 /* thr_kill */ 7336 case 433: 7337 switch(ndx) { 7338 case 0: 7339 p = "long"; 7340 break; 7341 case 1: 7342 p = "int"; 7343 break; 7344 default: 7345 break; 7346 }; 7347 break; 7348 /* _umtx_lock */ 7349 case 434: 7350 switch(ndx) { 7351 case 0: 7352 p = "struct umtx *"; 7353 break; 7354 default: 7355 break; 7356 }; 7357 break; 7358 /* _umtx_unlock */ 7359 case 435: 7360 switch(ndx) { 7361 case 0: 7362 p = "struct umtx *"; 7363 break; 7364 default: 7365 break; 7366 }; 7367 break; 7368 /* jail_attach */ 7369 case 436: 7370 switch(ndx) { 7371 case 0: 7372 p = "int"; 7373 break; 7374 default: 7375 break; 7376 }; 7377 break; 7378 /* extattr_list_fd */ 7379 case 437: 7380 switch(ndx) { 7381 case 0: 7382 p = "int"; 7383 break; 7384 case 1: 7385 p = "int"; 7386 break; 7387 case 2: 7388 p = "void *"; 7389 break; 7390 case 3: 7391 p = "size_t"; 7392 break; 7393 default: 7394 break; 7395 }; 7396 break; 7397 /* extattr_list_file */ 7398 case 438: 7399 switch(ndx) { 7400 case 0: 7401 p = "const char *"; 7402 break; 7403 case 1: 7404 p = "int"; 7405 break; 7406 case 2: 7407 p = "void *"; 7408 break; 7409 case 3: 7410 p = "size_t"; 7411 break; 7412 default: 7413 break; 7414 }; 7415 break; 7416 /* extattr_list_link */ 7417 case 439: 7418 switch(ndx) { 7419 case 0: 7420 p = "const char *"; 7421 break; 7422 case 1: 7423 p = "int"; 7424 break; 7425 case 2: 7426 p = "void *"; 7427 break; 7428 case 3: 7429 p = "size_t"; 7430 break; 7431 default: 7432 break; 7433 }; 7434 break; 7435 /* ksem_timedwait */ 7436 case 441: 7437 switch(ndx) { 7438 case 0: 7439 p = "semid_t"; 7440 break; 7441 case 1: 7442 p = "const struct timespec *"; 7443 break; 7444 default: 7445 break; 7446 }; 7447 break; 7448 /* thr_suspend */ 7449 case 442: 7450 switch(ndx) { 7451 case 0: 7452 p = "const struct timespec *"; 7453 break; 7454 default: 7455 break; 7456 }; 7457 break; 7458 /* thr_wake */ 7459 case 443: 7460 switch(ndx) { 7461 case 0: 7462 p = "long"; 7463 break; 7464 default: 7465 break; 7466 }; 7467 break; 7468 /* kldunloadf */ 7469 case 444: 7470 switch(ndx) { 7471 case 0: 7472 p = "int"; 7473 break; 7474 case 1: 7475 p = "int"; 7476 break; 7477 default: 7478 break; 7479 }; 7480 break; 7481 /* audit */ 7482 case 445: 7483 switch(ndx) { 7484 case 0: 7485 p = "const void *"; 7486 break; 7487 case 1: 7488 p = "u_int"; 7489 break; 7490 default: 7491 break; 7492 }; 7493 break; 7494 /* auditon */ 7495 case 446: 7496 switch(ndx) { 7497 case 0: 7498 p = "int"; 7499 break; 7500 case 1: 7501 p = "void *"; 7502 break; 7503 case 2: 7504 p = "u_int"; 7505 break; 7506 default: 7507 break; 7508 }; 7509 break; 7510 /* getauid */ 7511 case 447: 7512 switch(ndx) { 7513 case 0: 7514 p = "uid_t *"; 7515 break; 7516 default: 7517 break; 7518 }; 7519 break; 7520 /* setauid */ 7521 case 448: 7522 switch(ndx) { 7523 case 0: 7524 p = "uid_t *"; 7525 break; 7526 default: 7527 break; 7528 }; 7529 break; 7530 /* getaudit */ 7531 case 449: 7532 switch(ndx) { 7533 case 0: 7534 p = "struct auditinfo *"; 7535 break; 7536 default: 7537 break; 7538 }; 7539 break; 7540 /* setaudit */ 7541 case 450: 7542 switch(ndx) { 7543 case 0: 7544 p = "struct auditinfo *"; 7545 break; 7546 default: 7547 break; 7548 }; 7549 break; 7550 /* getaudit_addr */ 7551 case 451: 7552 switch(ndx) { 7553 case 0: 7554 p = "struct auditinfo_addr *"; 7555 break; 7556 case 1: 7557 p = "u_int"; 7558 break; 7559 default: 7560 break; 7561 }; 7562 break; 7563 /* setaudit_addr */ 7564 case 452: 7565 switch(ndx) { 7566 case 0: 7567 p = "struct auditinfo_addr *"; 7568 break; 7569 case 1: 7570 p = "u_int"; 7571 break; 7572 default: 7573 break; 7574 }; 7575 break; 7576 /* auditctl */ 7577 case 453: 7578 switch(ndx) { 7579 case 0: 7580 p = "char *"; 7581 break; 7582 default: 7583 break; 7584 }; 7585 break; 7586 /* _umtx_op */ 7587 case 454: 7588 switch(ndx) { 7589 case 0: 7590 p = "void *"; 7591 break; 7592 case 1: 7593 p = "int"; 7594 break; 7595 case 2: 7596 p = "u_long"; 7597 break; 7598 case 3: 7599 p = "void *"; 7600 break; 7601 case 4: 7602 p = "void *"; 7603 break; 7604 default: 7605 break; 7606 }; 7607 break; 7608 /* thr_new */ 7609 case 455: 7610 switch(ndx) { 7611 case 0: 7612 p = "struct thr_param *"; 7613 break; 7614 case 1: 7615 p = "int"; 7616 break; 7617 default: 7618 break; 7619 }; 7620 break; 7621 /* sigqueue */ 7622 case 456: 7623 switch(ndx) { 7624 case 0: 7625 p = "pid_t"; 7626 break; 7627 case 1: 7628 p = "int"; 7629 break; 7630 case 2: 7631 p = "void *"; 7632 break; 7633 default: 7634 break; 7635 }; 7636 break; 7637 /* kmq_open */ 7638 case 457: 7639 switch(ndx) { 7640 case 0: 7641 p = "const char *"; 7642 break; 7643 case 1: 7644 p = "int"; 7645 break; 7646 case 2: 7647 p = "mode_t"; 7648 break; 7649 case 3: 7650 p = "const struct mq_attr *"; 7651 break; 7652 default: 7653 break; 7654 }; 7655 break; 7656 /* kmq_setattr */ 7657 case 458: 7658 switch(ndx) { 7659 case 0: 7660 p = "int"; 7661 break; 7662 case 1: 7663 p = "const struct mq_attr *"; 7664 break; 7665 case 2: 7666 p = "struct mq_attr *"; 7667 break; 7668 default: 7669 break; 7670 }; 7671 break; 7672 /* kmq_timedreceive */ 7673 case 459: 7674 switch(ndx) { 7675 case 0: 7676 p = "int"; 7677 break; 7678 case 1: 7679 p = "char *"; 7680 break; 7681 case 2: 7682 p = "size_t"; 7683 break; 7684 case 3: 7685 p = "unsigned *"; 7686 break; 7687 case 4: 7688 p = "const struct timespec *"; 7689 break; 7690 default: 7691 break; 7692 }; 7693 break; 7694 /* kmq_timedsend */ 7695 case 460: 7696 switch(ndx) { 7697 case 0: 7698 p = "int"; 7699 break; 7700 case 1: 7701 p = "const char *"; 7702 break; 7703 case 2: 7704 p = "size_t"; 7705 break; 7706 case 3: 7707 p = "unsigned"; 7708 break; 7709 case 4: 7710 p = "const struct timespec *"; 7711 break; 7712 default: 7713 break; 7714 }; 7715 break; 7716 /* kmq_notify */ 7717 case 461: 7718 switch(ndx) { 7719 case 0: 7720 p = "int"; 7721 break; 7722 case 1: 7723 p = "const struct sigevent *"; 7724 break; 7725 default: 7726 break; 7727 }; 7728 break; 7729 /* kmq_unlink */ 7730 case 462: 7731 switch(ndx) { 7732 case 0: 7733 p = "const char *"; 7734 break; 7735 default: 7736 break; 7737 }; 7738 break; 7739 /* abort2 */ 7740 case 463: 7741 switch(ndx) { 7742 case 0: 7743 p = "const char *"; 7744 break; 7745 case 1: 7746 p = "int"; 7747 break; 7748 case 2: 7749 p = "void **"; 7750 break; 7751 default: 7752 break; 7753 }; 7754 break; 7755 /* thr_set_name */ 7756 case 464: 7757 switch(ndx) { 7758 case 0: 7759 p = "long"; 7760 break; 7761 case 1: 7762 p = "const char *"; 7763 break; 7764 default: 7765 break; 7766 }; 7767 break; 7768 /* aio_fsync */ 7769 case 465: 7770 switch(ndx) { 7771 case 0: 7772 p = "int"; 7773 break; 7774 case 1: 7775 p = "struct aiocb *"; 7776 break; 7777 default: 7778 break; 7779 }; 7780 break; 7781 /* rtprio_thread */ 7782 case 466: 7783 switch(ndx) { 7784 case 0: 7785 p = "int"; 7786 break; 7787 case 1: 7788 p = "lwpid_t"; 7789 break; 7790 case 2: 7791 p = "struct rtprio *"; 7792 break; 7793 default: 7794 break; 7795 }; 7796 break; 7797 /* sctp_peeloff */ 7798 case 471: 7799 switch(ndx) { 7800 case 0: 7801 p = "int"; 7802 break; 7803 case 1: 7804 p = "uint32_t"; 7805 break; 7806 default: 7807 break; 7808 }; 7809 break; 7810 /* sctp_generic_sendmsg */ 7811 case 472: 7812 switch(ndx) { 7813 case 0: 7814 p = "int"; 7815 break; 7816 case 1: 7817 p = "caddr_t"; 7818 break; 7819 case 2: 7820 p = "int"; 7821 break; 7822 case 3: 7823 p = "caddr_t"; 7824 break; 7825 case 4: 7826 p = "__socklen_t"; 7827 break; 7828 case 5: 7829 p = "struct sctp_sndrcvinfo *"; 7830 break; 7831 case 6: 7832 p = "int"; 7833 break; 7834 default: 7835 break; 7836 }; 7837 break; 7838 /* sctp_generic_sendmsg_iov */ 7839 case 473: 7840 switch(ndx) { 7841 case 0: 7842 p = "int"; 7843 break; 7844 case 1: 7845 p = "struct iovec *"; 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_recvmsg */ 7867 case 474: 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 = "struct sockaddr *"; 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 /* pread */ 7895 case 475: 7896 switch(ndx) { 7897 case 0: 7898 p = "int"; 7899 break; 7900 case 1: 7901 p = "void *"; 7902 break; 7903 case 2: 7904 p = "size_t"; 7905 break; 7906 case 3: 7907 p = "off_t"; 7908 break; 7909 default: 7910 break; 7911 }; 7912 break; 7913 /* pwrite */ 7914 case 476: 7915 switch(ndx) { 7916 case 0: 7917 p = "int"; 7918 break; 7919 case 1: 7920 p = "const void *"; 7921 break; 7922 case 2: 7923 p = "size_t"; 7924 break; 7925 case 3: 7926 p = "off_t"; 7927 break; 7928 default: 7929 break; 7930 }; 7931 break; 7932 /* mmap */ 7933 case 477: 7934 switch(ndx) { 7935 case 0: 7936 p = "caddr_t"; 7937 break; 7938 case 1: 7939 p = "size_t"; 7940 break; 7941 case 2: 7942 p = "int"; 7943 break; 7944 case 3: 7945 p = "int"; 7946 break; 7947 case 4: 7948 p = "int"; 7949 break; 7950 case 5: 7951 p = "off_t"; 7952 break; 7953 default: 7954 break; 7955 }; 7956 break; 7957 /* lseek */ 7958 case 478: 7959 switch(ndx) { 7960 case 0: 7961 p = "int"; 7962 break; 7963 case 1: 7964 p = "off_t"; 7965 break; 7966 case 2: 7967 p = "int"; 7968 break; 7969 default: 7970 break; 7971 }; 7972 break; 7973 /* truncate */ 7974 case 479: 7975 switch(ndx) { 7976 case 0: 7977 p = "char *"; 7978 break; 7979 case 1: 7980 p = "off_t"; 7981 break; 7982 default: 7983 break; 7984 }; 7985 break; 7986 /* ftruncate */ 7987 case 480: 7988 switch(ndx) { 7989 case 0: 7990 p = "int"; 7991 break; 7992 case 1: 7993 p = "off_t"; 7994 break; 7995 default: 7996 break; 7997 }; 7998 break; 7999 /* thr_kill2 */ 8000 case 481: 8001 switch(ndx) { 8002 case 0: 8003 p = "pid_t"; 8004 break; 8005 case 1: 8006 p = "long"; 8007 break; 8008 case 2: 8009 p = "int"; 8010 break; 8011 default: 8012 break; 8013 }; 8014 break; 8015 /* shm_open */ 8016 case 482: 8017 switch(ndx) { 8018 case 0: 8019 p = "const char *"; 8020 break; 8021 case 1: 8022 p = "int"; 8023 break; 8024 case 2: 8025 p = "mode_t"; 8026 break; 8027 default: 8028 break; 8029 }; 8030 break; 8031 /* shm_unlink */ 8032 case 483: 8033 switch(ndx) { 8034 case 0: 8035 p = "const char *"; 8036 break; 8037 default: 8038 break; 8039 }; 8040 break; 8041 /* cpuset */ 8042 case 484: 8043 switch(ndx) { 8044 case 0: 8045 p = "cpusetid_t *"; 8046 break; 8047 default: 8048 break; 8049 }; 8050 break; 8051 /* cpuset_setid */ 8052 case 485: 8053 switch(ndx) { 8054 case 0: 8055 p = "cpuwhich_t"; 8056 break; 8057 case 1: 8058 p = "id_t"; 8059 break; 8060 case 2: 8061 p = "cpusetid_t"; 8062 break; 8063 default: 8064 break; 8065 }; 8066 break; 8067 /* cpuset_getid */ 8068 case 486: 8069 switch(ndx) { 8070 case 0: 8071 p = "cpulevel_t"; 8072 break; 8073 case 1: 8074 p = "cpuwhich_t"; 8075 break; 8076 case 2: 8077 p = "id_t"; 8078 break; 8079 case 3: 8080 p = "cpusetid_t *"; 8081 break; 8082 default: 8083 break; 8084 }; 8085 break; 8086 /* cpuset_getaffinity */ 8087 case 487: 8088 switch(ndx) { 8089 case 0: 8090 p = "cpulevel_t"; 8091 break; 8092 case 1: 8093 p = "cpuwhich_t"; 8094 break; 8095 case 2: 8096 p = "id_t"; 8097 break; 8098 case 3: 8099 p = "size_t"; 8100 break; 8101 case 4: 8102 p = "cpuset_t *"; 8103 break; 8104 default: 8105 break; 8106 }; 8107 break; 8108 /* cpuset_setaffinity */ 8109 case 488: 8110 switch(ndx) { 8111 case 0: 8112 p = "cpulevel_t"; 8113 break; 8114 case 1: 8115 p = "cpuwhich_t"; 8116 break; 8117 case 2: 8118 p = "id_t"; 8119 break; 8120 case 3: 8121 p = "size_t"; 8122 break; 8123 case 4: 8124 p = "const cpuset_t *"; 8125 break; 8126 default: 8127 break; 8128 }; 8129 break; 8130 /* faccessat */ 8131 case 489: 8132 switch(ndx) { 8133 case 0: 8134 p = "int"; 8135 break; 8136 case 1: 8137 p = "char *"; 8138 break; 8139 case 2: 8140 p = "int"; 8141 break; 8142 case 3: 8143 p = "int"; 8144 break; 8145 default: 8146 break; 8147 }; 8148 break; 8149 /* fchmodat */ 8150 case 490: 8151 switch(ndx) { 8152 case 0: 8153 p = "int"; 8154 break; 8155 case 1: 8156 p = "char *"; 8157 break; 8158 case 2: 8159 p = "mode_t"; 8160 break; 8161 case 3: 8162 p = "int"; 8163 break; 8164 default: 8165 break; 8166 }; 8167 break; 8168 /* fchownat */ 8169 case 491: 8170 switch(ndx) { 8171 case 0: 8172 p = "int"; 8173 break; 8174 case 1: 8175 p = "char *"; 8176 break; 8177 case 2: 8178 p = "uid_t"; 8179 break; 8180 case 3: 8181 p = "gid_t"; 8182 break; 8183 case 4: 8184 p = "int"; 8185 break; 8186 default: 8187 break; 8188 }; 8189 break; 8190 /* fexecve */ 8191 case 492: 8192 switch(ndx) { 8193 case 0: 8194 p = "int"; 8195 break; 8196 case 1: 8197 p = "char **"; 8198 break; 8199 case 2: 8200 p = "char **"; 8201 break; 8202 default: 8203 break; 8204 }; 8205 break; 8206 /* fstatat */ 8207 case 493: 8208 switch(ndx) { 8209 case 0: 8210 p = "int"; 8211 break; 8212 case 1: 8213 p = "char *"; 8214 break; 8215 case 2: 8216 p = "struct stat *"; 8217 break; 8218 case 3: 8219 p = "int"; 8220 break; 8221 default: 8222 break; 8223 }; 8224 break; 8225 /* futimesat */ 8226 case 494: 8227 switch(ndx) { 8228 case 0: 8229 p = "int"; 8230 break; 8231 case 1: 8232 p = "char *"; 8233 break; 8234 case 2: 8235 p = "struct timeval *"; 8236 break; 8237 default: 8238 break; 8239 }; 8240 break; 8241 /* linkat */ 8242 case 495: 8243 switch(ndx) { 8244 case 0: 8245 p = "int"; 8246 break; 8247 case 1: 8248 p = "char *"; 8249 break; 8250 case 2: 8251 p = "int"; 8252 break; 8253 case 3: 8254 p = "char *"; 8255 break; 8256 case 4: 8257 p = "int"; 8258 break; 8259 default: 8260 break; 8261 }; 8262 break; 8263 /* mkdirat */ 8264 case 496: 8265 switch(ndx) { 8266 case 0: 8267 p = "int"; 8268 break; 8269 case 1: 8270 p = "char *"; 8271 break; 8272 case 2: 8273 p = "mode_t"; 8274 break; 8275 default: 8276 break; 8277 }; 8278 break; 8279 /* mkfifoat */ 8280 case 497: 8281 switch(ndx) { 8282 case 0: 8283 p = "int"; 8284 break; 8285 case 1: 8286 p = "char *"; 8287 break; 8288 case 2: 8289 p = "mode_t"; 8290 break; 8291 default: 8292 break; 8293 }; 8294 break; 8295 /* mknodat */ 8296 case 498: 8297 switch(ndx) { 8298 case 0: 8299 p = "int"; 8300 break; 8301 case 1: 8302 p = "char *"; 8303 break; 8304 case 2: 8305 p = "mode_t"; 8306 break; 8307 case 3: 8308 p = "dev_t"; 8309 break; 8310 default: 8311 break; 8312 }; 8313 break; 8314 /* openat */ 8315 case 499: 8316 switch(ndx) { 8317 case 0: 8318 p = "int"; 8319 break; 8320 case 1: 8321 p = "char *"; 8322 break; 8323 case 2: 8324 p = "int"; 8325 break; 8326 case 3: 8327 p = "mode_t"; 8328 break; 8329 default: 8330 break; 8331 }; 8332 break; 8333 /* readlinkat */ 8334 case 500: 8335 switch(ndx) { 8336 case 0: 8337 p = "int"; 8338 break; 8339 case 1: 8340 p = "char *"; 8341 break; 8342 case 2: 8343 p = "char *"; 8344 break; 8345 case 3: 8346 p = "size_t"; 8347 break; 8348 default: 8349 break; 8350 }; 8351 break; 8352 /* renameat */ 8353 case 501: 8354 switch(ndx) { 8355 case 0: 8356 p = "int"; 8357 break; 8358 case 1: 8359 p = "char *"; 8360 break; 8361 case 2: 8362 p = "int"; 8363 break; 8364 case 3: 8365 p = "char *"; 8366 break; 8367 default: 8368 break; 8369 }; 8370 break; 8371 /* symlinkat */ 8372 case 502: 8373 switch(ndx) { 8374 case 0: 8375 p = "char *"; 8376 break; 8377 case 1: 8378 p = "int"; 8379 break; 8380 case 2: 8381 p = "char *"; 8382 break; 8383 default: 8384 break; 8385 }; 8386 break; 8387 /* unlinkat */ 8388 case 503: 8389 switch(ndx) { 8390 case 0: 8391 p = "int"; 8392 break; 8393 case 1: 8394 p = "char *"; 8395 break; 8396 case 2: 8397 p = "int"; 8398 break; 8399 default: 8400 break; 8401 }; 8402 break; 8403 /* posix_openpt */ 8404 case 504: 8405 switch(ndx) { 8406 case 0: 8407 p = "int"; 8408 break; 8409 default: 8410 break; 8411 }; 8412 break; 8413 /* gssd_syscall */ 8414 case 505: 8415 switch(ndx) { 8416 case 0: 8417 p = "char *"; 8418 break; 8419 default: 8420 break; 8421 }; 8422 break; 8423 /* jail_get */ 8424 case 506: 8425 switch(ndx) { 8426 case 0: 8427 p = "struct iovec *"; 8428 break; 8429 case 1: 8430 p = "unsigned int"; 8431 break; 8432 case 2: 8433 p = "int"; 8434 break; 8435 default: 8436 break; 8437 }; 8438 break; 8439 /* jail_set */ 8440 case 507: 8441 switch(ndx) { 8442 case 0: 8443 p = "struct iovec *"; 8444 break; 8445 case 1: 8446 p = "unsigned int"; 8447 break; 8448 case 2: 8449 p = "int"; 8450 break; 8451 default: 8452 break; 8453 }; 8454 break; 8455 /* jail_remove */ 8456 case 508: 8457 switch(ndx) { 8458 case 0: 8459 p = "int"; 8460 break; 8461 default: 8462 break; 8463 }; 8464 break; 8465 /* closefrom */ 8466 case 509: 8467 switch(ndx) { 8468 case 0: 8469 p = "int"; 8470 break; 8471 default: 8472 break; 8473 }; 8474 break; 8475 /* __semctl */ 8476 case 510: 8477 switch(ndx) { 8478 case 0: 8479 p = "int"; 8480 break; 8481 case 1: 8482 p = "int"; 8483 break; 8484 case 2: 8485 p = "int"; 8486 break; 8487 case 3: 8488 p = "union semun *"; 8489 break; 8490 default: 8491 break; 8492 }; 8493 break; 8494 /* msgctl */ 8495 case 511: 8496 switch(ndx) { 8497 case 0: 8498 p = "int"; 8499 break; 8500 case 1: 8501 p = "int"; 8502 break; 8503 case 2: 8504 p = "struct msqid_ds *"; 8505 break; 8506 default: 8507 break; 8508 }; 8509 break; 8510 /* shmctl */ 8511 case 512: 8512 switch(ndx) { 8513 case 0: 8514 p = "int"; 8515 break; 8516 case 1: 8517 p = "int"; 8518 break; 8519 case 2: 8520 p = "struct shmid_ds *"; 8521 break; 8522 default: 8523 break; 8524 }; 8525 break; 8526 /* lpathconf */ 8527 case 513: 8528 switch(ndx) { 8529 case 0: 8530 p = "char *"; 8531 break; 8532 case 1: 8533 p = "int"; 8534 break; 8535 default: 8536 break; 8537 }; 8538 break; 8539 /* cap_new */ 8540 case 514: 8541 switch(ndx) { 8542 case 0: 8543 p = "int"; 8544 break; 8545 case 1: 8546 p = "uint64_t"; 8547 break; 8548 default: 8549 break; 8550 }; 8551 break; 8552 /* cap_rights_get */ 8553 case 515: 8554 switch(ndx) { 8555 case 0: 8556 p = "int"; 8557 break; 8558 case 1: 8559 p = "uint64_t *"; 8560 break; 8561 default: 8562 break; 8563 }; 8564 break; 8565 /* cap_enter */ 8566 case 516: 8567 break; 8568 /* cap_getmode */ 8569 case 517: 8570 switch(ndx) { 8571 case 0: 8572 p = "u_int *"; 8573 break; 8574 default: 8575 break; 8576 }; 8577 break; 8578 /* pdfork */ 8579 case 518: 8580 switch(ndx) { 8581 case 0: 8582 p = "int *"; 8583 break; 8584 case 1: 8585 p = "int"; 8586 break; 8587 default: 8588 break; 8589 }; 8590 break; 8591 /* pdkill */ 8592 case 519: 8593 switch(ndx) { 8594 case 0: 8595 p = "int"; 8596 break; 8597 case 1: 8598 p = "int"; 8599 break; 8600 default: 8601 break; 8602 }; 8603 break; 8604 /* pdgetpid */ 8605 case 520: 8606 switch(ndx) { 8607 case 0: 8608 p = "int"; 8609 break; 8610 case 1: 8611 p = "pid_t *"; 8612 break; 8613 default: 8614 break; 8615 }; 8616 break; 8617 /* pselect */ 8618 case 522: 8619 switch(ndx) { 8620 case 0: 8621 p = "int"; 8622 break; 8623 case 1: 8624 p = "fd_set *"; 8625 break; 8626 case 2: 8627 p = "fd_set *"; 8628 break; 8629 case 3: 8630 p = "fd_set *"; 8631 break; 8632 case 4: 8633 p = "const struct timespec *"; 8634 break; 8635 case 5: 8636 p = "const sigset_t *"; 8637 break; 8638 default: 8639 break; 8640 }; 8641 break; 8642 /* getloginclass */ 8643 case 523: 8644 switch(ndx) { 8645 case 0: 8646 p = "char *"; 8647 break; 8648 case 1: 8649 p = "size_t"; 8650 break; 8651 default: 8652 break; 8653 }; 8654 break; 8655 /* setloginclass */ 8656 case 524: 8657 switch(ndx) { 8658 case 0: 8659 p = "const char *"; 8660 break; 8661 default: 8662 break; 8663 }; 8664 break; 8665 /* rctl_get_racct */ 8666 case 525: 8667 switch(ndx) { 8668 case 0: 8669 p = "const void *"; 8670 break; 8671 case 1: 8672 p = "size_t"; 8673 break; 8674 case 2: 8675 p = "void *"; 8676 break; 8677 case 3: 8678 p = "size_t"; 8679 break; 8680 default: 8681 break; 8682 }; 8683 break; 8684 /* rctl_get_rules */ 8685 case 526: 8686 switch(ndx) { 8687 case 0: 8688 p = "const void *"; 8689 break; 8690 case 1: 8691 p = "size_t"; 8692 break; 8693 case 2: 8694 p = "void *"; 8695 break; 8696 case 3: 8697 p = "size_t"; 8698 break; 8699 default: 8700 break; 8701 }; 8702 break; 8703 /* rctl_get_limits */ 8704 case 527: 8705 switch(ndx) { 8706 case 0: 8707 p = "const void *"; 8708 break; 8709 case 1: 8710 p = "size_t"; 8711 break; 8712 case 2: 8713 p = "void *"; 8714 break; 8715 case 3: 8716 p = "size_t"; 8717 break; 8718 default: 8719 break; 8720 }; 8721 break; 8722 /* rctl_add_rule */ 8723 case 528: 8724 switch(ndx) { 8725 case 0: 8726 p = "const void *"; 8727 break; 8728 case 1: 8729 p = "size_t"; 8730 break; 8731 case 2: 8732 p = "void *"; 8733 break; 8734 case 3: 8735 p = "size_t"; 8736 break; 8737 default: 8738 break; 8739 }; 8740 break; 8741 /* rctl_remove_rule */ 8742 case 529: 8743 switch(ndx) { 8744 case 0: 8745 p = "const void *"; 8746 break; 8747 case 1: 8748 p = "size_t"; 8749 break; 8750 case 2: 8751 p = "void *"; 8752 break; 8753 case 3: 8754 p = "size_t"; 8755 break; 8756 default: 8757 break; 8758 }; 8759 break; 8760 /* posix_fallocate */ 8761 case 530: 8762 switch(ndx) { 8763 case 0: 8764 p = "int"; 8765 break; 8766 case 1: 8767 p = "off_t"; 8768 break; 8769 case 2: 8770 p = "off_t"; 8771 break; 8772 default: 8773 break; 8774 }; 8775 break; 8776 /* posix_fadvise */ 8777 case 531: 8778 switch(ndx) { 8779 case 0: 8780 p = "int"; 8781 break; 8782 case 1: 8783 p = "off_t"; 8784 break; 8785 case 2: 8786 p = "off_t"; 8787 break; 8788 case 3: 8789 p = "int"; 8790 break; 8791 default: 8792 break; 8793 }; 8794 break; 8795 /* wait6 */ 8796 case 532: 8797 switch(ndx) { 8798 case 0: 8799 p = "int"; 8800 break; 8801 case 1: 8802 p = "int"; 8803 break; 8804 case 2: 8805 p = "int *"; 8806 break; 8807 case 3: 8808 p = "int"; 8809 break; 8810 case 4: 8811 p = "struct __wrusage *"; 8812 break; 8813 case 5: 8814 p = "siginfo_t *"; 8815 break; 8816 default: 8817 break; 8818 }; 8819 break; 8820 /* cap_rights_limit */ 8821 case 533: 8822 switch(ndx) { 8823 case 0: 8824 p = "int"; 8825 break; 8826 case 1: 8827 p = "uint64_t"; 8828 break; 8829 default: 8830 break; 8831 }; 8832 break; 8833 /* cap_ioctls_limit */ 8834 case 534: 8835 switch(ndx) { 8836 case 0: 8837 p = "int"; 8838 break; 8839 case 1: 8840 p = "const u_long *"; 8841 break; 8842 case 2: 8843 p = "size_t"; 8844 break; 8845 default: 8846 break; 8847 }; 8848 break; 8849 /* cap_ioctls_get */ 8850 case 535: 8851 switch(ndx) { 8852 case 0: 8853 p = "int"; 8854 break; 8855 case 1: 8856 p = "u_long *"; 8857 break; 8858 case 2: 8859 p = "size_t"; 8860 break; 8861 default: 8862 break; 8863 }; 8864 break; 8865 /* cap_fcntls_limit */ 8866 case 536: 8867 switch(ndx) { 8868 case 0: 8869 p = "int"; 8870 break; 8871 case 1: 8872 p = "uint32_t"; 8873 break; 8874 default: 8875 break; 8876 }; 8877 break; 8878 /* cap_fcntls_get */ 8879 case 537: 8880 switch(ndx) { 8881 case 0: 8882 p = "int"; 8883 break; 8884 case 1: 8885 p = "uint32_t *"; 8886 break; 8887 default: 8888 break; 8889 }; 8890 break; 8891 /* bindat */ 8892 case 538: 8893 switch(ndx) { 8894 case 0: 8895 p = "int"; 8896 break; 8897 case 1: 8898 p = "int"; 8899 break; 8900 case 2: 8901 p = "caddr_t"; 8902 break; 8903 case 3: 8904 p = "int"; 8905 break; 8906 default: 8907 break; 8908 }; 8909 break; 8910 /* connectat */ 8911 case 539: 8912 switch(ndx) { 8913 case 0: 8914 p = "int"; 8915 break; 8916 case 1: 8917 p = "int"; 8918 break; 8919 case 2: 8920 p = "caddr_t"; 8921 break; 8922 case 3: 8923 p = "int"; 8924 break; 8925 default: 8926 break; 8927 }; 8928 break; 8929 /* chflagsat */ 8930 case 540: 8931 switch(ndx) { 8932 case 0: 8933 p = "int"; 8934 break; 8935 case 1: 8936 p = "const char *"; 8937 break; 8938 case 2: 8939 p = "u_long"; 8940 break; 8941 case 3: 8942 p = "int"; 8943 break; 8944 default: 8945 break; 8946 }; 8947 break; 8948 default: 8949 break; 8950 }; 8951 if (p != NULL) 8952 strlcpy(desc, p, descsz); 8953 } 8954 static void 8955 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 8956 { 8957 const char *p = NULL; 8958 switch (sysnum) { 8959 /* nosys */ 8960 case 0: 8961 /* sys_exit */ 8962 case 1: 8963 if (ndx == 0 || ndx == 1) 8964 p = "void"; 8965 break; 8966 /* fork */ 8967 case 2: 8968 /* read */ 8969 case 3: 8970 if (ndx == 0 || ndx == 1) 8971 p = "ssize_t"; 8972 break; 8973 /* write */ 8974 case 4: 8975 if (ndx == 0 || ndx == 1) 8976 p = "ssize_t"; 8977 break; 8978 /* open */ 8979 case 5: 8980 if (ndx == 0 || ndx == 1) 8981 p = "int"; 8982 break; 8983 /* close */ 8984 case 6: 8985 if (ndx == 0 || ndx == 1) 8986 p = "int"; 8987 break; 8988 /* wait4 */ 8989 case 7: 8990 if (ndx == 0 || ndx == 1) 8991 p = "int"; 8992 break; 8993 /* link */ 8994 case 9: 8995 if (ndx == 0 || ndx == 1) 8996 p = "int"; 8997 break; 8998 /* unlink */ 8999 case 10: 9000 if (ndx == 0 || ndx == 1) 9001 p = "int"; 9002 break; 9003 /* chdir */ 9004 case 12: 9005 if (ndx == 0 || ndx == 1) 9006 p = "int"; 9007 break; 9008 /* fchdir */ 9009 case 13: 9010 if (ndx == 0 || ndx == 1) 9011 p = "int"; 9012 break; 9013 /* mknod */ 9014 case 14: 9015 if (ndx == 0 || ndx == 1) 9016 p = "int"; 9017 break; 9018 /* chmod */ 9019 case 15: 9020 if (ndx == 0 || ndx == 1) 9021 p = "int"; 9022 break; 9023 /* chown */ 9024 case 16: 9025 if (ndx == 0 || ndx == 1) 9026 p = "int"; 9027 break; 9028 /* obreak */ 9029 case 17: 9030 if (ndx == 0 || ndx == 1) 9031 p = "int"; 9032 break; 9033 /* getpid */ 9034 case 20: 9035 /* mount */ 9036 case 21: 9037 if (ndx == 0 || ndx == 1) 9038 p = "int"; 9039 break; 9040 /* unmount */ 9041 case 22: 9042 if (ndx == 0 || ndx == 1) 9043 p = "int"; 9044 break; 9045 /* setuid */ 9046 case 23: 9047 if (ndx == 0 || ndx == 1) 9048 p = "int"; 9049 break; 9050 /* getuid */ 9051 case 24: 9052 /* geteuid */ 9053 case 25: 9054 /* ptrace */ 9055 case 26: 9056 if (ndx == 0 || ndx == 1) 9057 p = "int"; 9058 break; 9059 /* recvmsg */ 9060 case 27: 9061 if (ndx == 0 || ndx == 1) 9062 p = "int"; 9063 break; 9064 /* sendmsg */ 9065 case 28: 9066 if (ndx == 0 || ndx == 1) 9067 p = "int"; 9068 break; 9069 /* recvfrom */ 9070 case 29: 9071 if (ndx == 0 || ndx == 1) 9072 p = "int"; 9073 break; 9074 /* accept */ 9075 case 30: 9076 if (ndx == 0 || ndx == 1) 9077 p = "int"; 9078 break; 9079 /* getpeername */ 9080 case 31: 9081 if (ndx == 0 || ndx == 1) 9082 p = "int"; 9083 break; 9084 /* getsockname */ 9085 case 32: 9086 if (ndx == 0 || ndx == 1) 9087 p = "int"; 9088 break; 9089 /* access */ 9090 case 33: 9091 if (ndx == 0 || ndx == 1) 9092 p = "int"; 9093 break; 9094 /* chflags */ 9095 case 34: 9096 if (ndx == 0 || ndx == 1) 9097 p = "int"; 9098 break; 9099 /* fchflags */ 9100 case 35: 9101 if (ndx == 0 || ndx == 1) 9102 p = "int"; 9103 break; 9104 /* sync */ 9105 case 36: 9106 /* kill */ 9107 case 37: 9108 if (ndx == 0 || ndx == 1) 9109 p = "int"; 9110 break; 9111 /* getppid */ 9112 case 39: 9113 /* dup */ 9114 case 41: 9115 if (ndx == 0 || ndx == 1) 9116 p = "int"; 9117 break; 9118 /* pipe */ 9119 case 42: 9120 /* getegid */ 9121 case 43: 9122 /* profil */ 9123 case 44: 9124 if (ndx == 0 || ndx == 1) 9125 p = "int"; 9126 break; 9127 /* ktrace */ 9128 case 45: 9129 if (ndx == 0 || ndx == 1) 9130 p = "int"; 9131 break; 9132 /* getgid */ 9133 case 47: 9134 /* getlogin */ 9135 case 49: 9136 if (ndx == 0 || ndx == 1) 9137 p = "int"; 9138 break; 9139 /* setlogin */ 9140 case 50: 9141 if (ndx == 0 || ndx == 1) 9142 p = "int"; 9143 break; 9144 /* acct */ 9145 case 51: 9146 if (ndx == 0 || ndx == 1) 9147 p = "int"; 9148 break; 9149 /* sigaltstack */ 9150 case 53: 9151 if (ndx == 0 || ndx == 1) 9152 p = "int"; 9153 break; 9154 /* ioctl */ 9155 case 54: 9156 if (ndx == 0 || ndx == 1) 9157 p = "int"; 9158 break; 9159 /* reboot */ 9160 case 55: 9161 if (ndx == 0 || ndx == 1) 9162 p = "int"; 9163 break; 9164 /* revoke */ 9165 case 56: 9166 if (ndx == 0 || ndx == 1) 9167 p = "int"; 9168 break; 9169 /* symlink */ 9170 case 57: 9171 if (ndx == 0 || ndx == 1) 9172 p = "int"; 9173 break; 9174 /* readlink */ 9175 case 58: 9176 if (ndx == 0 || ndx == 1) 9177 p = "ssize_t"; 9178 break; 9179 /* execve */ 9180 case 59: 9181 if (ndx == 0 || ndx == 1) 9182 p = "int"; 9183 break; 9184 /* umask */ 9185 case 60: 9186 if (ndx == 0 || ndx == 1) 9187 p = "int"; 9188 break; 9189 /* chroot */ 9190 case 61: 9191 if (ndx == 0 || ndx == 1) 9192 p = "int"; 9193 break; 9194 /* msync */ 9195 case 65: 9196 if (ndx == 0 || ndx == 1) 9197 p = "int"; 9198 break; 9199 /* vfork */ 9200 case 66: 9201 /* sbrk */ 9202 case 69: 9203 if (ndx == 0 || ndx == 1) 9204 p = "int"; 9205 break; 9206 /* sstk */ 9207 case 70: 9208 if (ndx == 0 || ndx == 1) 9209 p = "int"; 9210 break; 9211 /* ovadvise */ 9212 case 72: 9213 if (ndx == 0 || ndx == 1) 9214 p = "int"; 9215 break; 9216 /* munmap */ 9217 case 73: 9218 if (ndx == 0 || ndx == 1) 9219 p = "int"; 9220 break; 9221 /* mprotect */ 9222 case 74: 9223 if (ndx == 0 || ndx == 1) 9224 p = "int"; 9225 break; 9226 /* madvise */ 9227 case 75: 9228 if (ndx == 0 || ndx == 1) 9229 p = "int"; 9230 break; 9231 /* mincore */ 9232 case 78: 9233 if (ndx == 0 || ndx == 1) 9234 p = "int"; 9235 break; 9236 /* getgroups */ 9237 case 79: 9238 if (ndx == 0 || ndx == 1) 9239 p = "int"; 9240 break; 9241 /* setgroups */ 9242 case 80: 9243 if (ndx == 0 || ndx == 1) 9244 p = "int"; 9245 break; 9246 /* getpgrp */ 9247 case 81: 9248 /* setpgid */ 9249 case 82: 9250 if (ndx == 0 || ndx == 1) 9251 p = "int"; 9252 break; 9253 /* setitimer */ 9254 case 83: 9255 if (ndx == 0 || ndx == 1) 9256 p = "int"; 9257 break; 9258 /* swapon */ 9259 case 85: 9260 if (ndx == 0 || ndx == 1) 9261 p = "int"; 9262 break; 9263 /* getitimer */ 9264 case 86: 9265 if (ndx == 0 || ndx == 1) 9266 p = "int"; 9267 break; 9268 /* getdtablesize */ 9269 case 89: 9270 /* dup2 */ 9271 case 90: 9272 if (ndx == 0 || ndx == 1) 9273 p = "int"; 9274 break; 9275 /* fcntl */ 9276 case 92: 9277 if (ndx == 0 || ndx == 1) 9278 p = "int"; 9279 break; 9280 /* select */ 9281 case 93: 9282 if (ndx == 0 || ndx == 1) 9283 p = "int"; 9284 break; 9285 /* fsync */ 9286 case 95: 9287 if (ndx == 0 || ndx == 1) 9288 p = "int"; 9289 break; 9290 /* setpriority */ 9291 case 96: 9292 if (ndx == 0 || ndx == 1) 9293 p = "int"; 9294 break; 9295 /* socket */ 9296 case 97: 9297 if (ndx == 0 || ndx == 1) 9298 p = "int"; 9299 break; 9300 /* connect */ 9301 case 98: 9302 if (ndx == 0 || ndx == 1) 9303 p = "int"; 9304 break; 9305 /* getpriority */ 9306 case 100: 9307 if (ndx == 0 || ndx == 1) 9308 p = "int"; 9309 break; 9310 /* bind */ 9311 case 104: 9312 if (ndx == 0 || ndx == 1) 9313 p = "int"; 9314 break; 9315 /* setsockopt */ 9316 case 105: 9317 if (ndx == 0 || ndx == 1) 9318 p = "int"; 9319 break; 9320 /* listen */ 9321 case 106: 9322 if (ndx == 0 || ndx == 1) 9323 p = "int"; 9324 break; 9325 /* gettimeofday */ 9326 case 116: 9327 if (ndx == 0 || ndx == 1) 9328 p = "int"; 9329 break; 9330 /* getrusage */ 9331 case 117: 9332 if (ndx == 0 || ndx == 1) 9333 p = "int"; 9334 break; 9335 /* getsockopt */ 9336 case 118: 9337 if (ndx == 0 || ndx == 1) 9338 p = "int"; 9339 break; 9340 /* readv */ 9341 case 120: 9342 if (ndx == 0 || ndx == 1) 9343 p = "int"; 9344 break; 9345 /* writev */ 9346 case 121: 9347 if (ndx == 0 || ndx == 1) 9348 p = "int"; 9349 break; 9350 /* settimeofday */ 9351 case 122: 9352 if (ndx == 0 || ndx == 1) 9353 p = "int"; 9354 break; 9355 /* fchown */ 9356 case 123: 9357 if (ndx == 0 || ndx == 1) 9358 p = "int"; 9359 break; 9360 /* fchmod */ 9361 case 124: 9362 if (ndx == 0 || ndx == 1) 9363 p = "int"; 9364 break; 9365 /* setreuid */ 9366 case 126: 9367 if (ndx == 0 || ndx == 1) 9368 p = "int"; 9369 break; 9370 /* setregid */ 9371 case 127: 9372 if (ndx == 0 || ndx == 1) 9373 p = "int"; 9374 break; 9375 /* rename */ 9376 case 128: 9377 if (ndx == 0 || ndx == 1) 9378 p = "int"; 9379 break; 9380 /* flock */ 9381 case 131: 9382 if (ndx == 0 || ndx == 1) 9383 p = "int"; 9384 break; 9385 /* mkfifo */ 9386 case 132: 9387 if (ndx == 0 || ndx == 1) 9388 p = "int"; 9389 break; 9390 /* sendto */ 9391 case 133: 9392 if (ndx == 0 || ndx == 1) 9393 p = "int"; 9394 break; 9395 /* shutdown */ 9396 case 134: 9397 if (ndx == 0 || ndx == 1) 9398 p = "int"; 9399 break; 9400 /* socketpair */ 9401 case 135: 9402 if (ndx == 0 || ndx == 1) 9403 p = "int"; 9404 break; 9405 /* mkdir */ 9406 case 136: 9407 if (ndx == 0 || ndx == 1) 9408 p = "int"; 9409 break; 9410 /* rmdir */ 9411 case 137: 9412 if (ndx == 0 || ndx == 1) 9413 p = "int"; 9414 break; 9415 /* utimes */ 9416 case 138: 9417 if (ndx == 0 || ndx == 1) 9418 p = "int"; 9419 break; 9420 /* adjtime */ 9421 case 140: 9422 if (ndx == 0 || ndx == 1) 9423 p = "int"; 9424 break; 9425 /* setsid */ 9426 case 147: 9427 /* quotactl */ 9428 case 148: 9429 if (ndx == 0 || ndx == 1) 9430 p = "int"; 9431 break; 9432 /* nlm_syscall */ 9433 case 154: 9434 if (ndx == 0 || ndx == 1) 9435 p = "int"; 9436 break; 9437 /* nfssvc */ 9438 case 155: 9439 if (ndx == 0 || ndx == 1) 9440 p = "int"; 9441 break; 9442 /* lgetfh */ 9443 case 160: 9444 if (ndx == 0 || ndx == 1) 9445 p = "int"; 9446 break; 9447 /* getfh */ 9448 case 161: 9449 if (ndx == 0 || ndx == 1) 9450 p = "int"; 9451 break; 9452 /* sysarch */ 9453 case 165: 9454 if (ndx == 0 || ndx == 1) 9455 p = "int"; 9456 break; 9457 /* rtprio */ 9458 case 166: 9459 if (ndx == 0 || ndx == 1) 9460 p = "int"; 9461 break; 9462 /* semsys */ 9463 case 169: 9464 if (ndx == 0 || ndx == 1) 9465 p = "int"; 9466 break; 9467 /* msgsys */ 9468 case 170: 9469 if (ndx == 0 || ndx == 1) 9470 p = "int"; 9471 break; 9472 /* shmsys */ 9473 case 171: 9474 if (ndx == 0 || ndx == 1) 9475 p = "int"; 9476 break; 9477 /* freebsd6_pread */ 9478 case 173: 9479 if (ndx == 0 || ndx == 1) 9480 p = "ssize_t"; 9481 break; 9482 /* freebsd6_pwrite */ 9483 case 174: 9484 if (ndx == 0 || ndx == 1) 9485 p = "ssize_t"; 9486 break; 9487 /* setfib */ 9488 case 175: 9489 if (ndx == 0 || ndx == 1) 9490 p = "int"; 9491 break; 9492 /* ntp_adjtime */ 9493 case 176: 9494 if (ndx == 0 || ndx == 1) 9495 p = "int"; 9496 break; 9497 /* setgid */ 9498 case 181: 9499 if (ndx == 0 || ndx == 1) 9500 p = "int"; 9501 break; 9502 /* setegid */ 9503 case 182: 9504 if (ndx == 0 || ndx == 1) 9505 p = "int"; 9506 break; 9507 /* seteuid */ 9508 case 183: 9509 if (ndx == 0 || ndx == 1) 9510 p = "int"; 9511 break; 9512 /* stat */ 9513 case 188: 9514 if (ndx == 0 || ndx == 1) 9515 p = "int"; 9516 break; 9517 /* fstat */ 9518 case 189: 9519 if (ndx == 0 || ndx == 1) 9520 p = "int"; 9521 break; 9522 /* lstat */ 9523 case 190: 9524 if (ndx == 0 || ndx == 1) 9525 p = "int"; 9526 break; 9527 /* pathconf */ 9528 case 191: 9529 if (ndx == 0 || ndx == 1) 9530 p = "int"; 9531 break; 9532 /* fpathconf */ 9533 case 192: 9534 if (ndx == 0 || ndx == 1) 9535 p = "int"; 9536 break; 9537 /* getrlimit */ 9538 case 194: 9539 if (ndx == 0 || ndx == 1) 9540 p = "int"; 9541 break; 9542 /* setrlimit */ 9543 case 195: 9544 if (ndx == 0 || ndx == 1) 9545 p = "int"; 9546 break; 9547 /* getdirentries */ 9548 case 196: 9549 if (ndx == 0 || ndx == 1) 9550 p = "int"; 9551 break; 9552 /* freebsd6_mmap */ 9553 case 197: 9554 if (ndx == 0 || ndx == 1) 9555 p = "caddr_t"; 9556 break; 9557 /* nosys */ 9558 case 198: 9559 /* freebsd6_lseek */ 9560 case 199: 9561 if (ndx == 0 || ndx == 1) 9562 p = "off_t"; 9563 break; 9564 /* freebsd6_truncate */ 9565 case 200: 9566 if (ndx == 0 || ndx == 1) 9567 p = "int"; 9568 break; 9569 /* freebsd6_ftruncate */ 9570 case 201: 9571 if (ndx == 0 || ndx == 1) 9572 p = "int"; 9573 break; 9574 /* __sysctl */ 9575 case 202: 9576 if (ndx == 0 || ndx == 1) 9577 p = "int"; 9578 break; 9579 /* mlock */ 9580 case 203: 9581 if (ndx == 0 || ndx == 1) 9582 p = "int"; 9583 break; 9584 /* munlock */ 9585 case 204: 9586 if (ndx == 0 || ndx == 1) 9587 p = "int"; 9588 break; 9589 /* undelete */ 9590 case 205: 9591 if (ndx == 0 || ndx == 1) 9592 p = "int"; 9593 break; 9594 /* futimes */ 9595 case 206: 9596 if (ndx == 0 || ndx == 1) 9597 p = "int"; 9598 break; 9599 /* getpgid */ 9600 case 207: 9601 if (ndx == 0 || ndx == 1) 9602 p = "int"; 9603 break; 9604 /* poll */ 9605 case 209: 9606 if (ndx == 0 || ndx == 1) 9607 p = "int"; 9608 break; 9609 /* lkmnosys */ 9610 case 210: 9611 /* lkmnosys */ 9612 case 211: 9613 /* lkmnosys */ 9614 case 212: 9615 /* lkmnosys */ 9616 case 213: 9617 /* lkmnosys */ 9618 case 214: 9619 /* lkmnosys */ 9620 case 215: 9621 /* lkmnosys */ 9622 case 216: 9623 /* lkmnosys */ 9624 case 217: 9625 /* lkmnosys */ 9626 case 218: 9627 /* lkmnosys */ 9628 case 219: 9629 /* semget */ 9630 case 221: 9631 if (ndx == 0 || ndx == 1) 9632 p = "int"; 9633 break; 9634 /* semop */ 9635 case 222: 9636 if (ndx == 0 || ndx == 1) 9637 p = "int"; 9638 break; 9639 /* msgget */ 9640 case 225: 9641 if (ndx == 0 || ndx == 1) 9642 p = "int"; 9643 break; 9644 /* msgsnd */ 9645 case 226: 9646 if (ndx == 0 || ndx == 1) 9647 p = "int"; 9648 break; 9649 /* msgrcv */ 9650 case 227: 9651 if (ndx == 0 || ndx == 1) 9652 p = "int"; 9653 break; 9654 /* shmat */ 9655 case 228: 9656 if (ndx == 0 || ndx == 1) 9657 p = "int"; 9658 break; 9659 /* shmdt */ 9660 case 230: 9661 if (ndx == 0 || ndx == 1) 9662 p = "int"; 9663 break; 9664 /* shmget */ 9665 case 231: 9666 if (ndx == 0 || ndx == 1) 9667 p = "int"; 9668 break; 9669 /* clock_gettime */ 9670 case 232: 9671 if (ndx == 0 || ndx == 1) 9672 p = "int"; 9673 break; 9674 /* clock_settime */ 9675 case 233: 9676 if (ndx == 0 || ndx == 1) 9677 p = "int"; 9678 break; 9679 /* clock_getres */ 9680 case 234: 9681 if (ndx == 0 || ndx == 1) 9682 p = "int"; 9683 break; 9684 /* ktimer_create */ 9685 case 235: 9686 if (ndx == 0 || ndx == 1) 9687 p = "int"; 9688 break; 9689 /* ktimer_delete */ 9690 case 236: 9691 if (ndx == 0 || ndx == 1) 9692 p = "int"; 9693 break; 9694 /* ktimer_settime */ 9695 case 237: 9696 if (ndx == 0 || ndx == 1) 9697 p = "int"; 9698 break; 9699 /* ktimer_gettime */ 9700 case 238: 9701 if (ndx == 0 || ndx == 1) 9702 p = "int"; 9703 break; 9704 /* ktimer_getoverrun */ 9705 case 239: 9706 if (ndx == 0 || ndx == 1) 9707 p = "int"; 9708 break; 9709 /* nanosleep */ 9710 case 240: 9711 if (ndx == 0 || ndx == 1) 9712 p = "int"; 9713 break; 9714 /* ffclock_getcounter */ 9715 case 241: 9716 if (ndx == 0 || ndx == 1) 9717 p = "int"; 9718 break; 9719 /* ffclock_setestimate */ 9720 case 242: 9721 if (ndx == 0 || ndx == 1) 9722 p = "int"; 9723 break; 9724 /* ffclock_getestimate */ 9725 case 243: 9726 if (ndx == 0 || ndx == 1) 9727 p = "int"; 9728 break; 9729 /* clock_getcpuclockid2 */ 9730 case 247: 9731 if (ndx == 0 || ndx == 1) 9732 p = "int"; 9733 break; 9734 /* ntp_gettime */ 9735 case 248: 9736 if (ndx == 0 || ndx == 1) 9737 p = "int"; 9738 break; 9739 /* minherit */ 9740 case 250: 9741 if (ndx == 0 || ndx == 1) 9742 p = "int"; 9743 break; 9744 /* rfork */ 9745 case 251: 9746 if (ndx == 0 || ndx == 1) 9747 p = "int"; 9748 break; 9749 /* openbsd_poll */ 9750 case 252: 9751 if (ndx == 0 || ndx == 1) 9752 p = "int"; 9753 break; 9754 /* issetugid */ 9755 case 253: 9756 /* lchown */ 9757 case 254: 9758 if (ndx == 0 || ndx == 1) 9759 p = "int"; 9760 break; 9761 /* aio_read */ 9762 case 255: 9763 if (ndx == 0 || ndx == 1) 9764 p = "int"; 9765 break; 9766 /* aio_write */ 9767 case 256: 9768 if (ndx == 0 || ndx == 1) 9769 p = "int"; 9770 break; 9771 /* lio_listio */ 9772 case 257: 9773 if (ndx == 0 || ndx == 1) 9774 p = "int"; 9775 break; 9776 /* getdents */ 9777 case 272: 9778 if (ndx == 0 || ndx == 1) 9779 p = "int"; 9780 break; 9781 /* lchmod */ 9782 case 274: 9783 if (ndx == 0 || ndx == 1) 9784 p = "int"; 9785 break; 9786 /* lchown */ 9787 case 275: 9788 if (ndx == 0 || ndx == 1) 9789 p = "int"; 9790 break; 9791 /* lutimes */ 9792 case 276: 9793 if (ndx == 0 || ndx == 1) 9794 p = "int"; 9795 break; 9796 /* msync */ 9797 case 277: 9798 if (ndx == 0 || ndx == 1) 9799 p = "int"; 9800 break; 9801 /* nstat */ 9802 case 278: 9803 if (ndx == 0 || ndx == 1) 9804 p = "int"; 9805 break; 9806 /* nfstat */ 9807 case 279: 9808 if (ndx == 0 || ndx == 1) 9809 p = "int"; 9810 break; 9811 /* nlstat */ 9812 case 280: 9813 if (ndx == 0 || ndx == 1) 9814 p = "int"; 9815 break; 9816 /* preadv */ 9817 case 289: 9818 if (ndx == 0 || ndx == 1) 9819 p = "ssize_t"; 9820 break; 9821 /* pwritev */ 9822 case 290: 9823 if (ndx == 0 || ndx == 1) 9824 p = "ssize_t"; 9825 break; 9826 /* fhopen */ 9827 case 298: 9828 if (ndx == 0 || ndx == 1) 9829 p = "int"; 9830 break; 9831 /* fhstat */ 9832 case 299: 9833 if (ndx == 0 || ndx == 1) 9834 p = "int"; 9835 break; 9836 /* modnext */ 9837 case 300: 9838 if (ndx == 0 || ndx == 1) 9839 p = "int"; 9840 break; 9841 /* modstat */ 9842 case 301: 9843 if (ndx == 0 || ndx == 1) 9844 p = "int"; 9845 break; 9846 /* modfnext */ 9847 case 302: 9848 if (ndx == 0 || ndx == 1) 9849 p = "int"; 9850 break; 9851 /* modfind */ 9852 case 303: 9853 if (ndx == 0 || ndx == 1) 9854 p = "int"; 9855 break; 9856 /* kldload */ 9857 case 304: 9858 if (ndx == 0 || ndx == 1) 9859 p = "int"; 9860 break; 9861 /* kldunload */ 9862 case 305: 9863 if (ndx == 0 || ndx == 1) 9864 p = "int"; 9865 break; 9866 /* kldfind */ 9867 case 306: 9868 if (ndx == 0 || ndx == 1) 9869 p = "int"; 9870 break; 9871 /* kldnext */ 9872 case 307: 9873 if (ndx == 0 || ndx == 1) 9874 p = "int"; 9875 break; 9876 /* kldstat */ 9877 case 308: 9878 if (ndx == 0 || ndx == 1) 9879 p = "int"; 9880 break; 9881 /* kldfirstmod */ 9882 case 309: 9883 if (ndx == 0 || ndx == 1) 9884 p = "int"; 9885 break; 9886 /* getsid */ 9887 case 310: 9888 if (ndx == 0 || ndx == 1) 9889 p = "int"; 9890 break; 9891 /* setresuid */ 9892 case 311: 9893 if (ndx == 0 || ndx == 1) 9894 p = "int"; 9895 break; 9896 /* setresgid */ 9897 case 312: 9898 if (ndx == 0 || ndx == 1) 9899 p = "int"; 9900 break; 9901 /* aio_return */ 9902 case 314: 9903 if (ndx == 0 || ndx == 1) 9904 p = "int"; 9905 break; 9906 /* aio_suspend */ 9907 case 315: 9908 if (ndx == 0 || ndx == 1) 9909 p = "int"; 9910 break; 9911 /* aio_cancel */ 9912 case 316: 9913 if (ndx == 0 || ndx == 1) 9914 p = "int"; 9915 break; 9916 /* aio_error */ 9917 case 317: 9918 if (ndx == 0 || ndx == 1) 9919 p = "int"; 9920 break; 9921 /* oaio_read */ 9922 case 318: 9923 if (ndx == 0 || ndx == 1) 9924 p = "int"; 9925 break; 9926 /* oaio_write */ 9927 case 319: 9928 if (ndx == 0 || ndx == 1) 9929 p = "int"; 9930 break; 9931 /* olio_listio */ 9932 case 320: 9933 if (ndx == 0 || ndx == 1) 9934 p = "int"; 9935 break; 9936 /* yield */ 9937 case 321: 9938 /* mlockall */ 9939 case 324: 9940 if (ndx == 0 || ndx == 1) 9941 p = "int"; 9942 break; 9943 /* munlockall */ 9944 case 325: 9945 /* __getcwd */ 9946 case 326: 9947 if (ndx == 0 || ndx == 1) 9948 p = "int"; 9949 break; 9950 /* sched_setparam */ 9951 case 327: 9952 if (ndx == 0 || ndx == 1) 9953 p = "int"; 9954 break; 9955 /* sched_getparam */ 9956 case 328: 9957 if (ndx == 0 || ndx == 1) 9958 p = "int"; 9959 break; 9960 /* sched_setscheduler */ 9961 case 329: 9962 if (ndx == 0 || ndx == 1) 9963 p = "int"; 9964 break; 9965 /* sched_getscheduler */ 9966 case 330: 9967 if (ndx == 0 || ndx == 1) 9968 p = "int"; 9969 break; 9970 /* sched_yield */ 9971 case 331: 9972 /* sched_get_priority_max */ 9973 case 332: 9974 if (ndx == 0 || ndx == 1) 9975 p = "int"; 9976 break; 9977 /* sched_get_priority_min */ 9978 case 333: 9979 if (ndx == 0 || ndx == 1) 9980 p = "int"; 9981 break; 9982 /* sched_rr_get_interval */ 9983 case 334: 9984 if (ndx == 0 || ndx == 1) 9985 p = "int"; 9986 break; 9987 /* utrace */ 9988 case 335: 9989 if (ndx == 0 || ndx == 1) 9990 p = "int"; 9991 break; 9992 /* kldsym */ 9993 case 337: 9994 if (ndx == 0 || ndx == 1) 9995 p = "int"; 9996 break; 9997 /* jail */ 9998 case 338: 9999 if (ndx == 0 || ndx == 1) 10000 p = "int"; 10001 break; 10002 /* nnpfs_syscall */ 10003 case 339: 10004 if (ndx == 0 || ndx == 1) 10005 p = "int"; 10006 break; 10007 /* sigprocmask */ 10008 case 340: 10009 if (ndx == 0 || ndx == 1) 10010 p = "int"; 10011 break; 10012 /* sigsuspend */ 10013 case 341: 10014 if (ndx == 0 || ndx == 1) 10015 p = "int"; 10016 break; 10017 /* sigpending */ 10018 case 343: 10019 if (ndx == 0 || ndx == 1) 10020 p = "int"; 10021 break; 10022 /* sigtimedwait */ 10023 case 345: 10024 if (ndx == 0 || ndx == 1) 10025 p = "int"; 10026 break; 10027 /* sigwaitinfo */ 10028 case 346: 10029 if (ndx == 0 || ndx == 1) 10030 p = "int"; 10031 break; 10032 /* __acl_get_file */ 10033 case 347: 10034 if (ndx == 0 || ndx == 1) 10035 p = "int"; 10036 break; 10037 /* __acl_set_file */ 10038 case 348: 10039 if (ndx == 0 || ndx == 1) 10040 p = "int"; 10041 break; 10042 /* __acl_get_fd */ 10043 case 349: 10044 if (ndx == 0 || ndx == 1) 10045 p = "int"; 10046 break; 10047 /* __acl_set_fd */ 10048 case 350: 10049 if (ndx == 0 || ndx == 1) 10050 p = "int"; 10051 break; 10052 /* __acl_delete_file */ 10053 case 351: 10054 if (ndx == 0 || ndx == 1) 10055 p = "int"; 10056 break; 10057 /* __acl_delete_fd */ 10058 case 352: 10059 if (ndx == 0 || ndx == 1) 10060 p = "int"; 10061 break; 10062 /* __acl_aclcheck_file */ 10063 case 353: 10064 if (ndx == 0 || ndx == 1) 10065 p = "int"; 10066 break; 10067 /* __acl_aclcheck_fd */ 10068 case 354: 10069 if (ndx == 0 || ndx == 1) 10070 p = "int"; 10071 break; 10072 /* extattrctl */ 10073 case 355: 10074 if (ndx == 0 || ndx == 1) 10075 p = "int"; 10076 break; 10077 /* extattr_set_file */ 10078 case 356: 10079 if (ndx == 0 || ndx == 1) 10080 p = "ssize_t"; 10081 break; 10082 /* extattr_get_file */ 10083 case 357: 10084 if (ndx == 0 || ndx == 1) 10085 p = "ssize_t"; 10086 break; 10087 /* extattr_delete_file */ 10088 case 358: 10089 if (ndx == 0 || ndx == 1) 10090 p = "int"; 10091 break; 10092 /* aio_waitcomplete */ 10093 case 359: 10094 if (ndx == 0 || ndx == 1) 10095 p = "int"; 10096 break; 10097 /* getresuid */ 10098 case 360: 10099 if (ndx == 0 || ndx == 1) 10100 p = "int"; 10101 break; 10102 /* getresgid */ 10103 case 361: 10104 if (ndx == 0 || ndx == 1) 10105 p = "int"; 10106 break; 10107 /* kqueue */ 10108 case 362: 10109 /* kevent */ 10110 case 363: 10111 if (ndx == 0 || ndx == 1) 10112 p = "int"; 10113 break; 10114 /* extattr_set_fd */ 10115 case 371: 10116 if (ndx == 0 || ndx == 1) 10117 p = "ssize_t"; 10118 break; 10119 /* extattr_get_fd */ 10120 case 372: 10121 if (ndx == 0 || ndx == 1) 10122 p = "ssize_t"; 10123 break; 10124 /* extattr_delete_fd */ 10125 case 373: 10126 if (ndx == 0 || ndx == 1) 10127 p = "int"; 10128 break; 10129 /* __setugid */ 10130 case 374: 10131 if (ndx == 0 || ndx == 1) 10132 p = "int"; 10133 break; 10134 /* eaccess */ 10135 case 376: 10136 if (ndx == 0 || ndx == 1) 10137 p = "int"; 10138 break; 10139 /* afs3_syscall */ 10140 case 377: 10141 if (ndx == 0 || ndx == 1) 10142 p = "int"; 10143 break; 10144 /* nmount */ 10145 case 378: 10146 if (ndx == 0 || ndx == 1) 10147 p = "int"; 10148 break; 10149 /* __mac_get_proc */ 10150 case 384: 10151 if (ndx == 0 || ndx == 1) 10152 p = "int"; 10153 break; 10154 /* __mac_set_proc */ 10155 case 385: 10156 if (ndx == 0 || ndx == 1) 10157 p = "int"; 10158 break; 10159 /* __mac_get_fd */ 10160 case 386: 10161 if (ndx == 0 || ndx == 1) 10162 p = "int"; 10163 break; 10164 /* __mac_get_file */ 10165 case 387: 10166 if (ndx == 0 || ndx == 1) 10167 p = "int"; 10168 break; 10169 /* __mac_set_fd */ 10170 case 388: 10171 if (ndx == 0 || ndx == 1) 10172 p = "int"; 10173 break; 10174 /* __mac_set_file */ 10175 case 389: 10176 if (ndx == 0 || ndx == 1) 10177 p = "int"; 10178 break; 10179 /* kenv */ 10180 case 390: 10181 if (ndx == 0 || ndx == 1) 10182 p = "int"; 10183 break; 10184 /* lchflags */ 10185 case 391: 10186 if (ndx == 0 || ndx == 1) 10187 p = "int"; 10188 break; 10189 /* uuidgen */ 10190 case 392: 10191 if (ndx == 0 || ndx == 1) 10192 p = "int"; 10193 break; 10194 /* sendfile */ 10195 case 393: 10196 if (ndx == 0 || ndx == 1) 10197 p = "int"; 10198 break; 10199 /* mac_syscall */ 10200 case 394: 10201 if (ndx == 0 || ndx == 1) 10202 p = "int"; 10203 break; 10204 /* getfsstat */ 10205 case 395: 10206 if (ndx == 0 || ndx == 1) 10207 p = "int"; 10208 break; 10209 /* statfs */ 10210 case 396: 10211 if (ndx == 0 || ndx == 1) 10212 p = "int"; 10213 break; 10214 /* fstatfs */ 10215 case 397: 10216 if (ndx == 0 || ndx == 1) 10217 p = "int"; 10218 break; 10219 /* fhstatfs */ 10220 case 398: 10221 if (ndx == 0 || ndx == 1) 10222 p = "int"; 10223 break; 10224 /* ksem_close */ 10225 case 400: 10226 if (ndx == 0 || ndx == 1) 10227 p = "int"; 10228 break; 10229 /* ksem_post */ 10230 case 401: 10231 if (ndx == 0 || ndx == 1) 10232 p = "int"; 10233 break; 10234 /* ksem_wait */ 10235 case 402: 10236 if (ndx == 0 || ndx == 1) 10237 p = "int"; 10238 break; 10239 /* ksem_trywait */ 10240 case 403: 10241 if (ndx == 0 || ndx == 1) 10242 p = "int"; 10243 break; 10244 /* ksem_init */ 10245 case 404: 10246 if (ndx == 0 || ndx == 1) 10247 p = "int"; 10248 break; 10249 /* ksem_open */ 10250 case 405: 10251 if (ndx == 0 || ndx == 1) 10252 p = "int"; 10253 break; 10254 /* ksem_unlink */ 10255 case 406: 10256 if (ndx == 0 || ndx == 1) 10257 p = "int"; 10258 break; 10259 /* ksem_getvalue */ 10260 case 407: 10261 if (ndx == 0 || ndx == 1) 10262 p = "int"; 10263 break; 10264 /* ksem_destroy */ 10265 case 408: 10266 if (ndx == 0 || ndx == 1) 10267 p = "int"; 10268 break; 10269 /* __mac_get_pid */ 10270 case 409: 10271 if (ndx == 0 || ndx == 1) 10272 p = "int"; 10273 break; 10274 /* __mac_get_link */ 10275 case 410: 10276 if (ndx == 0 || ndx == 1) 10277 p = "int"; 10278 break; 10279 /* __mac_set_link */ 10280 case 411: 10281 if (ndx == 0 || ndx == 1) 10282 p = "int"; 10283 break; 10284 /* extattr_set_link */ 10285 case 412: 10286 if (ndx == 0 || ndx == 1) 10287 p = "ssize_t"; 10288 break; 10289 /* extattr_get_link */ 10290 case 413: 10291 if (ndx == 0 || ndx == 1) 10292 p = "ssize_t"; 10293 break; 10294 /* extattr_delete_link */ 10295 case 414: 10296 if (ndx == 0 || ndx == 1) 10297 p = "int"; 10298 break; 10299 /* __mac_execve */ 10300 case 415: 10301 if (ndx == 0 || ndx == 1) 10302 p = "int"; 10303 break; 10304 /* sigaction */ 10305 case 416: 10306 if (ndx == 0 || ndx == 1) 10307 p = "int"; 10308 break; 10309 /* sigreturn */ 10310 case 417: 10311 if (ndx == 0 || ndx == 1) 10312 p = "int"; 10313 break; 10314 /* getcontext */ 10315 case 421: 10316 if (ndx == 0 || ndx == 1) 10317 p = "int"; 10318 break; 10319 /* setcontext */ 10320 case 422: 10321 if (ndx == 0 || ndx == 1) 10322 p = "int"; 10323 break; 10324 /* swapcontext */ 10325 case 423: 10326 if (ndx == 0 || ndx == 1) 10327 p = "int"; 10328 break; 10329 /* swapoff */ 10330 case 424: 10331 if (ndx == 0 || ndx == 1) 10332 p = "int"; 10333 break; 10334 /* __acl_get_link */ 10335 case 425: 10336 if (ndx == 0 || ndx == 1) 10337 p = "int"; 10338 break; 10339 /* __acl_set_link */ 10340 case 426: 10341 if (ndx == 0 || ndx == 1) 10342 p = "int"; 10343 break; 10344 /* __acl_delete_link */ 10345 case 427: 10346 if (ndx == 0 || ndx == 1) 10347 p = "int"; 10348 break; 10349 /* __acl_aclcheck_link */ 10350 case 428: 10351 if (ndx == 0 || ndx == 1) 10352 p = "int"; 10353 break; 10354 /* sigwait */ 10355 case 429: 10356 if (ndx == 0 || ndx == 1) 10357 p = "int"; 10358 break; 10359 /* thr_create */ 10360 case 430: 10361 if (ndx == 0 || ndx == 1) 10362 p = "int"; 10363 break; 10364 /* thr_exit */ 10365 case 431: 10366 if (ndx == 0 || ndx == 1) 10367 p = "void"; 10368 break; 10369 /* thr_self */ 10370 case 432: 10371 if (ndx == 0 || ndx == 1) 10372 p = "int"; 10373 break; 10374 /* thr_kill */ 10375 case 433: 10376 if (ndx == 0 || ndx == 1) 10377 p = "int"; 10378 break; 10379 /* _umtx_lock */ 10380 case 434: 10381 if (ndx == 0 || ndx == 1) 10382 p = "int"; 10383 break; 10384 /* _umtx_unlock */ 10385 case 435: 10386 if (ndx == 0 || ndx == 1) 10387 p = "int"; 10388 break; 10389 /* jail_attach */ 10390 case 436: 10391 if (ndx == 0 || ndx == 1) 10392 p = "int"; 10393 break; 10394 /* extattr_list_fd */ 10395 case 437: 10396 if (ndx == 0 || ndx == 1) 10397 p = "ssize_t"; 10398 break; 10399 /* extattr_list_file */ 10400 case 438: 10401 if (ndx == 0 || ndx == 1) 10402 p = "ssize_t"; 10403 break; 10404 /* extattr_list_link */ 10405 case 439: 10406 if (ndx == 0 || ndx == 1) 10407 p = "ssize_t"; 10408 break; 10409 /* ksem_timedwait */ 10410 case 441: 10411 if (ndx == 0 || ndx == 1) 10412 p = "int"; 10413 break; 10414 /* thr_suspend */ 10415 case 442: 10416 if (ndx == 0 || ndx == 1) 10417 p = "int"; 10418 break; 10419 /* thr_wake */ 10420 case 443: 10421 if (ndx == 0 || ndx == 1) 10422 p = "int"; 10423 break; 10424 /* kldunloadf */ 10425 case 444: 10426 if (ndx == 0 || ndx == 1) 10427 p = "int"; 10428 break; 10429 /* audit */ 10430 case 445: 10431 if (ndx == 0 || ndx == 1) 10432 p = "int"; 10433 break; 10434 /* auditon */ 10435 case 446: 10436 if (ndx == 0 || ndx == 1) 10437 p = "int"; 10438 break; 10439 /* getauid */ 10440 case 447: 10441 if (ndx == 0 || ndx == 1) 10442 p = "int"; 10443 break; 10444 /* setauid */ 10445 case 448: 10446 if (ndx == 0 || ndx == 1) 10447 p = "int"; 10448 break; 10449 /* getaudit */ 10450 case 449: 10451 if (ndx == 0 || ndx == 1) 10452 p = "int"; 10453 break; 10454 /* setaudit */ 10455 case 450: 10456 if (ndx == 0 || ndx == 1) 10457 p = "int"; 10458 break; 10459 /* getaudit_addr */ 10460 case 451: 10461 if (ndx == 0 || ndx == 1) 10462 p = "int"; 10463 break; 10464 /* setaudit_addr */ 10465 case 452: 10466 if (ndx == 0 || ndx == 1) 10467 p = "int"; 10468 break; 10469 /* auditctl */ 10470 case 453: 10471 if (ndx == 0 || ndx == 1) 10472 p = "int"; 10473 break; 10474 /* _umtx_op */ 10475 case 454: 10476 if (ndx == 0 || ndx == 1) 10477 p = "int"; 10478 break; 10479 /* thr_new */ 10480 case 455: 10481 if (ndx == 0 || ndx == 1) 10482 p = "int"; 10483 break; 10484 /* sigqueue */ 10485 case 456: 10486 if (ndx == 0 || ndx == 1) 10487 p = "int"; 10488 break; 10489 /* kmq_open */ 10490 case 457: 10491 if (ndx == 0 || ndx == 1) 10492 p = "int"; 10493 break; 10494 /* kmq_setattr */ 10495 case 458: 10496 if (ndx == 0 || ndx == 1) 10497 p = "int"; 10498 break; 10499 /* kmq_timedreceive */ 10500 case 459: 10501 if (ndx == 0 || ndx == 1) 10502 p = "int"; 10503 break; 10504 /* kmq_timedsend */ 10505 case 460: 10506 if (ndx == 0 || ndx == 1) 10507 p = "int"; 10508 break; 10509 /* kmq_notify */ 10510 case 461: 10511 if (ndx == 0 || ndx == 1) 10512 p = "int"; 10513 break; 10514 /* kmq_unlink */ 10515 case 462: 10516 if (ndx == 0 || ndx == 1) 10517 p = "int"; 10518 break; 10519 /* abort2 */ 10520 case 463: 10521 if (ndx == 0 || ndx == 1) 10522 p = "int"; 10523 break; 10524 /* thr_set_name */ 10525 case 464: 10526 if (ndx == 0 || ndx == 1) 10527 p = "int"; 10528 break; 10529 /* aio_fsync */ 10530 case 465: 10531 if (ndx == 0 || ndx == 1) 10532 p = "int"; 10533 break; 10534 /* rtprio_thread */ 10535 case 466: 10536 if (ndx == 0 || ndx == 1) 10537 p = "int"; 10538 break; 10539 /* sctp_peeloff */ 10540 case 471: 10541 if (ndx == 0 || ndx == 1) 10542 p = "int"; 10543 break; 10544 /* sctp_generic_sendmsg */ 10545 case 472: 10546 if (ndx == 0 || ndx == 1) 10547 p = "int"; 10548 break; 10549 /* sctp_generic_sendmsg_iov */ 10550 case 473: 10551 if (ndx == 0 || ndx == 1) 10552 p = "int"; 10553 break; 10554 /* sctp_generic_recvmsg */ 10555 case 474: 10556 if (ndx == 0 || ndx == 1) 10557 p = "int"; 10558 break; 10559 /* pread */ 10560 case 475: 10561 if (ndx == 0 || ndx == 1) 10562 p = "ssize_t"; 10563 break; 10564 /* pwrite */ 10565 case 476: 10566 if (ndx == 0 || ndx == 1) 10567 p = "ssize_t"; 10568 break; 10569 /* mmap */ 10570 case 477: 10571 if (ndx == 0 || ndx == 1) 10572 p = "caddr_t"; 10573 break; 10574 /* lseek */ 10575 case 478: 10576 if (ndx == 0 || ndx == 1) 10577 p = "off_t"; 10578 break; 10579 /* truncate */ 10580 case 479: 10581 if (ndx == 0 || ndx == 1) 10582 p = "int"; 10583 break; 10584 /* ftruncate */ 10585 case 480: 10586 if (ndx == 0 || ndx == 1) 10587 p = "int"; 10588 break; 10589 /* thr_kill2 */ 10590 case 481: 10591 if (ndx == 0 || ndx == 1) 10592 p = "int"; 10593 break; 10594 /* shm_open */ 10595 case 482: 10596 if (ndx == 0 || ndx == 1) 10597 p = "int"; 10598 break; 10599 /* shm_unlink */ 10600 case 483: 10601 if (ndx == 0 || ndx == 1) 10602 p = "int"; 10603 break; 10604 /* cpuset */ 10605 case 484: 10606 if (ndx == 0 || ndx == 1) 10607 p = "int"; 10608 break; 10609 /* cpuset_setid */ 10610 case 485: 10611 if (ndx == 0 || ndx == 1) 10612 p = "int"; 10613 break; 10614 /* cpuset_getid */ 10615 case 486: 10616 if (ndx == 0 || ndx == 1) 10617 p = "int"; 10618 break; 10619 /* cpuset_getaffinity */ 10620 case 487: 10621 if (ndx == 0 || ndx == 1) 10622 p = "int"; 10623 break; 10624 /* cpuset_setaffinity */ 10625 case 488: 10626 if (ndx == 0 || ndx == 1) 10627 p = "int"; 10628 break; 10629 /* faccessat */ 10630 case 489: 10631 if (ndx == 0 || ndx == 1) 10632 p = "int"; 10633 break; 10634 /* fchmodat */ 10635 case 490: 10636 if (ndx == 0 || ndx == 1) 10637 p = "int"; 10638 break; 10639 /* fchownat */ 10640 case 491: 10641 if (ndx == 0 || ndx == 1) 10642 p = "int"; 10643 break; 10644 /* fexecve */ 10645 case 492: 10646 if (ndx == 0 || ndx == 1) 10647 p = "int"; 10648 break; 10649 /* fstatat */ 10650 case 493: 10651 if (ndx == 0 || ndx == 1) 10652 p = "int"; 10653 break; 10654 /* futimesat */ 10655 case 494: 10656 if (ndx == 0 || ndx == 1) 10657 p = "int"; 10658 break; 10659 /* linkat */ 10660 case 495: 10661 if (ndx == 0 || ndx == 1) 10662 p = "int"; 10663 break; 10664 /* mkdirat */ 10665 case 496: 10666 if (ndx == 0 || ndx == 1) 10667 p = "int"; 10668 break; 10669 /* mkfifoat */ 10670 case 497: 10671 if (ndx == 0 || ndx == 1) 10672 p = "int"; 10673 break; 10674 /* mknodat */ 10675 case 498: 10676 if (ndx == 0 || ndx == 1) 10677 p = "int"; 10678 break; 10679 /* openat */ 10680 case 499: 10681 if (ndx == 0 || ndx == 1) 10682 p = "int"; 10683 break; 10684 /* readlinkat */ 10685 case 500: 10686 if (ndx == 0 || ndx == 1) 10687 p = "int"; 10688 break; 10689 /* renameat */ 10690 case 501: 10691 if (ndx == 0 || ndx == 1) 10692 p = "int"; 10693 break; 10694 /* symlinkat */ 10695 case 502: 10696 if (ndx == 0 || ndx == 1) 10697 p = "int"; 10698 break; 10699 /* unlinkat */ 10700 case 503: 10701 if (ndx == 0 || ndx == 1) 10702 p = "int"; 10703 break; 10704 /* posix_openpt */ 10705 case 504: 10706 if (ndx == 0 || ndx == 1) 10707 p = "int"; 10708 break; 10709 /* gssd_syscall */ 10710 case 505: 10711 if (ndx == 0 || ndx == 1) 10712 p = "int"; 10713 break; 10714 /* jail_get */ 10715 case 506: 10716 if (ndx == 0 || ndx == 1) 10717 p = "int"; 10718 break; 10719 /* jail_set */ 10720 case 507: 10721 if (ndx == 0 || ndx == 1) 10722 p = "int"; 10723 break; 10724 /* jail_remove */ 10725 case 508: 10726 if (ndx == 0 || ndx == 1) 10727 p = "int"; 10728 break; 10729 /* closefrom */ 10730 case 509: 10731 if (ndx == 0 || ndx == 1) 10732 p = "int"; 10733 break; 10734 /* __semctl */ 10735 case 510: 10736 if (ndx == 0 || ndx == 1) 10737 p = "int"; 10738 break; 10739 /* msgctl */ 10740 case 511: 10741 if (ndx == 0 || ndx == 1) 10742 p = "int"; 10743 break; 10744 /* shmctl */ 10745 case 512: 10746 if (ndx == 0 || ndx == 1) 10747 p = "int"; 10748 break; 10749 /* lpathconf */ 10750 case 513: 10751 if (ndx == 0 || ndx == 1) 10752 p = "int"; 10753 break; 10754 /* cap_new */ 10755 case 514: 10756 if (ndx == 0 || ndx == 1) 10757 p = "int"; 10758 break; 10759 /* cap_rights_get */ 10760 case 515: 10761 if (ndx == 0 || ndx == 1) 10762 p = "int"; 10763 break; 10764 /* cap_enter */ 10765 case 516: 10766 /* cap_getmode */ 10767 case 517: 10768 if (ndx == 0 || ndx == 1) 10769 p = "int"; 10770 break; 10771 /* pdfork */ 10772 case 518: 10773 if (ndx == 0 || ndx == 1) 10774 p = "int"; 10775 break; 10776 /* pdkill */ 10777 case 519: 10778 if (ndx == 0 || ndx == 1) 10779 p = "int"; 10780 break; 10781 /* pdgetpid */ 10782 case 520: 10783 if (ndx == 0 || ndx == 1) 10784 p = "int"; 10785 break; 10786 /* pselect */ 10787 case 522: 10788 if (ndx == 0 || ndx == 1) 10789 p = "int"; 10790 break; 10791 /* getloginclass */ 10792 case 523: 10793 if (ndx == 0 || ndx == 1) 10794 p = "int"; 10795 break; 10796 /* setloginclass */ 10797 case 524: 10798 if (ndx == 0 || ndx == 1) 10799 p = "int"; 10800 break; 10801 /* rctl_get_racct */ 10802 case 525: 10803 if (ndx == 0 || ndx == 1) 10804 p = "int"; 10805 break; 10806 /* rctl_get_rules */ 10807 case 526: 10808 if (ndx == 0 || ndx == 1) 10809 p = "int"; 10810 break; 10811 /* rctl_get_limits */ 10812 case 527: 10813 if (ndx == 0 || ndx == 1) 10814 p = "int"; 10815 break; 10816 /* rctl_add_rule */ 10817 case 528: 10818 if (ndx == 0 || ndx == 1) 10819 p = "int"; 10820 break; 10821 /* rctl_remove_rule */ 10822 case 529: 10823 if (ndx == 0 || ndx == 1) 10824 p = "int"; 10825 break; 10826 /* posix_fallocate */ 10827 case 530: 10828 if (ndx == 0 || ndx == 1) 10829 p = "int"; 10830 break; 10831 /* posix_fadvise */ 10832 case 531: 10833 if (ndx == 0 || ndx == 1) 10834 p = "int"; 10835 break; 10836 /* wait6 */ 10837 case 532: 10838 if (ndx == 0 || ndx == 1) 10839 p = "int"; 10840 break; 10841 /* cap_rights_limit */ 10842 case 533: 10843 if (ndx == 0 || ndx == 1) 10844 p = "int"; 10845 break; 10846 /* cap_ioctls_limit */ 10847 case 534: 10848 if (ndx == 0 || ndx == 1) 10849 p = "int"; 10850 break; 10851 /* cap_ioctls_get */ 10852 case 535: 10853 if (ndx == 0 || ndx == 1) 10854 p = "ssize_t"; 10855 break; 10856 /* cap_fcntls_limit */ 10857 case 536: 10858 if (ndx == 0 || ndx == 1) 10859 p = "int"; 10860 break; 10861 /* cap_fcntls_get */ 10862 case 537: 10863 if (ndx == 0 || ndx == 1) 10864 p = "int"; 10865 break; 10866 /* bindat */ 10867 case 538: 10868 if (ndx == 0 || ndx == 1) 10869 p = "int"; 10870 break; 10871 /* connectat */ 10872 case 539: 10873 if (ndx == 0 || ndx == 1) 10874 p = "int"; 10875 break; 10876 /* chflagsat */ 10877 case 540: 10878 if (ndx == 0 || ndx == 1) 10879 p = "int"; 10880 break; 10881 default: 10882 break; 10883 }; 10884 if (p != NULL) 10885 strlcpy(desc, p, descsz); 10886 } 10887