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