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