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