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