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