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