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