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