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