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