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