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