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