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