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