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