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