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