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