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