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