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