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