1 /* 2 * System call argument to DTrace register array converstion. 3 * 4 * DO NOT EDIT-- this file is automatically generated. 5 * $FreeBSD$ 6 * This file is part of the DTrace syscall provider. 7 */ 8 9 static void 10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) 11 { 12 int64_t *iarg = (int64_t *) uarg; 13 switch (sysnum) { 14 /* nosys */ 15 case 0: { 16 *n_args = 0; 17 break; 18 } 19 /* sys_exit */ 20 case 1: { 21 struct sys_exit_args *p = params; 22 iarg[0] = p->rval; /* int */ 23 *n_args = 1; 24 break; 25 } 26 /* fork */ 27 case 2: { 28 *n_args = 0; 29 break; 30 } 31 /* read */ 32 case 3: { 33 struct read_args *p = params; 34 iarg[0] = p->fd; /* int */ 35 uarg[1] = (intptr_t) p->buf; /* void * */ 36 uarg[2] = p->nbyte; /* size_t */ 37 *n_args = 3; 38 break; 39 } 40 /* write */ 41 case 4: { 42 struct write_args *p = params; 43 iarg[0] = p->fd; /* int */ 44 uarg[1] = (intptr_t) p->buf; /* const void * */ 45 uarg[2] = p->nbyte; /* size_t */ 46 *n_args = 3; 47 break; 48 } 49 /* open */ 50 case 5: { 51 struct open_args *p = params; 52 uarg[0] = (intptr_t) p->path; /* char * */ 53 iarg[1] = p->flags; /* int */ 54 iarg[2] = p->mode; /* int */ 55 *n_args = 3; 56 break; 57 } 58 /* close */ 59 case 6: { 60 struct close_args *p = params; 61 iarg[0] = p->fd; /* int */ 62 *n_args = 1; 63 break; 64 } 65 /* wait4 */ 66 case 7: { 67 struct wait4_args *p = params; 68 iarg[0] = p->pid; /* int */ 69 uarg[1] = (intptr_t) p->status; /* int * */ 70 iarg[2] = p->options; /* int */ 71 uarg[3] = (intptr_t) p->rusage; /* struct rusage * */ 72 *n_args = 4; 73 break; 74 } 75 /* link */ 76 case 9: { 77 struct link_args *p = params; 78 uarg[0] = (intptr_t) p->path; /* char * */ 79 uarg[1] = (intptr_t) p->link; /* char * */ 80 *n_args = 2; 81 break; 82 } 83 /* unlink */ 84 case 10: { 85 struct unlink_args *p = params; 86 uarg[0] = (intptr_t) p->path; /* char * */ 87 *n_args = 1; 88 break; 89 } 90 /* chdir */ 91 case 12: { 92 struct chdir_args *p = params; 93 uarg[0] = (intptr_t) p->path; /* char * */ 94 *n_args = 1; 95 break; 96 } 97 /* fchdir */ 98 case 13: { 99 struct fchdir_args *p = params; 100 iarg[0] = p->fd; /* int */ 101 *n_args = 1; 102 break; 103 } 104 /* chmod */ 105 case 15: { 106 struct chmod_args *p = params; 107 uarg[0] = (intptr_t) p->path; /* char * */ 108 iarg[1] = p->mode; /* int */ 109 *n_args = 2; 110 break; 111 } 112 /* chown */ 113 case 16: { 114 struct chown_args *p = params; 115 uarg[0] = (intptr_t) p->path; /* char * */ 116 iarg[1] = p->uid; /* int */ 117 iarg[2] = p->gid; /* int */ 118 *n_args = 3; 119 break; 120 } 121 /* obreak */ 122 case 17: { 123 struct obreak_args *p = params; 124 uarg[0] = (intptr_t) p->nsize; /* char * */ 125 *n_args = 1; 126 break; 127 } 128 /* getpid */ 129 case 20: { 130 *n_args = 0; 131 break; 132 } 133 /* mount */ 134 case 21: { 135 struct mount_args *p = params; 136 uarg[0] = (intptr_t) p->type; /* char * */ 137 uarg[1] = (intptr_t) p->path; /* char * */ 138 iarg[2] = p->flags; /* int */ 139 uarg[3] = (intptr_t) p->data; /* caddr_t */ 140 *n_args = 4; 141 break; 142 } 143 /* unmount */ 144 case 22: { 145 struct unmount_args *p = params; 146 uarg[0] = (intptr_t) p->path; /* char * */ 147 iarg[1] = p->flags; /* int */ 148 *n_args = 2; 149 break; 150 } 151 /* setuid */ 152 case 23: { 153 struct setuid_args *p = params; 154 uarg[0] = p->uid; /* uid_t */ 155 *n_args = 1; 156 break; 157 } 158 /* getuid */ 159 case 24: { 160 *n_args = 0; 161 break; 162 } 163 /* geteuid */ 164 case 25: { 165 *n_args = 0; 166 break; 167 } 168 /* ptrace */ 169 case 26: { 170 struct ptrace_args *p = params; 171 iarg[0] = p->req; /* int */ 172 iarg[1] = p->pid; /* pid_t */ 173 uarg[2] = (intptr_t) p->addr; /* caddr_t */ 174 iarg[3] = p->data; /* int */ 175 *n_args = 4; 176 break; 177 } 178 /* recvmsg */ 179 case 27: { 180 struct recvmsg_args *p = params; 181 iarg[0] = p->s; /* int */ 182 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */ 183 iarg[2] = p->flags; /* int */ 184 *n_args = 3; 185 break; 186 } 187 /* sendmsg */ 188 case 28: { 189 struct sendmsg_args *p = params; 190 iarg[0] = p->s; /* int */ 191 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */ 192 iarg[2] = p->flags; /* int */ 193 *n_args = 3; 194 break; 195 } 196 /* recvfrom */ 197 case 29: { 198 struct recvfrom_args *p = params; 199 iarg[0] = p->s; /* int */ 200 uarg[1] = (intptr_t) p->buf; /* caddr_t */ 201 uarg[2] = p->len; /* size_t */ 202 iarg[3] = p->flags; /* int */ 203 uarg[4] = (intptr_t) p->from; /* struct sockaddr * */ 204 uarg[5] = (intptr_t) p->fromlenaddr; /* __socklen_t * */ 205 *n_args = 6; 206 break; 207 } 208 /* accept */ 209 case 30: { 210 struct accept_args *p = params; 211 iarg[0] = p->s; /* int */ 212 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */ 213 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */ 214 *n_args = 3; 215 break; 216 } 217 /* getpeername */ 218 case 31: { 219 struct getpeername_args *p = params; 220 iarg[0] = p->fdes; /* int */ 221 uarg[1] = (intptr_t) p->asa; /* struct sockaddr * */ 222 uarg[2] = (intptr_t) p->alen; /* __socklen_t * */ 223 *n_args = 3; 224 break; 225 } 226 /* getsockname */ 227 case 32: { 228 struct getsockname_args *p = params; 229 iarg[0] = p->fdes; /* int */ 230 uarg[1] = (intptr_t) p->asa; /* struct sockaddr * */ 231 uarg[2] = (intptr_t) p->alen; /* __socklen_t * */ 232 *n_args = 3; 233 break; 234 } 235 /* access */ 236 case 33: { 237 struct access_args *p = params; 238 uarg[0] = (intptr_t) p->path; /* char * */ 239 iarg[1] = p->amode; /* int */ 240 *n_args = 2; 241 break; 242 } 243 /* chflags */ 244 case 34: { 245 struct chflags_args *p = params; 246 uarg[0] = (intptr_t) p->path; /* const char * */ 247 uarg[1] = p->flags; /* u_long */ 248 *n_args = 2; 249 break; 250 } 251 /* fchflags */ 252 case 35: { 253 struct fchflags_args *p = params; 254 iarg[0] = p->fd; /* int */ 255 uarg[1] = p->flags; /* u_long */ 256 *n_args = 2; 257 break; 258 } 259 /* sync */ 260 case 36: { 261 *n_args = 0; 262 break; 263 } 264 /* kill */ 265 case 37: { 266 struct kill_args *p = params; 267 iarg[0] = p->pid; /* int */ 268 iarg[1] = p->signum; /* int */ 269 *n_args = 2; 270 break; 271 } 272 /* getppid */ 273 case 39: { 274 *n_args = 0; 275 break; 276 } 277 /* dup */ 278 case 41: { 279 struct dup_args *p = params; 280 uarg[0] = p->fd; /* u_int */ 281 *n_args = 1; 282 break; 283 } 284 /* getegid */ 285 case 43: { 286 *n_args = 0; 287 break; 288 } 289 /* profil */ 290 case 44: { 291 struct profil_args *p = params; 292 uarg[0] = (intptr_t) p->samples; /* caddr_t */ 293 uarg[1] = p->size; /* size_t */ 294 uarg[2] = p->offset; /* size_t */ 295 uarg[3] = p->scale; /* u_int */ 296 *n_args = 4; 297 break; 298 } 299 /* ktrace */ 300 case 45: { 301 struct ktrace_args *p = params; 302 uarg[0] = (intptr_t) p->fname; /* const char * */ 303 iarg[1] = p->ops; /* int */ 304 iarg[2] = p->facs; /* int */ 305 iarg[3] = p->pid; /* int */ 306 *n_args = 4; 307 break; 308 } 309 /* getgid */ 310 case 47: { 311 *n_args = 0; 312 break; 313 } 314 /* getlogin */ 315 case 49: { 316 struct getlogin_args *p = params; 317 uarg[0] = (intptr_t) p->namebuf; /* char * */ 318 uarg[1] = p->namelen; /* u_int */ 319 *n_args = 2; 320 break; 321 } 322 /* setlogin */ 323 case 50: { 324 struct setlogin_args *p = params; 325 uarg[0] = (intptr_t) p->namebuf; /* char * */ 326 *n_args = 1; 327 break; 328 } 329 /* acct */ 330 case 51: { 331 struct acct_args *p = params; 332 uarg[0] = (intptr_t) p->path; /* char * */ 333 *n_args = 1; 334 break; 335 } 336 /* sigaltstack */ 337 case 53: { 338 struct sigaltstack_args *p = params; 339 uarg[0] = (intptr_t) p->ss; /* stack_t * */ 340 uarg[1] = (intptr_t) p->oss; /* stack_t * */ 341 *n_args = 2; 342 break; 343 } 344 /* ioctl */ 345 case 54: { 346 struct ioctl_args *p = params; 347 iarg[0] = p->fd; /* int */ 348 uarg[1] = p->com; /* u_long */ 349 uarg[2] = (intptr_t) p->data; /* caddr_t */ 350 *n_args = 3; 351 break; 352 } 353 /* reboot */ 354 case 55: { 355 struct reboot_args *p = params; 356 iarg[0] = p->opt; /* int */ 357 *n_args = 1; 358 break; 359 } 360 /* revoke */ 361 case 56: { 362 struct revoke_args *p = params; 363 uarg[0] = (intptr_t) p->path; /* char * */ 364 *n_args = 1; 365 break; 366 } 367 /* symlink */ 368 case 57: { 369 struct symlink_args *p = params; 370 uarg[0] = (intptr_t) p->path; /* char * */ 371 uarg[1] = (intptr_t) p->link; /* char * */ 372 *n_args = 2; 373 break; 374 } 375 /* readlink */ 376 case 58: { 377 struct readlink_args *p = params; 378 uarg[0] = (intptr_t) p->path; /* char * */ 379 uarg[1] = (intptr_t) p->buf; /* char * */ 380 uarg[2] = p->count; /* size_t */ 381 *n_args = 3; 382 break; 383 } 384 /* execve */ 385 case 59: { 386 struct execve_args *p = params; 387 uarg[0] = (intptr_t) p->fname; /* char * */ 388 uarg[1] = (intptr_t) p->argv; /* char ** */ 389 uarg[2] = (intptr_t) p->envv; /* char ** */ 390 *n_args = 3; 391 break; 392 } 393 /* umask */ 394 case 60: { 395 struct umask_args *p = params; 396 iarg[0] = p->newmask; /* int */ 397 *n_args = 1; 398 break; 399 } 400 /* chroot */ 401 case 61: { 402 struct chroot_args *p = params; 403 uarg[0] = (intptr_t) p->path; /* char * */ 404 *n_args = 1; 405 break; 406 } 407 /* msync */ 408 case 65: { 409 struct msync_args *p = params; 410 uarg[0] = (intptr_t) p->addr; /* void * */ 411 uarg[1] = p->len; /* size_t */ 412 iarg[2] = p->flags; /* int */ 413 *n_args = 3; 414 break; 415 } 416 /* vfork */ 417 case 66: { 418 *n_args = 0; 419 break; 420 } 421 /* sbrk */ 422 case 69: { 423 struct sbrk_args *p = params; 424 iarg[0] = p->incr; /* int */ 425 *n_args = 1; 426 break; 427 } 428 /* sstk */ 429 case 70: { 430 struct sstk_args *p = params; 431 iarg[0] = p->incr; /* int */ 432 *n_args = 1; 433 break; 434 } 435 /* ovadvise */ 436 case 72: { 437 struct ovadvise_args *p = params; 438 iarg[0] = p->anom; /* int */ 439 *n_args = 1; 440 break; 441 } 442 /* munmap */ 443 case 73: { 444 struct munmap_args *p = params; 445 uarg[0] = (intptr_t) p->addr; /* void * */ 446 uarg[1] = p->len; /* size_t */ 447 *n_args = 2; 448 break; 449 } 450 /* mprotect */ 451 case 74: { 452 struct mprotect_args *p = params; 453 uarg[0] = (intptr_t) p->addr; /* void * */ 454 uarg[1] = p->len; /* size_t */ 455 iarg[2] = p->prot; /* int */ 456 *n_args = 3; 457 break; 458 } 459 /* madvise */ 460 case 75: { 461 struct madvise_args *p = params; 462 uarg[0] = (intptr_t) p->addr; /* void * */ 463 uarg[1] = p->len; /* size_t */ 464 iarg[2] = p->behav; /* int */ 465 *n_args = 3; 466 break; 467 } 468 /* mincore */ 469 case 78: { 470 struct mincore_args *p = params; 471 uarg[0] = (intptr_t) p->addr; /* const void * */ 472 uarg[1] = p->len; /* size_t */ 473 uarg[2] = (intptr_t) p->vec; /* char * */ 474 *n_args = 3; 475 break; 476 } 477 /* getgroups */ 478 case 79: { 479 struct getgroups_args *p = params; 480 uarg[0] = p->gidsetsize; /* u_int */ 481 uarg[1] = (intptr_t) p->gidset; /* gid_t * */ 482 *n_args = 2; 483 break; 484 } 485 /* setgroups */ 486 case 80: { 487 struct setgroups_args *p = params; 488 uarg[0] = p->gidsetsize; /* u_int */ 489 uarg[1] = (intptr_t) p->gidset; /* gid_t * */ 490 *n_args = 2; 491 break; 492 } 493 /* getpgrp */ 494 case 81: { 495 *n_args = 0; 496 break; 497 } 498 /* setpgid */ 499 case 82: { 500 struct setpgid_args *p = params; 501 iarg[0] = p->pid; /* int */ 502 iarg[1] = p->pgid; /* int */ 503 *n_args = 2; 504 break; 505 } 506 /* setitimer */ 507 case 83: { 508 struct setitimer_args *p = params; 509 uarg[0] = p->which; /* u_int */ 510 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */ 511 uarg[2] = (intptr_t) p->oitv; /* struct itimerval * */ 512 *n_args = 3; 513 break; 514 } 515 /* swapon */ 516 case 85: { 517 struct swapon_args *p = params; 518 uarg[0] = (intptr_t) p->name; /* char * */ 519 *n_args = 1; 520 break; 521 } 522 /* getitimer */ 523 case 86: { 524 struct getitimer_args *p = params; 525 uarg[0] = p->which; /* u_int */ 526 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */ 527 *n_args = 2; 528 break; 529 } 530 /* getdtablesize */ 531 case 89: { 532 *n_args = 0; 533 break; 534 } 535 /* dup2 */ 536 case 90: { 537 struct dup2_args *p = params; 538 uarg[0] = p->from; /* u_int */ 539 uarg[1] = p->to; /* u_int */ 540 *n_args = 2; 541 break; 542 } 543 /* fcntl */ 544 case 92: { 545 struct fcntl_args *p = params; 546 iarg[0] = p->fd; /* int */ 547 iarg[1] = p->cmd; /* int */ 548 iarg[2] = p->arg; /* long */ 549 *n_args = 3; 550 break; 551 } 552 /* select */ 553 case 93: { 554 struct select_args *p = params; 555 iarg[0] = p->nd; /* int */ 556 uarg[1] = (intptr_t) p->in; /* fd_set * */ 557 uarg[2] = (intptr_t) p->ou; /* fd_set * */ 558 uarg[3] = (intptr_t) p->ex; /* fd_set * */ 559 uarg[4] = (intptr_t) p->tv; /* struct timeval * */ 560 *n_args = 5; 561 break; 562 } 563 /* fsync */ 564 case 95: { 565 struct fsync_args *p = params; 566 iarg[0] = p->fd; /* int */ 567 *n_args = 1; 568 break; 569 } 570 /* setpriority */ 571 case 96: { 572 struct setpriority_args *p = params; 573 iarg[0] = p->which; /* int */ 574 iarg[1] = p->who; /* int */ 575 iarg[2] = p->prio; /* int */ 576 *n_args = 3; 577 break; 578 } 579 /* socket */ 580 case 97: { 581 struct socket_args *p = params; 582 iarg[0] = p->domain; /* int */ 583 iarg[1] = p->type; /* int */ 584 iarg[2] = p->protocol; /* int */ 585 *n_args = 3; 586 break; 587 } 588 /* connect */ 589 case 98: { 590 struct connect_args *p = params; 591 iarg[0] = p->s; /* int */ 592 uarg[1] = (intptr_t) p->name; /* caddr_t */ 593 iarg[2] = p->namelen; /* int */ 594 *n_args = 3; 595 break; 596 } 597 /* getpriority */ 598 case 100: { 599 struct getpriority_args *p = params; 600 iarg[0] = p->which; /* int */ 601 iarg[1] = p->who; /* int */ 602 *n_args = 2; 603 break; 604 } 605 /* bind */ 606 case 104: { 607 struct bind_args *p = params; 608 iarg[0] = p->s; /* int */ 609 uarg[1] = (intptr_t) p->name; /* caddr_t */ 610 iarg[2] = p->namelen; /* int */ 611 *n_args = 3; 612 break; 613 } 614 /* setsockopt */ 615 case 105: { 616 struct setsockopt_args *p = params; 617 iarg[0] = p->s; /* int */ 618 iarg[1] = p->level; /* int */ 619 iarg[2] = p->name; /* int */ 620 uarg[3] = (intptr_t) p->val; /* caddr_t */ 621 iarg[4] = p->valsize; /* int */ 622 *n_args = 5; 623 break; 624 } 625 /* listen */ 626 case 106: { 627 struct listen_args *p = params; 628 iarg[0] = p->s; /* int */ 629 iarg[1] = p->backlog; /* int */ 630 *n_args = 2; 631 break; 632 } 633 /* gettimeofday */ 634 case 116: { 635 struct gettimeofday_args *p = params; 636 uarg[0] = (intptr_t) p->tp; /* struct timeval * */ 637 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */ 638 *n_args = 2; 639 break; 640 } 641 /* getrusage */ 642 case 117: { 643 struct getrusage_args *p = params; 644 iarg[0] = p->who; /* int */ 645 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */ 646 *n_args = 2; 647 break; 648 } 649 /* getsockopt */ 650 case 118: { 651 struct getsockopt_args *p = params; 652 iarg[0] = p->s; /* int */ 653 iarg[1] = p->level; /* int */ 654 iarg[2] = p->name; /* int */ 655 uarg[3] = (intptr_t) p->val; /* caddr_t */ 656 uarg[4] = (intptr_t) p->avalsize; /* int * */ 657 *n_args = 5; 658 break; 659 } 660 /* readv */ 661 case 120: { 662 struct readv_args *p = params; 663 iarg[0] = p->fd; /* int */ 664 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ 665 uarg[2] = p->iovcnt; /* u_int */ 666 *n_args = 3; 667 break; 668 } 669 /* writev */ 670 case 121: { 671 struct writev_args *p = params; 672 iarg[0] = p->fd; /* int */ 673 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ 674 uarg[2] = p->iovcnt; /* u_int */ 675 *n_args = 3; 676 break; 677 } 678 /* settimeofday */ 679 case 122: { 680 struct settimeofday_args *p = params; 681 uarg[0] = (intptr_t) p->tv; /* struct timeval * */ 682 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */ 683 *n_args = 2; 684 break; 685 } 686 /* fchown */ 687 case 123: { 688 struct fchown_args *p = params; 689 iarg[0] = p->fd; /* int */ 690 iarg[1] = p->uid; /* int */ 691 iarg[2] = p->gid; /* int */ 692 *n_args = 3; 693 break; 694 } 695 /* fchmod */ 696 case 124: { 697 struct fchmod_args *p = params; 698 iarg[0] = p->fd; /* int */ 699 iarg[1] = p->mode; /* int */ 700 *n_args = 2; 701 break; 702 } 703 /* setreuid */ 704 case 126: { 705 struct setreuid_args *p = params; 706 iarg[0] = p->ruid; /* int */ 707 iarg[1] = p->euid; /* int */ 708 *n_args = 2; 709 break; 710 } 711 /* setregid */ 712 case 127: { 713 struct setregid_args *p = params; 714 iarg[0] = p->rgid; /* int */ 715 iarg[1] = p->egid; /* int */ 716 *n_args = 2; 717 break; 718 } 719 /* rename */ 720 case 128: { 721 struct rename_args *p = params; 722 uarg[0] = (intptr_t) p->from; /* char * */ 723 uarg[1] = (intptr_t) p->to; /* char * */ 724 *n_args = 2; 725 break; 726 } 727 /* flock */ 728 case 131: { 729 struct flock_args *p = params; 730 iarg[0] = p->fd; /* int */ 731 iarg[1] = p->how; /* int */ 732 *n_args = 2; 733 break; 734 } 735 /* mkfifo */ 736 case 132: { 737 struct mkfifo_args *p = params; 738 uarg[0] = (intptr_t) p->path; /* char * */ 739 iarg[1] = p->mode; /* int */ 740 *n_args = 2; 741 break; 742 } 743 /* sendto */ 744 case 133: { 745 struct sendto_args *p = params; 746 iarg[0] = p->s; /* int */ 747 uarg[1] = (intptr_t) p->buf; /* caddr_t */ 748 uarg[2] = p->len; /* size_t */ 749 iarg[3] = p->flags; /* int */ 750 uarg[4] = (intptr_t) p->to; /* caddr_t */ 751 iarg[5] = p->tolen; /* int */ 752 *n_args = 6; 753 break; 754 } 755 /* shutdown */ 756 case 134: { 757 struct shutdown_args *p = params; 758 iarg[0] = p->s; /* int */ 759 iarg[1] = p->how; /* int */ 760 *n_args = 2; 761 break; 762 } 763 /* socketpair */ 764 case 135: { 765 struct socketpair_args *p = params; 766 iarg[0] = p->domain; /* int */ 767 iarg[1] = p->type; /* int */ 768 iarg[2] = p->protocol; /* int */ 769 uarg[3] = (intptr_t) p->rsv; /* int * */ 770 *n_args = 4; 771 break; 772 } 773 /* mkdir */ 774 case 136: { 775 struct mkdir_args *p = params; 776 uarg[0] = (intptr_t) p->path; /* char * */ 777 iarg[1] = p->mode; /* int */ 778 *n_args = 2; 779 break; 780 } 781 /* rmdir */ 782 case 137: { 783 struct rmdir_args *p = params; 784 uarg[0] = (intptr_t) p->path; /* char * */ 785 *n_args = 1; 786 break; 787 } 788 /* utimes */ 789 case 138: { 790 struct utimes_args *p = params; 791 uarg[0] = (intptr_t) p->path; /* char * */ 792 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */ 793 *n_args = 2; 794 break; 795 } 796 /* adjtime */ 797 case 140: { 798 struct adjtime_args *p = params; 799 uarg[0] = (intptr_t) p->delta; /* struct timeval * */ 800 uarg[1] = (intptr_t) p->olddelta; /* struct timeval * */ 801 *n_args = 2; 802 break; 803 } 804 /* setsid */ 805 case 147: { 806 *n_args = 0; 807 break; 808 } 809 /* quotactl */ 810 case 148: { 811 struct quotactl_args *p = params; 812 uarg[0] = (intptr_t) p->path; /* char * */ 813 iarg[1] = p->cmd; /* int */ 814 iarg[2] = p->uid; /* int */ 815 uarg[3] = (intptr_t) p->arg; /* caddr_t */ 816 *n_args = 4; 817 break; 818 } 819 /* nlm_syscall */ 820 case 154: { 821 struct nlm_syscall_args *p = params; 822 iarg[0] = p->debug_level; /* int */ 823 iarg[1] = p->grace_period; /* int */ 824 iarg[2] = p->addr_count; /* int */ 825 uarg[3] = (intptr_t) p->addrs; /* char ** */ 826 *n_args = 4; 827 break; 828 } 829 /* nfssvc */ 830 case 155: { 831 struct nfssvc_args *p = params; 832 iarg[0] = p->flag; /* int */ 833 uarg[1] = (intptr_t) p->argp; /* caddr_t */ 834 *n_args = 2; 835 break; 836 } 837 /* lgetfh */ 838 case 160: { 839 struct lgetfh_args *p = params; 840 uarg[0] = (intptr_t) p->fname; /* char * */ 841 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */ 842 *n_args = 2; 843 break; 844 } 845 /* getfh */ 846 case 161: { 847 struct getfh_args *p = params; 848 uarg[0] = (intptr_t) p->fname; /* char * */ 849 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */ 850 *n_args = 2; 851 break; 852 } 853 /* sysarch */ 854 case 165: { 855 struct sysarch_args *p = params; 856 iarg[0] = p->op; /* int */ 857 uarg[1] = (intptr_t) p->parms; /* char * */ 858 *n_args = 2; 859 break; 860 } 861 /* rtprio */ 862 case 166: { 863 struct rtprio_args *p = params; 864 iarg[0] = p->function; /* int */ 865 iarg[1] = p->pid; /* pid_t */ 866 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */ 867 *n_args = 3; 868 break; 869 } 870 /* semsys */ 871 case 169: { 872 struct semsys_args *p = params; 873 iarg[0] = p->which; /* int */ 874 iarg[1] = p->a2; /* int */ 875 iarg[2] = p->a3; /* int */ 876 iarg[3] = p->a4; /* int */ 877 iarg[4] = p->a5; /* int */ 878 *n_args = 5; 879 break; 880 } 881 /* msgsys */ 882 case 170: { 883 struct msgsys_args *p = params; 884 iarg[0] = p->which; /* int */ 885 iarg[1] = p->a2; /* int */ 886 iarg[2] = p->a3; /* int */ 887 iarg[3] = p->a4; /* int */ 888 iarg[4] = p->a5; /* int */ 889 iarg[5] = p->a6; /* int */ 890 *n_args = 6; 891 break; 892 } 893 /* shmsys */ 894 case 171: { 895 struct shmsys_args *p = params; 896 iarg[0] = p->which; /* int */ 897 iarg[1] = p->a2; /* int */ 898 iarg[2] = p->a3; /* int */ 899 iarg[3] = p->a4; /* int */ 900 *n_args = 4; 901 break; 902 } 903 /* setfib */ 904 case 175: { 905 struct setfib_args *p = params; 906 iarg[0] = p->fibnum; /* int */ 907 *n_args = 1; 908 break; 909 } 910 /* ntp_adjtime */ 911 case 176: { 912 struct ntp_adjtime_args *p = params; 913 uarg[0] = (intptr_t) p->tp; /* struct timex * */ 914 *n_args = 1; 915 break; 916 } 917 /* setgid */ 918 case 181: { 919 struct setgid_args *p = params; 920 iarg[0] = p->gid; /* gid_t */ 921 *n_args = 1; 922 break; 923 } 924 /* setegid */ 925 case 182: { 926 struct setegid_args *p = params; 927 iarg[0] = p->egid; /* gid_t */ 928 *n_args = 1; 929 break; 930 } 931 /* seteuid */ 932 case 183: { 933 struct seteuid_args *p = params; 934 uarg[0] = p->euid; /* uid_t */ 935 *n_args = 1; 936 break; 937 } 938 /* pathconf */ 939 case 191: { 940 struct pathconf_args *p = params; 941 uarg[0] = (intptr_t) p->path; /* char * */ 942 iarg[1] = p->name; /* int */ 943 *n_args = 2; 944 break; 945 } 946 /* fpathconf */ 947 case 192: { 948 struct fpathconf_args *p = params; 949 iarg[0] = p->fd; /* int */ 950 iarg[1] = p->name; /* int */ 951 *n_args = 2; 952 break; 953 } 954 /* getrlimit */ 955 case 194: { 956 struct __getrlimit_args *p = params; 957 uarg[0] = p->which; /* u_int */ 958 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */ 959 *n_args = 2; 960 break; 961 } 962 /* setrlimit */ 963 case 195: { 964 struct __setrlimit_args *p = params; 965 uarg[0] = p->which; /* u_int */ 966 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */ 967 *n_args = 2; 968 break; 969 } 970 /* nosys */ 971 case 198: { 972 *n_args = 0; 973 break; 974 } 975 /* __sysctl */ 976 case 202: { 977 struct sysctl_args *p = params; 978 uarg[0] = (intptr_t) p->name; /* int * */ 979 uarg[1] = p->namelen; /* u_int */ 980 uarg[2] = (intptr_t) p->old; /* void * */ 981 uarg[3] = (intptr_t) p->oldlenp; /* size_t * */ 982 uarg[4] = (intptr_t) p->new; /* void * */ 983 uarg[5] = p->newlen; /* size_t */ 984 *n_args = 6; 985 break; 986 } 987 /* mlock */ 988 case 203: { 989 struct mlock_args *p = params; 990 uarg[0] = (intptr_t) p->addr; /* const void * */ 991 uarg[1] = p->len; /* size_t */ 992 *n_args = 2; 993 break; 994 } 995 /* munlock */ 996 case 204: { 997 struct munlock_args *p = params; 998 uarg[0] = (intptr_t) p->addr; /* const void * */ 999 uarg[1] = p->len; /* size_t */ 1000 *n_args = 2; 1001 break; 1002 } 1003 /* undelete */ 1004 case 205: { 1005 struct undelete_args *p = params; 1006 uarg[0] = (intptr_t) p->path; /* char * */ 1007 *n_args = 1; 1008 break; 1009 } 1010 /* futimes */ 1011 case 206: { 1012 struct futimes_args *p = params; 1013 iarg[0] = p->fd; /* int */ 1014 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */ 1015 *n_args = 2; 1016 break; 1017 } 1018 /* getpgid */ 1019 case 207: { 1020 struct getpgid_args *p = params; 1021 iarg[0] = p->pid; /* pid_t */ 1022 *n_args = 1; 1023 break; 1024 } 1025 /* poll */ 1026 case 209: { 1027 struct poll_args *p = params; 1028 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */ 1029 uarg[1] = p->nfds; /* u_int */ 1030 iarg[2] = p->timeout; /* int */ 1031 *n_args = 3; 1032 break; 1033 } 1034 /* lkmnosys */ 1035 case 210: { 1036 *n_args = 0; 1037 break; 1038 } 1039 /* lkmnosys */ 1040 case 211: { 1041 *n_args = 0; 1042 break; 1043 } 1044 /* lkmnosys */ 1045 case 212: { 1046 *n_args = 0; 1047 break; 1048 } 1049 /* lkmnosys */ 1050 case 213: { 1051 *n_args = 0; 1052 break; 1053 } 1054 /* lkmnosys */ 1055 case 214: { 1056 *n_args = 0; 1057 break; 1058 } 1059 /* lkmnosys */ 1060 case 215: { 1061 *n_args = 0; 1062 break; 1063 } 1064 /* lkmnosys */ 1065 case 216: { 1066 *n_args = 0; 1067 break; 1068 } 1069 /* lkmnosys */ 1070 case 217: { 1071 *n_args = 0; 1072 break; 1073 } 1074 /* lkmnosys */ 1075 case 218: { 1076 *n_args = 0; 1077 break; 1078 } 1079 /* lkmnosys */ 1080 case 219: { 1081 *n_args = 0; 1082 break; 1083 } 1084 /* semget */ 1085 case 221: { 1086 struct semget_args *p = params; 1087 iarg[0] = p->key; /* key_t */ 1088 iarg[1] = p->nsems; /* int */ 1089 iarg[2] = p->semflg; /* int */ 1090 *n_args = 3; 1091 break; 1092 } 1093 /* semop */ 1094 case 222: { 1095 struct semop_args *p = params; 1096 iarg[0] = p->semid; /* int */ 1097 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */ 1098 uarg[2] = p->nsops; /* size_t */ 1099 *n_args = 3; 1100 break; 1101 } 1102 /* msgget */ 1103 case 225: { 1104 struct msgget_args *p = params; 1105 iarg[0] = p->key; /* key_t */ 1106 iarg[1] = p->msgflg; /* int */ 1107 *n_args = 2; 1108 break; 1109 } 1110 /* msgsnd */ 1111 case 226: { 1112 struct msgsnd_args *p = params; 1113 iarg[0] = p->msqid; /* int */ 1114 uarg[1] = (intptr_t) p->msgp; /* const void * */ 1115 uarg[2] = p->msgsz; /* size_t */ 1116 iarg[3] = p->msgflg; /* int */ 1117 *n_args = 4; 1118 break; 1119 } 1120 /* msgrcv */ 1121 case 227: { 1122 struct msgrcv_args *p = params; 1123 iarg[0] = p->msqid; /* int */ 1124 uarg[1] = (intptr_t) p->msgp; /* void * */ 1125 uarg[2] = p->msgsz; /* size_t */ 1126 iarg[3] = p->msgtyp; /* long */ 1127 iarg[4] = p->msgflg; /* int */ 1128 *n_args = 5; 1129 break; 1130 } 1131 /* shmat */ 1132 case 228: { 1133 struct shmat_args *p = params; 1134 iarg[0] = p->shmid; /* int */ 1135 uarg[1] = (intptr_t) p->shmaddr; /* const void * */ 1136 iarg[2] = p->shmflg; /* int */ 1137 *n_args = 3; 1138 break; 1139 } 1140 /* shmdt */ 1141 case 230: { 1142 struct shmdt_args *p = params; 1143 uarg[0] = (intptr_t) p->shmaddr; /* const void * */ 1144 *n_args = 1; 1145 break; 1146 } 1147 /* shmget */ 1148 case 231: { 1149 struct shmget_args *p = params; 1150 iarg[0] = p->key; /* key_t */ 1151 uarg[1] = p->size; /* size_t */ 1152 iarg[2] = p->shmflg; /* int */ 1153 *n_args = 3; 1154 break; 1155 } 1156 /* clock_gettime */ 1157 case 232: { 1158 struct clock_gettime_args *p = params; 1159 iarg[0] = p->clock_id; /* clockid_t */ 1160 uarg[1] = (intptr_t) p->tp; /* struct timespec * */ 1161 *n_args = 2; 1162 break; 1163 } 1164 /* clock_settime */ 1165 case 233: { 1166 struct clock_settime_args *p = params; 1167 iarg[0] = p->clock_id; /* clockid_t */ 1168 uarg[1] = (intptr_t) p->tp; /* const struct timespec * */ 1169 *n_args = 2; 1170 break; 1171 } 1172 /* clock_getres */ 1173 case 234: { 1174 struct clock_getres_args *p = params; 1175 iarg[0] = p->clock_id; /* clockid_t */ 1176 uarg[1] = (intptr_t) p->tp; /* struct timespec * */ 1177 *n_args = 2; 1178 break; 1179 } 1180 /* ktimer_create */ 1181 case 235: { 1182 struct ktimer_create_args *p = params; 1183 iarg[0] = p->clock_id; /* clockid_t */ 1184 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */ 1185 uarg[2] = (intptr_t) p->timerid; /* int * */ 1186 *n_args = 3; 1187 break; 1188 } 1189 /* ktimer_delete */ 1190 case 236: { 1191 struct ktimer_delete_args *p = params; 1192 iarg[0] = p->timerid; /* int */ 1193 *n_args = 1; 1194 break; 1195 } 1196 /* ktimer_settime */ 1197 case 237: { 1198 struct ktimer_settime_args *p = params; 1199 iarg[0] = p->timerid; /* int */ 1200 iarg[1] = p->flags; /* int */ 1201 uarg[2] = (intptr_t) p->value; /* const struct itimerspec * */ 1202 uarg[3] = (intptr_t) p->ovalue; /* struct itimerspec * */ 1203 *n_args = 4; 1204 break; 1205 } 1206 /* ktimer_gettime */ 1207 case 238: { 1208 struct ktimer_gettime_args *p = params; 1209 iarg[0] = p->timerid; /* int */ 1210 uarg[1] = (intptr_t) p->value; /* struct itimerspec * */ 1211 *n_args = 2; 1212 break; 1213 } 1214 /* ktimer_getoverrun */ 1215 case 239: { 1216 struct ktimer_getoverrun_args *p = params; 1217 iarg[0] = p->timerid; /* int */ 1218 *n_args = 1; 1219 break; 1220 } 1221 /* nanosleep */ 1222 case 240: { 1223 struct nanosleep_args *p = params; 1224 uarg[0] = (intptr_t) p->rqtp; /* const struct timespec * */ 1225 uarg[1] = (intptr_t) p->rmtp; /* struct timespec * */ 1226 *n_args = 2; 1227 break; 1228 } 1229 /* ffclock_getcounter */ 1230 case 241: { 1231 struct ffclock_getcounter_args *p = params; 1232 uarg[0] = (intptr_t) p->ffcount; /* ffcounter * */ 1233 *n_args = 1; 1234 break; 1235 } 1236 /* ffclock_setestimate */ 1237 case 242: { 1238 struct ffclock_setestimate_args *p = params; 1239 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */ 1240 *n_args = 1; 1241 break; 1242 } 1243 /* ffclock_getestimate */ 1244 case 243: { 1245 struct ffclock_getestimate_args *p = params; 1246 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */ 1247 *n_args = 1; 1248 break; 1249 } 1250 /* clock_nanosleep */ 1251 case 244: { 1252 struct clock_nanosleep_args *p = params; 1253 iarg[0] = p->clock_id; /* clockid_t */ 1254 iarg[1] = p->flags; /* int */ 1255 uarg[2] = (intptr_t) p->rqtp; /* const struct timespec * */ 1256 uarg[3] = (intptr_t) p->rmtp; /* struct timespec * */ 1257 *n_args = 4; 1258 break; 1259 } 1260 /* clock_getcpuclockid2 */ 1261 case 247: { 1262 struct clock_getcpuclockid2_args *p = params; 1263 iarg[0] = p->id; /* id_t */ 1264 iarg[1] = p->which; /* int */ 1265 uarg[2] = (intptr_t) p->clock_id; /* clockid_t * */ 1266 *n_args = 3; 1267 break; 1268 } 1269 /* ntp_gettime */ 1270 case 248: { 1271 struct ntp_gettime_args *p = params; 1272 uarg[0] = (intptr_t) p->ntvp; /* struct ntptimeval * */ 1273 *n_args = 1; 1274 break; 1275 } 1276 /* minherit */ 1277 case 250: { 1278 struct minherit_args *p = params; 1279 uarg[0] = (intptr_t) p->addr; /* void * */ 1280 uarg[1] = p->len; /* size_t */ 1281 iarg[2] = p->inherit; /* int */ 1282 *n_args = 3; 1283 break; 1284 } 1285 /* rfork */ 1286 case 251: { 1287 struct rfork_args *p = params; 1288 iarg[0] = p->flags; /* int */ 1289 *n_args = 1; 1290 break; 1291 } 1292 /* issetugid */ 1293 case 253: { 1294 *n_args = 0; 1295 break; 1296 } 1297 /* lchown */ 1298 case 254: { 1299 struct lchown_args *p = params; 1300 uarg[0] = (intptr_t) p->path; /* char * */ 1301 iarg[1] = p->uid; /* int */ 1302 iarg[2] = p->gid; /* int */ 1303 *n_args = 3; 1304 break; 1305 } 1306 /* aio_read */ 1307 case 255: { 1308 struct aio_read_args *p = params; 1309 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */ 1310 *n_args = 1; 1311 break; 1312 } 1313 /* aio_write */ 1314 case 256: { 1315 struct aio_write_args *p = params; 1316 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */ 1317 *n_args = 1; 1318 break; 1319 } 1320 /* lio_listio */ 1321 case 257: { 1322 struct lio_listio_args *p = params; 1323 iarg[0] = p->mode; /* int */ 1324 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb *const * */ 1325 iarg[2] = p->nent; /* int */ 1326 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */ 1327 *n_args = 4; 1328 break; 1329 } 1330 /* lchmod */ 1331 case 274: { 1332 struct lchmod_args *p = params; 1333 uarg[0] = (intptr_t) p->path; /* char * */ 1334 iarg[1] = p->mode; /* mode_t */ 1335 *n_args = 2; 1336 break; 1337 } 1338 /* lchown */ 1339 case 275: { 1340 struct lchown_args *p = params; 1341 uarg[0] = (intptr_t) p->path; /* char * */ 1342 uarg[1] = p->uid; /* uid_t */ 1343 iarg[2] = p->gid; /* gid_t */ 1344 *n_args = 3; 1345 break; 1346 } 1347 /* lutimes */ 1348 case 276: { 1349 struct lutimes_args *p = params; 1350 uarg[0] = (intptr_t) p->path; /* char * */ 1351 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */ 1352 *n_args = 2; 1353 break; 1354 } 1355 /* msync */ 1356 case 277: { 1357 struct msync_args *p = params; 1358 uarg[0] = (intptr_t) p->addr; /* void * */ 1359 uarg[1] = p->len; /* size_t */ 1360 iarg[2] = p->flags; /* int */ 1361 *n_args = 3; 1362 break; 1363 } 1364 /* preadv */ 1365 case 289: { 1366 struct preadv_args *p = params; 1367 iarg[0] = p->fd; /* int */ 1368 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ 1369 uarg[2] = p->iovcnt; /* u_int */ 1370 iarg[3] = p->offset; /* off_t */ 1371 *n_args = 4; 1372 break; 1373 } 1374 /* pwritev */ 1375 case 290: { 1376 struct pwritev_args *p = params; 1377 iarg[0] = p->fd; /* int */ 1378 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ 1379 uarg[2] = p->iovcnt; /* u_int */ 1380 iarg[3] = p->offset; /* off_t */ 1381 *n_args = 4; 1382 break; 1383 } 1384 /* fhopen */ 1385 case 298: { 1386 struct fhopen_args *p = params; 1387 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */ 1388 iarg[1] = p->flags; /* int */ 1389 *n_args = 2; 1390 break; 1391 } 1392 /* modnext */ 1393 case 300: { 1394 struct modnext_args *p = params; 1395 iarg[0] = p->modid; /* int */ 1396 *n_args = 1; 1397 break; 1398 } 1399 /* modstat */ 1400 case 301: { 1401 struct modstat_args *p = params; 1402 iarg[0] = p->modid; /* int */ 1403 uarg[1] = (intptr_t) p->stat; /* struct module_stat * */ 1404 *n_args = 2; 1405 break; 1406 } 1407 /* modfnext */ 1408 case 302: { 1409 struct modfnext_args *p = params; 1410 iarg[0] = p->modid; /* int */ 1411 *n_args = 1; 1412 break; 1413 } 1414 /* modfind */ 1415 case 303: { 1416 struct modfind_args *p = params; 1417 uarg[0] = (intptr_t) p->name; /* const char * */ 1418 *n_args = 1; 1419 break; 1420 } 1421 /* kldload */ 1422 case 304: { 1423 struct kldload_args *p = params; 1424 uarg[0] = (intptr_t) p->file; /* const char * */ 1425 *n_args = 1; 1426 break; 1427 } 1428 /* kldunload */ 1429 case 305: { 1430 struct kldunload_args *p = params; 1431 iarg[0] = p->fileid; /* int */ 1432 *n_args = 1; 1433 break; 1434 } 1435 /* kldfind */ 1436 case 306: { 1437 struct kldfind_args *p = params; 1438 uarg[0] = (intptr_t) p->file; /* const char * */ 1439 *n_args = 1; 1440 break; 1441 } 1442 /* kldnext */ 1443 case 307: { 1444 struct kldnext_args *p = params; 1445 iarg[0] = p->fileid; /* int */ 1446 *n_args = 1; 1447 break; 1448 } 1449 /* kldstat */ 1450 case 308: { 1451 struct kldstat_args *p = params; 1452 iarg[0] = p->fileid; /* int */ 1453 uarg[1] = (intptr_t) p->stat; /* struct kld_file_stat * */ 1454 *n_args = 2; 1455 break; 1456 } 1457 /* kldfirstmod */ 1458 case 309: { 1459 struct kldfirstmod_args *p = params; 1460 iarg[0] = p->fileid; /* int */ 1461 *n_args = 1; 1462 break; 1463 } 1464 /* getsid */ 1465 case 310: { 1466 struct getsid_args *p = params; 1467 iarg[0] = p->pid; /* pid_t */ 1468 *n_args = 1; 1469 break; 1470 } 1471 /* setresuid */ 1472 case 311: { 1473 struct setresuid_args *p = params; 1474 uarg[0] = p->ruid; /* uid_t */ 1475 uarg[1] = p->euid; /* uid_t */ 1476 uarg[2] = p->suid; /* uid_t */ 1477 *n_args = 3; 1478 break; 1479 } 1480 /* setresgid */ 1481 case 312: { 1482 struct setresgid_args *p = params; 1483 iarg[0] = p->rgid; /* gid_t */ 1484 iarg[1] = p->egid; /* gid_t */ 1485 iarg[2] = p->sgid; /* gid_t */ 1486 *n_args = 3; 1487 break; 1488 } 1489 /* aio_return */ 1490 case 314: { 1491 struct aio_return_args *p = params; 1492 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */ 1493 *n_args = 1; 1494 break; 1495 } 1496 /* aio_suspend */ 1497 case 315: { 1498 struct aio_suspend_args *p = params; 1499 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb *const * */ 1500 iarg[1] = p->nent; /* int */ 1501 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */ 1502 *n_args = 3; 1503 break; 1504 } 1505 /* aio_cancel */ 1506 case 316: { 1507 struct aio_cancel_args *p = params; 1508 iarg[0] = p->fd; /* int */ 1509 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */ 1510 *n_args = 2; 1511 break; 1512 } 1513 /* aio_error */ 1514 case 317: { 1515 struct aio_error_args *p = params; 1516 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */ 1517 *n_args = 1; 1518 break; 1519 } 1520 /* yield */ 1521 case 321: { 1522 *n_args = 0; 1523 break; 1524 } 1525 /* mlockall */ 1526 case 324: { 1527 struct mlockall_args *p = params; 1528 iarg[0] = p->how; /* int */ 1529 *n_args = 1; 1530 break; 1531 } 1532 /* munlockall */ 1533 case 325: { 1534 *n_args = 0; 1535 break; 1536 } 1537 /* __getcwd */ 1538 case 326: { 1539 struct __getcwd_args *p = params; 1540 uarg[0] = (intptr_t) p->buf; /* char * */ 1541 uarg[1] = p->buflen; /* size_t */ 1542 *n_args = 2; 1543 break; 1544 } 1545 /* sched_setparam */ 1546 case 327: { 1547 struct sched_setparam_args *p = params; 1548 iarg[0] = p->pid; /* pid_t */ 1549 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */ 1550 *n_args = 2; 1551 break; 1552 } 1553 /* sched_getparam */ 1554 case 328: { 1555 struct sched_getparam_args *p = params; 1556 iarg[0] = p->pid; /* pid_t */ 1557 uarg[1] = (intptr_t) p->param; /* struct sched_param * */ 1558 *n_args = 2; 1559 break; 1560 } 1561 /* sched_setscheduler */ 1562 case 329: { 1563 struct sched_setscheduler_args *p = params; 1564 iarg[0] = p->pid; /* pid_t */ 1565 iarg[1] = p->policy; /* int */ 1566 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */ 1567 *n_args = 3; 1568 break; 1569 } 1570 /* sched_getscheduler */ 1571 case 330: { 1572 struct sched_getscheduler_args *p = params; 1573 iarg[0] = p->pid; /* pid_t */ 1574 *n_args = 1; 1575 break; 1576 } 1577 /* sched_yield */ 1578 case 331: { 1579 *n_args = 0; 1580 break; 1581 } 1582 /* sched_get_priority_max */ 1583 case 332: { 1584 struct sched_get_priority_max_args *p = params; 1585 iarg[0] = p->policy; /* int */ 1586 *n_args = 1; 1587 break; 1588 } 1589 /* sched_get_priority_min */ 1590 case 333: { 1591 struct sched_get_priority_min_args *p = params; 1592 iarg[0] = p->policy; /* int */ 1593 *n_args = 1; 1594 break; 1595 } 1596 /* sched_rr_get_interval */ 1597 case 334: { 1598 struct sched_rr_get_interval_args *p = params; 1599 iarg[0] = p->pid; /* pid_t */ 1600 uarg[1] = (intptr_t) p->interval; /* struct timespec * */ 1601 *n_args = 2; 1602 break; 1603 } 1604 /* utrace */ 1605 case 335: { 1606 struct utrace_args *p = params; 1607 uarg[0] = (intptr_t) p->addr; /* const void * */ 1608 uarg[1] = p->len; /* size_t */ 1609 *n_args = 2; 1610 break; 1611 } 1612 /* kldsym */ 1613 case 337: { 1614 struct kldsym_args *p = params; 1615 iarg[0] = p->fileid; /* int */ 1616 iarg[1] = p->cmd; /* int */ 1617 uarg[2] = (intptr_t) p->data; /* void * */ 1618 *n_args = 3; 1619 break; 1620 } 1621 /* jail */ 1622 case 338: { 1623 struct jail_args *p = params; 1624 uarg[0] = (intptr_t) p->jail; /* struct jail * */ 1625 *n_args = 1; 1626 break; 1627 } 1628 /* nnpfs_syscall */ 1629 case 339: { 1630 struct nnpfs_syscall_args *p = params; 1631 iarg[0] = p->operation; /* int */ 1632 uarg[1] = (intptr_t) p->a_pathP; /* char * */ 1633 iarg[2] = p->a_opcode; /* int */ 1634 uarg[3] = (intptr_t) p->a_paramsP; /* void * */ 1635 iarg[4] = p->a_followSymlinks; /* int */ 1636 *n_args = 5; 1637 break; 1638 } 1639 /* sigprocmask */ 1640 case 340: { 1641 struct sigprocmask_args *p = params; 1642 iarg[0] = p->how; /* int */ 1643 uarg[1] = (intptr_t) p->set; /* const sigset_t * */ 1644 uarg[2] = (intptr_t) p->oset; /* sigset_t * */ 1645 *n_args = 3; 1646 break; 1647 } 1648 /* sigsuspend */ 1649 case 341: { 1650 struct sigsuspend_args *p = params; 1651 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */ 1652 *n_args = 1; 1653 break; 1654 } 1655 /* sigpending */ 1656 case 343: { 1657 struct sigpending_args *p = params; 1658 uarg[0] = (intptr_t) p->set; /* sigset_t * */ 1659 *n_args = 1; 1660 break; 1661 } 1662 /* sigtimedwait */ 1663 case 345: { 1664 struct sigtimedwait_args *p = params; 1665 uarg[0] = (intptr_t) p->set; /* const sigset_t * */ 1666 uarg[1] = (intptr_t) p->info; /* siginfo_t * */ 1667 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */ 1668 *n_args = 3; 1669 break; 1670 } 1671 /* sigwaitinfo */ 1672 case 346: { 1673 struct sigwaitinfo_args *p = params; 1674 uarg[0] = (intptr_t) p->set; /* const sigset_t * */ 1675 uarg[1] = (intptr_t) p->info; /* siginfo_t * */ 1676 *n_args = 2; 1677 break; 1678 } 1679 /* __acl_get_file */ 1680 case 347: { 1681 struct __acl_get_file_args *p = params; 1682 uarg[0] = (intptr_t) p->path; /* const char * */ 1683 iarg[1] = p->type; /* acl_type_t */ 1684 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 1685 *n_args = 3; 1686 break; 1687 } 1688 /* __acl_set_file */ 1689 case 348: { 1690 struct __acl_set_file_args *p = params; 1691 uarg[0] = (intptr_t) p->path; /* const char * */ 1692 iarg[1] = p->type; /* acl_type_t */ 1693 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 1694 *n_args = 3; 1695 break; 1696 } 1697 /* __acl_get_fd */ 1698 case 349: { 1699 struct __acl_get_fd_args *p = params; 1700 iarg[0] = p->filedes; /* int */ 1701 iarg[1] = p->type; /* acl_type_t */ 1702 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 1703 *n_args = 3; 1704 break; 1705 } 1706 /* __acl_set_fd */ 1707 case 350: { 1708 struct __acl_set_fd_args *p = params; 1709 iarg[0] = p->filedes; /* int */ 1710 iarg[1] = p->type; /* acl_type_t */ 1711 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 1712 *n_args = 3; 1713 break; 1714 } 1715 /* __acl_delete_file */ 1716 case 351: { 1717 struct __acl_delete_file_args *p = params; 1718 uarg[0] = (intptr_t) p->path; /* const char * */ 1719 iarg[1] = p->type; /* acl_type_t */ 1720 *n_args = 2; 1721 break; 1722 } 1723 /* __acl_delete_fd */ 1724 case 352: { 1725 struct __acl_delete_fd_args *p = params; 1726 iarg[0] = p->filedes; /* int */ 1727 iarg[1] = p->type; /* acl_type_t */ 1728 *n_args = 2; 1729 break; 1730 } 1731 /* __acl_aclcheck_file */ 1732 case 353: { 1733 struct __acl_aclcheck_file_args *p = params; 1734 uarg[0] = (intptr_t) p->path; /* const char * */ 1735 iarg[1] = p->type; /* acl_type_t */ 1736 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 1737 *n_args = 3; 1738 break; 1739 } 1740 /* __acl_aclcheck_fd */ 1741 case 354: { 1742 struct __acl_aclcheck_fd_args *p = params; 1743 iarg[0] = p->filedes; /* int */ 1744 iarg[1] = p->type; /* acl_type_t */ 1745 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 1746 *n_args = 3; 1747 break; 1748 } 1749 /* extattrctl */ 1750 case 355: { 1751 struct extattrctl_args *p = params; 1752 uarg[0] = (intptr_t) p->path; /* const char * */ 1753 iarg[1] = p->cmd; /* int */ 1754 uarg[2] = (intptr_t) p->filename; /* const char * */ 1755 iarg[3] = p->attrnamespace; /* int */ 1756 uarg[4] = (intptr_t) p->attrname; /* const char * */ 1757 *n_args = 5; 1758 break; 1759 } 1760 /* extattr_set_file */ 1761 case 356: { 1762 struct extattr_set_file_args *p = params; 1763 uarg[0] = (intptr_t) p->path; /* const char * */ 1764 iarg[1] = p->attrnamespace; /* int */ 1765 uarg[2] = (intptr_t) p->attrname; /* const char * */ 1766 uarg[3] = (intptr_t) p->data; /* void * */ 1767 uarg[4] = p->nbytes; /* size_t */ 1768 *n_args = 5; 1769 break; 1770 } 1771 /* extattr_get_file */ 1772 case 357: { 1773 struct extattr_get_file_args *p = params; 1774 uarg[0] = (intptr_t) p->path; /* const char * */ 1775 iarg[1] = p->attrnamespace; /* int */ 1776 uarg[2] = (intptr_t) p->attrname; /* const char * */ 1777 uarg[3] = (intptr_t) p->data; /* void * */ 1778 uarg[4] = p->nbytes; /* size_t */ 1779 *n_args = 5; 1780 break; 1781 } 1782 /* extattr_delete_file */ 1783 case 358: { 1784 struct extattr_delete_file_args *p = params; 1785 uarg[0] = (intptr_t) p->path; /* const char * */ 1786 iarg[1] = p->attrnamespace; /* int */ 1787 uarg[2] = (intptr_t) p->attrname; /* const char * */ 1788 *n_args = 3; 1789 break; 1790 } 1791 /* aio_waitcomplete */ 1792 case 359: { 1793 struct aio_waitcomplete_args *p = params; 1794 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */ 1795 uarg[1] = (intptr_t) p->timeout; /* struct timespec * */ 1796 *n_args = 2; 1797 break; 1798 } 1799 /* getresuid */ 1800 case 360: { 1801 struct getresuid_args *p = params; 1802 uarg[0] = (intptr_t) p->ruid; /* uid_t * */ 1803 uarg[1] = (intptr_t) p->euid; /* uid_t * */ 1804 uarg[2] = (intptr_t) p->suid; /* uid_t * */ 1805 *n_args = 3; 1806 break; 1807 } 1808 /* getresgid */ 1809 case 361: { 1810 struct getresgid_args *p = params; 1811 uarg[0] = (intptr_t) p->rgid; /* gid_t * */ 1812 uarg[1] = (intptr_t) p->egid; /* gid_t * */ 1813 uarg[2] = (intptr_t) p->sgid; /* gid_t * */ 1814 *n_args = 3; 1815 break; 1816 } 1817 /* kqueue */ 1818 case 362: { 1819 *n_args = 0; 1820 break; 1821 } 1822 /* extattr_set_fd */ 1823 case 371: { 1824 struct extattr_set_fd_args *p = params; 1825 iarg[0] = p->fd; /* int */ 1826 iarg[1] = p->attrnamespace; /* int */ 1827 uarg[2] = (intptr_t) p->attrname; /* const char * */ 1828 uarg[3] = (intptr_t) p->data; /* void * */ 1829 uarg[4] = p->nbytes; /* size_t */ 1830 *n_args = 5; 1831 break; 1832 } 1833 /* extattr_get_fd */ 1834 case 372: { 1835 struct extattr_get_fd_args *p = params; 1836 iarg[0] = p->fd; /* int */ 1837 iarg[1] = p->attrnamespace; /* int */ 1838 uarg[2] = (intptr_t) p->attrname; /* const char * */ 1839 uarg[3] = (intptr_t) p->data; /* void * */ 1840 uarg[4] = p->nbytes; /* size_t */ 1841 *n_args = 5; 1842 break; 1843 } 1844 /* extattr_delete_fd */ 1845 case 373: { 1846 struct extattr_delete_fd_args *p = params; 1847 iarg[0] = p->fd; /* int */ 1848 iarg[1] = p->attrnamespace; /* int */ 1849 uarg[2] = (intptr_t) p->attrname; /* const char * */ 1850 *n_args = 3; 1851 break; 1852 } 1853 /* __setugid */ 1854 case 374: { 1855 struct __setugid_args *p = params; 1856 iarg[0] = p->flag; /* int */ 1857 *n_args = 1; 1858 break; 1859 } 1860 /* eaccess */ 1861 case 376: { 1862 struct eaccess_args *p = params; 1863 uarg[0] = (intptr_t) p->path; /* char * */ 1864 iarg[1] = p->amode; /* int */ 1865 *n_args = 2; 1866 break; 1867 } 1868 /* afs3_syscall */ 1869 case 377: { 1870 struct afs3_syscall_args *p = params; 1871 iarg[0] = p->syscall; /* long */ 1872 iarg[1] = p->parm1; /* long */ 1873 iarg[2] = p->parm2; /* long */ 1874 iarg[3] = p->parm3; /* long */ 1875 iarg[4] = p->parm4; /* long */ 1876 iarg[5] = p->parm5; /* long */ 1877 iarg[6] = p->parm6; /* long */ 1878 *n_args = 7; 1879 break; 1880 } 1881 /* nmount */ 1882 case 378: { 1883 struct nmount_args *p = params; 1884 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */ 1885 uarg[1] = p->iovcnt; /* unsigned int */ 1886 iarg[2] = p->flags; /* int */ 1887 *n_args = 3; 1888 break; 1889 } 1890 /* __mac_get_proc */ 1891 case 384: { 1892 struct __mac_get_proc_args *p = params; 1893 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */ 1894 *n_args = 1; 1895 break; 1896 } 1897 /* __mac_set_proc */ 1898 case 385: { 1899 struct __mac_set_proc_args *p = params; 1900 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */ 1901 *n_args = 1; 1902 break; 1903 } 1904 /* __mac_get_fd */ 1905 case 386: { 1906 struct __mac_get_fd_args *p = params; 1907 iarg[0] = p->fd; /* int */ 1908 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ 1909 *n_args = 2; 1910 break; 1911 } 1912 /* __mac_get_file */ 1913 case 387: { 1914 struct __mac_get_file_args *p = params; 1915 uarg[0] = (intptr_t) p->path_p; /* const char * */ 1916 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ 1917 *n_args = 2; 1918 break; 1919 } 1920 /* __mac_set_fd */ 1921 case 388: { 1922 struct __mac_set_fd_args *p = params; 1923 iarg[0] = p->fd; /* int */ 1924 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ 1925 *n_args = 2; 1926 break; 1927 } 1928 /* __mac_set_file */ 1929 case 389: { 1930 struct __mac_set_file_args *p = params; 1931 uarg[0] = (intptr_t) p->path_p; /* const char * */ 1932 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ 1933 *n_args = 2; 1934 break; 1935 } 1936 /* kenv */ 1937 case 390: { 1938 struct kenv_args *p = params; 1939 iarg[0] = p->what; /* int */ 1940 uarg[1] = (intptr_t) p->name; /* const char * */ 1941 uarg[2] = (intptr_t) p->value; /* char * */ 1942 iarg[3] = p->len; /* int */ 1943 *n_args = 4; 1944 break; 1945 } 1946 /* lchflags */ 1947 case 391: { 1948 struct lchflags_args *p = params; 1949 uarg[0] = (intptr_t) p->path; /* const char * */ 1950 uarg[1] = p->flags; /* u_long */ 1951 *n_args = 2; 1952 break; 1953 } 1954 /* uuidgen */ 1955 case 392: { 1956 struct uuidgen_args *p = params; 1957 uarg[0] = (intptr_t) p->store; /* struct uuid * */ 1958 iarg[1] = p->count; /* int */ 1959 *n_args = 2; 1960 break; 1961 } 1962 /* sendfile */ 1963 case 393: { 1964 struct sendfile_args *p = params; 1965 iarg[0] = p->fd; /* int */ 1966 iarg[1] = p->s; /* int */ 1967 iarg[2] = p->offset; /* off_t */ 1968 uarg[3] = p->nbytes; /* size_t */ 1969 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */ 1970 uarg[5] = (intptr_t) p->sbytes; /* off_t * */ 1971 iarg[6] = p->flags; /* int */ 1972 *n_args = 7; 1973 break; 1974 } 1975 /* mac_syscall */ 1976 case 394: { 1977 struct mac_syscall_args *p = params; 1978 uarg[0] = (intptr_t) p->policy; /* const char * */ 1979 iarg[1] = p->call; /* int */ 1980 uarg[2] = (intptr_t) p->arg; /* void * */ 1981 *n_args = 3; 1982 break; 1983 } 1984 /* ksem_close */ 1985 case 400: { 1986 struct ksem_close_args *p = params; 1987 iarg[0] = p->id; /* semid_t */ 1988 *n_args = 1; 1989 break; 1990 } 1991 /* ksem_post */ 1992 case 401: { 1993 struct ksem_post_args *p = params; 1994 iarg[0] = p->id; /* semid_t */ 1995 *n_args = 1; 1996 break; 1997 } 1998 /* ksem_wait */ 1999 case 402: { 2000 struct ksem_wait_args *p = params; 2001 iarg[0] = p->id; /* semid_t */ 2002 *n_args = 1; 2003 break; 2004 } 2005 /* ksem_trywait */ 2006 case 403: { 2007 struct ksem_trywait_args *p = params; 2008 iarg[0] = p->id; /* semid_t */ 2009 *n_args = 1; 2010 break; 2011 } 2012 /* ksem_init */ 2013 case 404: { 2014 struct ksem_init_args *p = params; 2015 uarg[0] = (intptr_t) p->idp; /* semid_t * */ 2016 uarg[1] = p->value; /* unsigned int */ 2017 *n_args = 2; 2018 break; 2019 } 2020 /* ksem_open */ 2021 case 405: { 2022 struct ksem_open_args *p = params; 2023 uarg[0] = (intptr_t) p->idp; /* semid_t * */ 2024 uarg[1] = (intptr_t) p->name; /* const char * */ 2025 iarg[2] = p->oflag; /* int */ 2026 iarg[3] = p->mode; /* mode_t */ 2027 uarg[4] = p->value; /* unsigned int */ 2028 *n_args = 5; 2029 break; 2030 } 2031 /* ksem_unlink */ 2032 case 406: { 2033 struct ksem_unlink_args *p = params; 2034 uarg[0] = (intptr_t) p->name; /* const char * */ 2035 *n_args = 1; 2036 break; 2037 } 2038 /* ksem_getvalue */ 2039 case 407: { 2040 struct ksem_getvalue_args *p = params; 2041 iarg[0] = p->id; /* semid_t */ 2042 uarg[1] = (intptr_t) p->val; /* int * */ 2043 *n_args = 2; 2044 break; 2045 } 2046 /* ksem_destroy */ 2047 case 408: { 2048 struct ksem_destroy_args *p = params; 2049 iarg[0] = p->id; /* semid_t */ 2050 *n_args = 1; 2051 break; 2052 } 2053 /* __mac_get_pid */ 2054 case 409: { 2055 struct __mac_get_pid_args *p = params; 2056 iarg[0] = p->pid; /* pid_t */ 2057 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ 2058 *n_args = 2; 2059 break; 2060 } 2061 /* __mac_get_link */ 2062 case 410: { 2063 struct __mac_get_link_args *p = params; 2064 uarg[0] = (intptr_t) p->path_p; /* const char * */ 2065 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ 2066 *n_args = 2; 2067 break; 2068 } 2069 /* __mac_set_link */ 2070 case 411: { 2071 struct __mac_set_link_args *p = params; 2072 uarg[0] = (intptr_t) p->path_p; /* const char * */ 2073 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ 2074 *n_args = 2; 2075 break; 2076 } 2077 /* extattr_set_link */ 2078 case 412: { 2079 struct extattr_set_link_args *p = params; 2080 uarg[0] = (intptr_t) p->path; /* const char * */ 2081 iarg[1] = p->attrnamespace; /* int */ 2082 uarg[2] = (intptr_t) p->attrname; /* const char * */ 2083 uarg[3] = (intptr_t) p->data; /* void * */ 2084 uarg[4] = p->nbytes; /* size_t */ 2085 *n_args = 5; 2086 break; 2087 } 2088 /* extattr_get_link */ 2089 case 413: { 2090 struct extattr_get_link_args *p = params; 2091 uarg[0] = (intptr_t) p->path; /* const char * */ 2092 iarg[1] = p->attrnamespace; /* int */ 2093 uarg[2] = (intptr_t) p->attrname; /* const char * */ 2094 uarg[3] = (intptr_t) p->data; /* void * */ 2095 uarg[4] = p->nbytes; /* size_t */ 2096 *n_args = 5; 2097 break; 2098 } 2099 /* extattr_delete_link */ 2100 case 414: { 2101 struct extattr_delete_link_args *p = params; 2102 uarg[0] = (intptr_t) p->path; /* const char * */ 2103 iarg[1] = p->attrnamespace; /* int */ 2104 uarg[2] = (intptr_t) p->attrname; /* const char * */ 2105 *n_args = 3; 2106 break; 2107 } 2108 /* __mac_execve */ 2109 case 415: { 2110 struct __mac_execve_args *p = params; 2111 uarg[0] = (intptr_t) p->fname; /* char * */ 2112 uarg[1] = (intptr_t) p->argv; /* char ** */ 2113 uarg[2] = (intptr_t) p->envv; /* char ** */ 2114 uarg[3] = (intptr_t) p->mac_p; /* struct mac * */ 2115 *n_args = 4; 2116 break; 2117 } 2118 /* sigaction */ 2119 case 416: { 2120 struct sigaction_args *p = params; 2121 iarg[0] = p->sig; /* int */ 2122 uarg[1] = (intptr_t) p->act; /* const struct sigaction * */ 2123 uarg[2] = (intptr_t) p->oact; /* struct sigaction * */ 2124 *n_args = 3; 2125 break; 2126 } 2127 /* sigreturn */ 2128 case 417: { 2129 struct sigreturn_args *p = params; 2130 uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */ 2131 *n_args = 1; 2132 break; 2133 } 2134 /* getcontext */ 2135 case 421: { 2136 struct getcontext_args *p = params; 2137 uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */ 2138 *n_args = 1; 2139 break; 2140 } 2141 /* setcontext */ 2142 case 422: { 2143 struct setcontext_args *p = params; 2144 uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */ 2145 *n_args = 1; 2146 break; 2147 } 2148 /* swapcontext */ 2149 case 423: { 2150 struct swapcontext_args *p = params; 2151 uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */ 2152 uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */ 2153 *n_args = 2; 2154 break; 2155 } 2156 /* swapoff */ 2157 case 424: { 2158 struct swapoff_args *p = params; 2159 uarg[0] = (intptr_t) p->name; /* const char * */ 2160 *n_args = 1; 2161 break; 2162 } 2163 /* __acl_get_link */ 2164 case 425: { 2165 struct __acl_get_link_args *p = params; 2166 uarg[0] = (intptr_t) p->path; /* const char * */ 2167 iarg[1] = p->type; /* acl_type_t */ 2168 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 2169 *n_args = 3; 2170 break; 2171 } 2172 /* __acl_set_link */ 2173 case 426: { 2174 struct __acl_set_link_args *p = params; 2175 uarg[0] = (intptr_t) p->path; /* const char * */ 2176 iarg[1] = p->type; /* acl_type_t */ 2177 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 2178 *n_args = 3; 2179 break; 2180 } 2181 /* __acl_delete_link */ 2182 case 427: { 2183 struct __acl_delete_link_args *p = params; 2184 uarg[0] = (intptr_t) p->path; /* const char * */ 2185 iarg[1] = p->type; /* acl_type_t */ 2186 *n_args = 2; 2187 break; 2188 } 2189 /* __acl_aclcheck_link */ 2190 case 428: { 2191 struct __acl_aclcheck_link_args *p = params; 2192 uarg[0] = (intptr_t) p->path; /* const char * */ 2193 iarg[1] = p->type; /* acl_type_t */ 2194 uarg[2] = (intptr_t) p->aclp; /* struct acl * */ 2195 *n_args = 3; 2196 break; 2197 } 2198 /* sigwait */ 2199 case 429: { 2200 struct sigwait_args *p = params; 2201 uarg[0] = (intptr_t) p->set; /* const sigset_t * */ 2202 uarg[1] = (intptr_t) p->sig; /* int * */ 2203 *n_args = 2; 2204 break; 2205 } 2206 /* thr_create */ 2207 case 430: { 2208 struct thr_create_args *p = params; 2209 uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */ 2210 uarg[1] = (intptr_t) p->id; /* long * */ 2211 iarg[2] = p->flags; /* int */ 2212 *n_args = 3; 2213 break; 2214 } 2215 /* thr_exit */ 2216 case 431: { 2217 struct thr_exit_args *p = params; 2218 uarg[0] = (intptr_t) p->state; /* long * */ 2219 *n_args = 1; 2220 break; 2221 } 2222 /* thr_self */ 2223 case 432: { 2224 struct thr_self_args *p = params; 2225 uarg[0] = (intptr_t) p->id; /* long * */ 2226 *n_args = 1; 2227 break; 2228 } 2229 /* thr_kill */ 2230 case 433: { 2231 struct thr_kill_args *p = params; 2232 iarg[0] = p->id; /* long */ 2233 iarg[1] = p->sig; /* int */ 2234 *n_args = 2; 2235 break; 2236 } 2237 /* jail_attach */ 2238 case 436: { 2239 struct jail_attach_args *p = params; 2240 iarg[0] = p->jid; /* int */ 2241 *n_args = 1; 2242 break; 2243 } 2244 /* extattr_list_fd */ 2245 case 437: { 2246 struct extattr_list_fd_args *p = params; 2247 iarg[0] = p->fd; /* int */ 2248 iarg[1] = p->attrnamespace; /* int */ 2249 uarg[2] = (intptr_t) p->data; /* void * */ 2250 uarg[3] = p->nbytes; /* size_t */ 2251 *n_args = 4; 2252 break; 2253 } 2254 /* extattr_list_file */ 2255 case 438: { 2256 struct extattr_list_file_args *p = params; 2257 uarg[0] = (intptr_t) p->path; /* const char * */ 2258 iarg[1] = p->attrnamespace; /* int */ 2259 uarg[2] = (intptr_t) p->data; /* void * */ 2260 uarg[3] = p->nbytes; /* size_t */ 2261 *n_args = 4; 2262 break; 2263 } 2264 /* extattr_list_link */ 2265 case 439: { 2266 struct extattr_list_link_args *p = params; 2267 uarg[0] = (intptr_t) p->path; /* const char * */ 2268 iarg[1] = p->attrnamespace; /* int */ 2269 uarg[2] = (intptr_t) p->data; /* void * */ 2270 uarg[3] = p->nbytes; /* size_t */ 2271 *n_args = 4; 2272 break; 2273 } 2274 /* ksem_timedwait */ 2275 case 441: { 2276 struct ksem_timedwait_args *p = params; 2277 iarg[0] = p->id; /* semid_t */ 2278 uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */ 2279 *n_args = 2; 2280 break; 2281 } 2282 /* thr_suspend */ 2283 case 442: { 2284 struct thr_suspend_args *p = params; 2285 uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */ 2286 *n_args = 1; 2287 break; 2288 } 2289 /* thr_wake */ 2290 case 443: { 2291 struct thr_wake_args *p = params; 2292 iarg[0] = p->id; /* long */ 2293 *n_args = 1; 2294 break; 2295 } 2296 /* kldunloadf */ 2297 case 444: { 2298 struct kldunloadf_args *p = params; 2299 iarg[0] = p->fileid; /* int */ 2300 iarg[1] = p->flags; /* int */ 2301 *n_args = 2; 2302 break; 2303 } 2304 /* audit */ 2305 case 445: { 2306 struct audit_args *p = params; 2307 uarg[0] = (intptr_t) p->record; /* const void * */ 2308 uarg[1] = p->length; /* u_int */ 2309 *n_args = 2; 2310 break; 2311 } 2312 /* auditon */ 2313 case 446: { 2314 struct auditon_args *p = params; 2315 iarg[0] = p->cmd; /* int */ 2316 uarg[1] = (intptr_t) p->data; /* void * */ 2317 uarg[2] = p->length; /* u_int */ 2318 *n_args = 3; 2319 break; 2320 } 2321 /* getauid */ 2322 case 447: { 2323 struct getauid_args *p = params; 2324 uarg[0] = (intptr_t) p->auid; /* uid_t * */ 2325 *n_args = 1; 2326 break; 2327 } 2328 /* setauid */ 2329 case 448: { 2330 struct setauid_args *p = params; 2331 uarg[0] = (intptr_t) p->auid; /* uid_t * */ 2332 *n_args = 1; 2333 break; 2334 } 2335 /* getaudit */ 2336 case 449: { 2337 struct getaudit_args *p = params; 2338 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */ 2339 *n_args = 1; 2340 break; 2341 } 2342 /* setaudit */ 2343 case 450: { 2344 struct setaudit_args *p = params; 2345 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */ 2346 *n_args = 1; 2347 break; 2348 } 2349 /* getaudit_addr */ 2350 case 451: { 2351 struct getaudit_addr_args *p = params; 2352 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */ 2353 uarg[1] = p->length; /* u_int */ 2354 *n_args = 2; 2355 break; 2356 } 2357 /* setaudit_addr */ 2358 case 452: { 2359 struct setaudit_addr_args *p = params; 2360 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */ 2361 uarg[1] = p->length; /* u_int */ 2362 *n_args = 2; 2363 break; 2364 } 2365 /* auditctl */ 2366 case 453: { 2367 struct auditctl_args *p = params; 2368 uarg[0] = (intptr_t) p->path; /* char * */ 2369 *n_args = 1; 2370 break; 2371 } 2372 /* _umtx_op */ 2373 case 454: { 2374 struct _umtx_op_args *p = params; 2375 uarg[0] = (intptr_t) p->obj; /* void * */ 2376 iarg[1] = p->op; /* int */ 2377 uarg[2] = p->val; /* u_long */ 2378 uarg[3] = (intptr_t) p->uaddr1; /* void * */ 2379 uarg[4] = (intptr_t) p->uaddr2; /* void * */ 2380 *n_args = 5; 2381 break; 2382 } 2383 /* thr_new */ 2384 case 455: { 2385 struct thr_new_args *p = params; 2386 uarg[0] = (intptr_t) p->param; /* struct thr_param * */ 2387 iarg[1] = p->param_size; /* int */ 2388 *n_args = 2; 2389 break; 2390 } 2391 /* sigqueue */ 2392 case 456: { 2393 struct sigqueue_args *p = params; 2394 iarg[0] = p->pid; /* pid_t */ 2395 iarg[1] = p->signum; /* int */ 2396 uarg[2] = (intptr_t) p->value; /* void * */ 2397 *n_args = 3; 2398 break; 2399 } 2400 /* kmq_open */ 2401 case 457: { 2402 struct kmq_open_args *p = params; 2403 uarg[0] = (intptr_t) p->path; /* const char * */ 2404 iarg[1] = p->flags; /* int */ 2405 iarg[2] = p->mode; /* mode_t */ 2406 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */ 2407 *n_args = 4; 2408 break; 2409 } 2410 /* kmq_setattr */ 2411 case 458: { 2412 struct kmq_setattr_args *p = params; 2413 iarg[0] = p->mqd; /* int */ 2414 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */ 2415 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */ 2416 *n_args = 3; 2417 break; 2418 } 2419 /* kmq_timedreceive */ 2420 case 459: { 2421 struct kmq_timedreceive_args *p = params; 2422 iarg[0] = p->mqd; /* int */ 2423 uarg[1] = (intptr_t) p->msg_ptr; /* char * */ 2424 uarg[2] = p->msg_len; /* size_t */ 2425 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */ 2426 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */ 2427 *n_args = 5; 2428 break; 2429 } 2430 /* kmq_timedsend */ 2431 case 460: { 2432 struct kmq_timedsend_args *p = params; 2433 iarg[0] = p->mqd; /* int */ 2434 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */ 2435 uarg[2] = p->msg_len; /* size_t */ 2436 uarg[3] = p->msg_prio; /* unsigned */ 2437 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */ 2438 *n_args = 5; 2439 break; 2440 } 2441 /* kmq_notify */ 2442 case 461: { 2443 struct kmq_notify_args *p = params; 2444 iarg[0] = p->mqd; /* int */ 2445 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */ 2446 *n_args = 2; 2447 break; 2448 } 2449 /* kmq_unlink */ 2450 case 462: { 2451 struct kmq_unlink_args *p = params; 2452 uarg[0] = (intptr_t) p->path; /* const char * */ 2453 *n_args = 1; 2454 break; 2455 } 2456 /* abort2 */ 2457 case 463: { 2458 struct abort2_args *p = params; 2459 uarg[0] = (intptr_t) p->why; /* const char * */ 2460 iarg[1] = p->nargs; /* int */ 2461 uarg[2] = (intptr_t) p->args; /* void ** */ 2462 *n_args = 3; 2463 break; 2464 } 2465 /* thr_set_name */ 2466 case 464: { 2467 struct thr_set_name_args *p = params; 2468 iarg[0] = p->id; /* long */ 2469 uarg[1] = (intptr_t) p->name; /* const char * */ 2470 *n_args = 2; 2471 break; 2472 } 2473 /* aio_fsync */ 2474 case 465: { 2475 struct aio_fsync_args *p = params; 2476 iarg[0] = p->op; /* int */ 2477 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */ 2478 *n_args = 2; 2479 break; 2480 } 2481 /* rtprio_thread */ 2482 case 466: { 2483 struct rtprio_thread_args *p = params; 2484 iarg[0] = p->function; /* int */ 2485 iarg[1] = p->lwpid; /* lwpid_t */ 2486 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */ 2487 *n_args = 3; 2488 break; 2489 } 2490 /* sctp_peeloff */ 2491 case 471: { 2492 struct sctp_peeloff_args *p = params; 2493 iarg[0] = p->sd; /* int */ 2494 uarg[1] = p->name; /* uint32_t */ 2495 *n_args = 2; 2496 break; 2497 } 2498 /* sctp_generic_sendmsg */ 2499 case 472: { 2500 struct sctp_generic_sendmsg_args *p = params; 2501 iarg[0] = p->sd; /* int */ 2502 uarg[1] = (intptr_t) p->msg; /* caddr_t */ 2503 iarg[2] = p->mlen; /* int */ 2504 uarg[3] = (intptr_t) p->to; /* caddr_t */ 2505 iarg[4] = p->tolen; /* __socklen_t */ 2506 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */ 2507 iarg[6] = p->flags; /* int */ 2508 *n_args = 7; 2509 break; 2510 } 2511 /* sctp_generic_sendmsg_iov */ 2512 case 473: { 2513 struct sctp_generic_sendmsg_iov_args *p = params; 2514 iarg[0] = p->sd; /* int */ 2515 uarg[1] = (intptr_t) p->iov; /* struct iovec * */ 2516 iarg[2] = p->iovlen; /* int */ 2517 uarg[3] = (intptr_t) p->to; /* caddr_t */ 2518 iarg[4] = p->tolen; /* __socklen_t */ 2519 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */ 2520 iarg[6] = p->flags; /* int */ 2521 *n_args = 7; 2522 break; 2523 } 2524 /* sctp_generic_recvmsg */ 2525 case 474: { 2526 struct sctp_generic_recvmsg_args *p = params; 2527 iarg[0] = p->sd; /* int */ 2528 uarg[1] = (intptr_t) p->iov; /* struct iovec * */ 2529 iarg[2] = p->iovlen; /* int */ 2530 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */ 2531 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */ 2532 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */ 2533 uarg[6] = (intptr_t) p->msg_flags; /* int * */ 2534 *n_args = 7; 2535 break; 2536 } 2537 /* pread */ 2538 case 475: { 2539 struct pread_args *p = params; 2540 iarg[0] = p->fd; /* int */ 2541 uarg[1] = (intptr_t) p->buf; /* void * */ 2542 uarg[2] = p->nbyte; /* size_t */ 2543 iarg[3] = p->offset; /* off_t */ 2544 *n_args = 4; 2545 break; 2546 } 2547 /* pwrite */ 2548 case 476: { 2549 struct pwrite_args *p = params; 2550 iarg[0] = p->fd; /* int */ 2551 uarg[1] = (intptr_t) p->buf; /* const void * */ 2552 uarg[2] = p->nbyte; /* size_t */ 2553 iarg[3] = p->offset; /* off_t */ 2554 *n_args = 4; 2555 break; 2556 } 2557 /* mmap */ 2558 case 477: { 2559 struct mmap_args *p = params; 2560 uarg[0] = (intptr_t) p->addr; /* caddr_t */ 2561 uarg[1] = p->len; /* size_t */ 2562 iarg[2] = p->prot; /* int */ 2563 iarg[3] = p->flags; /* int */ 2564 iarg[4] = p->fd; /* int */ 2565 iarg[5] = p->pos; /* off_t */ 2566 *n_args = 6; 2567 break; 2568 } 2569 /* lseek */ 2570 case 478: { 2571 struct lseek_args *p = params; 2572 iarg[0] = p->fd; /* int */ 2573 iarg[1] = p->offset; /* off_t */ 2574 iarg[2] = p->whence; /* int */ 2575 *n_args = 3; 2576 break; 2577 } 2578 /* truncate */ 2579 case 479: { 2580 struct truncate_args *p = params; 2581 uarg[0] = (intptr_t) p->path; /* char * */ 2582 iarg[1] = p->length; /* off_t */ 2583 *n_args = 2; 2584 break; 2585 } 2586 /* ftruncate */ 2587 case 480: { 2588 struct ftruncate_args *p = params; 2589 iarg[0] = p->fd; /* int */ 2590 iarg[1] = p->length; /* off_t */ 2591 *n_args = 2; 2592 break; 2593 } 2594 /* thr_kill2 */ 2595 case 481: { 2596 struct thr_kill2_args *p = params; 2597 iarg[0] = p->pid; /* pid_t */ 2598 iarg[1] = p->id; /* long */ 2599 iarg[2] = p->sig; /* int */ 2600 *n_args = 3; 2601 break; 2602 } 2603 /* shm_open */ 2604 case 482: { 2605 struct shm_open_args *p = params; 2606 uarg[0] = (intptr_t) p->path; /* const char * */ 2607 iarg[1] = p->flags; /* int */ 2608 iarg[2] = p->mode; /* mode_t */ 2609 *n_args = 3; 2610 break; 2611 } 2612 /* shm_unlink */ 2613 case 483: { 2614 struct shm_unlink_args *p = params; 2615 uarg[0] = (intptr_t) p->path; /* const char * */ 2616 *n_args = 1; 2617 break; 2618 } 2619 /* cpuset */ 2620 case 484: { 2621 struct cpuset_args *p = params; 2622 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */ 2623 *n_args = 1; 2624 break; 2625 } 2626 /* cpuset_setid */ 2627 case 485: { 2628 struct cpuset_setid_args *p = params; 2629 iarg[0] = p->which; /* cpuwhich_t */ 2630 iarg[1] = p->id; /* id_t */ 2631 iarg[2] = p->setid; /* cpusetid_t */ 2632 *n_args = 3; 2633 break; 2634 } 2635 /* cpuset_getid */ 2636 case 486: { 2637 struct cpuset_getid_args *p = params; 2638 iarg[0] = p->level; /* cpulevel_t */ 2639 iarg[1] = p->which; /* cpuwhich_t */ 2640 iarg[2] = p->id; /* id_t */ 2641 uarg[3] = (intptr_t) p->setid; /* cpusetid_t * */ 2642 *n_args = 4; 2643 break; 2644 } 2645 /* cpuset_getaffinity */ 2646 case 487: { 2647 struct cpuset_getaffinity_args *p = params; 2648 iarg[0] = p->level; /* cpulevel_t */ 2649 iarg[1] = p->which; /* cpuwhich_t */ 2650 iarg[2] = p->id; /* id_t */ 2651 uarg[3] = p->cpusetsize; /* size_t */ 2652 uarg[4] = (intptr_t) p->mask; /* cpuset_t * */ 2653 *n_args = 5; 2654 break; 2655 } 2656 /* cpuset_setaffinity */ 2657 case 488: { 2658 struct cpuset_setaffinity_args *p = params; 2659 iarg[0] = p->level; /* cpulevel_t */ 2660 iarg[1] = p->which; /* cpuwhich_t */ 2661 iarg[2] = p->id; /* id_t */ 2662 uarg[3] = p->cpusetsize; /* size_t */ 2663 uarg[4] = (intptr_t) p->mask; /* const cpuset_t * */ 2664 *n_args = 5; 2665 break; 2666 } 2667 /* faccessat */ 2668 case 489: { 2669 struct faccessat_args *p = params; 2670 iarg[0] = p->fd; /* int */ 2671 uarg[1] = (intptr_t) p->path; /* char * */ 2672 iarg[2] = p->amode; /* int */ 2673 iarg[3] = p->flag; /* int */ 2674 *n_args = 4; 2675 break; 2676 } 2677 /* fchmodat */ 2678 case 490: { 2679 struct fchmodat_args *p = params; 2680 iarg[0] = p->fd; /* int */ 2681 uarg[1] = (intptr_t) p->path; /* char * */ 2682 iarg[2] = p->mode; /* mode_t */ 2683 iarg[3] = p->flag; /* int */ 2684 *n_args = 4; 2685 break; 2686 } 2687 /* fchownat */ 2688 case 491: { 2689 struct fchownat_args *p = params; 2690 iarg[0] = p->fd; /* int */ 2691 uarg[1] = (intptr_t) p->path; /* char * */ 2692 uarg[2] = p->uid; /* uid_t */ 2693 iarg[3] = p->gid; /* gid_t */ 2694 iarg[4] = p->flag; /* int */ 2695 *n_args = 5; 2696 break; 2697 } 2698 /* fexecve */ 2699 case 492: { 2700 struct fexecve_args *p = params; 2701 iarg[0] = p->fd; /* int */ 2702 uarg[1] = (intptr_t) p->argv; /* char ** */ 2703 uarg[2] = (intptr_t) p->envv; /* char ** */ 2704 *n_args = 3; 2705 break; 2706 } 2707 /* futimesat */ 2708 case 494: { 2709 struct futimesat_args *p = params; 2710 iarg[0] = p->fd; /* int */ 2711 uarg[1] = (intptr_t) p->path; /* char * */ 2712 uarg[2] = (intptr_t) p->times; /* struct timeval * */ 2713 *n_args = 3; 2714 break; 2715 } 2716 /* linkat */ 2717 case 495: { 2718 struct linkat_args *p = params; 2719 iarg[0] = p->fd1; /* int */ 2720 uarg[1] = (intptr_t) p->path1; /* char * */ 2721 iarg[2] = p->fd2; /* int */ 2722 uarg[3] = (intptr_t) p->path2; /* char * */ 2723 iarg[4] = p->flag; /* int */ 2724 *n_args = 5; 2725 break; 2726 } 2727 /* mkdirat */ 2728 case 496: { 2729 struct mkdirat_args *p = params; 2730 iarg[0] = p->fd; /* int */ 2731 uarg[1] = (intptr_t) p->path; /* char * */ 2732 iarg[2] = p->mode; /* mode_t */ 2733 *n_args = 3; 2734 break; 2735 } 2736 /* mkfifoat */ 2737 case 497: { 2738 struct mkfifoat_args *p = params; 2739 iarg[0] = p->fd; /* int */ 2740 uarg[1] = (intptr_t) p->path; /* char * */ 2741 iarg[2] = p->mode; /* mode_t */ 2742 *n_args = 3; 2743 break; 2744 } 2745 /* openat */ 2746 case 499: { 2747 struct openat_args *p = params; 2748 iarg[0] = p->fd; /* int */ 2749 uarg[1] = (intptr_t) p->path; /* char * */ 2750 iarg[2] = p->flag; /* int */ 2751 iarg[3] = p->mode; /* mode_t */ 2752 *n_args = 4; 2753 break; 2754 } 2755 /* readlinkat */ 2756 case 500: { 2757 struct readlinkat_args *p = params; 2758 iarg[0] = p->fd; /* int */ 2759 uarg[1] = (intptr_t) p->path; /* char * */ 2760 uarg[2] = (intptr_t) p->buf; /* char * */ 2761 uarg[3] = p->bufsize; /* size_t */ 2762 *n_args = 4; 2763 break; 2764 } 2765 /* renameat */ 2766 case 501: { 2767 struct renameat_args *p = params; 2768 iarg[0] = p->oldfd; /* int */ 2769 uarg[1] = (intptr_t) p->old; /* char * */ 2770 iarg[2] = p->newfd; /* int */ 2771 uarg[3] = (intptr_t) p->new; /* char * */ 2772 *n_args = 4; 2773 break; 2774 } 2775 /* symlinkat */ 2776 case 502: { 2777 struct symlinkat_args *p = params; 2778 uarg[0] = (intptr_t) p->path1; /* char * */ 2779 iarg[1] = p->fd; /* int */ 2780 uarg[2] = (intptr_t) p->path2; /* char * */ 2781 *n_args = 3; 2782 break; 2783 } 2784 /* unlinkat */ 2785 case 503: { 2786 struct unlinkat_args *p = params; 2787 iarg[0] = p->fd; /* int */ 2788 uarg[1] = (intptr_t) p->path; /* char * */ 2789 iarg[2] = p->flag; /* int */ 2790 *n_args = 3; 2791 break; 2792 } 2793 /* posix_openpt */ 2794 case 504: { 2795 struct posix_openpt_args *p = params; 2796 iarg[0] = p->flags; /* int */ 2797 *n_args = 1; 2798 break; 2799 } 2800 /* gssd_syscall */ 2801 case 505: { 2802 struct gssd_syscall_args *p = params; 2803 uarg[0] = (intptr_t) p->path; /* char * */ 2804 *n_args = 1; 2805 break; 2806 } 2807 /* jail_get */ 2808 case 506: { 2809 struct jail_get_args *p = params; 2810 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */ 2811 uarg[1] = p->iovcnt; /* unsigned int */ 2812 iarg[2] = p->flags; /* int */ 2813 *n_args = 3; 2814 break; 2815 } 2816 /* jail_set */ 2817 case 507: { 2818 struct jail_set_args *p = params; 2819 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */ 2820 uarg[1] = p->iovcnt; /* unsigned int */ 2821 iarg[2] = p->flags; /* int */ 2822 *n_args = 3; 2823 break; 2824 } 2825 /* jail_remove */ 2826 case 508: { 2827 struct jail_remove_args *p = params; 2828 iarg[0] = p->jid; /* int */ 2829 *n_args = 1; 2830 break; 2831 } 2832 /* closefrom */ 2833 case 509: { 2834 struct closefrom_args *p = params; 2835 iarg[0] = p->lowfd; /* int */ 2836 *n_args = 1; 2837 break; 2838 } 2839 /* __semctl */ 2840 case 510: { 2841 struct __semctl_args *p = params; 2842 iarg[0] = p->semid; /* int */ 2843 iarg[1] = p->semnum; /* int */ 2844 iarg[2] = p->cmd; /* int */ 2845 uarg[3] = (intptr_t) p->arg; /* union semun * */ 2846 *n_args = 4; 2847 break; 2848 } 2849 /* msgctl */ 2850 case 511: { 2851 struct msgctl_args *p = params; 2852 iarg[0] = p->msqid; /* int */ 2853 iarg[1] = p->cmd; /* int */ 2854 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */ 2855 *n_args = 3; 2856 break; 2857 } 2858 /* shmctl */ 2859 case 512: { 2860 struct shmctl_args *p = params; 2861 iarg[0] = p->shmid; /* int */ 2862 iarg[1] = p->cmd; /* int */ 2863 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */ 2864 *n_args = 3; 2865 break; 2866 } 2867 /* lpathconf */ 2868 case 513: { 2869 struct lpathconf_args *p = params; 2870 uarg[0] = (intptr_t) p->path; /* char * */ 2871 iarg[1] = p->name; /* int */ 2872 *n_args = 2; 2873 break; 2874 } 2875 /* __cap_rights_get */ 2876 case 515: { 2877 struct __cap_rights_get_args *p = params; 2878 iarg[0] = p->version; /* int */ 2879 iarg[1] = p->fd; /* int */ 2880 uarg[2] = (intptr_t) p->rightsp; /* cap_rights_t * */ 2881 *n_args = 3; 2882 break; 2883 } 2884 /* cap_enter */ 2885 case 516: { 2886 *n_args = 0; 2887 break; 2888 } 2889 /* cap_getmode */ 2890 case 517: { 2891 struct cap_getmode_args *p = params; 2892 uarg[0] = (intptr_t) p->modep; /* u_int * */ 2893 *n_args = 1; 2894 break; 2895 } 2896 /* pdfork */ 2897 case 518: { 2898 struct pdfork_args *p = params; 2899 uarg[0] = (intptr_t) p->fdp; /* int * */ 2900 iarg[1] = p->flags; /* int */ 2901 *n_args = 2; 2902 break; 2903 } 2904 /* pdkill */ 2905 case 519: { 2906 struct pdkill_args *p = params; 2907 iarg[0] = p->fd; /* int */ 2908 iarg[1] = p->signum; /* int */ 2909 *n_args = 2; 2910 break; 2911 } 2912 /* pdgetpid */ 2913 case 520: { 2914 struct pdgetpid_args *p = params; 2915 iarg[0] = p->fd; /* int */ 2916 uarg[1] = (intptr_t) p->pidp; /* pid_t * */ 2917 *n_args = 2; 2918 break; 2919 } 2920 /* pselect */ 2921 case 522: { 2922 struct pselect_args *p = params; 2923 iarg[0] = p->nd; /* int */ 2924 uarg[1] = (intptr_t) p->in; /* fd_set * */ 2925 uarg[2] = (intptr_t) p->ou; /* fd_set * */ 2926 uarg[3] = (intptr_t) p->ex; /* fd_set * */ 2927 uarg[4] = (intptr_t) p->ts; /* const struct timespec * */ 2928 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */ 2929 *n_args = 6; 2930 break; 2931 } 2932 /* getloginclass */ 2933 case 523: { 2934 struct getloginclass_args *p = params; 2935 uarg[0] = (intptr_t) p->namebuf; /* char * */ 2936 uarg[1] = p->namelen; /* size_t */ 2937 *n_args = 2; 2938 break; 2939 } 2940 /* setloginclass */ 2941 case 524: { 2942 struct setloginclass_args *p = params; 2943 uarg[0] = (intptr_t) p->namebuf; /* const char * */ 2944 *n_args = 1; 2945 break; 2946 } 2947 /* rctl_get_racct */ 2948 case 525: { 2949 struct rctl_get_racct_args *p = params; 2950 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 2951 uarg[1] = p->inbuflen; /* size_t */ 2952 uarg[2] = (intptr_t) p->outbufp; /* void * */ 2953 uarg[3] = p->outbuflen; /* size_t */ 2954 *n_args = 4; 2955 break; 2956 } 2957 /* rctl_get_rules */ 2958 case 526: { 2959 struct rctl_get_rules_args *p = params; 2960 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 2961 uarg[1] = p->inbuflen; /* size_t */ 2962 uarg[2] = (intptr_t) p->outbufp; /* void * */ 2963 uarg[3] = p->outbuflen; /* size_t */ 2964 *n_args = 4; 2965 break; 2966 } 2967 /* rctl_get_limits */ 2968 case 527: { 2969 struct rctl_get_limits_args *p = params; 2970 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 2971 uarg[1] = p->inbuflen; /* size_t */ 2972 uarg[2] = (intptr_t) p->outbufp; /* void * */ 2973 uarg[3] = p->outbuflen; /* size_t */ 2974 *n_args = 4; 2975 break; 2976 } 2977 /* rctl_add_rule */ 2978 case 528: { 2979 struct rctl_add_rule_args *p = params; 2980 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 2981 uarg[1] = p->inbuflen; /* size_t */ 2982 uarg[2] = (intptr_t) p->outbufp; /* void * */ 2983 uarg[3] = p->outbuflen; /* size_t */ 2984 *n_args = 4; 2985 break; 2986 } 2987 /* rctl_remove_rule */ 2988 case 529: { 2989 struct rctl_remove_rule_args *p = params; 2990 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 2991 uarg[1] = p->inbuflen; /* size_t */ 2992 uarg[2] = (intptr_t) p->outbufp; /* void * */ 2993 uarg[3] = p->outbuflen; /* size_t */ 2994 *n_args = 4; 2995 break; 2996 } 2997 /* posix_fallocate */ 2998 case 530: { 2999 struct posix_fallocate_args *p = params; 3000 iarg[0] = p->fd; /* int */ 3001 iarg[1] = p->offset; /* off_t */ 3002 iarg[2] = p->len; /* off_t */ 3003 *n_args = 3; 3004 break; 3005 } 3006 /* posix_fadvise */ 3007 case 531: { 3008 struct posix_fadvise_args *p = params; 3009 iarg[0] = p->fd; /* int */ 3010 iarg[1] = p->offset; /* off_t */ 3011 iarg[2] = p->len; /* off_t */ 3012 iarg[3] = p->advice; /* int */ 3013 *n_args = 4; 3014 break; 3015 } 3016 /* wait6 */ 3017 case 532: { 3018 struct wait6_args *p = params; 3019 iarg[0] = p->idtype; /* idtype_t */ 3020 iarg[1] = p->id; /* id_t */ 3021 uarg[2] = (intptr_t) p->status; /* int * */ 3022 iarg[3] = p->options; /* int */ 3023 uarg[4] = (intptr_t) p->wrusage; /* struct __wrusage * */ 3024 uarg[5] = (intptr_t) p->info; /* siginfo_t * */ 3025 *n_args = 6; 3026 break; 3027 } 3028 /* cap_rights_limit */ 3029 case 533: { 3030 struct cap_rights_limit_args *p = params; 3031 iarg[0] = p->fd; /* int */ 3032 uarg[1] = (intptr_t) p->rightsp; /* cap_rights_t * */ 3033 *n_args = 2; 3034 break; 3035 } 3036 /* cap_ioctls_limit */ 3037 case 534: { 3038 struct cap_ioctls_limit_args *p = params; 3039 iarg[0] = p->fd; /* int */ 3040 uarg[1] = (intptr_t) p->cmds; /* const u_long * */ 3041 uarg[2] = p->ncmds; /* size_t */ 3042 *n_args = 3; 3043 break; 3044 } 3045 /* cap_ioctls_get */ 3046 case 535: { 3047 struct cap_ioctls_get_args *p = params; 3048 iarg[0] = p->fd; /* int */ 3049 uarg[1] = (intptr_t) p->cmds; /* u_long * */ 3050 uarg[2] = p->maxcmds; /* size_t */ 3051 *n_args = 3; 3052 break; 3053 } 3054 /* cap_fcntls_limit */ 3055 case 536: { 3056 struct cap_fcntls_limit_args *p = params; 3057 iarg[0] = p->fd; /* int */ 3058 uarg[1] = p->fcntlrights; /* uint32_t */ 3059 *n_args = 2; 3060 break; 3061 } 3062 /* cap_fcntls_get */ 3063 case 537: { 3064 struct cap_fcntls_get_args *p = params; 3065 iarg[0] = p->fd; /* int */ 3066 uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */ 3067 *n_args = 2; 3068 break; 3069 } 3070 /* bindat */ 3071 case 538: { 3072 struct bindat_args *p = params; 3073 iarg[0] = p->fd; /* int */ 3074 iarg[1] = p->s; /* int */ 3075 uarg[2] = (intptr_t) p->name; /* caddr_t */ 3076 iarg[3] = p->namelen; /* int */ 3077 *n_args = 4; 3078 break; 3079 } 3080 /* connectat */ 3081 case 539: { 3082 struct connectat_args *p = params; 3083 iarg[0] = p->fd; /* int */ 3084 iarg[1] = p->s; /* int */ 3085 uarg[2] = (intptr_t) p->name; /* caddr_t */ 3086 iarg[3] = p->namelen; /* int */ 3087 *n_args = 4; 3088 break; 3089 } 3090 /* chflagsat */ 3091 case 540: { 3092 struct chflagsat_args *p = params; 3093 iarg[0] = p->fd; /* int */ 3094 uarg[1] = (intptr_t) p->path; /* const char * */ 3095 uarg[2] = p->flags; /* u_long */ 3096 iarg[3] = p->atflag; /* int */ 3097 *n_args = 4; 3098 break; 3099 } 3100 /* accept4 */ 3101 case 541: { 3102 struct accept4_args *p = params; 3103 iarg[0] = p->s; /* int */ 3104 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */ 3105 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */ 3106 iarg[3] = p->flags; /* int */ 3107 *n_args = 4; 3108 break; 3109 } 3110 /* pipe2 */ 3111 case 542: { 3112 struct pipe2_args *p = params; 3113 uarg[0] = (intptr_t) p->fildes; /* int * */ 3114 iarg[1] = p->flags; /* int */ 3115 *n_args = 2; 3116 break; 3117 } 3118 /* aio_mlock */ 3119 case 543: { 3120 struct aio_mlock_args *p = params; 3121 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */ 3122 *n_args = 1; 3123 break; 3124 } 3125 /* procctl */ 3126 case 544: { 3127 struct procctl_args *p = params; 3128 iarg[0] = p->idtype; /* idtype_t */ 3129 iarg[1] = p->id; /* id_t */ 3130 iarg[2] = p->com; /* int */ 3131 uarg[3] = (intptr_t) p->data; /* void * */ 3132 *n_args = 4; 3133 break; 3134 } 3135 /* ppoll */ 3136 case 545: { 3137 struct ppoll_args *p = params; 3138 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */ 3139 uarg[1] = p->nfds; /* u_int */ 3140 uarg[2] = (intptr_t) p->ts; /* const struct timespec * */ 3141 uarg[3] = (intptr_t) p->set; /* const sigset_t * */ 3142 *n_args = 4; 3143 break; 3144 } 3145 /* futimens */ 3146 case 546: { 3147 struct futimens_args *p = params; 3148 iarg[0] = p->fd; /* int */ 3149 uarg[1] = (intptr_t) p->times; /* struct timespec * */ 3150 *n_args = 2; 3151 break; 3152 } 3153 /* utimensat */ 3154 case 547: { 3155 struct utimensat_args *p = params; 3156 iarg[0] = p->fd; /* int */ 3157 uarg[1] = (intptr_t) p->path; /* char * */ 3158 uarg[2] = (intptr_t) p->times; /* struct timespec * */ 3159 iarg[3] = p->flag; /* int */ 3160 *n_args = 4; 3161 break; 3162 } 3163 /* numa_getaffinity */ 3164 case 548: { 3165 struct numa_getaffinity_args *p = params; 3166 iarg[0] = p->which; /* cpuwhich_t */ 3167 iarg[1] = p->id; /* id_t */ 3168 uarg[2] = (intptr_t) p->policy; /* struct vm_domain_policy_entry * */ 3169 *n_args = 3; 3170 break; 3171 } 3172 /* numa_setaffinity */ 3173 case 549: { 3174 struct numa_setaffinity_args *p = params; 3175 iarg[0] = p->which; /* cpuwhich_t */ 3176 iarg[1] = p->id; /* id_t */ 3177 uarg[2] = (intptr_t) p->policy; /* const struct vm_domain_policy_entry * */ 3178 *n_args = 3; 3179 break; 3180 } 3181 /* fdatasync */ 3182 case 550: { 3183 struct fdatasync_args *p = params; 3184 iarg[0] = p->fd; /* int */ 3185 *n_args = 1; 3186 break; 3187 } 3188 /* fstat */ 3189 case 551: { 3190 struct fstat_args *p = params; 3191 iarg[0] = p->fd; /* int */ 3192 uarg[1] = (intptr_t) p->sb; /* struct stat * */ 3193 *n_args = 2; 3194 break; 3195 } 3196 /* fstatat */ 3197 case 552: { 3198 struct fstatat_args *p = params; 3199 iarg[0] = p->fd; /* int */ 3200 uarg[1] = (intptr_t) p->path; /* char * */ 3201 uarg[2] = (intptr_t) p->buf; /* struct stat * */ 3202 iarg[3] = p->flag; /* int */ 3203 *n_args = 4; 3204 break; 3205 } 3206 /* fhstat */ 3207 case 553: { 3208 struct fhstat_args *p = params; 3209 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */ 3210 uarg[1] = (intptr_t) p->sb; /* struct stat * */ 3211 *n_args = 2; 3212 break; 3213 } 3214 /* getdirentries */ 3215 case 554: { 3216 struct getdirentries_args *p = params; 3217 iarg[0] = p->fd; /* int */ 3218 uarg[1] = (intptr_t) p->buf; /* char * */ 3219 uarg[2] = p->count; /* size_t */ 3220 uarg[3] = (intptr_t) p->basep; /* off_t * */ 3221 *n_args = 4; 3222 break; 3223 } 3224 /* statfs */ 3225 case 555: { 3226 struct statfs_args *p = params; 3227 uarg[0] = (intptr_t) p->path; /* char * */ 3228 uarg[1] = (intptr_t) p->buf; /* struct statfs * */ 3229 *n_args = 2; 3230 break; 3231 } 3232 /* fstatfs */ 3233 case 556: { 3234 struct fstatfs_args *p = params; 3235 iarg[0] = p->fd; /* int */ 3236 uarg[1] = (intptr_t) p->buf; /* struct statfs * */ 3237 *n_args = 2; 3238 break; 3239 } 3240 /* getfsstat */ 3241 case 557: { 3242 struct getfsstat_args *p = params; 3243 uarg[0] = (intptr_t) p->buf; /* struct statfs * */ 3244 iarg[1] = p->bufsize; /* long */ 3245 iarg[2] = p->mode; /* int */ 3246 *n_args = 3; 3247 break; 3248 } 3249 /* fhstatfs */ 3250 case 558: { 3251 struct fhstatfs_args *p = params; 3252 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */ 3253 uarg[1] = (intptr_t) p->buf; /* struct statfs * */ 3254 *n_args = 2; 3255 break; 3256 } 3257 /* mknodat */ 3258 case 559: { 3259 struct mknodat_args *p = params; 3260 iarg[0] = p->fd; /* int */ 3261 uarg[1] = (intptr_t) p->path; /* char * */ 3262 iarg[2] = p->mode; /* mode_t */ 3263 iarg[3] = p->dev; /* dev_t */ 3264 *n_args = 4; 3265 break; 3266 } 3267 /* kevent */ 3268 case 560: { 3269 struct kevent_args *p = params; 3270 iarg[0] = p->fd; /* int */ 3271 uarg[1] = (intptr_t) p->changelist; /* struct kevent * */ 3272 iarg[2] = p->nchanges; /* int */ 3273 uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */ 3274 iarg[4] = p->nevents; /* int */ 3275 uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */ 3276 *n_args = 6; 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 /* extattr_set_fd */ 6177 case 371: 6178 switch(ndx) { 6179 case 0: 6180 p = "int"; 6181 break; 6182 case 1: 6183 p = "int"; 6184 break; 6185 case 2: 6186 p = "userland const char *"; 6187 break; 6188 case 3: 6189 p = "userland void *"; 6190 break; 6191 case 4: 6192 p = "size_t"; 6193 break; 6194 default: 6195 break; 6196 }; 6197 break; 6198 /* extattr_get_fd */ 6199 case 372: 6200 switch(ndx) { 6201 case 0: 6202 p = "int"; 6203 break; 6204 case 1: 6205 p = "int"; 6206 break; 6207 case 2: 6208 p = "userland const char *"; 6209 break; 6210 case 3: 6211 p = "userland void *"; 6212 break; 6213 case 4: 6214 p = "size_t"; 6215 break; 6216 default: 6217 break; 6218 }; 6219 break; 6220 /* extattr_delete_fd */ 6221 case 373: 6222 switch(ndx) { 6223 case 0: 6224 p = "int"; 6225 break; 6226 case 1: 6227 p = "int"; 6228 break; 6229 case 2: 6230 p = "userland const char *"; 6231 break; 6232 default: 6233 break; 6234 }; 6235 break; 6236 /* __setugid */ 6237 case 374: 6238 switch(ndx) { 6239 case 0: 6240 p = "int"; 6241 break; 6242 default: 6243 break; 6244 }; 6245 break; 6246 /* eaccess */ 6247 case 376: 6248 switch(ndx) { 6249 case 0: 6250 p = "userland char *"; 6251 break; 6252 case 1: 6253 p = "int"; 6254 break; 6255 default: 6256 break; 6257 }; 6258 break; 6259 /* afs3_syscall */ 6260 case 377: 6261 switch(ndx) { 6262 case 0: 6263 p = "long"; 6264 break; 6265 case 1: 6266 p = "long"; 6267 break; 6268 case 2: 6269 p = "long"; 6270 break; 6271 case 3: 6272 p = "long"; 6273 break; 6274 case 4: 6275 p = "long"; 6276 break; 6277 case 5: 6278 p = "long"; 6279 break; 6280 case 6: 6281 p = "long"; 6282 break; 6283 default: 6284 break; 6285 }; 6286 break; 6287 /* nmount */ 6288 case 378: 6289 switch(ndx) { 6290 case 0: 6291 p = "userland struct iovec *"; 6292 break; 6293 case 1: 6294 p = "unsigned int"; 6295 break; 6296 case 2: 6297 p = "int"; 6298 break; 6299 default: 6300 break; 6301 }; 6302 break; 6303 /* __mac_get_proc */ 6304 case 384: 6305 switch(ndx) { 6306 case 0: 6307 p = "userland struct mac *"; 6308 break; 6309 default: 6310 break; 6311 }; 6312 break; 6313 /* __mac_set_proc */ 6314 case 385: 6315 switch(ndx) { 6316 case 0: 6317 p = "userland struct mac *"; 6318 break; 6319 default: 6320 break; 6321 }; 6322 break; 6323 /* __mac_get_fd */ 6324 case 386: 6325 switch(ndx) { 6326 case 0: 6327 p = "int"; 6328 break; 6329 case 1: 6330 p = "userland struct mac *"; 6331 break; 6332 default: 6333 break; 6334 }; 6335 break; 6336 /* __mac_get_file */ 6337 case 387: 6338 switch(ndx) { 6339 case 0: 6340 p = "userland const char *"; 6341 break; 6342 case 1: 6343 p = "userland struct mac *"; 6344 break; 6345 default: 6346 break; 6347 }; 6348 break; 6349 /* __mac_set_fd */ 6350 case 388: 6351 switch(ndx) { 6352 case 0: 6353 p = "int"; 6354 break; 6355 case 1: 6356 p = "userland struct mac *"; 6357 break; 6358 default: 6359 break; 6360 }; 6361 break; 6362 /* __mac_set_file */ 6363 case 389: 6364 switch(ndx) { 6365 case 0: 6366 p = "userland const char *"; 6367 break; 6368 case 1: 6369 p = "userland struct mac *"; 6370 break; 6371 default: 6372 break; 6373 }; 6374 break; 6375 /* kenv */ 6376 case 390: 6377 switch(ndx) { 6378 case 0: 6379 p = "int"; 6380 break; 6381 case 1: 6382 p = "userland const char *"; 6383 break; 6384 case 2: 6385 p = "userland char *"; 6386 break; 6387 case 3: 6388 p = "int"; 6389 break; 6390 default: 6391 break; 6392 }; 6393 break; 6394 /* lchflags */ 6395 case 391: 6396 switch(ndx) { 6397 case 0: 6398 p = "userland const char *"; 6399 break; 6400 case 1: 6401 p = "u_long"; 6402 break; 6403 default: 6404 break; 6405 }; 6406 break; 6407 /* uuidgen */ 6408 case 392: 6409 switch(ndx) { 6410 case 0: 6411 p = "userland struct uuid *"; 6412 break; 6413 case 1: 6414 p = "int"; 6415 break; 6416 default: 6417 break; 6418 }; 6419 break; 6420 /* sendfile */ 6421 case 393: 6422 switch(ndx) { 6423 case 0: 6424 p = "int"; 6425 break; 6426 case 1: 6427 p = "int"; 6428 break; 6429 case 2: 6430 p = "off_t"; 6431 break; 6432 case 3: 6433 p = "size_t"; 6434 break; 6435 case 4: 6436 p = "userland struct sf_hdtr *"; 6437 break; 6438 case 5: 6439 p = "userland off_t *"; 6440 break; 6441 case 6: 6442 p = "int"; 6443 break; 6444 default: 6445 break; 6446 }; 6447 break; 6448 /* mac_syscall */ 6449 case 394: 6450 switch(ndx) { 6451 case 0: 6452 p = "userland const char *"; 6453 break; 6454 case 1: 6455 p = "int"; 6456 break; 6457 case 2: 6458 p = "userland void *"; 6459 break; 6460 default: 6461 break; 6462 }; 6463 break; 6464 /* ksem_close */ 6465 case 400: 6466 switch(ndx) { 6467 case 0: 6468 p = "semid_t"; 6469 break; 6470 default: 6471 break; 6472 }; 6473 break; 6474 /* ksem_post */ 6475 case 401: 6476 switch(ndx) { 6477 case 0: 6478 p = "semid_t"; 6479 break; 6480 default: 6481 break; 6482 }; 6483 break; 6484 /* ksem_wait */ 6485 case 402: 6486 switch(ndx) { 6487 case 0: 6488 p = "semid_t"; 6489 break; 6490 default: 6491 break; 6492 }; 6493 break; 6494 /* ksem_trywait */ 6495 case 403: 6496 switch(ndx) { 6497 case 0: 6498 p = "semid_t"; 6499 break; 6500 default: 6501 break; 6502 }; 6503 break; 6504 /* ksem_init */ 6505 case 404: 6506 switch(ndx) { 6507 case 0: 6508 p = "userland semid_t *"; 6509 break; 6510 case 1: 6511 p = "unsigned int"; 6512 break; 6513 default: 6514 break; 6515 }; 6516 break; 6517 /* ksem_open */ 6518 case 405: 6519 switch(ndx) { 6520 case 0: 6521 p = "userland semid_t *"; 6522 break; 6523 case 1: 6524 p = "userland const char *"; 6525 break; 6526 case 2: 6527 p = "int"; 6528 break; 6529 case 3: 6530 p = "mode_t"; 6531 break; 6532 case 4: 6533 p = "unsigned int"; 6534 break; 6535 default: 6536 break; 6537 }; 6538 break; 6539 /* ksem_unlink */ 6540 case 406: 6541 switch(ndx) { 6542 case 0: 6543 p = "userland const char *"; 6544 break; 6545 default: 6546 break; 6547 }; 6548 break; 6549 /* ksem_getvalue */ 6550 case 407: 6551 switch(ndx) { 6552 case 0: 6553 p = "semid_t"; 6554 break; 6555 case 1: 6556 p = "userland int *"; 6557 break; 6558 default: 6559 break; 6560 }; 6561 break; 6562 /* ksem_destroy */ 6563 case 408: 6564 switch(ndx) { 6565 case 0: 6566 p = "semid_t"; 6567 break; 6568 default: 6569 break; 6570 }; 6571 break; 6572 /* __mac_get_pid */ 6573 case 409: 6574 switch(ndx) { 6575 case 0: 6576 p = "pid_t"; 6577 break; 6578 case 1: 6579 p = "userland struct mac *"; 6580 break; 6581 default: 6582 break; 6583 }; 6584 break; 6585 /* __mac_get_link */ 6586 case 410: 6587 switch(ndx) { 6588 case 0: 6589 p = "userland const char *"; 6590 break; 6591 case 1: 6592 p = "userland struct mac *"; 6593 break; 6594 default: 6595 break; 6596 }; 6597 break; 6598 /* __mac_set_link */ 6599 case 411: 6600 switch(ndx) { 6601 case 0: 6602 p = "userland const char *"; 6603 break; 6604 case 1: 6605 p = "userland struct mac *"; 6606 break; 6607 default: 6608 break; 6609 }; 6610 break; 6611 /* extattr_set_link */ 6612 case 412: 6613 switch(ndx) { 6614 case 0: 6615 p = "userland const char *"; 6616 break; 6617 case 1: 6618 p = "int"; 6619 break; 6620 case 2: 6621 p = "userland const char *"; 6622 break; 6623 case 3: 6624 p = "userland void *"; 6625 break; 6626 case 4: 6627 p = "size_t"; 6628 break; 6629 default: 6630 break; 6631 }; 6632 break; 6633 /* extattr_get_link */ 6634 case 413: 6635 switch(ndx) { 6636 case 0: 6637 p = "userland const char *"; 6638 break; 6639 case 1: 6640 p = "int"; 6641 break; 6642 case 2: 6643 p = "userland const char *"; 6644 break; 6645 case 3: 6646 p = "userland void *"; 6647 break; 6648 case 4: 6649 p = "size_t"; 6650 break; 6651 default: 6652 break; 6653 }; 6654 break; 6655 /* extattr_delete_link */ 6656 case 414: 6657 switch(ndx) { 6658 case 0: 6659 p = "userland const char *"; 6660 break; 6661 case 1: 6662 p = "int"; 6663 break; 6664 case 2: 6665 p = "userland const char *"; 6666 break; 6667 default: 6668 break; 6669 }; 6670 break; 6671 /* __mac_execve */ 6672 case 415: 6673 switch(ndx) { 6674 case 0: 6675 p = "userland char *"; 6676 break; 6677 case 1: 6678 p = "userland char **"; 6679 break; 6680 case 2: 6681 p = "userland char **"; 6682 break; 6683 case 3: 6684 p = "userland struct mac *"; 6685 break; 6686 default: 6687 break; 6688 }; 6689 break; 6690 /* sigaction */ 6691 case 416: 6692 switch(ndx) { 6693 case 0: 6694 p = "int"; 6695 break; 6696 case 1: 6697 p = "userland const struct sigaction *"; 6698 break; 6699 case 2: 6700 p = "userland struct sigaction *"; 6701 break; 6702 default: 6703 break; 6704 }; 6705 break; 6706 /* sigreturn */ 6707 case 417: 6708 switch(ndx) { 6709 case 0: 6710 p = "userland const struct __ucontext *"; 6711 break; 6712 default: 6713 break; 6714 }; 6715 break; 6716 /* getcontext */ 6717 case 421: 6718 switch(ndx) { 6719 case 0: 6720 p = "userland struct __ucontext *"; 6721 break; 6722 default: 6723 break; 6724 }; 6725 break; 6726 /* setcontext */ 6727 case 422: 6728 switch(ndx) { 6729 case 0: 6730 p = "userland const struct __ucontext *"; 6731 break; 6732 default: 6733 break; 6734 }; 6735 break; 6736 /* swapcontext */ 6737 case 423: 6738 switch(ndx) { 6739 case 0: 6740 p = "userland struct __ucontext *"; 6741 break; 6742 case 1: 6743 p = "userland const struct __ucontext *"; 6744 break; 6745 default: 6746 break; 6747 }; 6748 break; 6749 /* swapoff */ 6750 case 424: 6751 switch(ndx) { 6752 case 0: 6753 p = "userland const char *"; 6754 break; 6755 default: 6756 break; 6757 }; 6758 break; 6759 /* __acl_get_link */ 6760 case 425: 6761 switch(ndx) { 6762 case 0: 6763 p = "userland const char *"; 6764 break; 6765 case 1: 6766 p = "acl_type_t"; 6767 break; 6768 case 2: 6769 p = "userland struct acl *"; 6770 break; 6771 default: 6772 break; 6773 }; 6774 break; 6775 /* __acl_set_link */ 6776 case 426: 6777 switch(ndx) { 6778 case 0: 6779 p = "userland const char *"; 6780 break; 6781 case 1: 6782 p = "acl_type_t"; 6783 break; 6784 case 2: 6785 p = "userland struct acl *"; 6786 break; 6787 default: 6788 break; 6789 }; 6790 break; 6791 /* __acl_delete_link */ 6792 case 427: 6793 switch(ndx) { 6794 case 0: 6795 p = "userland const char *"; 6796 break; 6797 case 1: 6798 p = "acl_type_t"; 6799 break; 6800 default: 6801 break; 6802 }; 6803 break; 6804 /* __acl_aclcheck_link */ 6805 case 428: 6806 switch(ndx) { 6807 case 0: 6808 p = "userland const char *"; 6809 break; 6810 case 1: 6811 p = "acl_type_t"; 6812 break; 6813 case 2: 6814 p = "userland struct acl *"; 6815 break; 6816 default: 6817 break; 6818 }; 6819 break; 6820 /* sigwait */ 6821 case 429: 6822 switch(ndx) { 6823 case 0: 6824 p = "userland const sigset_t *"; 6825 break; 6826 case 1: 6827 p = "userland int *"; 6828 break; 6829 default: 6830 break; 6831 }; 6832 break; 6833 /* thr_create */ 6834 case 430: 6835 switch(ndx) { 6836 case 0: 6837 p = "userland ucontext_t *"; 6838 break; 6839 case 1: 6840 p = "userland long *"; 6841 break; 6842 case 2: 6843 p = "int"; 6844 break; 6845 default: 6846 break; 6847 }; 6848 break; 6849 /* thr_exit */ 6850 case 431: 6851 switch(ndx) { 6852 case 0: 6853 p = "userland long *"; 6854 break; 6855 default: 6856 break; 6857 }; 6858 break; 6859 /* thr_self */ 6860 case 432: 6861 switch(ndx) { 6862 case 0: 6863 p = "userland long *"; 6864 break; 6865 default: 6866 break; 6867 }; 6868 break; 6869 /* thr_kill */ 6870 case 433: 6871 switch(ndx) { 6872 case 0: 6873 p = "long"; 6874 break; 6875 case 1: 6876 p = "int"; 6877 break; 6878 default: 6879 break; 6880 }; 6881 break; 6882 /* jail_attach */ 6883 case 436: 6884 switch(ndx) { 6885 case 0: 6886 p = "int"; 6887 break; 6888 default: 6889 break; 6890 }; 6891 break; 6892 /* extattr_list_fd */ 6893 case 437: 6894 switch(ndx) { 6895 case 0: 6896 p = "int"; 6897 break; 6898 case 1: 6899 p = "int"; 6900 break; 6901 case 2: 6902 p = "userland void *"; 6903 break; 6904 case 3: 6905 p = "size_t"; 6906 break; 6907 default: 6908 break; 6909 }; 6910 break; 6911 /* extattr_list_file */ 6912 case 438: 6913 switch(ndx) { 6914 case 0: 6915 p = "userland const char *"; 6916 break; 6917 case 1: 6918 p = "int"; 6919 break; 6920 case 2: 6921 p = "userland void *"; 6922 break; 6923 case 3: 6924 p = "size_t"; 6925 break; 6926 default: 6927 break; 6928 }; 6929 break; 6930 /* extattr_list_link */ 6931 case 439: 6932 switch(ndx) { 6933 case 0: 6934 p = "userland const char *"; 6935 break; 6936 case 1: 6937 p = "int"; 6938 break; 6939 case 2: 6940 p = "userland void *"; 6941 break; 6942 case 3: 6943 p = "size_t"; 6944 break; 6945 default: 6946 break; 6947 }; 6948 break; 6949 /* ksem_timedwait */ 6950 case 441: 6951 switch(ndx) { 6952 case 0: 6953 p = "semid_t"; 6954 break; 6955 case 1: 6956 p = "userland const struct timespec *"; 6957 break; 6958 default: 6959 break; 6960 }; 6961 break; 6962 /* thr_suspend */ 6963 case 442: 6964 switch(ndx) { 6965 case 0: 6966 p = "userland const struct timespec *"; 6967 break; 6968 default: 6969 break; 6970 }; 6971 break; 6972 /* thr_wake */ 6973 case 443: 6974 switch(ndx) { 6975 case 0: 6976 p = "long"; 6977 break; 6978 default: 6979 break; 6980 }; 6981 break; 6982 /* kldunloadf */ 6983 case 444: 6984 switch(ndx) { 6985 case 0: 6986 p = "int"; 6987 break; 6988 case 1: 6989 p = "int"; 6990 break; 6991 default: 6992 break; 6993 }; 6994 break; 6995 /* audit */ 6996 case 445: 6997 switch(ndx) { 6998 case 0: 6999 p = "userland const void *"; 7000 break; 7001 case 1: 7002 p = "u_int"; 7003 break; 7004 default: 7005 break; 7006 }; 7007 break; 7008 /* auditon */ 7009 case 446: 7010 switch(ndx) { 7011 case 0: 7012 p = "int"; 7013 break; 7014 case 1: 7015 p = "userland void *"; 7016 break; 7017 case 2: 7018 p = "u_int"; 7019 break; 7020 default: 7021 break; 7022 }; 7023 break; 7024 /* getauid */ 7025 case 447: 7026 switch(ndx) { 7027 case 0: 7028 p = "userland uid_t *"; 7029 break; 7030 default: 7031 break; 7032 }; 7033 break; 7034 /* setauid */ 7035 case 448: 7036 switch(ndx) { 7037 case 0: 7038 p = "userland uid_t *"; 7039 break; 7040 default: 7041 break; 7042 }; 7043 break; 7044 /* getaudit */ 7045 case 449: 7046 switch(ndx) { 7047 case 0: 7048 p = "userland struct auditinfo *"; 7049 break; 7050 default: 7051 break; 7052 }; 7053 break; 7054 /* setaudit */ 7055 case 450: 7056 switch(ndx) { 7057 case 0: 7058 p = "userland struct auditinfo *"; 7059 break; 7060 default: 7061 break; 7062 }; 7063 break; 7064 /* getaudit_addr */ 7065 case 451: 7066 switch(ndx) { 7067 case 0: 7068 p = "userland struct auditinfo_addr *"; 7069 break; 7070 case 1: 7071 p = "u_int"; 7072 break; 7073 default: 7074 break; 7075 }; 7076 break; 7077 /* setaudit_addr */ 7078 case 452: 7079 switch(ndx) { 7080 case 0: 7081 p = "userland struct auditinfo_addr *"; 7082 break; 7083 case 1: 7084 p = "u_int"; 7085 break; 7086 default: 7087 break; 7088 }; 7089 break; 7090 /* auditctl */ 7091 case 453: 7092 switch(ndx) { 7093 case 0: 7094 p = "userland char *"; 7095 break; 7096 default: 7097 break; 7098 }; 7099 break; 7100 /* _umtx_op */ 7101 case 454: 7102 switch(ndx) { 7103 case 0: 7104 p = "userland void *"; 7105 break; 7106 case 1: 7107 p = "int"; 7108 break; 7109 case 2: 7110 p = "u_long"; 7111 break; 7112 case 3: 7113 p = "userland void *"; 7114 break; 7115 case 4: 7116 p = "userland void *"; 7117 break; 7118 default: 7119 break; 7120 }; 7121 break; 7122 /* thr_new */ 7123 case 455: 7124 switch(ndx) { 7125 case 0: 7126 p = "userland struct thr_param *"; 7127 break; 7128 case 1: 7129 p = "int"; 7130 break; 7131 default: 7132 break; 7133 }; 7134 break; 7135 /* sigqueue */ 7136 case 456: 7137 switch(ndx) { 7138 case 0: 7139 p = "pid_t"; 7140 break; 7141 case 1: 7142 p = "int"; 7143 break; 7144 case 2: 7145 p = "userland void *"; 7146 break; 7147 default: 7148 break; 7149 }; 7150 break; 7151 /* kmq_open */ 7152 case 457: 7153 switch(ndx) { 7154 case 0: 7155 p = "userland const char *"; 7156 break; 7157 case 1: 7158 p = "int"; 7159 break; 7160 case 2: 7161 p = "mode_t"; 7162 break; 7163 case 3: 7164 p = "userland const struct mq_attr *"; 7165 break; 7166 default: 7167 break; 7168 }; 7169 break; 7170 /* kmq_setattr */ 7171 case 458: 7172 switch(ndx) { 7173 case 0: 7174 p = "int"; 7175 break; 7176 case 1: 7177 p = "userland const struct mq_attr *"; 7178 break; 7179 case 2: 7180 p = "userland struct mq_attr *"; 7181 break; 7182 default: 7183 break; 7184 }; 7185 break; 7186 /* kmq_timedreceive */ 7187 case 459: 7188 switch(ndx) { 7189 case 0: 7190 p = "int"; 7191 break; 7192 case 1: 7193 p = "userland char *"; 7194 break; 7195 case 2: 7196 p = "size_t"; 7197 break; 7198 case 3: 7199 p = "userland unsigned *"; 7200 break; 7201 case 4: 7202 p = "userland const struct timespec *"; 7203 break; 7204 default: 7205 break; 7206 }; 7207 break; 7208 /* kmq_timedsend */ 7209 case 460: 7210 switch(ndx) { 7211 case 0: 7212 p = "int"; 7213 break; 7214 case 1: 7215 p = "userland const char *"; 7216 break; 7217 case 2: 7218 p = "size_t"; 7219 break; 7220 case 3: 7221 p = "unsigned"; 7222 break; 7223 case 4: 7224 p = "userland const struct timespec *"; 7225 break; 7226 default: 7227 break; 7228 }; 7229 break; 7230 /* kmq_notify */ 7231 case 461: 7232 switch(ndx) { 7233 case 0: 7234 p = "int"; 7235 break; 7236 case 1: 7237 p = "userland const struct sigevent *"; 7238 break; 7239 default: 7240 break; 7241 }; 7242 break; 7243 /* kmq_unlink */ 7244 case 462: 7245 switch(ndx) { 7246 case 0: 7247 p = "userland const char *"; 7248 break; 7249 default: 7250 break; 7251 }; 7252 break; 7253 /* abort2 */ 7254 case 463: 7255 switch(ndx) { 7256 case 0: 7257 p = "userland const char *"; 7258 break; 7259 case 1: 7260 p = "int"; 7261 break; 7262 case 2: 7263 p = "userland void **"; 7264 break; 7265 default: 7266 break; 7267 }; 7268 break; 7269 /* thr_set_name */ 7270 case 464: 7271 switch(ndx) { 7272 case 0: 7273 p = "long"; 7274 break; 7275 case 1: 7276 p = "userland const char *"; 7277 break; 7278 default: 7279 break; 7280 }; 7281 break; 7282 /* aio_fsync */ 7283 case 465: 7284 switch(ndx) { 7285 case 0: 7286 p = "int"; 7287 break; 7288 case 1: 7289 p = "userland struct aiocb *"; 7290 break; 7291 default: 7292 break; 7293 }; 7294 break; 7295 /* rtprio_thread */ 7296 case 466: 7297 switch(ndx) { 7298 case 0: 7299 p = "int"; 7300 break; 7301 case 1: 7302 p = "lwpid_t"; 7303 break; 7304 case 2: 7305 p = "userland struct rtprio *"; 7306 break; 7307 default: 7308 break; 7309 }; 7310 break; 7311 /* sctp_peeloff */ 7312 case 471: 7313 switch(ndx) { 7314 case 0: 7315 p = "int"; 7316 break; 7317 case 1: 7318 p = "uint32_t"; 7319 break; 7320 default: 7321 break; 7322 }; 7323 break; 7324 /* sctp_generic_sendmsg */ 7325 case 472: 7326 switch(ndx) { 7327 case 0: 7328 p = "int"; 7329 break; 7330 case 1: 7331 p = "caddr_t"; 7332 break; 7333 case 2: 7334 p = "int"; 7335 break; 7336 case 3: 7337 p = "caddr_t"; 7338 break; 7339 case 4: 7340 p = "__socklen_t"; 7341 break; 7342 case 5: 7343 p = "userland struct sctp_sndrcvinfo *"; 7344 break; 7345 case 6: 7346 p = "int"; 7347 break; 7348 default: 7349 break; 7350 }; 7351 break; 7352 /* sctp_generic_sendmsg_iov */ 7353 case 473: 7354 switch(ndx) { 7355 case 0: 7356 p = "int"; 7357 break; 7358 case 1: 7359 p = "userland struct iovec *"; 7360 break; 7361 case 2: 7362 p = "int"; 7363 break; 7364 case 3: 7365 p = "caddr_t"; 7366 break; 7367 case 4: 7368 p = "__socklen_t"; 7369 break; 7370 case 5: 7371 p = "userland struct sctp_sndrcvinfo *"; 7372 break; 7373 case 6: 7374 p = "int"; 7375 break; 7376 default: 7377 break; 7378 }; 7379 break; 7380 /* sctp_generic_recvmsg */ 7381 case 474: 7382 switch(ndx) { 7383 case 0: 7384 p = "int"; 7385 break; 7386 case 1: 7387 p = "userland struct iovec *"; 7388 break; 7389 case 2: 7390 p = "int"; 7391 break; 7392 case 3: 7393 p = "userland struct sockaddr *"; 7394 break; 7395 case 4: 7396 p = "userland __socklen_t *"; 7397 break; 7398 case 5: 7399 p = "userland struct sctp_sndrcvinfo *"; 7400 break; 7401 case 6: 7402 p = "userland int *"; 7403 break; 7404 default: 7405 break; 7406 }; 7407 break; 7408 /* pread */ 7409 case 475: 7410 switch(ndx) { 7411 case 0: 7412 p = "int"; 7413 break; 7414 case 1: 7415 p = "userland void *"; 7416 break; 7417 case 2: 7418 p = "size_t"; 7419 break; 7420 case 3: 7421 p = "off_t"; 7422 break; 7423 default: 7424 break; 7425 }; 7426 break; 7427 /* pwrite */ 7428 case 476: 7429 switch(ndx) { 7430 case 0: 7431 p = "int"; 7432 break; 7433 case 1: 7434 p = "userland const void *"; 7435 break; 7436 case 2: 7437 p = "size_t"; 7438 break; 7439 case 3: 7440 p = "off_t"; 7441 break; 7442 default: 7443 break; 7444 }; 7445 break; 7446 /* mmap */ 7447 case 477: 7448 switch(ndx) { 7449 case 0: 7450 p = "caddr_t"; 7451 break; 7452 case 1: 7453 p = "size_t"; 7454 break; 7455 case 2: 7456 p = "int"; 7457 break; 7458 case 3: 7459 p = "int"; 7460 break; 7461 case 4: 7462 p = "int"; 7463 break; 7464 case 5: 7465 p = "off_t"; 7466 break; 7467 default: 7468 break; 7469 }; 7470 break; 7471 /* lseek */ 7472 case 478: 7473 switch(ndx) { 7474 case 0: 7475 p = "int"; 7476 break; 7477 case 1: 7478 p = "off_t"; 7479 break; 7480 case 2: 7481 p = "int"; 7482 break; 7483 default: 7484 break; 7485 }; 7486 break; 7487 /* truncate */ 7488 case 479: 7489 switch(ndx) { 7490 case 0: 7491 p = "userland char *"; 7492 break; 7493 case 1: 7494 p = "off_t"; 7495 break; 7496 default: 7497 break; 7498 }; 7499 break; 7500 /* ftruncate */ 7501 case 480: 7502 switch(ndx) { 7503 case 0: 7504 p = "int"; 7505 break; 7506 case 1: 7507 p = "off_t"; 7508 break; 7509 default: 7510 break; 7511 }; 7512 break; 7513 /* thr_kill2 */ 7514 case 481: 7515 switch(ndx) { 7516 case 0: 7517 p = "pid_t"; 7518 break; 7519 case 1: 7520 p = "long"; 7521 break; 7522 case 2: 7523 p = "int"; 7524 break; 7525 default: 7526 break; 7527 }; 7528 break; 7529 /* shm_open */ 7530 case 482: 7531 switch(ndx) { 7532 case 0: 7533 p = "userland const char *"; 7534 break; 7535 case 1: 7536 p = "int"; 7537 break; 7538 case 2: 7539 p = "mode_t"; 7540 break; 7541 default: 7542 break; 7543 }; 7544 break; 7545 /* shm_unlink */ 7546 case 483: 7547 switch(ndx) { 7548 case 0: 7549 p = "userland const char *"; 7550 break; 7551 default: 7552 break; 7553 }; 7554 break; 7555 /* cpuset */ 7556 case 484: 7557 switch(ndx) { 7558 case 0: 7559 p = "userland cpusetid_t *"; 7560 break; 7561 default: 7562 break; 7563 }; 7564 break; 7565 /* cpuset_setid */ 7566 case 485: 7567 switch(ndx) { 7568 case 0: 7569 p = "cpuwhich_t"; 7570 break; 7571 case 1: 7572 p = "id_t"; 7573 break; 7574 case 2: 7575 p = "cpusetid_t"; 7576 break; 7577 default: 7578 break; 7579 }; 7580 break; 7581 /* cpuset_getid */ 7582 case 486: 7583 switch(ndx) { 7584 case 0: 7585 p = "cpulevel_t"; 7586 break; 7587 case 1: 7588 p = "cpuwhich_t"; 7589 break; 7590 case 2: 7591 p = "id_t"; 7592 break; 7593 case 3: 7594 p = "userland cpusetid_t *"; 7595 break; 7596 default: 7597 break; 7598 }; 7599 break; 7600 /* cpuset_getaffinity */ 7601 case 487: 7602 switch(ndx) { 7603 case 0: 7604 p = "cpulevel_t"; 7605 break; 7606 case 1: 7607 p = "cpuwhich_t"; 7608 break; 7609 case 2: 7610 p = "id_t"; 7611 break; 7612 case 3: 7613 p = "size_t"; 7614 break; 7615 case 4: 7616 p = "userland cpuset_t *"; 7617 break; 7618 default: 7619 break; 7620 }; 7621 break; 7622 /* cpuset_setaffinity */ 7623 case 488: 7624 switch(ndx) { 7625 case 0: 7626 p = "cpulevel_t"; 7627 break; 7628 case 1: 7629 p = "cpuwhich_t"; 7630 break; 7631 case 2: 7632 p = "id_t"; 7633 break; 7634 case 3: 7635 p = "size_t"; 7636 break; 7637 case 4: 7638 p = "userland const cpuset_t *"; 7639 break; 7640 default: 7641 break; 7642 }; 7643 break; 7644 /* faccessat */ 7645 case 489: 7646 switch(ndx) { 7647 case 0: 7648 p = "int"; 7649 break; 7650 case 1: 7651 p = "userland char *"; 7652 break; 7653 case 2: 7654 p = "int"; 7655 break; 7656 case 3: 7657 p = "int"; 7658 break; 7659 default: 7660 break; 7661 }; 7662 break; 7663 /* fchmodat */ 7664 case 490: 7665 switch(ndx) { 7666 case 0: 7667 p = "int"; 7668 break; 7669 case 1: 7670 p = "userland char *"; 7671 break; 7672 case 2: 7673 p = "mode_t"; 7674 break; 7675 case 3: 7676 p = "int"; 7677 break; 7678 default: 7679 break; 7680 }; 7681 break; 7682 /* fchownat */ 7683 case 491: 7684 switch(ndx) { 7685 case 0: 7686 p = "int"; 7687 break; 7688 case 1: 7689 p = "userland char *"; 7690 break; 7691 case 2: 7692 p = "uid_t"; 7693 break; 7694 case 3: 7695 p = "gid_t"; 7696 break; 7697 case 4: 7698 p = "int"; 7699 break; 7700 default: 7701 break; 7702 }; 7703 break; 7704 /* fexecve */ 7705 case 492: 7706 switch(ndx) { 7707 case 0: 7708 p = "int"; 7709 break; 7710 case 1: 7711 p = "userland char **"; 7712 break; 7713 case 2: 7714 p = "userland char **"; 7715 break; 7716 default: 7717 break; 7718 }; 7719 break; 7720 /* futimesat */ 7721 case 494: 7722 switch(ndx) { 7723 case 0: 7724 p = "int"; 7725 break; 7726 case 1: 7727 p = "userland char *"; 7728 break; 7729 case 2: 7730 p = "userland struct timeval *"; 7731 break; 7732 default: 7733 break; 7734 }; 7735 break; 7736 /* linkat */ 7737 case 495: 7738 switch(ndx) { 7739 case 0: 7740 p = "int"; 7741 break; 7742 case 1: 7743 p = "userland char *"; 7744 break; 7745 case 2: 7746 p = "int"; 7747 break; 7748 case 3: 7749 p = "userland char *"; 7750 break; 7751 case 4: 7752 p = "int"; 7753 break; 7754 default: 7755 break; 7756 }; 7757 break; 7758 /* mkdirat */ 7759 case 496: 7760 switch(ndx) { 7761 case 0: 7762 p = "int"; 7763 break; 7764 case 1: 7765 p = "userland char *"; 7766 break; 7767 case 2: 7768 p = "mode_t"; 7769 break; 7770 default: 7771 break; 7772 }; 7773 break; 7774 /* mkfifoat */ 7775 case 497: 7776 switch(ndx) { 7777 case 0: 7778 p = "int"; 7779 break; 7780 case 1: 7781 p = "userland char *"; 7782 break; 7783 case 2: 7784 p = "mode_t"; 7785 break; 7786 default: 7787 break; 7788 }; 7789 break; 7790 /* openat */ 7791 case 499: 7792 switch(ndx) { 7793 case 0: 7794 p = "int"; 7795 break; 7796 case 1: 7797 p = "userland char *"; 7798 break; 7799 case 2: 7800 p = "int"; 7801 break; 7802 case 3: 7803 p = "mode_t"; 7804 break; 7805 default: 7806 break; 7807 }; 7808 break; 7809 /* readlinkat */ 7810 case 500: 7811 switch(ndx) { 7812 case 0: 7813 p = "int"; 7814 break; 7815 case 1: 7816 p = "userland char *"; 7817 break; 7818 case 2: 7819 p = "userland char *"; 7820 break; 7821 case 3: 7822 p = "size_t"; 7823 break; 7824 default: 7825 break; 7826 }; 7827 break; 7828 /* renameat */ 7829 case 501: 7830 switch(ndx) { 7831 case 0: 7832 p = "int"; 7833 break; 7834 case 1: 7835 p = "userland char *"; 7836 break; 7837 case 2: 7838 p = "int"; 7839 break; 7840 case 3: 7841 p = "userland char *"; 7842 break; 7843 default: 7844 break; 7845 }; 7846 break; 7847 /* symlinkat */ 7848 case 502: 7849 switch(ndx) { 7850 case 0: 7851 p = "userland char *"; 7852 break; 7853 case 1: 7854 p = "int"; 7855 break; 7856 case 2: 7857 p = "userland char *"; 7858 break; 7859 default: 7860 break; 7861 }; 7862 break; 7863 /* unlinkat */ 7864 case 503: 7865 switch(ndx) { 7866 case 0: 7867 p = "int"; 7868 break; 7869 case 1: 7870 p = "userland char *"; 7871 break; 7872 case 2: 7873 p = "int"; 7874 break; 7875 default: 7876 break; 7877 }; 7878 break; 7879 /* posix_openpt */ 7880 case 504: 7881 switch(ndx) { 7882 case 0: 7883 p = "int"; 7884 break; 7885 default: 7886 break; 7887 }; 7888 break; 7889 /* gssd_syscall */ 7890 case 505: 7891 switch(ndx) { 7892 case 0: 7893 p = "userland char *"; 7894 break; 7895 default: 7896 break; 7897 }; 7898 break; 7899 /* jail_get */ 7900 case 506: 7901 switch(ndx) { 7902 case 0: 7903 p = "userland struct iovec *"; 7904 break; 7905 case 1: 7906 p = "unsigned int"; 7907 break; 7908 case 2: 7909 p = "int"; 7910 break; 7911 default: 7912 break; 7913 }; 7914 break; 7915 /* jail_set */ 7916 case 507: 7917 switch(ndx) { 7918 case 0: 7919 p = "userland struct iovec *"; 7920 break; 7921 case 1: 7922 p = "unsigned int"; 7923 break; 7924 case 2: 7925 p = "int"; 7926 break; 7927 default: 7928 break; 7929 }; 7930 break; 7931 /* jail_remove */ 7932 case 508: 7933 switch(ndx) { 7934 case 0: 7935 p = "int"; 7936 break; 7937 default: 7938 break; 7939 }; 7940 break; 7941 /* closefrom */ 7942 case 509: 7943 switch(ndx) { 7944 case 0: 7945 p = "int"; 7946 break; 7947 default: 7948 break; 7949 }; 7950 break; 7951 /* __semctl */ 7952 case 510: 7953 switch(ndx) { 7954 case 0: 7955 p = "int"; 7956 break; 7957 case 1: 7958 p = "int"; 7959 break; 7960 case 2: 7961 p = "int"; 7962 break; 7963 case 3: 7964 p = "userland union semun *"; 7965 break; 7966 default: 7967 break; 7968 }; 7969 break; 7970 /* msgctl */ 7971 case 511: 7972 switch(ndx) { 7973 case 0: 7974 p = "int"; 7975 break; 7976 case 1: 7977 p = "int"; 7978 break; 7979 case 2: 7980 p = "userland struct msqid_ds *"; 7981 break; 7982 default: 7983 break; 7984 }; 7985 break; 7986 /* shmctl */ 7987 case 512: 7988 switch(ndx) { 7989 case 0: 7990 p = "int"; 7991 break; 7992 case 1: 7993 p = "int"; 7994 break; 7995 case 2: 7996 p = "userland struct shmid_ds *"; 7997 break; 7998 default: 7999 break; 8000 }; 8001 break; 8002 /* lpathconf */ 8003 case 513: 8004 switch(ndx) { 8005 case 0: 8006 p = "userland char *"; 8007 break; 8008 case 1: 8009 p = "int"; 8010 break; 8011 default: 8012 break; 8013 }; 8014 break; 8015 /* __cap_rights_get */ 8016 case 515: 8017 switch(ndx) { 8018 case 0: 8019 p = "int"; 8020 break; 8021 case 1: 8022 p = "int"; 8023 break; 8024 case 2: 8025 p = "userland cap_rights_t *"; 8026 break; 8027 default: 8028 break; 8029 }; 8030 break; 8031 /* cap_enter */ 8032 case 516: 8033 break; 8034 /* cap_getmode */ 8035 case 517: 8036 switch(ndx) { 8037 case 0: 8038 p = "userland u_int *"; 8039 break; 8040 default: 8041 break; 8042 }; 8043 break; 8044 /* pdfork */ 8045 case 518: 8046 switch(ndx) { 8047 case 0: 8048 p = "userland int *"; 8049 break; 8050 case 1: 8051 p = "int"; 8052 break; 8053 default: 8054 break; 8055 }; 8056 break; 8057 /* pdkill */ 8058 case 519: 8059 switch(ndx) { 8060 case 0: 8061 p = "int"; 8062 break; 8063 case 1: 8064 p = "int"; 8065 break; 8066 default: 8067 break; 8068 }; 8069 break; 8070 /* pdgetpid */ 8071 case 520: 8072 switch(ndx) { 8073 case 0: 8074 p = "int"; 8075 break; 8076 case 1: 8077 p = "userland pid_t *"; 8078 break; 8079 default: 8080 break; 8081 }; 8082 break; 8083 /* pselect */ 8084 case 522: 8085 switch(ndx) { 8086 case 0: 8087 p = "int"; 8088 break; 8089 case 1: 8090 p = "userland fd_set *"; 8091 break; 8092 case 2: 8093 p = "userland fd_set *"; 8094 break; 8095 case 3: 8096 p = "userland fd_set *"; 8097 break; 8098 case 4: 8099 p = "userland const struct timespec *"; 8100 break; 8101 case 5: 8102 p = "userland const sigset_t *"; 8103 break; 8104 default: 8105 break; 8106 }; 8107 break; 8108 /* getloginclass */ 8109 case 523: 8110 switch(ndx) { 8111 case 0: 8112 p = "userland char *"; 8113 break; 8114 case 1: 8115 p = "size_t"; 8116 break; 8117 default: 8118 break; 8119 }; 8120 break; 8121 /* setloginclass */ 8122 case 524: 8123 switch(ndx) { 8124 case 0: 8125 p = "userland const char *"; 8126 break; 8127 default: 8128 break; 8129 }; 8130 break; 8131 /* rctl_get_racct */ 8132 case 525: 8133 switch(ndx) { 8134 case 0: 8135 p = "userland const void *"; 8136 break; 8137 case 1: 8138 p = "size_t"; 8139 break; 8140 case 2: 8141 p = "userland void *"; 8142 break; 8143 case 3: 8144 p = "size_t"; 8145 break; 8146 default: 8147 break; 8148 }; 8149 break; 8150 /* rctl_get_rules */ 8151 case 526: 8152 switch(ndx) { 8153 case 0: 8154 p = "userland const void *"; 8155 break; 8156 case 1: 8157 p = "size_t"; 8158 break; 8159 case 2: 8160 p = "userland void *"; 8161 break; 8162 case 3: 8163 p = "size_t"; 8164 break; 8165 default: 8166 break; 8167 }; 8168 break; 8169 /* rctl_get_limits */ 8170 case 527: 8171 switch(ndx) { 8172 case 0: 8173 p = "userland const void *"; 8174 break; 8175 case 1: 8176 p = "size_t"; 8177 break; 8178 case 2: 8179 p = "userland void *"; 8180 break; 8181 case 3: 8182 p = "size_t"; 8183 break; 8184 default: 8185 break; 8186 }; 8187 break; 8188 /* rctl_add_rule */ 8189 case 528: 8190 switch(ndx) { 8191 case 0: 8192 p = "userland const void *"; 8193 break; 8194 case 1: 8195 p = "size_t"; 8196 break; 8197 case 2: 8198 p = "userland void *"; 8199 break; 8200 case 3: 8201 p = "size_t"; 8202 break; 8203 default: 8204 break; 8205 }; 8206 break; 8207 /* rctl_remove_rule */ 8208 case 529: 8209 switch(ndx) { 8210 case 0: 8211 p = "userland const void *"; 8212 break; 8213 case 1: 8214 p = "size_t"; 8215 break; 8216 case 2: 8217 p = "userland void *"; 8218 break; 8219 case 3: 8220 p = "size_t"; 8221 break; 8222 default: 8223 break; 8224 }; 8225 break; 8226 /* posix_fallocate */ 8227 case 530: 8228 switch(ndx) { 8229 case 0: 8230 p = "int"; 8231 break; 8232 case 1: 8233 p = "off_t"; 8234 break; 8235 case 2: 8236 p = "off_t"; 8237 break; 8238 default: 8239 break; 8240 }; 8241 break; 8242 /* posix_fadvise */ 8243 case 531: 8244 switch(ndx) { 8245 case 0: 8246 p = "int"; 8247 break; 8248 case 1: 8249 p = "off_t"; 8250 break; 8251 case 2: 8252 p = "off_t"; 8253 break; 8254 case 3: 8255 p = "int"; 8256 break; 8257 default: 8258 break; 8259 }; 8260 break; 8261 /* wait6 */ 8262 case 532: 8263 switch(ndx) { 8264 case 0: 8265 p = "idtype_t"; 8266 break; 8267 case 1: 8268 p = "id_t"; 8269 break; 8270 case 2: 8271 p = "userland int *"; 8272 break; 8273 case 3: 8274 p = "int"; 8275 break; 8276 case 4: 8277 p = "userland struct __wrusage *"; 8278 break; 8279 case 5: 8280 p = "userland siginfo_t *"; 8281 break; 8282 default: 8283 break; 8284 }; 8285 break; 8286 /* cap_rights_limit */ 8287 case 533: 8288 switch(ndx) { 8289 case 0: 8290 p = "int"; 8291 break; 8292 case 1: 8293 p = "userland cap_rights_t *"; 8294 break; 8295 default: 8296 break; 8297 }; 8298 break; 8299 /* cap_ioctls_limit */ 8300 case 534: 8301 switch(ndx) { 8302 case 0: 8303 p = "int"; 8304 break; 8305 case 1: 8306 p = "userland const u_long *"; 8307 break; 8308 case 2: 8309 p = "size_t"; 8310 break; 8311 default: 8312 break; 8313 }; 8314 break; 8315 /* cap_ioctls_get */ 8316 case 535: 8317 switch(ndx) { 8318 case 0: 8319 p = "int"; 8320 break; 8321 case 1: 8322 p = "userland u_long *"; 8323 break; 8324 case 2: 8325 p = "size_t"; 8326 break; 8327 default: 8328 break; 8329 }; 8330 break; 8331 /* cap_fcntls_limit */ 8332 case 536: 8333 switch(ndx) { 8334 case 0: 8335 p = "int"; 8336 break; 8337 case 1: 8338 p = "uint32_t"; 8339 break; 8340 default: 8341 break; 8342 }; 8343 break; 8344 /* cap_fcntls_get */ 8345 case 537: 8346 switch(ndx) { 8347 case 0: 8348 p = "int"; 8349 break; 8350 case 1: 8351 p = "userland uint32_t *"; 8352 break; 8353 default: 8354 break; 8355 }; 8356 break; 8357 /* bindat */ 8358 case 538: 8359 switch(ndx) { 8360 case 0: 8361 p = "int"; 8362 break; 8363 case 1: 8364 p = "int"; 8365 break; 8366 case 2: 8367 p = "caddr_t"; 8368 break; 8369 case 3: 8370 p = "int"; 8371 break; 8372 default: 8373 break; 8374 }; 8375 break; 8376 /* connectat */ 8377 case 539: 8378 switch(ndx) { 8379 case 0: 8380 p = "int"; 8381 break; 8382 case 1: 8383 p = "int"; 8384 break; 8385 case 2: 8386 p = "caddr_t"; 8387 break; 8388 case 3: 8389 p = "int"; 8390 break; 8391 default: 8392 break; 8393 }; 8394 break; 8395 /* chflagsat */ 8396 case 540: 8397 switch(ndx) { 8398 case 0: 8399 p = "int"; 8400 break; 8401 case 1: 8402 p = "userland const char *"; 8403 break; 8404 case 2: 8405 p = "u_long"; 8406 break; 8407 case 3: 8408 p = "int"; 8409 break; 8410 default: 8411 break; 8412 }; 8413 break; 8414 /* accept4 */ 8415 case 541: 8416 switch(ndx) { 8417 case 0: 8418 p = "int"; 8419 break; 8420 case 1: 8421 p = "userland struct sockaddr *"; 8422 break; 8423 case 2: 8424 p = "userland __socklen_t *"; 8425 break; 8426 case 3: 8427 p = "int"; 8428 break; 8429 default: 8430 break; 8431 }; 8432 break; 8433 /* pipe2 */ 8434 case 542: 8435 switch(ndx) { 8436 case 0: 8437 p = "userland int *"; 8438 break; 8439 case 1: 8440 p = "int"; 8441 break; 8442 default: 8443 break; 8444 }; 8445 break; 8446 /* aio_mlock */ 8447 case 543: 8448 switch(ndx) { 8449 case 0: 8450 p = "userland struct aiocb *"; 8451 break; 8452 default: 8453 break; 8454 }; 8455 break; 8456 /* procctl */ 8457 case 544: 8458 switch(ndx) { 8459 case 0: 8460 p = "idtype_t"; 8461 break; 8462 case 1: 8463 p = "id_t"; 8464 break; 8465 case 2: 8466 p = "int"; 8467 break; 8468 case 3: 8469 p = "userland void *"; 8470 break; 8471 default: 8472 break; 8473 }; 8474 break; 8475 /* ppoll */ 8476 case 545: 8477 switch(ndx) { 8478 case 0: 8479 p = "userland struct pollfd *"; 8480 break; 8481 case 1: 8482 p = "u_int"; 8483 break; 8484 case 2: 8485 p = "userland const struct timespec *"; 8486 break; 8487 case 3: 8488 p = "userland const sigset_t *"; 8489 break; 8490 default: 8491 break; 8492 }; 8493 break; 8494 /* futimens */ 8495 case 546: 8496 switch(ndx) { 8497 case 0: 8498 p = "int"; 8499 break; 8500 case 1: 8501 p = "userland struct timespec *"; 8502 break; 8503 default: 8504 break; 8505 }; 8506 break; 8507 /* utimensat */ 8508 case 547: 8509 switch(ndx) { 8510 case 0: 8511 p = "int"; 8512 break; 8513 case 1: 8514 p = "userland char *"; 8515 break; 8516 case 2: 8517 p = "userland struct timespec *"; 8518 break; 8519 case 3: 8520 p = "int"; 8521 break; 8522 default: 8523 break; 8524 }; 8525 break; 8526 /* numa_getaffinity */ 8527 case 548: 8528 switch(ndx) { 8529 case 0: 8530 p = "cpuwhich_t"; 8531 break; 8532 case 1: 8533 p = "id_t"; 8534 break; 8535 case 2: 8536 p = "userland struct vm_domain_policy_entry *"; 8537 break; 8538 default: 8539 break; 8540 }; 8541 break; 8542 /* numa_setaffinity */ 8543 case 549: 8544 switch(ndx) { 8545 case 0: 8546 p = "cpuwhich_t"; 8547 break; 8548 case 1: 8549 p = "id_t"; 8550 break; 8551 case 2: 8552 p = "userland const struct vm_domain_policy_entry *"; 8553 break; 8554 default: 8555 break; 8556 }; 8557 break; 8558 /* fdatasync */ 8559 case 550: 8560 switch(ndx) { 8561 case 0: 8562 p = "int"; 8563 break; 8564 default: 8565 break; 8566 }; 8567 break; 8568 /* fstat */ 8569 case 551: 8570 switch(ndx) { 8571 case 0: 8572 p = "int"; 8573 break; 8574 case 1: 8575 p = "userland struct stat *"; 8576 break; 8577 default: 8578 break; 8579 }; 8580 break; 8581 /* fstatat */ 8582 case 552: 8583 switch(ndx) { 8584 case 0: 8585 p = "int"; 8586 break; 8587 case 1: 8588 p = "userland char *"; 8589 break; 8590 case 2: 8591 p = "userland struct stat *"; 8592 break; 8593 case 3: 8594 p = "int"; 8595 break; 8596 default: 8597 break; 8598 }; 8599 break; 8600 /* fhstat */ 8601 case 553: 8602 switch(ndx) { 8603 case 0: 8604 p = "userland const struct fhandle *"; 8605 break; 8606 case 1: 8607 p = "userland struct stat *"; 8608 break; 8609 default: 8610 break; 8611 }; 8612 break; 8613 /* getdirentries */ 8614 case 554: 8615 switch(ndx) { 8616 case 0: 8617 p = "int"; 8618 break; 8619 case 1: 8620 p = "userland char *"; 8621 break; 8622 case 2: 8623 p = "size_t"; 8624 break; 8625 case 3: 8626 p = "userland off_t *"; 8627 break; 8628 default: 8629 break; 8630 }; 8631 break; 8632 /* statfs */ 8633 case 555: 8634 switch(ndx) { 8635 case 0: 8636 p = "userland char *"; 8637 break; 8638 case 1: 8639 p = "userland struct statfs *"; 8640 break; 8641 default: 8642 break; 8643 }; 8644 break; 8645 /* fstatfs */ 8646 case 556: 8647 switch(ndx) { 8648 case 0: 8649 p = "int"; 8650 break; 8651 case 1: 8652 p = "userland struct statfs *"; 8653 break; 8654 default: 8655 break; 8656 }; 8657 break; 8658 /* getfsstat */ 8659 case 557: 8660 switch(ndx) { 8661 case 0: 8662 p = "userland struct statfs *"; 8663 break; 8664 case 1: 8665 p = "long"; 8666 break; 8667 case 2: 8668 p = "int"; 8669 break; 8670 default: 8671 break; 8672 }; 8673 break; 8674 /* fhstatfs */ 8675 case 558: 8676 switch(ndx) { 8677 case 0: 8678 p = "userland const struct fhandle *"; 8679 break; 8680 case 1: 8681 p = "userland struct statfs *"; 8682 break; 8683 default: 8684 break; 8685 }; 8686 break; 8687 /* mknodat */ 8688 case 559: 8689 switch(ndx) { 8690 case 0: 8691 p = "int"; 8692 break; 8693 case 1: 8694 p = "userland char *"; 8695 break; 8696 case 2: 8697 p = "mode_t"; 8698 break; 8699 case 3: 8700 p = "dev_t"; 8701 break; 8702 default: 8703 break; 8704 }; 8705 break; 8706 /* kevent */ 8707 case 560: 8708 switch(ndx) { 8709 case 0: 8710 p = "int"; 8711 break; 8712 case 1: 8713 p = "userland struct kevent *"; 8714 break; 8715 case 2: 8716 p = "int"; 8717 break; 8718 case 3: 8719 p = "userland struct kevent *"; 8720 break; 8721 case 4: 8722 p = "int"; 8723 break; 8724 case 5: 8725 p = "userland const struct timespec *"; 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 /* extattr_set_fd */ 9796 case 371: 9797 if (ndx == 0 || ndx == 1) 9798 p = "ssize_t"; 9799 break; 9800 /* extattr_get_fd */ 9801 case 372: 9802 if (ndx == 0 || ndx == 1) 9803 p = "ssize_t"; 9804 break; 9805 /* extattr_delete_fd */ 9806 case 373: 9807 if (ndx == 0 || ndx == 1) 9808 p = "int"; 9809 break; 9810 /* __setugid */ 9811 case 374: 9812 if (ndx == 0 || ndx == 1) 9813 p = "int"; 9814 break; 9815 /* eaccess */ 9816 case 376: 9817 if (ndx == 0 || ndx == 1) 9818 p = "int"; 9819 break; 9820 /* afs3_syscall */ 9821 case 377: 9822 if (ndx == 0 || ndx == 1) 9823 p = "int"; 9824 break; 9825 /* nmount */ 9826 case 378: 9827 if (ndx == 0 || ndx == 1) 9828 p = "int"; 9829 break; 9830 /* __mac_get_proc */ 9831 case 384: 9832 if (ndx == 0 || ndx == 1) 9833 p = "int"; 9834 break; 9835 /* __mac_set_proc */ 9836 case 385: 9837 if (ndx == 0 || ndx == 1) 9838 p = "int"; 9839 break; 9840 /* __mac_get_fd */ 9841 case 386: 9842 if (ndx == 0 || ndx == 1) 9843 p = "int"; 9844 break; 9845 /* __mac_get_file */ 9846 case 387: 9847 if (ndx == 0 || ndx == 1) 9848 p = "int"; 9849 break; 9850 /* __mac_set_fd */ 9851 case 388: 9852 if (ndx == 0 || ndx == 1) 9853 p = "int"; 9854 break; 9855 /* __mac_set_file */ 9856 case 389: 9857 if (ndx == 0 || ndx == 1) 9858 p = "int"; 9859 break; 9860 /* kenv */ 9861 case 390: 9862 if (ndx == 0 || ndx == 1) 9863 p = "int"; 9864 break; 9865 /* lchflags */ 9866 case 391: 9867 if (ndx == 0 || ndx == 1) 9868 p = "int"; 9869 break; 9870 /* uuidgen */ 9871 case 392: 9872 if (ndx == 0 || ndx == 1) 9873 p = "int"; 9874 break; 9875 /* sendfile */ 9876 case 393: 9877 if (ndx == 0 || ndx == 1) 9878 p = "int"; 9879 break; 9880 /* mac_syscall */ 9881 case 394: 9882 if (ndx == 0 || ndx == 1) 9883 p = "int"; 9884 break; 9885 /* ksem_close */ 9886 case 400: 9887 if (ndx == 0 || ndx == 1) 9888 p = "int"; 9889 break; 9890 /* ksem_post */ 9891 case 401: 9892 if (ndx == 0 || ndx == 1) 9893 p = "int"; 9894 break; 9895 /* ksem_wait */ 9896 case 402: 9897 if (ndx == 0 || ndx == 1) 9898 p = "int"; 9899 break; 9900 /* ksem_trywait */ 9901 case 403: 9902 if (ndx == 0 || ndx == 1) 9903 p = "int"; 9904 break; 9905 /* ksem_init */ 9906 case 404: 9907 if (ndx == 0 || ndx == 1) 9908 p = "int"; 9909 break; 9910 /* ksem_open */ 9911 case 405: 9912 if (ndx == 0 || ndx == 1) 9913 p = "int"; 9914 break; 9915 /* ksem_unlink */ 9916 case 406: 9917 if (ndx == 0 || ndx == 1) 9918 p = "int"; 9919 break; 9920 /* ksem_getvalue */ 9921 case 407: 9922 if (ndx == 0 || ndx == 1) 9923 p = "int"; 9924 break; 9925 /* ksem_destroy */ 9926 case 408: 9927 if (ndx == 0 || ndx == 1) 9928 p = "int"; 9929 break; 9930 /* __mac_get_pid */ 9931 case 409: 9932 if (ndx == 0 || ndx == 1) 9933 p = "int"; 9934 break; 9935 /* __mac_get_link */ 9936 case 410: 9937 if (ndx == 0 || ndx == 1) 9938 p = "int"; 9939 break; 9940 /* __mac_set_link */ 9941 case 411: 9942 if (ndx == 0 || ndx == 1) 9943 p = "int"; 9944 break; 9945 /* extattr_set_link */ 9946 case 412: 9947 if (ndx == 0 || ndx == 1) 9948 p = "ssize_t"; 9949 break; 9950 /* extattr_get_link */ 9951 case 413: 9952 if (ndx == 0 || ndx == 1) 9953 p = "ssize_t"; 9954 break; 9955 /* extattr_delete_link */ 9956 case 414: 9957 if (ndx == 0 || ndx == 1) 9958 p = "int"; 9959 break; 9960 /* __mac_execve */ 9961 case 415: 9962 if (ndx == 0 || ndx == 1) 9963 p = "int"; 9964 break; 9965 /* sigaction */ 9966 case 416: 9967 if (ndx == 0 || ndx == 1) 9968 p = "int"; 9969 break; 9970 /* sigreturn */ 9971 case 417: 9972 if (ndx == 0 || ndx == 1) 9973 p = "int"; 9974 break; 9975 /* getcontext */ 9976 case 421: 9977 if (ndx == 0 || ndx == 1) 9978 p = "int"; 9979 break; 9980 /* setcontext */ 9981 case 422: 9982 if (ndx == 0 || ndx == 1) 9983 p = "int"; 9984 break; 9985 /* swapcontext */ 9986 case 423: 9987 if (ndx == 0 || ndx == 1) 9988 p = "int"; 9989 break; 9990 /* swapoff */ 9991 case 424: 9992 if (ndx == 0 || ndx == 1) 9993 p = "int"; 9994 break; 9995 /* __acl_get_link */ 9996 case 425: 9997 if (ndx == 0 || ndx == 1) 9998 p = "int"; 9999 break; 10000 /* __acl_set_link */ 10001 case 426: 10002 if (ndx == 0 || ndx == 1) 10003 p = "int"; 10004 break; 10005 /* __acl_delete_link */ 10006 case 427: 10007 if (ndx == 0 || ndx == 1) 10008 p = "int"; 10009 break; 10010 /* __acl_aclcheck_link */ 10011 case 428: 10012 if (ndx == 0 || ndx == 1) 10013 p = "int"; 10014 break; 10015 /* sigwait */ 10016 case 429: 10017 if (ndx == 0 || ndx == 1) 10018 p = "int"; 10019 break; 10020 /* thr_create */ 10021 case 430: 10022 if (ndx == 0 || ndx == 1) 10023 p = "int"; 10024 break; 10025 /* thr_exit */ 10026 case 431: 10027 if (ndx == 0 || ndx == 1) 10028 p = "void"; 10029 break; 10030 /* thr_self */ 10031 case 432: 10032 if (ndx == 0 || ndx == 1) 10033 p = "int"; 10034 break; 10035 /* thr_kill */ 10036 case 433: 10037 if (ndx == 0 || ndx == 1) 10038 p = "int"; 10039 break; 10040 /* jail_attach */ 10041 case 436: 10042 if (ndx == 0 || ndx == 1) 10043 p = "int"; 10044 break; 10045 /* extattr_list_fd */ 10046 case 437: 10047 if (ndx == 0 || ndx == 1) 10048 p = "ssize_t"; 10049 break; 10050 /* extattr_list_file */ 10051 case 438: 10052 if (ndx == 0 || ndx == 1) 10053 p = "ssize_t"; 10054 break; 10055 /* extattr_list_link */ 10056 case 439: 10057 if (ndx == 0 || ndx == 1) 10058 p = "ssize_t"; 10059 break; 10060 /* ksem_timedwait */ 10061 case 441: 10062 if (ndx == 0 || ndx == 1) 10063 p = "int"; 10064 break; 10065 /* thr_suspend */ 10066 case 442: 10067 if (ndx == 0 || ndx == 1) 10068 p = "int"; 10069 break; 10070 /* thr_wake */ 10071 case 443: 10072 if (ndx == 0 || ndx == 1) 10073 p = "int"; 10074 break; 10075 /* kldunloadf */ 10076 case 444: 10077 if (ndx == 0 || ndx == 1) 10078 p = "int"; 10079 break; 10080 /* audit */ 10081 case 445: 10082 if (ndx == 0 || ndx == 1) 10083 p = "int"; 10084 break; 10085 /* auditon */ 10086 case 446: 10087 if (ndx == 0 || ndx == 1) 10088 p = "int"; 10089 break; 10090 /* getauid */ 10091 case 447: 10092 if (ndx == 0 || ndx == 1) 10093 p = "int"; 10094 break; 10095 /* setauid */ 10096 case 448: 10097 if (ndx == 0 || ndx == 1) 10098 p = "int"; 10099 break; 10100 /* getaudit */ 10101 case 449: 10102 if (ndx == 0 || ndx == 1) 10103 p = "int"; 10104 break; 10105 /* setaudit */ 10106 case 450: 10107 if (ndx == 0 || ndx == 1) 10108 p = "int"; 10109 break; 10110 /* getaudit_addr */ 10111 case 451: 10112 if (ndx == 0 || ndx == 1) 10113 p = "int"; 10114 break; 10115 /* setaudit_addr */ 10116 case 452: 10117 if (ndx == 0 || ndx == 1) 10118 p = "int"; 10119 break; 10120 /* auditctl */ 10121 case 453: 10122 if (ndx == 0 || ndx == 1) 10123 p = "int"; 10124 break; 10125 /* _umtx_op */ 10126 case 454: 10127 if (ndx == 0 || ndx == 1) 10128 p = "int"; 10129 break; 10130 /* thr_new */ 10131 case 455: 10132 if (ndx == 0 || ndx == 1) 10133 p = "int"; 10134 break; 10135 /* sigqueue */ 10136 case 456: 10137 if (ndx == 0 || ndx == 1) 10138 p = "int"; 10139 break; 10140 /* kmq_open */ 10141 case 457: 10142 if (ndx == 0 || ndx == 1) 10143 p = "int"; 10144 break; 10145 /* kmq_setattr */ 10146 case 458: 10147 if (ndx == 0 || ndx == 1) 10148 p = "int"; 10149 break; 10150 /* kmq_timedreceive */ 10151 case 459: 10152 if (ndx == 0 || ndx == 1) 10153 p = "int"; 10154 break; 10155 /* kmq_timedsend */ 10156 case 460: 10157 if (ndx == 0 || ndx == 1) 10158 p = "int"; 10159 break; 10160 /* kmq_notify */ 10161 case 461: 10162 if (ndx == 0 || ndx == 1) 10163 p = "int"; 10164 break; 10165 /* kmq_unlink */ 10166 case 462: 10167 if (ndx == 0 || ndx == 1) 10168 p = "int"; 10169 break; 10170 /* abort2 */ 10171 case 463: 10172 if (ndx == 0 || ndx == 1) 10173 p = "int"; 10174 break; 10175 /* thr_set_name */ 10176 case 464: 10177 if (ndx == 0 || ndx == 1) 10178 p = "int"; 10179 break; 10180 /* aio_fsync */ 10181 case 465: 10182 if (ndx == 0 || ndx == 1) 10183 p = "int"; 10184 break; 10185 /* rtprio_thread */ 10186 case 466: 10187 if (ndx == 0 || ndx == 1) 10188 p = "int"; 10189 break; 10190 /* sctp_peeloff */ 10191 case 471: 10192 if (ndx == 0 || ndx == 1) 10193 p = "int"; 10194 break; 10195 /* sctp_generic_sendmsg */ 10196 case 472: 10197 if (ndx == 0 || ndx == 1) 10198 p = "int"; 10199 break; 10200 /* sctp_generic_sendmsg_iov */ 10201 case 473: 10202 if (ndx == 0 || ndx == 1) 10203 p = "int"; 10204 break; 10205 /* sctp_generic_recvmsg */ 10206 case 474: 10207 if (ndx == 0 || ndx == 1) 10208 p = "int"; 10209 break; 10210 /* pread */ 10211 case 475: 10212 if (ndx == 0 || ndx == 1) 10213 p = "ssize_t"; 10214 break; 10215 /* pwrite */ 10216 case 476: 10217 if (ndx == 0 || ndx == 1) 10218 p = "ssize_t"; 10219 break; 10220 /* mmap */ 10221 case 477: 10222 if (ndx == 0 || ndx == 1) 10223 p = "caddr_t"; 10224 break; 10225 /* lseek */ 10226 case 478: 10227 if (ndx == 0 || ndx == 1) 10228 p = "off_t"; 10229 break; 10230 /* truncate */ 10231 case 479: 10232 if (ndx == 0 || ndx == 1) 10233 p = "int"; 10234 break; 10235 /* ftruncate */ 10236 case 480: 10237 if (ndx == 0 || ndx == 1) 10238 p = "int"; 10239 break; 10240 /* thr_kill2 */ 10241 case 481: 10242 if (ndx == 0 || ndx == 1) 10243 p = "int"; 10244 break; 10245 /* shm_open */ 10246 case 482: 10247 if (ndx == 0 || ndx == 1) 10248 p = "int"; 10249 break; 10250 /* shm_unlink */ 10251 case 483: 10252 if (ndx == 0 || ndx == 1) 10253 p = "int"; 10254 break; 10255 /* cpuset */ 10256 case 484: 10257 if (ndx == 0 || ndx == 1) 10258 p = "int"; 10259 break; 10260 /* cpuset_setid */ 10261 case 485: 10262 if (ndx == 0 || ndx == 1) 10263 p = "int"; 10264 break; 10265 /* cpuset_getid */ 10266 case 486: 10267 if (ndx == 0 || ndx == 1) 10268 p = "int"; 10269 break; 10270 /* cpuset_getaffinity */ 10271 case 487: 10272 if (ndx == 0 || ndx == 1) 10273 p = "int"; 10274 break; 10275 /* cpuset_setaffinity */ 10276 case 488: 10277 if (ndx == 0 || ndx == 1) 10278 p = "int"; 10279 break; 10280 /* faccessat */ 10281 case 489: 10282 if (ndx == 0 || ndx == 1) 10283 p = "int"; 10284 break; 10285 /* fchmodat */ 10286 case 490: 10287 if (ndx == 0 || ndx == 1) 10288 p = "int"; 10289 break; 10290 /* fchownat */ 10291 case 491: 10292 if (ndx == 0 || ndx == 1) 10293 p = "int"; 10294 break; 10295 /* fexecve */ 10296 case 492: 10297 if (ndx == 0 || ndx == 1) 10298 p = "int"; 10299 break; 10300 /* futimesat */ 10301 case 494: 10302 if (ndx == 0 || ndx == 1) 10303 p = "int"; 10304 break; 10305 /* linkat */ 10306 case 495: 10307 if (ndx == 0 || ndx == 1) 10308 p = "int"; 10309 break; 10310 /* mkdirat */ 10311 case 496: 10312 if (ndx == 0 || ndx == 1) 10313 p = "int"; 10314 break; 10315 /* mkfifoat */ 10316 case 497: 10317 if (ndx == 0 || ndx == 1) 10318 p = "int"; 10319 break; 10320 /* openat */ 10321 case 499: 10322 if (ndx == 0 || ndx == 1) 10323 p = "int"; 10324 break; 10325 /* readlinkat */ 10326 case 500: 10327 if (ndx == 0 || ndx == 1) 10328 p = "int"; 10329 break; 10330 /* renameat */ 10331 case 501: 10332 if (ndx == 0 || ndx == 1) 10333 p = "int"; 10334 break; 10335 /* symlinkat */ 10336 case 502: 10337 if (ndx == 0 || ndx == 1) 10338 p = "int"; 10339 break; 10340 /* unlinkat */ 10341 case 503: 10342 if (ndx == 0 || ndx == 1) 10343 p = "int"; 10344 break; 10345 /* posix_openpt */ 10346 case 504: 10347 if (ndx == 0 || ndx == 1) 10348 p = "int"; 10349 break; 10350 /* gssd_syscall */ 10351 case 505: 10352 if (ndx == 0 || ndx == 1) 10353 p = "int"; 10354 break; 10355 /* jail_get */ 10356 case 506: 10357 if (ndx == 0 || ndx == 1) 10358 p = "int"; 10359 break; 10360 /* jail_set */ 10361 case 507: 10362 if (ndx == 0 || ndx == 1) 10363 p = "int"; 10364 break; 10365 /* jail_remove */ 10366 case 508: 10367 if (ndx == 0 || ndx == 1) 10368 p = "int"; 10369 break; 10370 /* closefrom */ 10371 case 509: 10372 if (ndx == 0 || ndx == 1) 10373 p = "int"; 10374 break; 10375 /* __semctl */ 10376 case 510: 10377 if (ndx == 0 || ndx == 1) 10378 p = "int"; 10379 break; 10380 /* msgctl */ 10381 case 511: 10382 if (ndx == 0 || ndx == 1) 10383 p = "int"; 10384 break; 10385 /* shmctl */ 10386 case 512: 10387 if (ndx == 0 || ndx == 1) 10388 p = "int"; 10389 break; 10390 /* lpathconf */ 10391 case 513: 10392 if (ndx == 0 || ndx == 1) 10393 p = "int"; 10394 break; 10395 /* __cap_rights_get */ 10396 case 515: 10397 if (ndx == 0 || ndx == 1) 10398 p = "int"; 10399 break; 10400 /* cap_enter */ 10401 case 516: 10402 /* cap_getmode */ 10403 case 517: 10404 if (ndx == 0 || ndx == 1) 10405 p = "int"; 10406 break; 10407 /* pdfork */ 10408 case 518: 10409 if (ndx == 0 || ndx == 1) 10410 p = "int"; 10411 break; 10412 /* pdkill */ 10413 case 519: 10414 if (ndx == 0 || ndx == 1) 10415 p = "int"; 10416 break; 10417 /* pdgetpid */ 10418 case 520: 10419 if (ndx == 0 || ndx == 1) 10420 p = "int"; 10421 break; 10422 /* pselect */ 10423 case 522: 10424 if (ndx == 0 || ndx == 1) 10425 p = "int"; 10426 break; 10427 /* getloginclass */ 10428 case 523: 10429 if (ndx == 0 || ndx == 1) 10430 p = "int"; 10431 break; 10432 /* setloginclass */ 10433 case 524: 10434 if (ndx == 0 || ndx == 1) 10435 p = "int"; 10436 break; 10437 /* rctl_get_racct */ 10438 case 525: 10439 if (ndx == 0 || ndx == 1) 10440 p = "int"; 10441 break; 10442 /* rctl_get_rules */ 10443 case 526: 10444 if (ndx == 0 || ndx == 1) 10445 p = "int"; 10446 break; 10447 /* rctl_get_limits */ 10448 case 527: 10449 if (ndx == 0 || ndx == 1) 10450 p = "int"; 10451 break; 10452 /* rctl_add_rule */ 10453 case 528: 10454 if (ndx == 0 || ndx == 1) 10455 p = "int"; 10456 break; 10457 /* rctl_remove_rule */ 10458 case 529: 10459 if (ndx == 0 || ndx == 1) 10460 p = "int"; 10461 break; 10462 /* posix_fallocate */ 10463 case 530: 10464 if (ndx == 0 || ndx == 1) 10465 p = "int"; 10466 break; 10467 /* posix_fadvise */ 10468 case 531: 10469 if (ndx == 0 || ndx == 1) 10470 p = "int"; 10471 break; 10472 /* wait6 */ 10473 case 532: 10474 if (ndx == 0 || ndx == 1) 10475 p = "int"; 10476 break; 10477 /* cap_rights_limit */ 10478 case 533: 10479 if (ndx == 0 || ndx == 1) 10480 p = "int"; 10481 break; 10482 /* cap_ioctls_limit */ 10483 case 534: 10484 if (ndx == 0 || ndx == 1) 10485 p = "int"; 10486 break; 10487 /* cap_ioctls_get */ 10488 case 535: 10489 if (ndx == 0 || ndx == 1) 10490 p = "ssize_t"; 10491 break; 10492 /* cap_fcntls_limit */ 10493 case 536: 10494 if (ndx == 0 || ndx == 1) 10495 p = "int"; 10496 break; 10497 /* cap_fcntls_get */ 10498 case 537: 10499 if (ndx == 0 || ndx == 1) 10500 p = "int"; 10501 break; 10502 /* bindat */ 10503 case 538: 10504 if (ndx == 0 || ndx == 1) 10505 p = "int"; 10506 break; 10507 /* connectat */ 10508 case 539: 10509 if (ndx == 0 || ndx == 1) 10510 p = "int"; 10511 break; 10512 /* chflagsat */ 10513 case 540: 10514 if (ndx == 0 || ndx == 1) 10515 p = "int"; 10516 break; 10517 /* accept4 */ 10518 case 541: 10519 if (ndx == 0 || ndx == 1) 10520 p = "int"; 10521 break; 10522 /* pipe2 */ 10523 case 542: 10524 if (ndx == 0 || ndx == 1) 10525 p = "int"; 10526 break; 10527 /* aio_mlock */ 10528 case 543: 10529 if (ndx == 0 || ndx == 1) 10530 p = "int"; 10531 break; 10532 /* procctl */ 10533 case 544: 10534 if (ndx == 0 || ndx == 1) 10535 p = "int"; 10536 break; 10537 /* ppoll */ 10538 case 545: 10539 if (ndx == 0 || ndx == 1) 10540 p = "int"; 10541 break; 10542 /* futimens */ 10543 case 546: 10544 if (ndx == 0 || ndx == 1) 10545 p = "int"; 10546 break; 10547 /* utimensat */ 10548 case 547: 10549 if (ndx == 0 || ndx == 1) 10550 p = "int"; 10551 break; 10552 /* numa_getaffinity */ 10553 case 548: 10554 if (ndx == 0 || ndx == 1) 10555 p = "int"; 10556 break; 10557 /* numa_setaffinity */ 10558 case 549: 10559 if (ndx == 0 || ndx == 1) 10560 p = "int"; 10561 break; 10562 /* fdatasync */ 10563 case 550: 10564 if (ndx == 0 || ndx == 1) 10565 p = "int"; 10566 break; 10567 /* fstat */ 10568 case 551: 10569 if (ndx == 0 || ndx == 1) 10570 p = "int"; 10571 break; 10572 /* fstatat */ 10573 case 552: 10574 if (ndx == 0 || ndx == 1) 10575 p = "int"; 10576 break; 10577 /* fhstat */ 10578 case 553: 10579 if (ndx == 0 || ndx == 1) 10580 p = "int"; 10581 break; 10582 /* getdirentries */ 10583 case 554: 10584 if (ndx == 0 || ndx == 1) 10585 p = "ssize_t"; 10586 break; 10587 /* statfs */ 10588 case 555: 10589 if (ndx == 0 || ndx == 1) 10590 p = "int"; 10591 break; 10592 /* fstatfs */ 10593 case 556: 10594 if (ndx == 0 || ndx == 1) 10595 p = "int"; 10596 break; 10597 /* getfsstat */ 10598 case 557: 10599 if (ndx == 0 || ndx == 1) 10600 p = "int"; 10601 break; 10602 /* fhstatfs */ 10603 case 558: 10604 if (ndx == 0 || ndx == 1) 10605 p = "int"; 10606 break; 10607 /* mknodat */ 10608 case 559: 10609 if (ndx == 0 || ndx == 1) 10610 p = "int"; 10611 break; 10612 /* kevent */ 10613 case 560: 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