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