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