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