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