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