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