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