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