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