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