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 /* kqueuex */ 3421 case 583: { 3422 struct kqueuex_args *p = params; 3423 uarg[a++] = p->flags; /* u_int */ 3424 *n_args = 1; 3425 break; 3426 } 3427 default: 3428 *n_args = 0; 3429 break; 3430 }; 3431 } 3432 static void 3433 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 3434 { 3435 const char *p = NULL; 3436 switch (sysnum) { 3437 /* syscall */ 3438 case 0: 3439 break; 3440 /* exit */ 3441 case 1: 3442 switch (ndx) { 3443 case 0: 3444 p = "int"; 3445 break; 3446 default: 3447 break; 3448 }; 3449 break; 3450 /* fork */ 3451 case 2: 3452 break; 3453 /* read */ 3454 case 3: 3455 switch (ndx) { 3456 case 0: 3457 p = "int"; 3458 break; 3459 case 1: 3460 p = "userland void *"; 3461 break; 3462 case 2: 3463 p = "size_t"; 3464 break; 3465 default: 3466 break; 3467 }; 3468 break; 3469 /* write */ 3470 case 4: 3471 switch (ndx) { 3472 case 0: 3473 p = "int"; 3474 break; 3475 case 1: 3476 p = "userland const void *"; 3477 break; 3478 case 2: 3479 p = "size_t"; 3480 break; 3481 default: 3482 break; 3483 }; 3484 break; 3485 /* open */ 3486 case 5: 3487 switch (ndx) { 3488 case 0: 3489 p = "userland const char *"; 3490 break; 3491 case 1: 3492 p = "int"; 3493 break; 3494 case 2: 3495 p = "mode_t"; 3496 break; 3497 default: 3498 break; 3499 }; 3500 break; 3501 /* close */ 3502 case 6: 3503 switch (ndx) { 3504 case 0: 3505 p = "int"; 3506 break; 3507 default: 3508 break; 3509 }; 3510 break; 3511 /* wait4 */ 3512 case 7: 3513 switch (ndx) { 3514 case 0: 3515 p = "int"; 3516 break; 3517 case 1: 3518 p = "userland int *"; 3519 break; 3520 case 2: 3521 p = "int"; 3522 break; 3523 case 3: 3524 p = "userland struct rusage *"; 3525 break; 3526 default: 3527 break; 3528 }; 3529 break; 3530 /* link */ 3531 case 9: 3532 switch (ndx) { 3533 case 0: 3534 p = "userland const char *"; 3535 break; 3536 case 1: 3537 p = "userland const char *"; 3538 break; 3539 default: 3540 break; 3541 }; 3542 break; 3543 /* unlink */ 3544 case 10: 3545 switch (ndx) { 3546 case 0: 3547 p = "userland const char *"; 3548 break; 3549 default: 3550 break; 3551 }; 3552 break; 3553 /* chdir */ 3554 case 12: 3555 switch (ndx) { 3556 case 0: 3557 p = "userland const char *"; 3558 break; 3559 default: 3560 break; 3561 }; 3562 break; 3563 /* fchdir */ 3564 case 13: 3565 switch (ndx) { 3566 case 0: 3567 p = "int"; 3568 break; 3569 default: 3570 break; 3571 }; 3572 break; 3573 /* chmod */ 3574 case 15: 3575 switch (ndx) { 3576 case 0: 3577 p = "userland const char *"; 3578 break; 3579 case 1: 3580 p = "mode_t"; 3581 break; 3582 default: 3583 break; 3584 }; 3585 break; 3586 /* chown */ 3587 case 16: 3588 switch (ndx) { 3589 case 0: 3590 p = "userland const char *"; 3591 break; 3592 case 1: 3593 p = "int"; 3594 break; 3595 case 2: 3596 p = "int"; 3597 break; 3598 default: 3599 break; 3600 }; 3601 break; 3602 /* break */ 3603 case 17: 3604 switch (ndx) { 3605 case 0: 3606 p = "userland char *"; 3607 break; 3608 default: 3609 break; 3610 }; 3611 break; 3612 /* getpid */ 3613 case 20: 3614 break; 3615 /* mount */ 3616 case 21: 3617 switch (ndx) { 3618 case 0: 3619 p = "userland const char *"; 3620 break; 3621 case 1: 3622 p = "userland const char *"; 3623 break; 3624 case 2: 3625 p = "int"; 3626 break; 3627 case 3: 3628 p = "userland void *"; 3629 break; 3630 default: 3631 break; 3632 }; 3633 break; 3634 /* unmount */ 3635 case 22: 3636 switch (ndx) { 3637 case 0: 3638 p = "userland const char *"; 3639 break; 3640 case 1: 3641 p = "int"; 3642 break; 3643 default: 3644 break; 3645 }; 3646 break; 3647 /* setuid */ 3648 case 23: 3649 switch (ndx) { 3650 case 0: 3651 p = "uid_t"; 3652 break; 3653 default: 3654 break; 3655 }; 3656 break; 3657 /* getuid */ 3658 case 24: 3659 break; 3660 /* geteuid */ 3661 case 25: 3662 break; 3663 /* ptrace */ 3664 case 26: 3665 switch (ndx) { 3666 case 0: 3667 p = "int"; 3668 break; 3669 case 1: 3670 p = "pid_t"; 3671 break; 3672 case 2: 3673 p = "caddr_t"; 3674 break; 3675 case 3: 3676 p = "int"; 3677 break; 3678 default: 3679 break; 3680 }; 3681 break; 3682 /* recvmsg */ 3683 case 27: 3684 switch (ndx) { 3685 case 0: 3686 p = "int"; 3687 break; 3688 case 1: 3689 p = "userland struct msghdr *"; 3690 break; 3691 case 2: 3692 p = "int"; 3693 break; 3694 default: 3695 break; 3696 }; 3697 break; 3698 /* sendmsg */ 3699 case 28: 3700 switch (ndx) { 3701 case 0: 3702 p = "int"; 3703 break; 3704 case 1: 3705 p = "userland const struct msghdr *"; 3706 break; 3707 case 2: 3708 p = "int"; 3709 break; 3710 default: 3711 break; 3712 }; 3713 break; 3714 /* recvfrom */ 3715 case 29: 3716 switch (ndx) { 3717 case 0: 3718 p = "int"; 3719 break; 3720 case 1: 3721 p = "userland void *"; 3722 break; 3723 case 2: 3724 p = "size_t"; 3725 break; 3726 case 3: 3727 p = "int"; 3728 break; 3729 case 4: 3730 p = "userland struct sockaddr *"; 3731 break; 3732 case 5: 3733 p = "userland __socklen_t *"; 3734 break; 3735 default: 3736 break; 3737 }; 3738 break; 3739 /* accept */ 3740 case 30: 3741 switch (ndx) { 3742 case 0: 3743 p = "int"; 3744 break; 3745 case 1: 3746 p = "userland struct sockaddr *"; 3747 break; 3748 case 2: 3749 p = "userland __socklen_t *"; 3750 break; 3751 default: 3752 break; 3753 }; 3754 break; 3755 /* getpeername */ 3756 case 31: 3757 switch (ndx) { 3758 case 0: 3759 p = "int"; 3760 break; 3761 case 1: 3762 p = "userland struct sockaddr *"; 3763 break; 3764 case 2: 3765 p = "userland __socklen_t *"; 3766 break; 3767 default: 3768 break; 3769 }; 3770 break; 3771 /* getsockname */ 3772 case 32: 3773 switch (ndx) { 3774 case 0: 3775 p = "int"; 3776 break; 3777 case 1: 3778 p = "userland struct sockaddr *"; 3779 break; 3780 case 2: 3781 p = "userland __socklen_t *"; 3782 break; 3783 default: 3784 break; 3785 }; 3786 break; 3787 /* access */ 3788 case 33: 3789 switch (ndx) { 3790 case 0: 3791 p = "userland const char *"; 3792 break; 3793 case 1: 3794 p = "int"; 3795 break; 3796 default: 3797 break; 3798 }; 3799 break; 3800 /* chflags */ 3801 case 34: 3802 switch (ndx) { 3803 case 0: 3804 p = "userland const char *"; 3805 break; 3806 case 1: 3807 p = "u_long"; 3808 break; 3809 default: 3810 break; 3811 }; 3812 break; 3813 /* fchflags */ 3814 case 35: 3815 switch (ndx) { 3816 case 0: 3817 p = "int"; 3818 break; 3819 case 1: 3820 p = "u_long"; 3821 break; 3822 default: 3823 break; 3824 }; 3825 break; 3826 /* sync */ 3827 case 36: 3828 break; 3829 /* kill */ 3830 case 37: 3831 switch (ndx) { 3832 case 0: 3833 p = "int"; 3834 break; 3835 case 1: 3836 p = "int"; 3837 break; 3838 default: 3839 break; 3840 }; 3841 break; 3842 /* getppid */ 3843 case 39: 3844 break; 3845 /* dup */ 3846 case 41: 3847 switch (ndx) { 3848 case 0: 3849 p = "u_int"; 3850 break; 3851 default: 3852 break; 3853 }; 3854 break; 3855 /* getegid */ 3856 case 43: 3857 break; 3858 /* profil */ 3859 case 44: 3860 switch (ndx) { 3861 case 0: 3862 p = "userland char *"; 3863 break; 3864 case 1: 3865 p = "size_t"; 3866 break; 3867 case 2: 3868 p = "size_t"; 3869 break; 3870 case 3: 3871 p = "u_int"; 3872 break; 3873 default: 3874 break; 3875 }; 3876 break; 3877 /* ktrace */ 3878 case 45: 3879 switch (ndx) { 3880 case 0: 3881 p = "userland const char *"; 3882 break; 3883 case 1: 3884 p = "int"; 3885 break; 3886 case 2: 3887 p = "int"; 3888 break; 3889 case 3: 3890 p = "int"; 3891 break; 3892 default: 3893 break; 3894 }; 3895 break; 3896 /* getgid */ 3897 case 47: 3898 break; 3899 /* getlogin */ 3900 case 49: 3901 switch (ndx) { 3902 case 0: 3903 p = "userland char *"; 3904 break; 3905 case 1: 3906 p = "u_int"; 3907 break; 3908 default: 3909 break; 3910 }; 3911 break; 3912 /* setlogin */ 3913 case 50: 3914 switch (ndx) { 3915 case 0: 3916 p = "userland const char *"; 3917 break; 3918 default: 3919 break; 3920 }; 3921 break; 3922 /* acct */ 3923 case 51: 3924 switch (ndx) { 3925 case 0: 3926 p = "userland const char *"; 3927 break; 3928 default: 3929 break; 3930 }; 3931 break; 3932 /* sigaltstack */ 3933 case 53: 3934 switch (ndx) { 3935 case 0: 3936 p = "userland const struct sigaltstack *"; 3937 break; 3938 case 1: 3939 p = "userland struct sigaltstack *"; 3940 break; 3941 default: 3942 break; 3943 }; 3944 break; 3945 /* ioctl */ 3946 case 54: 3947 switch (ndx) { 3948 case 0: 3949 p = "int"; 3950 break; 3951 case 1: 3952 p = "u_long"; 3953 break; 3954 case 2: 3955 p = "userland char *"; 3956 break; 3957 default: 3958 break; 3959 }; 3960 break; 3961 /* reboot */ 3962 case 55: 3963 switch (ndx) { 3964 case 0: 3965 p = "int"; 3966 break; 3967 default: 3968 break; 3969 }; 3970 break; 3971 /* revoke */ 3972 case 56: 3973 switch (ndx) { 3974 case 0: 3975 p = "userland const char *"; 3976 break; 3977 default: 3978 break; 3979 }; 3980 break; 3981 /* symlink */ 3982 case 57: 3983 switch (ndx) { 3984 case 0: 3985 p = "userland const char *"; 3986 break; 3987 case 1: 3988 p = "userland const char *"; 3989 break; 3990 default: 3991 break; 3992 }; 3993 break; 3994 /* readlink */ 3995 case 58: 3996 switch (ndx) { 3997 case 0: 3998 p = "userland const char *"; 3999 break; 4000 case 1: 4001 p = "userland char *"; 4002 break; 4003 case 2: 4004 p = "size_t"; 4005 break; 4006 default: 4007 break; 4008 }; 4009 break; 4010 /* execve */ 4011 case 59: 4012 switch (ndx) { 4013 case 0: 4014 p = "userland const char *"; 4015 break; 4016 case 1: 4017 p = "userland char **"; 4018 break; 4019 case 2: 4020 p = "userland char **"; 4021 break; 4022 default: 4023 break; 4024 }; 4025 break; 4026 /* umask */ 4027 case 60: 4028 switch (ndx) { 4029 case 0: 4030 p = "mode_t"; 4031 break; 4032 default: 4033 break; 4034 }; 4035 break; 4036 /* chroot */ 4037 case 61: 4038 switch (ndx) { 4039 case 0: 4040 p = "userland const char *"; 4041 break; 4042 default: 4043 break; 4044 }; 4045 break; 4046 /* msync */ 4047 case 65: 4048 switch (ndx) { 4049 case 0: 4050 p = "userland void *"; 4051 break; 4052 case 1: 4053 p = "size_t"; 4054 break; 4055 case 2: 4056 p = "int"; 4057 break; 4058 default: 4059 break; 4060 }; 4061 break; 4062 /* vfork */ 4063 case 66: 4064 break; 4065 /* sbrk */ 4066 case 69: 4067 switch (ndx) { 4068 case 0: 4069 p = "int"; 4070 break; 4071 default: 4072 break; 4073 }; 4074 break; 4075 /* sstk */ 4076 case 70: 4077 switch (ndx) { 4078 case 0: 4079 p = "int"; 4080 break; 4081 default: 4082 break; 4083 }; 4084 break; 4085 /* munmap */ 4086 case 73: 4087 switch (ndx) { 4088 case 0: 4089 p = "userland void *"; 4090 break; 4091 case 1: 4092 p = "size_t"; 4093 break; 4094 default: 4095 break; 4096 }; 4097 break; 4098 /* mprotect */ 4099 case 74: 4100 switch (ndx) { 4101 case 0: 4102 p = "userland void *"; 4103 break; 4104 case 1: 4105 p = "size_t"; 4106 break; 4107 case 2: 4108 p = "int"; 4109 break; 4110 default: 4111 break; 4112 }; 4113 break; 4114 /* madvise */ 4115 case 75: 4116 switch (ndx) { 4117 case 0: 4118 p = "userland void *"; 4119 break; 4120 case 1: 4121 p = "size_t"; 4122 break; 4123 case 2: 4124 p = "int"; 4125 break; 4126 default: 4127 break; 4128 }; 4129 break; 4130 /* mincore */ 4131 case 78: 4132 switch (ndx) { 4133 case 0: 4134 p = "userland const void *"; 4135 break; 4136 case 1: 4137 p = "size_t"; 4138 break; 4139 case 2: 4140 p = "userland char *"; 4141 break; 4142 default: 4143 break; 4144 }; 4145 break; 4146 /* getgroups */ 4147 case 79: 4148 switch (ndx) { 4149 case 0: 4150 p = "int"; 4151 break; 4152 case 1: 4153 p = "userland gid_t *"; 4154 break; 4155 default: 4156 break; 4157 }; 4158 break; 4159 /* setgroups */ 4160 case 80: 4161 switch (ndx) { 4162 case 0: 4163 p = "int"; 4164 break; 4165 case 1: 4166 p = "userland const gid_t *"; 4167 break; 4168 default: 4169 break; 4170 }; 4171 break; 4172 /* getpgrp */ 4173 case 81: 4174 break; 4175 /* setpgid */ 4176 case 82: 4177 switch (ndx) { 4178 case 0: 4179 p = "int"; 4180 break; 4181 case 1: 4182 p = "int"; 4183 break; 4184 default: 4185 break; 4186 }; 4187 break; 4188 /* setitimer */ 4189 case 83: 4190 switch (ndx) { 4191 case 0: 4192 p = "int"; 4193 break; 4194 case 1: 4195 p = "userland const struct itimerval *"; 4196 break; 4197 case 2: 4198 p = "userland struct itimerval *"; 4199 break; 4200 default: 4201 break; 4202 }; 4203 break; 4204 /* swapon */ 4205 case 85: 4206 switch (ndx) { 4207 case 0: 4208 p = "userland const char *"; 4209 break; 4210 default: 4211 break; 4212 }; 4213 break; 4214 /* getitimer */ 4215 case 86: 4216 switch (ndx) { 4217 case 0: 4218 p = "int"; 4219 break; 4220 case 1: 4221 p = "userland struct itimerval *"; 4222 break; 4223 default: 4224 break; 4225 }; 4226 break; 4227 /* getdtablesize */ 4228 case 89: 4229 break; 4230 /* dup2 */ 4231 case 90: 4232 switch (ndx) { 4233 case 0: 4234 p = "u_int"; 4235 break; 4236 case 1: 4237 p = "u_int"; 4238 break; 4239 default: 4240 break; 4241 }; 4242 break; 4243 /* fcntl */ 4244 case 92: 4245 switch (ndx) { 4246 case 0: 4247 p = "int"; 4248 break; 4249 case 1: 4250 p = "int"; 4251 break; 4252 case 2: 4253 p = "long"; 4254 break; 4255 default: 4256 break; 4257 }; 4258 break; 4259 /* select */ 4260 case 93: 4261 switch (ndx) { 4262 case 0: 4263 p = "int"; 4264 break; 4265 case 1: 4266 p = "userland fd_set *"; 4267 break; 4268 case 2: 4269 p = "userland fd_set *"; 4270 break; 4271 case 3: 4272 p = "userland fd_set *"; 4273 break; 4274 case 4: 4275 p = "userland struct timeval *"; 4276 break; 4277 default: 4278 break; 4279 }; 4280 break; 4281 /* fsync */ 4282 case 95: 4283 switch (ndx) { 4284 case 0: 4285 p = "int"; 4286 break; 4287 default: 4288 break; 4289 }; 4290 break; 4291 /* setpriority */ 4292 case 96: 4293 switch (ndx) { 4294 case 0: 4295 p = "int"; 4296 break; 4297 case 1: 4298 p = "int"; 4299 break; 4300 case 2: 4301 p = "int"; 4302 break; 4303 default: 4304 break; 4305 }; 4306 break; 4307 /* socket */ 4308 case 97: 4309 switch (ndx) { 4310 case 0: 4311 p = "int"; 4312 break; 4313 case 1: 4314 p = "int"; 4315 break; 4316 case 2: 4317 p = "int"; 4318 break; 4319 default: 4320 break; 4321 }; 4322 break; 4323 /* connect */ 4324 case 98: 4325 switch (ndx) { 4326 case 0: 4327 p = "int"; 4328 break; 4329 case 1: 4330 p = "userland const struct sockaddr *"; 4331 break; 4332 case 2: 4333 p = "__socklen_t"; 4334 break; 4335 default: 4336 break; 4337 }; 4338 break; 4339 /* getpriority */ 4340 case 100: 4341 switch (ndx) { 4342 case 0: 4343 p = "int"; 4344 break; 4345 case 1: 4346 p = "int"; 4347 break; 4348 default: 4349 break; 4350 }; 4351 break; 4352 /* bind */ 4353 case 104: 4354 switch (ndx) { 4355 case 0: 4356 p = "int"; 4357 break; 4358 case 1: 4359 p = "userland const struct sockaddr *"; 4360 break; 4361 case 2: 4362 p = "__socklen_t"; 4363 break; 4364 default: 4365 break; 4366 }; 4367 break; 4368 /* setsockopt */ 4369 case 105: 4370 switch (ndx) { 4371 case 0: 4372 p = "int"; 4373 break; 4374 case 1: 4375 p = "int"; 4376 break; 4377 case 2: 4378 p = "int"; 4379 break; 4380 case 3: 4381 p = "userland const void *"; 4382 break; 4383 case 4: 4384 p = "__socklen_t"; 4385 break; 4386 default: 4387 break; 4388 }; 4389 break; 4390 /* listen */ 4391 case 106: 4392 switch (ndx) { 4393 case 0: 4394 p = "int"; 4395 break; 4396 case 1: 4397 p = "int"; 4398 break; 4399 default: 4400 break; 4401 }; 4402 break; 4403 /* gettimeofday */ 4404 case 116: 4405 switch (ndx) { 4406 case 0: 4407 p = "userland struct timeval *"; 4408 break; 4409 case 1: 4410 p = "userland struct timezone *"; 4411 break; 4412 default: 4413 break; 4414 }; 4415 break; 4416 /* getrusage */ 4417 case 117: 4418 switch (ndx) { 4419 case 0: 4420 p = "int"; 4421 break; 4422 case 1: 4423 p = "userland struct rusage *"; 4424 break; 4425 default: 4426 break; 4427 }; 4428 break; 4429 /* getsockopt */ 4430 case 118: 4431 switch (ndx) { 4432 case 0: 4433 p = "int"; 4434 break; 4435 case 1: 4436 p = "int"; 4437 break; 4438 case 2: 4439 p = "int"; 4440 break; 4441 case 3: 4442 p = "userland void *"; 4443 break; 4444 case 4: 4445 p = "userland __socklen_t *"; 4446 break; 4447 default: 4448 break; 4449 }; 4450 break; 4451 /* readv */ 4452 case 120: 4453 switch (ndx) { 4454 case 0: 4455 p = "int"; 4456 break; 4457 case 1: 4458 p = "userland struct iovec *"; 4459 break; 4460 case 2: 4461 p = "u_int"; 4462 break; 4463 default: 4464 break; 4465 }; 4466 break; 4467 /* writev */ 4468 case 121: 4469 switch (ndx) { 4470 case 0: 4471 p = "int"; 4472 break; 4473 case 1: 4474 p = "userland struct iovec *"; 4475 break; 4476 case 2: 4477 p = "u_int"; 4478 break; 4479 default: 4480 break; 4481 }; 4482 break; 4483 /* settimeofday */ 4484 case 122: 4485 switch (ndx) { 4486 case 0: 4487 p = "userland const struct timeval *"; 4488 break; 4489 case 1: 4490 p = "userland const struct timezone *"; 4491 break; 4492 default: 4493 break; 4494 }; 4495 break; 4496 /* fchown */ 4497 case 123: 4498 switch (ndx) { 4499 case 0: 4500 p = "int"; 4501 break; 4502 case 1: 4503 p = "int"; 4504 break; 4505 case 2: 4506 p = "int"; 4507 break; 4508 default: 4509 break; 4510 }; 4511 break; 4512 /* fchmod */ 4513 case 124: 4514 switch (ndx) { 4515 case 0: 4516 p = "int"; 4517 break; 4518 case 1: 4519 p = "mode_t"; 4520 break; 4521 default: 4522 break; 4523 }; 4524 break; 4525 /* setreuid */ 4526 case 126: 4527 switch (ndx) { 4528 case 0: 4529 p = "int"; 4530 break; 4531 case 1: 4532 p = "int"; 4533 break; 4534 default: 4535 break; 4536 }; 4537 break; 4538 /* setregid */ 4539 case 127: 4540 switch (ndx) { 4541 case 0: 4542 p = "int"; 4543 break; 4544 case 1: 4545 p = "int"; 4546 break; 4547 default: 4548 break; 4549 }; 4550 break; 4551 /* rename */ 4552 case 128: 4553 switch (ndx) { 4554 case 0: 4555 p = "userland const char *"; 4556 break; 4557 case 1: 4558 p = "userland const char *"; 4559 break; 4560 default: 4561 break; 4562 }; 4563 break; 4564 /* flock */ 4565 case 131: 4566 switch (ndx) { 4567 case 0: 4568 p = "int"; 4569 break; 4570 case 1: 4571 p = "int"; 4572 break; 4573 default: 4574 break; 4575 }; 4576 break; 4577 /* mkfifo */ 4578 case 132: 4579 switch (ndx) { 4580 case 0: 4581 p = "userland const char *"; 4582 break; 4583 case 1: 4584 p = "mode_t"; 4585 break; 4586 default: 4587 break; 4588 }; 4589 break; 4590 /* sendto */ 4591 case 133: 4592 switch (ndx) { 4593 case 0: 4594 p = "int"; 4595 break; 4596 case 1: 4597 p = "userland const void *"; 4598 break; 4599 case 2: 4600 p = "size_t"; 4601 break; 4602 case 3: 4603 p = "int"; 4604 break; 4605 case 4: 4606 p = "userland const struct sockaddr *"; 4607 break; 4608 case 5: 4609 p = "__socklen_t"; 4610 break; 4611 default: 4612 break; 4613 }; 4614 break; 4615 /* shutdown */ 4616 case 134: 4617 switch (ndx) { 4618 case 0: 4619 p = "int"; 4620 break; 4621 case 1: 4622 p = "int"; 4623 break; 4624 default: 4625 break; 4626 }; 4627 break; 4628 /* socketpair */ 4629 case 135: 4630 switch (ndx) { 4631 case 0: 4632 p = "int"; 4633 break; 4634 case 1: 4635 p = "int"; 4636 break; 4637 case 2: 4638 p = "int"; 4639 break; 4640 case 3: 4641 p = "userland int *"; 4642 break; 4643 default: 4644 break; 4645 }; 4646 break; 4647 /* mkdir */ 4648 case 136: 4649 switch (ndx) { 4650 case 0: 4651 p = "userland const char *"; 4652 break; 4653 case 1: 4654 p = "mode_t"; 4655 break; 4656 default: 4657 break; 4658 }; 4659 break; 4660 /* rmdir */ 4661 case 137: 4662 switch (ndx) { 4663 case 0: 4664 p = "userland const char *"; 4665 break; 4666 default: 4667 break; 4668 }; 4669 break; 4670 /* utimes */ 4671 case 138: 4672 switch (ndx) { 4673 case 0: 4674 p = "userland const char *"; 4675 break; 4676 case 1: 4677 p = "userland const struct timeval *"; 4678 break; 4679 default: 4680 break; 4681 }; 4682 break; 4683 /* adjtime */ 4684 case 140: 4685 switch (ndx) { 4686 case 0: 4687 p = "userland const struct timeval *"; 4688 break; 4689 case 1: 4690 p = "userland struct timeval *"; 4691 break; 4692 default: 4693 break; 4694 }; 4695 break; 4696 /* setsid */ 4697 case 147: 4698 break; 4699 /* quotactl */ 4700 case 148: 4701 switch (ndx) { 4702 case 0: 4703 p = "userland const char *"; 4704 break; 4705 case 1: 4706 p = "int"; 4707 break; 4708 case 2: 4709 p = "int"; 4710 break; 4711 case 3: 4712 p = "userland void *"; 4713 break; 4714 default: 4715 break; 4716 }; 4717 break; 4718 /* nlm_syscall */ 4719 case 154: 4720 switch (ndx) { 4721 case 0: 4722 p = "int"; 4723 break; 4724 case 1: 4725 p = "int"; 4726 break; 4727 case 2: 4728 p = "int"; 4729 break; 4730 case 3: 4731 p = "userland char **"; 4732 break; 4733 default: 4734 break; 4735 }; 4736 break; 4737 /* nfssvc */ 4738 case 155: 4739 switch (ndx) { 4740 case 0: 4741 p = "int"; 4742 break; 4743 case 1: 4744 p = "userland void *"; 4745 break; 4746 default: 4747 break; 4748 }; 4749 break; 4750 /* lgetfh */ 4751 case 160: 4752 switch (ndx) { 4753 case 0: 4754 p = "userland const char *"; 4755 break; 4756 case 1: 4757 p = "userland struct fhandle *"; 4758 break; 4759 default: 4760 break; 4761 }; 4762 break; 4763 /* getfh */ 4764 case 161: 4765 switch (ndx) { 4766 case 0: 4767 p = "userland const char *"; 4768 break; 4769 case 1: 4770 p = "userland struct fhandle *"; 4771 break; 4772 default: 4773 break; 4774 }; 4775 break; 4776 /* sysarch */ 4777 case 165: 4778 switch (ndx) { 4779 case 0: 4780 p = "int"; 4781 break; 4782 case 1: 4783 p = "userland char *"; 4784 break; 4785 default: 4786 break; 4787 }; 4788 break; 4789 /* rtprio */ 4790 case 166: 4791 switch (ndx) { 4792 case 0: 4793 p = "int"; 4794 break; 4795 case 1: 4796 p = "pid_t"; 4797 break; 4798 case 2: 4799 p = "userland struct rtprio *"; 4800 break; 4801 default: 4802 break; 4803 }; 4804 break; 4805 /* semsys */ 4806 case 169: 4807 switch (ndx) { 4808 case 0: 4809 p = "int"; 4810 break; 4811 case 1: 4812 p = "int"; 4813 break; 4814 case 2: 4815 p = "int"; 4816 break; 4817 case 3: 4818 p = "int"; 4819 break; 4820 case 4: 4821 p = "int"; 4822 break; 4823 default: 4824 break; 4825 }; 4826 break; 4827 /* msgsys */ 4828 case 170: 4829 switch (ndx) { 4830 case 0: 4831 p = "int"; 4832 break; 4833 case 1: 4834 p = "int"; 4835 break; 4836 case 2: 4837 p = "int"; 4838 break; 4839 case 3: 4840 p = "int"; 4841 break; 4842 case 4: 4843 p = "int"; 4844 break; 4845 case 5: 4846 p = "int"; 4847 break; 4848 default: 4849 break; 4850 }; 4851 break; 4852 /* shmsys */ 4853 case 171: 4854 switch (ndx) { 4855 case 0: 4856 p = "int"; 4857 break; 4858 case 1: 4859 p = "int"; 4860 break; 4861 case 2: 4862 p = "int"; 4863 break; 4864 case 3: 4865 p = "int"; 4866 break; 4867 default: 4868 break; 4869 }; 4870 break; 4871 /* setfib */ 4872 case 175: 4873 switch (ndx) { 4874 case 0: 4875 p = "int"; 4876 break; 4877 default: 4878 break; 4879 }; 4880 break; 4881 /* ntp_adjtime */ 4882 case 176: 4883 switch (ndx) { 4884 case 0: 4885 p = "userland struct timex *"; 4886 break; 4887 default: 4888 break; 4889 }; 4890 break; 4891 /* setgid */ 4892 case 181: 4893 switch (ndx) { 4894 case 0: 4895 p = "gid_t"; 4896 break; 4897 default: 4898 break; 4899 }; 4900 break; 4901 /* setegid */ 4902 case 182: 4903 switch (ndx) { 4904 case 0: 4905 p = "gid_t"; 4906 break; 4907 default: 4908 break; 4909 }; 4910 break; 4911 /* seteuid */ 4912 case 183: 4913 switch (ndx) { 4914 case 0: 4915 p = "uid_t"; 4916 break; 4917 default: 4918 break; 4919 }; 4920 break; 4921 /* pathconf */ 4922 case 191: 4923 switch (ndx) { 4924 case 0: 4925 p = "userland const char *"; 4926 break; 4927 case 1: 4928 p = "int"; 4929 break; 4930 default: 4931 break; 4932 }; 4933 break; 4934 /* fpathconf */ 4935 case 192: 4936 switch (ndx) { 4937 case 0: 4938 p = "int"; 4939 break; 4940 case 1: 4941 p = "int"; 4942 break; 4943 default: 4944 break; 4945 }; 4946 break; 4947 /* getrlimit */ 4948 case 194: 4949 switch (ndx) { 4950 case 0: 4951 p = "u_int"; 4952 break; 4953 case 1: 4954 p = "userland struct rlimit *"; 4955 break; 4956 default: 4957 break; 4958 }; 4959 break; 4960 /* setrlimit */ 4961 case 195: 4962 switch (ndx) { 4963 case 0: 4964 p = "u_int"; 4965 break; 4966 case 1: 4967 p = "userland struct rlimit *"; 4968 break; 4969 default: 4970 break; 4971 }; 4972 break; 4973 /* __syscall */ 4974 case 198: 4975 break; 4976 /* __sysctl */ 4977 case 202: 4978 switch (ndx) { 4979 case 0: 4980 p = "userland int *"; 4981 break; 4982 case 1: 4983 p = "u_int"; 4984 break; 4985 case 2: 4986 p = "userland void *"; 4987 break; 4988 case 3: 4989 p = "userland size_t *"; 4990 break; 4991 case 4: 4992 p = "userland const void *"; 4993 break; 4994 case 5: 4995 p = "size_t"; 4996 break; 4997 default: 4998 break; 4999 }; 5000 break; 5001 /* mlock */ 5002 case 203: 5003 switch (ndx) { 5004 case 0: 5005 p = "userland const void *"; 5006 break; 5007 case 1: 5008 p = "size_t"; 5009 break; 5010 default: 5011 break; 5012 }; 5013 break; 5014 /* munlock */ 5015 case 204: 5016 switch (ndx) { 5017 case 0: 5018 p = "userland const void *"; 5019 break; 5020 case 1: 5021 p = "size_t"; 5022 break; 5023 default: 5024 break; 5025 }; 5026 break; 5027 /* undelete */ 5028 case 205: 5029 switch (ndx) { 5030 case 0: 5031 p = "userland const char *"; 5032 break; 5033 default: 5034 break; 5035 }; 5036 break; 5037 /* futimes */ 5038 case 206: 5039 switch (ndx) { 5040 case 0: 5041 p = "int"; 5042 break; 5043 case 1: 5044 p = "userland const struct timeval *"; 5045 break; 5046 default: 5047 break; 5048 }; 5049 break; 5050 /* getpgid */ 5051 case 207: 5052 switch (ndx) { 5053 case 0: 5054 p = "pid_t"; 5055 break; 5056 default: 5057 break; 5058 }; 5059 break; 5060 /* poll */ 5061 case 209: 5062 switch (ndx) { 5063 case 0: 5064 p = "userland struct pollfd *"; 5065 break; 5066 case 1: 5067 p = "u_int"; 5068 break; 5069 case 2: 5070 p = "int"; 5071 break; 5072 default: 5073 break; 5074 }; 5075 break; 5076 /* lkmnosys */ 5077 case 210: 5078 break; 5079 /* lkmnosys */ 5080 case 211: 5081 break; 5082 /* lkmnosys */ 5083 case 212: 5084 break; 5085 /* lkmnosys */ 5086 case 213: 5087 break; 5088 /* lkmnosys */ 5089 case 214: 5090 break; 5091 /* lkmnosys */ 5092 case 215: 5093 break; 5094 /* lkmnosys */ 5095 case 216: 5096 break; 5097 /* lkmnosys */ 5098 case 217: 5099 break; 5100 /* lkmnosys */ 5101 case 218: 5102 break; 5103 /* lkmnosys */ 5104 case 219: 5105 break; 5106 /* semget */ 5107 case 221: 5108 switch (ndx) { 5109 case 0: 5110 p = "key_t"; 5111 break; 5112 case 1: 5113 p = "int"; 5114 break; 5115 case 2: 5116 p = "int"; 5117 break; 5118 default: 5119 break; 5120 }; 5121 break; 5122 /* semop */ 5123 case 222: 5124 switch (ndx) { 5125 case 0: 5126 p = "int"; 5127 break; 5128 case 1: 5129 p = "userland struct sembuf *"; 5130 break; 5131 case 2: 5132 p = "size_t"; 5133 break; 5134 default: 5135 break; 5136 }; 5137 break; 5138 /* msgget */ 5139 case 225: 5140 switch (ndx) { 5141 case 0: 5142 p = "key_t"; 5143 break; 5144 case 1: 5145 p = "int"; 5146 break; 5147 default: 5148 break; 5149 }; 5150 break; 5151 /* msgsnd */ 5152 case 226: 5153 switch (ndx) { 5154 case 0: 5155 p = "int"; 5156 break; 5157 case 1: 5158 p = "userland const void *"; 5159 break; 5160 case 2: 5161 p = "size_t"; 5162 break; 5163 case 3: 5164 p = "int"; 5165 break; 5166 default: 5167 break; 5168 }; 5169 break; 5170 /* msgrcv */ 5171 case 227: 5172 switch (ndx) { 5173 case 0: 5174 p = "int"; 5175 break; 5176 case 1: 5177 p = "userland void *"; 5178 break; 5179 case 2: 5180 p = "size_t"; 5181 break; 5182 case 3: 5183 p = "long"; 5184 break; 5185 case 4: 5186 p = "int"; 5187 break; 5188 default: 5189 break; 5190 }; 5191 break; 5192 /* shmat */ 5193 case 228: 5194 switch (ndx) { 5195 case 0: 5196 p = "int"; 5197 break; 5198 case 1: 5199 p = "userland const void *"; 5200 break; 5201 case 2: 5202 p = "int"; 5203 break; 5204 default: 5205 break; 5206 }; 5207 break; 5208 /* shmdt */ 5209 case 230: 5210 switch (ndx) { 5211 case 0: 5212 p = "userland const void *"; 5213 break; 5214 default: 5215 break; 5216 }; 5217 break; 5218 /* shmget */ 5219 case 231: 5220 switch (ndx) { 5221 case 0: 5222 p = "key_t"; 5223 break; 5224 case 1: 5225 p = "size_t"; 5226 break; 5227 case 2: 5228 p = "int"; 5229 break; 5230 default: 5231 break; 5232 }; 5233 break; 5234 /* clock_gettime */ 5235 case 232: 5236 switch (ndx) { 5237 case 0: 5238 p = "clockid_t"; 5239 break; 5240 case 1: 5241 p = "userland struct timespec *"; 5242 break; 5243 default: 5244 break; 5245 }; 5246 break; 5247 /* clock_settime */ 5248 case 233: 5249 switch (ndx) { 5250 case 0: 5251 p = "clockid_t"; 5252 break; 5253 case 1: 5254 p = "userland const struct timespec *"; 5255 break; 5256 default: 5257 break; 5258 }; 5259 break; 5260 /* clock_getres */ 5261 case 234: 5262 switch (ndx) { 5263 case 0: 5264 p = "clockid_t"; 5265 break; 5266 case 1: 5267 p = "userland struct timespec *"; 5268 break; 5269 default: 5270 break; 5271 }; 5272 break; 5273 /* ktimer_create */ 5274 case 235: 5275 switch (ndx) { 5276 case 0: 5277 p = "clockid_t"; 5278 break; 5279 case 1: 5280 p = "userland struct sigevent *"; 5281 break; 5282 case 2: 5283 p = "userland int *"; 5284 break; 5285 default: 5286 break; 5287 }; 5288 break; 5289 /* ktimer_delete */ 5290 case 236: 5291 switch (ndx) { 5292 case 0: 5293 p = "int"; 5294 break; 5295 default: 5296 break; 5297 }; 5298 break; 5299 /* ktimer_settime */ 5300 case 237: 5301 switch (ndx) { 5302 case 0: 5303 p = "int"; 5304 break; 5305 case 1: 5306 p = "int"; 5307 break; 5308 case 2: 5309 p = "userland const struct itimerspec *"; 5310 break; 5311 case 3: 5312 p = "userland struct itimerspec *"; 5313 break; 5314 default: 5315 break; 5316 }; 5317 break; 5318 /* ktimer_gettime */ 5319 case 238: 5320 switch (ndx) { 5321 case 0: 5322 p = "int"; 5323 break; 5324 case 1: 5325 p = "userland struct itimerspec *"; 5326 break; 5327 default: 5328 break; 5329 }; 5330 break; 5331 /* ktimer_getoverrun */ 5332 case 239: 5333 switch (ndx) { 5334 case 0: 5335 p = "int"; 5336 break; 5337 default: 5338 break; 5339 }; 5340 break; 5341 /* nanosleep */ 5342 case 240: 5343 switch (ndx) { 5344 case 0: 5345 p = "userland const struct timespec *"; 5346 break; 5347 case 1: 5348 p = "userland struct timespec *"; 5349 break; 5350 default: 5351 break; 5352 }; 5353 break; 5354 /* ffclock_getcounter */ 5355 case 241: 5356 switch (ndx) { 5357 case 0: 5358 p = "userland ffcounter *"; 5359 break; 5360 default: 5361 break; 5362 }; 5363 break; 5364 /* ffclock_setestimate */ 5365 case 242: 5366 switch (ndx) { 5367 case 0: 5368 p = "userland struct ffclock_estimate *"; 5369 break; 5370 default: 5371 break; 5372 }; 5373 break; 5374 /* ffclock_getestimate */ 5375 case 243: 5376 switch (ndx) { 5377 case 0: 5378 p = "userland struct ffclock_estimate *"; 5379 break; 5380 default: 5381 break; 5382 }; 5383 break; 5384 /* clock_nanosleep */ 5385 case 244: 5386 switch (ndx) { 5387 case 0: 5388 p = "clockid_t"; 5389 break; 5390 case 1: 5391 p = "int"; 5392 break; 5393 case 2: 5394 p = "userland const struct timespec *"; 5395 break; 5396 case 3: 5397 p = "userland struct timespec *"; 5398 break; 5399 default: 5400 break; 5401 }; 5402 break; 5403 /* clock_getcpuclockid2 */ 5404 case 247: 5405 switch (ndx) { 5406 case 0: 5407 p = "id_t"; 5408 break; 5409 case 1: 5410 p = "int"; 5411 break; 5412 case 2: 5413 p = "userland clockid_t *"; 5414 break; 5415 default: 5416 break; 5417 }; 5418 break; 5419 /* ntp_gettime */ 5420 case 248: 5421 switch (ndx) { 5422 case 0: 5423 p = "userland struct ntptimeval *"; 5424 break; 5425 default: 5426 break; 5427 }; 5428 break; 5429 /* minherit */ 5430 case 250: 5431 switch (ndx) { 5432 case 0: 5433 p = "userland void *"; 5434 break; 5435 case 1: 5436 p = "size_t"; 5437 break; 5438 case 2: 5439 p = "int"; 5440 break; 5441 default: 5442 break; 5443 }; 5444 break; 5445 /* rfork */ 5446 case 251: 5447 switch (ndx) { 5448 case 0: 5449 p = "int"; 5450 break; 5451 default: 5452 break; 5453 }; 5454 break; 5455 /* issetugid */ 5456 case 253: 5457 break; 5458 /* lchown */ 5459 case 254: 5460 switch (ndx) { 5461 case 0: 5462 p = "userland const char *"; 5463 break; 5464 case 1: 5465 p = "int"; 5466 break; 5467 case 2: 5468 p = "int"; 5469 break; 5470 default: 5471 break; 5472 }; 5473 break; 5474 /* aio_read */ 5475 case 255: 5476 switch (ndx) { 5477 case 0: 5478 p = "userland struct aiocb *"; 5479 break; 5480 default: 5481 break; 5482 }; 5483 break; 5484 /* aio_write */ 5485 case 256: 5486 switch (ndx) { 5487 case 0: 5488 p = "userland struct aiocb *"; 5489 break; 5490 default: 5491 break; 5492 }; 5493 break; 5494 /* lio_listio */ 5495 case 257: 5496 switch (ndx) { 5497 case 0: 5498 p = "int"; 5499 break; 5500 case 1: 5501 p = "userland struct aiocb * const *"; 5502 break; 5503 case 2: 5504 p = "int"; 5505 break; 5506 case 3: 5507 p = "userland struct sigevent *"; 5508 break; 5509 default: 5510 break; 5511 }; 5512 break; 5513 /* lchmod */ 5514 case 274: 5515 switch (ndx) { 5516 case 0: 5517 p = "userland const char *"; 5518 break; 5519 case 1: 5520 p = "mode_t"; 5521 break; 5522 default: 5523 break; 5524 }; 5525 break; 5526 /* lutimes */ 5527 case 276: 5528 switch (ndx) { 5529 case 0: 5530 p = "userland const char *"; 5531 break; 5532 case 1: 5533 p = "userland const struct timeval *"; 5534 break; 5535 default: 5536 break; 5537 }; 5538 break; 5539 /* preadv */ 5540 case 289: 5541 switch (ndx) { 5542 case 0: 5543 p = "int"; 5544 break; 5545 case 1: 5546 p = "userland struct iovec *"; 5547 break; 5548 case 2: 5549 p = "u_int"; 5550 break; 5551 case 3: 5552 p = "off_t"; 5553 break; 5554 default: 5555 break; 5556 }; 5557 break; 5558 /* pwritev */ 5559 case 290: 5560 switch (ndx) { 5561 case 0: 5562 p = "int"; 5563 break; 5564 case 1: 5565 p = "userland struct iovec *"; 5566 break; 5567 case 2: 5568 p = "u_int"; 5569 break; 5570 case 3: 5571 p = "off_t"; 5572 break; 5573 default: 5574 break; 5575 }; 5576 break; 5577 /* fhopen */ 5578 case 298: 5579 switch (ndx) { 5580 case 0: 5581 p = "userland const struct fhandle *"; 5582 break; 5583 case 1: 5584 p = "int"; 5585 break; 5586 default: 5587 break; 5588 }; 5589 break; 5590 /* modnext */ 5591 case 300: 5592 switch (ndx) { 5593 case 0: 5594 p = "int"; 5595 break; 5596 default: 5597 break; 5598 }; 5599 break; 5600 /* modstat */ 5601 case 301: 5602 switch (ndx) { 5603 case 0: 5604 p = "int"; 5605 break; 5606 case 1: 5607 p = "userland struct module_stat *"; 5608 break; 5609 default: 5610 break; 5611 }; 5612 break; 5613 /* modfnext */ 5614 case 302: 5615 switch (ndx) { 5616 case 0: 5617 p = "int"; 5618 break; 5619 default: 5620 break; 5621 }; 5622 break; 5623 /* modfind */ 5624 case 303: 5625 switch (ndx) { 5626 case 0: 5627 p = "userland const char *"; 5628 break; 5629 default: 5630 break; 5631 }; 5632 break; 5633 /* kldload */ 5634 case 304: 5635 switch (ndx) { 5636 case 0: 5637 p = "userland const char *"; 5638 break; 5639 default: 5640 break; 5641 }; 5642 break; 5643 /* kldunload */ 5644 case 305: 5645 switch (ndx) { 5646 case 0: 5647 p = "int"; 5648 break; 5649 default: 5650 break; 5651 }; 5652 break; 5653 /* kldfind */ 5654 case 306: 5655 switch (ndx) { 5656 case 0: 5657 p = "userland const char *"; 5658 break; 5659 default: 5660 break; 5661 }; 5662 break; 5663 /* kldnext */ 5664 case 307: 5665 switch (ndx) { 5666 case 0: 5667 p = "int"; 5668 break; 5669 default: 5670 break; 5671 }; 5672 break; 5673 /* kldstat */ 5674 case 308: 5675 switch (ndx) { 5676 case 0: 5677 p = "int"; 5678 break; 5679 case 1: 5680 p = "userland struct kld_file_stat *"; 5681 break; 5682 default: 5683 break; 5684 }; 5685 break; 5686 /* kldfirstmod */ 5687 case 309: 5688 switch (ndx) { 5689 case 0: 5690 p = "int"; 5691 break; 5692 default: 5693 break; 5694 }; 5695 break; 5696 /* getsid */ 5697 case 310: 5698 switch (ndx) { 5699 case 0: 5700 p = "pid_t"; 5701 break; 5702 default: 5703 break; 5704 }; 5705 break; 5706 /* setresuid */ 5707 case 311: 5708 switch (ndx) { 5709 case 0: 5710 p = "uid_t"; 5711 break; 5712 case 1: 5713 p = "uid_t"; 5714 break; 5715 case 2: 5716 p = "uid_t"; 5717 break; 5718 default: 5719 break; 5720 }; 5721 break; 5722 /* setresgid */ 5723 case 312: 5724 switch (ndx) { 5725 case 0: 5726 p = "gid_t"; 5727 break; 5728 case 1: 5729 p = "gid_t"; 5730 break; 5731 case 2: 5732 p = "gid_t"; 5733 break; 5734 default: 5735 break; 5736 }; 5737 break; 5738 /* aio_return */ 5739 case 314: 5740 switch (ndx) { 5741 case 0: 5742 p = "userland struct aiocb *"; 5743 break; 5744 default: 5745 break; 5746 }; 5747 break; 5748 /* aio_suspend */ 5749 case 315: 5750 switch (ndx) { 5751 case 0: 5752 p = "userland struct aiocb * const *"; 5753 break; 5754 case 1: 5755 p = "int"; 5756 break; 5757 case 2: 5758 p = "userland const struct timespec *"; 5759 break; 5760 default: 5761 break; 5762 }; 5763 break; 5764 /* aio_cancel */ 5765 case 316: 5766 switch (ndx) { 5767 case 0: 5768 p = "int"; 5769 break; 5770 case 1: 5771 p = "userland struct aiocb *"; 5772 break; 5773 default: 5774 break; 5775 }; 5776 break; 5777 /* aio_error */ 5778 case 317: 5779 switch (ndx) { 5780 case 0: 5781 p = "userland struct aiocb *"; 5782 break; 5783 default: 5784 break; 5785 }; 5786 break; 5787 /* yield */ 5788 case 321: 5789 break; 5790 /* mlockall */ 5791 case 324: 5792 switch (ndx) { 5793 case 0: 5794 p = "int"; 5795 break; 5796 default: 5797 break; 5798 }; 5799 break; 5800 /* munlockall */ 5801 case 325: 5802 break; 5803 /* __getcwd */ 5804 case 326: 5805 switch (ndx) { 5806 case 0: 5807 p = "userland char *"; 5808 break; 5809 case 1: 5810 p = "size_t"; 5811 break; 5812 default: 5813 break; 5814 }; 5815 break; 5816 /* sched_setparam */ 5817 case 327: 5818 switch (ndx) { 5819 case 0: 5820 p = "pid_t"; 5821 break; 5822 case 1: 5823 p = "userland const struct sched_param *"; 5824 break; 5825 default: 5826 break; 5827 }; 5828 break; 5829 /* sched_getparam */ 5830 case 328: 5831 switch (ndx) { 5832 case 0: 5833 p = "pid_t"; 5834 break; 5835 case 1: 5836 p = "userland struct sched_param *"; 5837 break; 5838 default: 5839 break; 5840 }; 5841 break; 5842 /* sched_setscheduler */ 5843 case 329: 5844 switch (ndx) { 5845 case 0: 5846 p = "pid_t"; 5847 break; 5848 case 1: 5849 p = "int"; 5850 break; 5851 case 2: 5852 p = "userland const struct sched_param *"; 5853 break; 5854 default: 5855 break; 5856 }; 5857 break; 5858 /* sched_getscheduler */ 5859 case 330: 5860 switch (ndx) { 5861 case 0: 5862 p = "pid_t"; 5863 break; 5864 default: 5865 break; 5866 }; 5867 break; 5868 /* sched_yield */ 5869 case 331: 5870 break; 5871 /* sched_get_priority_max */ 5872 case 332: 5873 switch (ndx) { 5874 case 0: 5875 p = "int"; 5876 break; 5877 default: 5878 break; 5879 }; 5880 break; 5881 /* sched_get_priority_min */ 5882 case 333: 5883 switch (ndx) { 5884 case 0: 5885 p = "int"; 5886 break; 5887 default: 5888 break; 5889 }; 5890 break; 5891 /* sched_rr_get_interval */ 5892 case 334: 5893 switch (ndx) { 5894 case 0: 5895 p = "pid_t"; 5896 break; 5897 case 1: 5898 p = "userland struct timespec *"; 5899 break; 5900 default: 5901 break; 5902 }; 5903 break; 5904 /* utrace */ 5905 case 335: 5906 switch (ndx) { 5907 case 0: 5908 p = "userland const void *"; 5909 break; 5910 case 1: 5911 p = "size_t"; 5912 break; 5913 default: 5914 break; 5915 }; 5916 break; 5917 /* kldsym */ 5918 case 337: 5919 switch (ndx) { 5920 case 0: 5921 p = "int"; 5922 break; 5923 case 1: 5924 p = "int"; 5925 break; 5926 case 2: 5927 p = "userland void *"; 5928 break; 5929 default: 5930 break; 5931 }; 5932 break; 5933 /* jail */ 5934 case 338: 5935 switch (ndx) { 5936 case 0: 5937 p = "userland struct jail *"; 5938 break; 5939 default: 5940 break; 5941 }; 5942 break; 5943 /* nnpfs_syscall */ 5944 case 339: 5945 switch (ndx) { 5946 case 0: 5947 p = "int"; 5948 break; 5949 case 1: 5950 p = "userland char *"; 5951 break; 5952 case 2: 5953 p = "int"; 5954 break; 5955 case 3: 5956 p = "userland void *"; 5957 break; 5958 case 4: 5959 p = "int"; 5960 break; 5961 default: 5962 break; 5963 }; 5964 break; 5965 /* sigprocmask */ 5966 case 340: 5967 switch (ndx) { 5968 case 0: 5969 p = "int"; 5970 break; 5971 case 1: 5972 p = "userland const sigset_t *"; 5973 break; 5974 case 2: 5975 p = "userland sigset_t *"; 5976 break; 5977 default: 5978 break; 5979 }; 5980 break; 5981 /* sigsuspend */ 5982 case 341: 5983 switch (ndx) { 5984 case 0: 5985 p = "userland const sigset_t *"; 5986 break; 5987 default: 5988 break; 5989 }; 5990 break; 5991 /* sigpending */ 5992 case 343: 5993 switch (ndx) { 5994 case 0: 5995 p = "userland sigset_t *"; 5996 break; 5997 default: 5998 break; 5999 }; 6000 break; 6001 /* sigtimedwait */ 6002 case 345: 6003 switch (ndx) { 6004 case 0: 6005 p = "userland const sigset_t *"; 6006 break; 6007 case 1: 6008 p = "userland struct siginfo *"; 6009 break; 6010 case 2: 6011 p = "userland const struct timespec *"; 6012 break; 6013 default: 6014 break; 6015 }; 6016 break; 6017 /* sigwaitinfo */ 6018 case 346: 6019 switch (ndx) { 6020 case 0: 6021 p = "userland const sigset_t *"; 6022 break; 6023 case 1: 6024 p = "userland struct siginfo *"; 6025 break; 6026 default: 6027 break; 6028 }; 6029 break; 6030 /* __acl_get_file */ 6031 case 347: 6032 switch (ndx) { 6033 case 0: 6034 p = "userland const char *"; 6035 break; 6036 case 1: 6037 p = "acl_type_t"; 6038 break; 6039 case 2: 6040 p = "userland struct acl *"; 6041 break; 6042 default: 6043 break; 6044 }; 6045 break; 6046 /* __acl_set_file */ 6047 case 348: 6048 switch (ndx) { 6049 case 0: 6050 p = "userland const char *"; 6051 break; 6052 case 1: 6053 p = "acl_type_t"; 6054 break; 6055 case 2: 6056 p = "userland struct acl *"; 6057 break; 6058 default: 6059 break; 6060 }; 6061 break; 6062 /* __acl_get_fd */ 6063 case 349: 6064 switch (ndx) { 6065 case 0: 6066 p = "int"; 6067 break; 6068 case 1: 6069 p = "acl_type_t"; 6070 break; 6071 case 2: 6072 p = "userland struct acl *"; 6073 break; 6074 default: 6075 break; 6076 }; 6077 break; 6078 /* __acl_set_fd */ 6079 case 350: 6080 switch (ndx) { 6081 case 0: 6082 p = "int"; 6083 break; 6084 case 1: 6085 p = "acl_type_t"; 6086 break; 6087 case 2: 6088 p = "userland struct acl *"; 6089 break; 6090 default: 6091 break; 6092 }; 6093 break; 6094 /* __acl_delete_file */ 6095 case 351: 6096 switch (ndx) { 6097 case 0: 6098 p = "userland const char *"; 6099 break; 6100 case 1: 6101 p = "acl_type_t"; 6102 break; 6103 default: 6104 break; 6105 }; 6106 break; 6107 /* __acl_delete_fd */ 6108 case 352: 6109 switch (ndx) { 6110 case 0: 6111 p = "int"; 6112 break; 6113 case 1: 6114 p = "acl_type_t"; 6115 break; 6116 default: 6117 break; 6118 }; 6119 break; 6120 /* __acl_aclcheck_file */ 6121 case 353: 6122 switch (ndx) { 6123 case 0: 6124 p = "userland const char *"; 6125 break; 6126 case 1: 6127 p = "acl_type_t"; 6128 break; 6129 case 2: 6130 p = "userland struct acl *"; 6131 break; 6132 default: 6133 break; 6134 }; 6135 break; 6136 /* __acl_aclcheck_fd */ 6137 case 354: 6138 switch (ndx) { 6139 case 0: 6140 p = "int"; 6141 break; 6142 case 1: 6143 p = "acl_type_t"; 6144 break; 6145 case 2: 6146 p = "userland struct acl *"; 6147 break; 6148 default: 6149 break; 6150 }; 6151 break; 6152 /* extattrctl */ 6153 case 355: 6154 switch (ndx) { 6155 case 0: 6156 p = "userland const char *"; 6157 break; 6158 case 1: 6159 p = "int"; 6160 break; 6161 case 2: 6162 p = "userland const char *"; 6163 break; 6164 case 3: 6165 p = "int"; 6166 break; 6167 case 4: 6168 p = "userland const char *"; 6169 break; 6170 default: 6171 break; 6172 }; 6173 break; 6174 /* extattr_set_file */ 6175 case 356: 6176 switch (ndx) { 6177 case 0: 6178 p = "userland const char *"; 6179 break; 6180 case 1: 6181 p = "int"; 6182 break; 6183 case 2: 6184 p = "userland const char *"; 6185 break; 6186 case 3: 6187 p = "userland void *"; 6188 break; 6189 case 4: 6190 p = "size_t"; 6191 break; 6192 default: 6193 break; 6194 }; 6195 break; 6196 /* extattr_get_file */ 6197 case 357: 6198 switch (ndx) { 6199 case 0: 6200 p = "userland const char *"; 6201 break; 6202 case 1: 6203 p = "int"; 6204 break; 6205 case 2: 6206 p = "userland const char *"; 6207 break; 6208 case 3: 6209 p = "userland void *"; 6210 break; 6211 case 4: 6212 p = "size_t"; 6213 break; 6214 default: 6215 break; 6216 }; 6217 break; 6218 /* extattr_delete_file */ 6219 case 358: 6220 switch (ndx) { 6221 case 0: 6222 p = "userland const char *"; 6223 break; 6224 case 1: 6225 p = "int"; 6226 break; 6227 case 2: 6228 p = "userland const char *"; 6229 break; 6230 default: 6231 break; 6232 }; 6233 break; 6234 /* aio_waitcomplete */ 6235 case 359: 6236 switch (ndx) { 6237 case 0: 6238 p = "userland struct aiocb **"; 6239 break; 6240 case 1: 6241 p = "userland struct timespec *"; 6242 break; 6243 default: 6244 break; 6245 }; 6246 break; 6247 /* getresuid */ 6248 case 360: 6249 switch (ndx) { 6250 case 0: 6251 p = "userland uid_t *"; 6252 break; 6253 case 1: 6254 p = "userland uid_t *"; 6255 break; 6256 case 2: 6257 p = "userland uid_t *"; 6258 break; 6259 default: 6260 break; 6261 }; 6262 break; 6263 /* getresgid */ 6264 case 361: 6265 switch (ndx) { 6266 case 0: 6267 p = "userland gid_t *"; 6268 break; 6269 case 1: 6270 p = "userland gid_t *"; 6271 break; 6272 case 2: 6273 p = "userland gid_t *"; 6274 break; 6275 default: 6276 break; 6277 }; 6278 break; 6279 /* kqueue */ 6280 case 362: 6281 break; 6282 /* extattr_set_fd */ 6283 case 371: 6284 switch (ndx) { 6285 case 0: 6286 p = "int"; 6287 break; 6288 case 1: 6289 p = "int"; 6290 break; 6291 case 2: 6292 p = "userland const char *"; 6293 break; 6294 case 3: 6295 p = "userland void *"; 6296 break; 6297 case 4: 6298 p = "size_t"; 6299 break; 6300 default: 6301 break; 6302 }; 6303 break; 6304 /* extattr_get_fd */ 6305 case 372: 6306 switch (ndx) { 6307 case 0: 6308 p = "int"; 6309 break; 6310 case 1: 6311 p = "int"; 6312 break; 6313 case 2: 6314 p = "userland const char *"; 6315 break; 6316 case 3: 6317 p = "userland void *"; 6318 break; 6319 case 4: 6320 p = "size_t"; 6321 break; 6322 default: 6323 break; 6324 }; 6325 break; 6326 /* extattr_delete_fd */ 6327 case 373: 6328 switch (ndx) { 6329 case 0: 6330 p = "int"; 6331 break; 6332 case 1: 6333 p = "int"; 6334 break; 6335 case 2: 6336 p = "userland const char *"; 6337 break; 6338 default: 6339 break; 6340 }; 6341 break; 6342 /* __setugid */ 6343 case 374: 6344 switch (ndx) { 6345 case 0: 6346 p = "int"; 6347 break; 6348 default: 6349 break; 6350 }; 6351 break; 6352 /* eaccess */ 6353 case 376: 6354 switch (ndx) { 6355 case 0: 6356 p = "userland const char *"; 6357 break; 6358 case 1: 6359 p = "int"; 6360 break; 6361 default: 6362 break; 6363 }; 6364 break; 6365 /* afs3_syscall */ 6366 case 377: 6367 switch (ndx) { 6368 case 0: 6369 p = "long"; 6370 break; 6371 case 1: 6372 p = "long"; 6373 break; 6374 case 2: 6375 p = "long"; 6376 break; 6377 case 3: 6378 p = "long"; 6379 break; 6380 case 4: 6381 p = "long"; 6382 break; 6383 case 5: 6384 p = "long"; 6385 break; 6386 case 6: 6387 p = "long"; 6388 break; 6389 default: 6390 break; 6391 }; 6392 break; 6393 /* nmount */ 6394 case 378: 6395 switch (ndx) { 6396 case 0: 6397 p = "userland struct iovec *"; 6398 break; 6399 case 1: 6400 p = "unsigned int"; 6401 break; 6402 case 2: 6403 p = "int"; 6404 break; 6405 default: 6406 break; 6407 }; 6408 break; 6409 /* __mac_get_proc */ 6410 case 384: 6411 switch (ndx) { 6412 case 0: 6413 p = "userland struct mac *"; 6414 break; 6415 default: 6416 break; 6417 }; 6418 break; 6419 /* __mac_set_proc */ 6420 case 385: 6421 switch (ndx) { 6422 case 0: 6423 p = "userland struct mac *"; 6424 break; 6425 default: 6426 break; 6427 }; 6428 break; 6429 /* __mac_get_fd */ 6430 case 386: 6431 switch (ndx) { 6432 case 0: 6433 p = "int"; 6434 break; 6435 case 1: 6436 p = "userland struct mac *"; 6437 break; 6438 default: 6439 break; 6440 }; 6441 break; 6442 /* __mac_get_file */ 6443 case 387: 6444 switch (ndx) { 6445 case 0: 6446 p = "userland const char *"; 6447 break; 6448 case 1: 6449 p = "userland struct mac *"; 6450 break; 6451 default: 6452 break; 6453 }; 6454 break; 6455 /* __mac_set_fd */ 6456 case 388: 6457 switch (ndx) { 6458 case 0: 6459 p = "int"; 6460 break; 6461 case 1: 6462 p = "userland struct mac *"; 6463 break; 6464 default: 6465 break; 6466 }; 6467 break; 6468 /* __mac_set_file */ 6469 case 389: 6470 switch (ndx) { 6471 case 0: 6472 p = "userland const char *"; 6473 break; 6474 case 1: 6475 p = "userland struct mac *"; 6476 break; 6477 default: 6478 break; 6479 }; 6480 break; 6481 /* kenv */ 6482 case 390: 6483 switch (ndx) { 6484 case 0: 6485 p = "int"; 6486 break; 6487 case 1: 6488 p = "userland const char *"; 6489 break; 6490 case 2: 6491 p = "userland char *"; 6492 break; 6493 case 3: 6494 p = "int"; 6495 break; 6496 default: 6497 break; 6498 }; 6499 break; 6500 /* lchflags */ 6501 case 391: 6502 switch (ndx) { 6503 case 0: 6504 p = "userland const char *"; 6505 break; 6506 case 1: 6507 p = "u_long"; 6508 break; 6509 default: 6510 break; 6511 }; 6512 break; 6513 /* uuidgen */ 6514 case 392: 6515 switch (ndx) { 6516 case 0: 6517 p = "userland struct uuid *"; 6518 break; 6519 case 1: 6520 p = "int"; 6521 break; 6522 default: 6523 break; 6524 }; 6525 break; 6526 /* sendfile */ 6527 case 393: 6528 switch (ndx) { 6529 case 0: 6530 p = "int"; 6531 break; 6532 case 1: 6533 p = "int"; 6534 break; 6535 case 2: 6536 p = "off_t"; 6537 break; 6538 case 3: 6539 p = "size_t"; 6540 break; 6541 case 4: 6542 p = "userland struct sf_hdtr *"; 6543 break; 6544 case 5: 6545 p = "userland off_t *"; 6546 break; 6547 case 6: 6548 p = "int"; 6549 break; 6550 default: 6551 break; 6552 }; 6553 break; 6554 /* mac_syscall */ 6555 case 394: 6556 switch (ndx) { 6557 case 0: 6558 p = "userland const char *"; 6559 break; 6560 case 1: 6561 p = "int"; 6562 break; 6563 case 2: 6564 p = "userland void *"; 6565 break; 6566 default: 6567 break; 6568 }; 6569 break; 6570 /* ksem_close */ 6571 case 400: 6572 switch (ndx) { 6573 case 0: 6574 p = "semid_t"; 6575 break; 6576 default: 6577 break; 6578 }; 6579 break; 6580 /* ksem_post */ 6581 case 401: 6582 switch (ndx) { 6583 case 0: 6584 p = "semid_t"; 6585 break; 6586 default: 6587 break; 6588 }; 6589 break; 6590 /* ksem_wait */ 6591 case 402: 6592 switch (ndx) { 6593 case 0: 6594 p = "semid_t"; 6595 break; 6596 default: 6597 break; 6598 }; 6599 break; 6600 /* ksem_trywait */ 6601 case 403: 6602 switch (ndx) { 6603 case 0: 6604 p = "semid_t"; 6605 break; 6606 default: 6607 break; 6608 }; 6609 break; 6610 /* ksem_init */ 6611 case 404: 6612 switch (ndx) { 6613 case 0: 6614 p = "userland semid_t *"; 6615 break; 6616 case 1: 6617 p = "unsigned int"; 6618 break; 6619 default: 6620 break; 6621 }; 6622 break; 6623 /* ksem_open */ 6624 case 405: 6625 switch (ndx) { 6626 case 0: 6627 p = "userland semid_t *"; 6628 break; 6629 case 1: 6630 p = "userland const char *"; 6631 break; 6632 case 2: 6633 p = "int"; 6634 break; 6635 case 3: 6636 p = "mode_t"; 6637 break; 6638 case 4: 6639 p = "unsigned int"; 6640 break; 6641 default: 6642 break; 6643 }; 6644 break; 6645 /* ksem_unlink */ 6646 case 406: 6647 switch (ndx) { 6648 case 0: 6649 p = "userland const char *"; 6650 break; 6651 default: 6652 break; 6653 }; 6654 break; 6655 /* ksem_getvalue */ 6656 case 407: 6657 switch (ndx) { 6658 case 0: 6659 p = "semid_t"; 6660 break; 6661 case 1: 6662 p = "userland int *"; 6663 break; 6664 default: 6665 break; 6666 }; 6667 break; 6668 /* ksem_destroy */ 6669 case 408: 6670 switch (ndx) { 6671 case 0: 6672 p = "semid_t"; 6673 break; 6674 default: 6675 break; 6676 }; 6677 break; 6678 /* __mac_get_pid */ 6679 case 409: 6680 switch (ndx) { 6681 case 0: 6682 p = "pid_t"; 6683 break; 6684 case 1: 6685 p = "userland struct mac *"; 6686 break; 6687 default: 6688 break; 6689 }; 6690 break; 6691 /* __mac_get_link */ 6692 case 410: 6693 switch (ndx) { 6694 case 0: 6695 p = "userland const char *"; 6696 break; 6697 case 1: 6698 p = "userland struct mac *"; 6699 break; 6700 default: 6701 break; 6702 }; 6703 break; 6704 /* __mac_set_link */ 6705 case 411: 6706 switch (ndx) { 6707 case 0: 6708 p = "userland const char *"; 6709 break; 6710 case 1: 6711 p = "userland struct mac *"; 6712 break; 6713 default: 6714 break; 6715 }; 6716 break; 6717 /* extattr_set_link */ 6718 case 412: 6719 switch (ndx) { 6720 case 0: 6721 p = "userland const char *"; 6722 break; 6723 case 1: 6724 p = "int"; 6725 break; 6726 case 2: 6727 p = "userland const char *"; 6728 break; 6729 case 3: 6730 p = "userland void *"; 6731 break; 6732 case 4: 6733 p = "size_t"; 6734 break; 6735 default: 6736 break; 6737 }; 6738 break; 6739 /* extattr_get_link */ 6740 case 413: 6741 switch (ndx) { 6742 case 0: 6743 p = "userland const char *"; 6744 break; 6745 case 1: 6746 p = "int"; 6747 break; 6748 case 2: 6749 p = "userland const char *"; 6750 break; 6751 case 3: 6752 p = "userland void *"; 6753 break; 6754 case 4: 6755 p = "size_t"; 6756 break; 6757 default: 6758 break; 6759 }; 6760 break; 6761 /* extattr_delete_link */ 6762 case 414: 6763 switch (ndx) { 6764 case 0: 6765 p = "userland const char *"; 6766 break; 6767 case 1: 6768 p = "int"; 6769 break; 6770 case 2: 6771 p = "userland const char *"; 6772 break; 6773 default: 6774 break; 6775 }; 6776 break; 6777 /* __mac_execve */ 6778 case 415: 6779 switch (ndx) { 6780 case 0: 6781 p = "userland const char *"; 6782 break; 6783 case 1: 6784 p = "userland char **"; 6785 break; 6786 case 2: 6787 p = "userland char **"; 6788 break; 6789 case 3: 6790 p = "userland struct mac *"; 6791 break; 6792 default: 6793 break; 6794 }; 6795 break; 6796 /* sigaction */ 6797 case 416: 6798 switch (ndx) { 6799 case 0: 6800 p = "int"; 6801 break; 6802 case 1: 6803 p = "userland const struct sigaction *"; 6804 break; 6805 case 2: 6806 p = "userland struct sigaction *"; 6807 break; 6808 default: 6809 break; 6810 }; 6811 break; 6812 /* sigreturn */ 6813 case 417: 6814 switch (ndx) { 6815 case 0: 6816 p = "userland const struct __ucontext *"; 6817 break; 6818 default: 6819 break; 6820 }; 6821 break; 6822 /* getcontext */ 6823 case 421: 6824 switch (ndx) { 6825 case 0: 6826 p = "userland struct __ucontext *"; 6827 break; 6828 default: 6829 break; 6830 }; 6831 break; 6832 /* setcontext */ 6833 case 422: 6834 switch (ndx) { 6835 case 0: 6836 p = "userland const struct __ucontext *"; 6837 break; 6838 default: 6839 break; 6840 }; 6841 break; 6842 /* swapcontext */ 6843 case 423: 6844 switch (ndx) { 6845 case 0: 6846 p = "userland struct __ucontext *"; 6847 break; 6848 case 1: 6849 p = "userland const struct __ucontext *"; 6850 break; 6851 default: 6852 break; 6853 }; 6854 break; 6855 /* __acl_get_link */ 6856 case 425: 6857 switch (ndx) { 6858 case 0: 6859 p = "userland const char *"; 6860 break; 6861 case 1: 6862 p = "acl_type_t"; 6863 break; 6864 case 2: 6865 p = "userland struct acl *"; 6866 break; 6867 default: 6868 break; 6869 }; 6870 break; 6871 /* __acl_set_link */ 6872 case 426: 6873 switch (ndx) { 6874 case 0: 6875 p = "userland const char *"; 6876 break; 6877 case 1: 6878 p = "acl_type_t"; 6879 break; 6880 case 2: 6881 p = "userland struct acl *"; 6882 break; 6883 default: 6884 break; 6885 }; 6886 break; 6887 /* __acl_delete_link */ 6888 case 427: 6889 switch (ndx) { 6890 case 0: 6891 p = "userland const char *"; 6892 break; 6893 case 1: 6894 p = "acl_type_t"; 6895 break; 6896 default: 6897 break; 6898 }; 6899 break; 6900 /* __acl_aclcheck_link */ 6901 case 428: 6902 switch (ndx) { 6903 case 0: 6904 p = "userland const char *"; 6905 break; 6906 case 1: 6907 p = "acl_type_t"; 6908 break; 6909 case 2: 6910 p = "userland struct acl *"; 6911 break; 6912 default: 6913 break; 6914 }; 6915 break; 6916 /* sigwait */ 6917 case 429: 6918 switch (ndx) { 6919 case 0: 6920 p = "userland const sigset_t *"; 6921 break; 6922 case 1: 6923 p = "userland int *"; 6924 break; 6925 default: 6926 break; 6927 }; 6928 break; 6929 /* thr_create */ 6930 case 430: 6931 switch (ndx) { 6932 case 0: 6933 p = "userland ucontext_t *"; 6934 break; 6935 case 1: 6936 p = "userland long *"; 6937 break; 6938 case 2: 6939 p = "int"; 6940 break; 6941 default: 6942 break; 6943 }; 6944 break; 6945 /* thr_exit */ 6946 case 431: 6947 switch (ndx) { 6948 case 0: 6949 p = "userland long *"; 6950 break; 6951 default: 6952 break; 6953 }; 6954 break; 6955 /* thr_self */ 6956 case 432: 6957 switch (ndx) { 6958 case 0: 6959 p = "userland long *"; 6960 break; 6961 default: 6962 break; 6963 }; 6964 break; 6965 /* thr_kill */ 6966 case 433: 6967 switch (ndx) { 6968 case 0: 6969 p = "long"; 6970 break; 6971 case 1: 6972 p = "int"; 6973 break; 6974 default: 6975 break; 6976 }; 6977 break; 6978 /* jail_attach */ 6979 case 436: 6980 switch (ndx) { 6981 case 0: 6982 p = "int"; 6983 break; 6984 default: 6985 break; 6986 }; 6987 break; 6988 /* extattr_list_fd */ 6989 case 437: 6990 switch (ndx) { 6991 case 0: 6992 p = "int"; 6993 break; 6994 case 1: 6995 p = "int"; 6996 break; 6997 case 2: 6998 p = "userland void *"; 6999 break; 7000 case 3: 7001 p = "size_t"; 7002 break; 7003 default: 7004 break; 7005 }; 7006 break; 7007 /* extattr_list_file */ 7008 case 438: 7009 switch (ndx) { 7010 case 0: 7011 p = "userland const char *"; 7012 break; 7013 case 1: 7014 p = "int"; 7015 break; 7016 case 2: 7017 p = "userland void *"; 7018 break; 7019 case 3: 7020 p = "size_t"; 7021 break; 7022 default: 7023 break; 7024 }; 7025 break; 7026 /* extattr_list_link */ 7027 case 439: 7028 switch (ndx) { 7029 case 0: 7030 p = "userland const char *"; 7031 break; 7032 case 1: 7033 p = "int"; 7034 break; 7035 case 2: 7036 p = "userland void *"; 7037 break; 7038 case 3: 7039 p = "size_t"; 7040 break; 7041 default: 7042 break; 7043 }; 7044 break; 7045 /* ksem_timedwait */ 7046 case 441: 7047 switch (ndx) { 7048 case 0: 7049 p = "semid_t"; 7050 break; 7051 case 1: 7052 p = "userland const struct timespec *"; 7053 break; 7054 default: 7055 break; 7056 }; 7057 break; 7058 /* thr_suspend */ 7059 case 442: 7060 switch (ndx) { 7061 case 0: 7062 p = "userland const struct timespec *"; 7063 break; 7064 default: 7065 break; 7066 }; 7067 break; 7068 /* thr_wake */ 7069 case 443: 7070 switch (ndx) { 7071 case 0: 7072 p = "long"; 7073 break; 7074 default: 7075 break; 7076 }; 7077 break; 7078 /* kldunloadf */ 7079 case 444: 7080 switch (ndx) { 7081 case 0: 7082 p = "int"; 7083 break; 7084 case 1: 7085 p = "int"; 7086 break; 7087 default: 7088 break; 7089 }; 7090 break; 7091 /* audit */ 7092 case 445: 7093 switch (ndx) { 7094 case 0: 7095 p = "userland const void *"; 7096 break; 7097 case 1: 7098 p = "u_int"; 7099 break; 7100 default: 7101 break; 7102 }; 7103 break; 7104 /* auditon */ 7105 case 446: 7106 switch (ndx) { 7107 case 0: 7108 p = "int"; 7109 break; 7110 case 1: 7111 p = "userland void *"; 7112 break; 7113 case 2: 7114 p = "u_int"; 7115 break; 7116 default: 7117 break; 7118 }; 7119 break; 7120 /* getauid */ 7121 case 447: 7122 switch (ndx) { 7123 case 0: 7124 p = "userland uid_t *"; 7125 break; 7126 default: 7127 break; 7128 }; 7129 break; 7130 /* setauid */ 7131 case 448: 7132 switch (ndx) { 7133 case 0: 7134 p = "userland uid_t *"; 7135 break; 7136 default: 7137 break; 7138 }; 7139 break; 7140 /* getaudit */ 7141 case 449: 7142 switch (ndx) { 7143 case 0: 7144 p = "userland struct auditinfo *"; 7145 break; 7146 default: 7147 break; 7148 }; 7149 break; 7150 /* setaudit */ 7151 case 450: 7152 switch (ndx) { 7153 case 0: 7154 p = "userland struct auditinfo *"; 7155 break; 7156 default: 7157 break; 7158 }; 7159 break; 7160 /* getaudit_addr */ 7161 case 451: 7162 switch (ndx) { 7163 case 0: 7164 p = "userland struct auditinfo_addr *"; 7165 break; 7166 case 1: 7167 p = "u_int"; 7168 break; 7169 default: 7170 break; 7171 }; 7172 break; 7173 /* setaudit_addr */ 7174 case 452: 7175 switch (ndx) { 7176 case 0: 7177 p = "userland struct auditinfo_addr *"; 7178 break; 7179 case 1: 7180 p = "u_int"; 7181 break; 7182 default: 7183 break; 7184 }; 7185 break; 7186 /* auditctl */ 7187 case 453: 7188 switch (ndx) { 7189 case 0: 7190 p = "userland const char *"; 7191 break; 7192 default: 7193 break; 7194 }; 7195 break; 7196 /* _umtx_op */ 7197 case 454: 7198 switch (ndx) { 7199 case 0: 7200 p = "userland void *"; 7201 break; 7202 case 1: 7203 p = "int"; 7204 break; 7205 case 2: 7206 p = "u_long"; 7207 break; 7208 case 3: 7209 p = "userland void *"; 7210 break; 7211 case 4: 7212 p = "userland void *"; 7213 break; 7214 default: 7215 break; 7216 }; 7217 break; 7218 /* thr_new */ 7219 case 455: 7220 switch (ndx) { 7221 case 0: 7222 p = "userland struct thr_param *"; 7223 break; 7224 case 1: 7225 p = "int"; 7226 break; 7227 default: 7228 break; 7229 }; 7230 break; 7231 /* sigqueue */ 7232 case 456: 7233 switch (ndx) { 7234 case 0: 7235 p = "pid_t"; 7236 break; 7237 case 1: 7238 p = "int"; 7239 break; 7240 case 2: 7241 p = "userland void *"; 7242 break; 7243 default: 7244 break; 7245 }; 7246 break; 7247 /* kmq_open */ 7248 case 457: 7249 switch (ndx) { 7250 case 0: 7251 p = "userland const char *"; 7252 break; 7253 case 1: 7254 p = "int"; 7255 break; 7256 case 2: 7257 p = "mode_t"; 7258 break; 7259 case 3: 7260 p = "userland const struct mq_attr *"; 7261 break; 7262 default: 7263 break; 7264 }; 7265 break; 7266 /* kmq_setattr */ 7267 case 458: 7268 switch (ndx) { 7269 case 0: 7270 p = "int"; 7271 break; 7272 case 1: 7273 p = "userland const struct mq_attr *"; 7274 break; 7275 case 2: 7276 p = "userland struct mq_attr *"; 7277 break; 7278 default: 7279 break; 7280 }; 7281 break; 7282 /* kmq_timedreceive */ 7283 case 459: 7284 switch (ndx) { 7285 case 0: 7286 p = "int"; 7287 break; 7288 case 1: 7289 p = "userland char *"; 7290 break; 7291 case 2: 7292 p = "size_t"; 7293 break; 7294 case 3: 7295 p = "userland unsigned *"; 7296 break; 7297 case 4: 7298 p = "userland const struct timespec *"; 7299 break; 7300 default: 7301 break; 7302 }; 7303 break; 7304 /* kmq_timedsend */ 7305 case 460: 7306 switch (ndx) { 7307 case 0: 7308 p = "int"; 7309 break; 7310 case 1: 7311 p = "userland const char *"; 7312 break; 7313 case 2: 7314 p = "size_t"; 7315 break; 7316 case 3: 7317 p = "unsigned"; 7318 break; 7319 case 4: 7320 p = "userland const struct timespec *"; 7321 break; 7322 default: 7323 break; 7324 }; 7325 break; 7326 /* kmq_notify */ 7327 case 461: 7328 switch (ndx) { 7329 case 0: 7330 p = "int"; 7331 break; 7332 case 1: 7333 p = "userland const struct sigevent *"; 7334 break; 7335 default: 7336 break; 7337 }; 7338 break; 7339 /* kmq_unlink */ 7340 case 462: 7341 switch (ndx) { 7342 case 0: 7343 p = "userland const char *"; 7344 break; 7345 default: 7346 break; 7347 }; 7348 break; 7349 /* abort2 */ 7350 case 463: 7351 switch (ndx) { 7352 case 0: 7353 p = "userland const char *"; 7354 break; 7355 case 1: 7356 p = "int"; 7357 break; 7358 case 2: 7359 p = "userland void **"; 7360 break; 7361 default: 7362 break; 7363 }; 7364 break; 7365 /* thr_set_name */ 7366 case 464: 7367 switch (ndx) { 7368 case 0: 7369 p = "long"; 7370 break; 7371 case 1: 7372 p = "userland const char *"; 7373 break; 7374 default: 7375 break; 7376 }; 7377 break; 7378 /* aio_fsync */ 7379 case 465: 7380 switch (ndx) { 7381 case 0: 7382 p = "int"; 7383 break; 7384 case 1: 7385 p = "userland struct aiocb *"; 7386 break; 7387 default: 7388 break; 7389 }; 7390 break; 7391 /* rtprio_thread */ 7392 case 466: 7393 switch (ndx) { 7394 case 0: 7395 p = "int"; 7396 break; 7397 case 1: 7398 p = "lwpid_t"; 7399 break; 7400 case 2: 7401 p = "userland struct rtprio *"; 7402 break; 7403 default: 7404 break; 7405 }; 7406 break; 7407 /* sctp_peeloff */ 7408 case 471: 7409 switch (ndx) { 7410 case 0: 7411 p = "int"; 7412 break; 7413 case 1: 7414 p = "uint32_t"; 7415 break; 7416 default: 7417 break; 7418 }; 7419 break; 7420 /* sctp_generic_sendmsg */ 7421 case 472: 7422 switch (ndx) { 7423 case 0: 7424 p = "int"; 7425 break; 7426 case 1: 7427 p = "userland void *"; 7428 break; 7429 case 2: 7430 p = "int"; 7431 break; 7432 case 3: 7433 p = "userland const struct sockaddr *"; 7434 break; 7435 case 4: 7436 p = "__socklen_t"; 7437 break; 7438 case 5: 7439 p = "userland struct sctp_sndrcvinfo *"; 7440 break; 7441 case 6: 7442 p = "int"; 7443 break; 7444 default: 7445 break; 7446 }; 7447 break; 7448 /* sctp_generic_sendmsg_iov */ 7449 case 473: 7450 switch (ndx) { 7451 case 0: 7452 p = "int"; 7453 break; 7454 case 1: 7455 p = "userland struct iovec *"; 7456 break; 7457 case 2: 7458 p = "int"; 7459 break; 7460 case 3: 7461 p = "userland const struct sockaddr *"; 7462 break; 7463 case 4: 7464 p = "__socklen_t"; 7465 break; 7466 case 5: 7467 p = "userland struct sctp_sndrcvinfo *"; 7468 break; 7469 case 6: 7470 p = "int"; 7471 break; 7472 default: 7473 break; 7474 }; 7475 break; 7476 /* sctp_generic_recvmsg */ 7477 case 474: 7478 switch (ndx) { 7479 case 0: 7480 p = "int"; 7481 break; 7482 case 1: 7483 p = "userland struct iovec *"; 7484 break; 7485 case 2: 7486 p = "int"; 7487 break; 7488 case 3: 7489 p = "userland struct sockaddr *"; 7490 break; 7491 case 4: 7492 p = "userland __socklen_t *"; 7493 break; 7494 case 5: 7495 p = "userland struct sctp_sndrcvinfo *"; 7496 break; 7497 case 6: 7498 p = "userland int *"; 7499 break; 7500 default: 7501 break; 7502 }; 7503 break; 7504 /* pread */ 7505 case 475: 7506 switch (ndx) { 7507 case 0: 7508 p = "int"; 7509 break; 7510 case 1: 7511 p = "userland void *"; 7512 break; 7513 case 2: 7514 p = "size_t"; 7515 break; 7516 case 3: 7517 p = "off_t"; 7518 break; 7519 default: 7520 break; 7521 }; 7522 break; 7523 /* pwrite */ 7524 case 476: 7525 switch (ndx) { 7526 case 0: 7527 p = "int"; 7528 break; 7529 case 1: 7530 p = "userland const void *"; 7531 break; 7532 case 2: 7533 p = "size_t"; 7534 break; 7535 case 3: 7536 p = "off_t"; 7537 break; 7538 default: 7539 break; 7540 }; 7541 break; 7542 /* mmap */ 7543 case 477: 7544 switch (ndx) { 7545 case 0: 7546 p = "userland void *"; 7547 break; 7548 case 1: 7549 p = "size_t"; 7550 break; 7551 case 2: 7552 p = "int"; 7553 break; 7554 case 3: 7555 p = "int"; 7556 break; 7557 case 4: 7558 p = "int"; 7559 break; 7560 case 5: 7561 p = "off_t"; 7562 break; 7563 default: 7564 break; 7565 }; 7566 break; 7567 /* lseek */ 7568 case 478: 7569 switch (ndx) { 7570 case 0: 7571 p = "int"; 7572 break; 7573 case 1: 7574 p = "off_t"; 7575 break; 7576 case 2: 7577 p = "int"; 7578 break; 7579 default: 7580 break; 7581 }; 7582 break; 7583 /* truncate */ 7584 case 479: 7585 switch (ndx) { 7586 case 0: 7587 p = "userland const char *"; 7588 break; 7589 case 1: 7590 p = "off_t"; 7591 break; 7592 default: 7593 break; 7594 }; 7595 break; 7596 /* ftruncate */ 7597 case 480: 7598 switch (ndx) { 7599 case 0: 7600 p = "int"; 7601 break; 7602 case 1: 7603 p = "off_t"; 7604 break; 7605 default: 7606 break; 7607 }; 7608 break; 7609 /* thr_kill2 */ 7610 case 481: 7611 switch (ndx) { 7612 case 0: 7613 p = "pid_t"; 7614 break; 7615 case 1: 7616 p = "long"; 7617 break; 7618 case 2: 7619 p = "int"; 7620 break; 7621 default: 7622 break; 7623 }; 7624 break; 7625 /* shm_unlink */ 7626 case 483: 7627 switch (ndx) { 7628 case 0: 7629 p = "userland const char *"; 7630 break; 7631 default: 7632 break; 7633 }; 7634 break; 7635 /* cpuset */ 7636 case 484: 7637 switch (ndx) { 7638 case 0: 7639 p = "userland cpusetid_t *"; 7640 break; 7641 default: 7642 break; 7643 }; 7644 break; 7645 /* cpuset_setid */ 7646 case 485: 7647 switch (ndx) { 7648 case 0: 7649 p = "cpuwhich_t"; 7650 break; 7651 case 1: 7652 p = "id_t"; 7653 break; 7654 case 2: 7655 p = "cpusetid_t"; 7656 break; 7657 default: 7658 break; 7659 }; 7660 break; 7661 /* cpuset_getid */ 7662 case 486: 7663 switch (ndx) { 7664 case 0: 7665 p = "cpulevel_t"; 7666 break; 7667 case 1: 7668 p = "cpuwhich_t"; 7669 break; 7670 case 2: 7671 p = "id_t"; 7672 break; 7673 case 3: 7674 p = "userland cpusetid_t *"; 7675 break; 7676 default: 7677 break; 7678 }; 7679 break; 7680 /* cpuset_getaffinity */ 7681 case 487: 7682 switch (ndx) { 7683 case 0: 7684 p = "cpulevel_t"; 7685 break; 7686 case 1: 7687 p = "cpuwhich_t"; 7688 break; 7689 case 2: 7690 p = "id_t"; 7691 break; 7692 case 3: 7693 p = "size_t"; 7694 break; 7695 case 4: 7696 p = "userland cpuset_t *"; 7697 break; 7698 default: 7699 break; 7700 }; 7701 break; 7702 /* cpuset_setaffinity */ 7703 case 488: 7704 switch (ndx) { 7705 case 0: 7706 p = "cpulevel_t"; 7707 break; 7708 case 1: 7709 p = "cpuwhich_t"; 7710 break; 7711 case 2: 7712 p = "id_t"; 7713 break; 7714 case 3: 7715 p = "size_t"; 7716 break; 7717 case 4: 7718 p = "userland const cpuset_t *"; 7719 break; 7720 default: 7721 break; 7722 }; 7723 break; 7724 /* faccessat */ 7725 case 489: 7726 switch (ndx) { 7727 case 0: 7728 p = "int"; 7729 break; 7730 case 1: 7731 p = "userland const char *"; 7732 break; 7733 case 2: 7734 p = "int"; 7735 break; 7736 case 3: 7737 p = "int"; 7738 break; 7739 default: 7740 break; 7741 }; 7742 break; 7743 /* fchmodat */ 7744 case 490: 7745 switch (ndx) { 7746 case 0: 7747 p = "int"; 7748 break; 7749 case 1: 7750 p = "userland const char *"; 7751 break; 7752 case 2: 7753 p = "mode_t"; 7754 break; 7755 case 3: 7756 p = "int"; 7757 break; 7758 default: 7759 break; 7760 }; 7761 break; 7762 /* fchownat */ 7763 case 491: 7764 switch (ndx) { 7765 case 0: 7766 p = "int"; 7767 break; 7768 case 1: 7769 p = "userland const char *"; 7770 break; 7771 case 2: 7772 p = "uid_t"; 7773 break; 7774 case 3: 7775 p = "gid_t"; 7776 break; 7777 case 4: 7778 p = "int"; 7779 break; 7780 default: 7781 break; 7782 }; 7783 break; 7784 /* fexecve */ 7785 case 492: 7786 switch (ndx) { 7787 case 0: 7788 p = "int"; 7789 break; 7790 case 1: 7791 p = "userland char **"; 7792 break; 7793 case 2: 7794 p = "userland char **"; 7795 break; 7796 default: 7797 break; 7798 }; 7799 break; 7800 /* futimesat */ 7801 case 494: 7802 switch (ndx) { 7803 case 0: 7804 p = "int"; 7805 break; 7806 case 1: 7807 p = "userland const char *"; 7808 break; 7809 case 2: 7810 p = "userland const struct timeval *"; 7811 break; 7812 default: 7813 break; 7814 }; 7815 break; 7816 /* linkat */ 7817 case 495: 7818 switch (ndx) { 7819 case 0: 7820 p = "int"; 7821 break; 7822 case 1: 7823 p = "userland const char *"; 7824 break; 7825 case 2: 7826 p = "int"; 7827 break; 7828 case 3: 7829 p = "userland const char *"; 7830 break; 7831 case 4: 7832 p = "int"; 7833 break; 7834 default: 7835 break; 7836 }; 7837 break; 7838 /* mkdirat */ 7839 case 496: 7840 switch (ndx) { 7841 case 0: 7842 p = "int"; 7843 break; 7844 case 1: 7845 p = "userland const char *"; 7846 break; 7847 case 2: 7848 p = "mode_t"; 7849 break; 7850 default: 7851 break; 7852 }; 7853 break; 7854 /* mkfifoat */ 7855 case 497: 7856 switch (ndx) { 7857 case 0: 7858 p = "int"; 7859 break; 7860 case 1: 7861 p = "userland const char *"; 7862 break; 7863 case 2: 7864 p = "mode_t"; 7865 break; 7866 default: 7867 break; 7868 }; 7869 break; 7870 /* openat */ 7871 case 499: 7872 switch (ndx) { 7873 case 0: 7874 p = "int"; 7875 break; 7876 case 1: 7877 p = "userland const char *"; 7878 break; 7879 case 2: 7880 p = "int"; 7881 break; 7882 case 3: 7883 p = "mode_t"; 7884 break; 7885 default: 7886 break; 7887 }; 7888 break; 7889 /* readlinkat */ 7890 case 500: 7891 switch (ndx) { 7892 case 0: 7893 p = "int"; 7894 break; 7895 case 1: 7896 p = "userland const char *"; 7897 break; 7898 case 2: 7899 p = "userland char *"; 7900 break; 7901 case 3: 7902 p = "size_t"; 7903 break; 7904 default: 7905 break; 7906 }; 7907 break; 7908 /* renameat */ 7909 case 501: 7910 switch (ndx) { 7911 case 0: 7912 p = "int"; 7913 break; 7914 case 1: 7915 p = "userland const char *"; 7916 break; 7917 case 2: 7918 p = "int"; 7919 break; 7920 case 3: 7921 p = "userland const char *"; 7922 break; 7923 default: 7924 break; 7925 }; 7926 break; 7927 /* symlinkat */ 7928 case 502: 7929 switch (ndx) { 7930 case 0: 7931 p = "userland const char *"; 7932 break; 7933 case 1: 7934 p = "int"; 7935 break; 7936 case 2: 7937 p = "userland const char *"; 7938 break; 7939 default: 7940 break; 7941 }; 7942 break; 7943 /* unlinkat */ 7944 case 503: 7945 switch (ndx) { 7946 case 0: 7947 p = "int"; 7948 break; 7949 case 1: 7950 p = "userland const char *"; 7951 break; 7952 case 2: 7953 p = "int"; 7954 break; 7955 default: 7956 break; 7957 }; 7958 break; 7959 /* posix_openpt */ 7960 case 504: 7961 switch (ndx) { 7962 case 0: 7963 p = "int"; 7964 break; 7965 default: 7966 break; 7967 }; 7968 break; 7969 /* gssd_syscall */ 7970 case 505: 7971 switch (ndx) { 7972 case 0: 7973 p = "userland const char *"; 7974 break; 7975 default: 7976 break; 7977 }; 7978 break; 7979 /* jail_get */ 7980 case 506: 7981 switch (ndx) { 7982 case 0: 7983 p = "userland struct iovec *"; 7984 break; 7985 case 1: 7986 p = "unsigned int"; 7987 break; 7988 case 2: 7989 p = "int"; 7990 break; 7991 default: 7992 break; 7993 }; 7994 break; 7995 /* jail_set */ 7996 case 507: 7997 switch (ndx) { 7998 case 0: 7999 p = "userland struct iovec *"; 8000 break; 8001 case 1: 8002 p = "unsigned int"; 8003 break; 8004 case 2: 8005 p = "int"; 8006 break; 8007 default: 8008 break; 8009 }; 8010 break; 8011 /* jail_remove */ 8012 case 508: 8013 switch (ndx) { 8014 case 0: 8015 p = "int"; 8016 break; 8017 default: 8018 break; 8019 }; 8020 break; 8021 /* __semctl */ 8022 case 510: 8023 switch (ndx) { 8024 case 0: 8025 p = "int"; 8026 break; 8027 case 1: 8028 p = "int"; 8029 break; 8030 case 2: 8031 p = "int"; 8032 break; 8033 case 3: 8034 p = "userland union semun *"; 8035 break; 8036 default: 8037 break; 8038 }; 8039 break; 8040 /* msgctl */ 8041 case 511: 8042 switch (ndx) { 8043 case 0: 8044 p = "int"; 8045 break; 8046 case 1: 8047 p = "int"; 8048 break; 8049 case 2: 8050 p = "userland struct msqid_ds *"; 8051 break; 8052 default: 8053 break; 8054 }; 8055 break; 8056 /* shmctl */ 8057 case 512: 8058 switch (ndx) { 8059 case 0: 8060 p = "int"; 8061 break; 8062 case 1: 8063 p = "int"; 8064 break; 8065 case 2: 8066 p = "userland struct shmid_ds *"; 8067 break; 8068 default: 8069 break; 8070 }; 8071 break; 8072 /* lpathconf */ 8073 case 513: 8074 switch (ndx) { 8075 case 0: 8076 p = "userland const char *"; 8077 break; 8078 case 1: 8079 p = "int"; 8080 break; 8081 default: 8082 break; 8083 }; 8084 break; 8085 /* __cap_rights_get */ 8086 case 515: 8087 switch (ndx) { 8088 case 0: 8089 p = "int"; 8090 break; 8091 case 1: 8092 p = "int"; 8093 break; 8094 case 2: 8095 p = "userland cap_rights_t *"; 8096 break; 8097 default: 8098 break; 8099 }; 8100 break; 8101 /* cap_enter */ 8102 case 516: 8103 break; 8104 /* cap_getmode */ 8105 case 517: 8106 switch (ndx) { 8107 case 0: 8108 p = "userland u_int *"; 8109 break; 8110 default: 8111 break; 8112 }; 8113 break; 8114 /* pdfork */ 8115 case 518: 8116 switch (ndx) { 8117 case 0: 8118 p = "userland int *"; 8119 break; 8120 case 1: 8121 p = "int"; 8122 break; 8123 default: 8124 break; 8125 }; 8126 break; 8127 /* pdkill */ 8128 case 519: 8129 switch (ndx) { 8130 case 0: 8131 p = "int"; 8132 break; 8133 case 1: 8134 p = "int"; 8135 break; 8136 default: 8137 break; 8138 }; 8139 break; 8140 /* pdgetpid */ 8141 case 520: 8142 switch (ndx) { 8143 case 0: 8144 p = "int"; 8145 break; 8146 case 1: 8147 p = "userland pid_t *"; 8148 break; 8149 default: 8150 break; 8151 }; 8152 break; 8153 /* pselect */ 8154 case 522: 8155 switch (ndx) { 8156 case 0: 8157 p = "int"; 8158 break; 8159 case 1: 8160 p = "userland fd_set *"; 8161 break; 8162 case 2: 8163 p = "userland fd_set *"; 8164 break; 8165 case 3: 8166 p = "userland fd_set *"; 8167 break; 8168 case 4: 8169 p = "userland const struct timespec *"; 8170 break; 8171 case 5: 8172 p = "userland const sigset_t *"; 8173 break; 8174 default: 8175 break; 8176 }; 8177 break; 8178 /* getloginclass */ 8179 case 523: 8180 switch (ndx) { 8181 case 0: 8182 p = "userland char *"; 8183 break; 8184 case 1: 8185 p = "size_t"; 8186 break; 8187 default: 8188 break; 8189 }; 8190 break; 8191 /* setloginclass */ 8192 case 524: 8193 switch (ndx) { 8194 case 0: 8195 p = "userland const char *"; 8196 break; 8197 default: 8198 break; 8199 }; 8200 break; 8201 /* rctl_get_racct */ 8202 case 525: 8203 switch (ndx) { 8204 case 0: 8205 p = "userland const void *"; 8206 break; 8207 case 1: 8208 p = "size_t"; 8209 break; 8210 case 2: 8211 p = "userland void *"; 8212 break; 8213 case 3: 8214 p = "size_t"; 8215 break; 8216 default: 8217 break; 8218 }; 8219 break; 8220 /* rctl_get_rules */ 8221 case 526: 8222 switch (ndx) { 8223 case 0: 8224 p = "userland const void *"; 8225 break; 8226 case 1: 8227 p = "size_t"; 8228 break; 8229 case 2: 8230 p = "userland void *"; 8231 break; 8232 case 3: 8233 p = "size_t"; 8234 break; 8235 default: 8236 break; 8237 }; 8238 break; 8239 /* rctl_get_limits */ 8240 case 527: 8241 switch (ndx) { 8242 case 0: 8243 p = "userland const void *"; 8244 break; 8245 case 1: 8246 p = "size_t"; 8247 break; 8248 case 2: 8249 p = "userland void *"; 8250 break; 8251 case 3: 8252 p = "size_t"; 8253 break; 8254 default: 8255 break; 8256 }; 8257 break; 8258 /* rctl_add_rule */ 8259 case 528: 8260 switch (ndx) { 8261 case 0: 8262 p = "userland const void *"; 8263 break; 8264 case 1: 8265 p = "size_t"; 8266 break; 8267 case 2: 8268 p = "userland void *"; 8269 break; 8270 case 3: 8271 p = "size_t"; 8272 break; 8273 default: 8274 break; 8275 }; 8276 break; 8277 /* rctl_remove_rule */ 8278 case 529: 8279 switch (ndx) { 8280 case 0: 8281 p = "userland const void *"; 8282 break; 8283 case 1: 8284 p = "size_t"; 8285 break; 8286 case 2: 8287 p = "userland void *"; 8288 break; 8289 case 3: 8290 p = "size_t"; 8291 break; 8292 default: 8293 break; 8294 }; 8295 break; 8296 /* posix_fallocate */ 8297 case 530: 8298 switch (ndx) { 8299 case 0: 8300 p = "int"; 8301 break; 8302 case 1: 8303 p = "off_t"; 8304 break; 8305 case 2: 8306 p = "off_t"; 8307 break; 8308 default: 8309 break; 8310 }; 8311 break; 8312 /* posix_fadvise */ 8313 case 531: 8314 switch (ndx) { 8315 case 0: 8316 p = "int"; 8317 break; 8318 case 1: 8319 p = "off_t"; 8320 break; 8321 case 2: 8322 p = "off_t"; 8323 break; 8324 case 3: 8325 p = "int"; 8326 break; 8327 default: 8328 break; 8329 }; 8330 break; 8331 /* wait6 */ 8332 case 532: 8333 switch (ndx) { 8334 case 0: 8335 p = "idtype_t"; 8336 break; 8337 case 1: 8338 p = "id_t"; 8339 break; 8340 case 2: 8341 p = "userland int *"; 8342 break; 8343 case 3: 8344 p = "int"; 8345 break; 8346 case 4: 8347 p = "userland struct __wrusage *"; 8348 break; 8349 case 5: 8350 p = "userland struct siginfo *"; 8351 break; 8352 default: 8353 break; 8354 }; 8355 break; 8356 /* cap_rights_limit */ 8357 case 533: 8358 switch (ndx) { 8359 case 0: 8360 p = "int"; 8361 break; 8362 case 1: 8363 p = "userland cap_rights_t *"; 8364 break; 8365 default: 8366 break; 8367 }; 8368 break; 8369 /* cap_ioctls_limit */ 8370 case 534: 8371 switch (ndx) { 8372 case 0: 8373 p = "int"; 8374 break; 8375 case 1: 8376 p = "userland const u_long *"; 8377 break; 8378 case 2: 8379 p = "size_t"; 8380 break; 8381 default: 8382 break; 8383 }; 8384 break; 8385 /* cap_ioctls_get */ 8386 case 535: 8387 switch (ndx) { 8388 case 0: 8389 p = "int"; 8390 break; 8391 case 1: 8392 p = "userland u_long *"; 8393 break; 8394 case 2: 8395 p = "size_t"; 8396 break; 8397 default: 8398 break; 8399 }; 8400 break; 8401 /* cap_fcntls_limit */ 8402 case 536: 8403 switch (ndx) { 8404 case 0: 8405 p = "int"; 8406 break; 8407 case 1: 8408 p = "uint32_t"; 8409 break; 8410 default: 8411 break; 8412 }; 8413 break; 8414 /* cap_fcntls_get */ 8415 case 537: 8416 switch (ndx) { 8417 case 0: 8418 p = "int"; 8419 break; 8420 case 1: 8421 p = "userland uint32_t *"; 8422 break; 8423 default: 8424 break; 8425 }; 8426 break; 8427 /* bindat */ 8428 case 538: 8429 switch (ndx) { 8430 case 0: 8431 p = "int"; 8432 break; 8433 case 1: 8434 p = "int"; 8435 break; 8436 case 2: 8437 p = "userland const struct sockaddr *"; 8438 break; 8439 case 3: 8440 p = "__socklen_t"; 8441 break; 8442 default: 8443 break; 8444 }; 8445 break; 8446 /* connectat */ 8447 case 539: 8448 switch (ndx) { 8449 case 0: 8450 p = "int"; 8451 break; 8452 case 1: 8453 p = "int"; 8454 break; 8455 case 2: 8456 p = "userland const struct sockaddr *"; 8457 break; 8458 case 3: 8459 p = "__socklen_t"; 8460 break; 8461 default: 8462 break; 8463 }; 8464 break; 8465 /* chflagsat */ 8466 case 540: 8467 switch (ndx) { 8468 case 0: 8469 p = "int"; 8470 break; 8471 case 1: 8472 p = "userland const char *"; 8473 break; 8474 case 2: 8475 p = "u_long"; 8476 break; 8477 case 3: 8478 p = "int"; 8479 break; 8480 default: 8481 break; 8482 }; 8483 break; 8484 /* accept4 */ 8485 case 541: 8486 switch (ndx) { 8487 case 0: 8488 p = "int"; 8489 break; 8490 case 1: 8491 p = "userland struct sockaddr *"; 8492 break; 8493 case 2: 8494 p = "userland __socklen_t *"; 8495 break; 8496 case 3: 8497 p = "int"; 8498 break; 8499 default: 8500 break; 8501 }; 8502 break; 8503 /* pipe2 */ 8504 case 542: 8505 switch (ndx) { 8506 case 0: 8507 p = "userland int *"; 8508 break; 8509 case 1: 8510 p = "int"; 8511 break; 8512 default: 8513 break; 8514 }; 8515 break; 8516 /* aio_mlock */ 8517 case 543: 8518 switch (ndx) { 8519 case 0: 8520 p = "userland struct aiocb *"; 8521 break; 8522 default: 8523 break; 8524 }; 8525 break; 8526 /* procctl */ 8527 case 544: 8528 switch (ndx) { 8529 case 0: 8530 p = "idtype_t"; 8531 break; 8532 case 1: 8533 p = "id_t"; 8534 break; 8535 case 2: 8536 p = "int"; 8537 break; 8538 case 3: 8539 p = "userland void *"; 8540 break; 8541 default: 8542 break; 8543 }; 8544 break; 8545 /* ppoll */ 8546 case 545: 8547 switch (ndx) { 8548 case 0: 8549 p = "userland struct pollfd *"; 8550 break; 8551 case 1: 8552 p = "u_int"; 8553 break; 8554 case 2: 8555 p = "userland const struct timespec *"; 8556 break; 8557 case 3: 8558 p = "userland const sigset_t *"; 8559 break; 8560 default: 8561 break; 8562 }; 8563 break; 8564 /* futimens */ 8565 case 546: 8566 switch (ndx) { 8567 case 0: 8568 p = "int"; 8569 break; 8570 case 1: 8571 p = "userland const struct timespec *"; 8572 break; 8573 default: 8574 break; 8575 }; 8576 break; 8577 /* utimensat */ 8578 case 547: 8579 switch (ndx) { 8580 case 0: 8581 p = "int"; 8582 break; 8583 case 1: 8584 p = "userland const char *"; 8585 break; 8586 case 2: 8587 p = "userland const struct timespec *"; 8588 break; 8589 case 3: 8590 p = "int"; 8591 break; 8592 default: 8593 break; 8594 }; 8595 break; 8596 /* fdatasync */ 8597 case 550: 8598 switch (ndx) { 8599 case 0: 8600 p = "int"; 8601 break; 8602 default: 8603 break; 8604 }; 8605 break; 8606 /* fstat */ 8607 case 551: 8608 switch (ndx) { 8609 case 0: 8610 p = "int"; 8611 break; 8612 case 1: 8613 p = "userland struct stat *"; 8614 break; 8615 default: 8616 break; 8617 }; 8618 break; 8619 /* fstatat */ 8620 case 552: 8621 switch (ndx) { 8622 case 0: 8623 p = "int"; 8624 break; 8625 case 1: 8626 p = "userland const char *"; 8627 break; 8628 case 2: 8629 p = "userland struct stat *"; 8630 break; 8631 case 3: 8632 p = "int"; 8633 break; 8634 default: 8635 break; 8636 }; 8637 break; 8638 /* fhstat */ 8639 case 553: 8640 switch (ndx) { 8641 case 0: 8642 p = "userland const struct fhandle *"; 8643 break; 8644 case 1: 8645 p = "userland struct stat *"; 8646 break; 8647 default: 8648 break; 8649 }; 8650 break; 8651 /* getdirentries */ 8652 case 554: 8653 switch (ndx) { 8654 case 0: 8655 p = "int"; 8656 break; 8657 case 1: 8658 p = "userland char *"; 8659 break; 8660 case 2: 8661 p = "size_t"; 8662 break; 8663 case 3: 8664 p = "userland off_t *"; 8665 break; 8666 default: 8667 break; 8668 }; 8669 break; 8670 /* statfs */ 8671 case 555: 8672 switch (ndx) { 8673 case 0: 8674 p = "userland const char *"; 8675 break; 8676 case 1: 8677 p = "userland struct statfs *"; 8678 break; 8679 default: 8680 break; 8681 }; 8682 break; 8683 /* fstatfs */ 8684 case 556: 8685 switch (ndx) { 8686 case 0: 8687 p = "int"; 8688 break; 8689 case 1: 8690 p = "userland struct statfs *"; 8691 break; 8692 default: 8693 break; 8694 }; 8695 break; 8696 /* getfsstat */ 8697 case 557: 8698 switch (ndx) { 8699 case 0: 8700 p = "userland struct statfs *"; 8701 break; 8702 case 1: 8703 p = "long"; 8704 break; 8705 case 2: 8706 p = "int"; 8707 break; 8708 default: 8709 break; 8710 }; 8711 break; 8712 /* fhstatfs */ 8713 case 558: 8714 switch (ndx) { 8715 case 0: 8716 p = "userland const struct fhandle *"; 8717 break; 8718 case 1: 8719 p = "userland struct statfs *"; 8720 break; 8721 default: 8722 break; 8723 }; 8724 break; 8725 /* mknodat */ 8726 case 559: 8727 switch (ndx) { 8728 case 0: 8729 p = "int"; 8730 break; 8731 case 1: 8732 p = "userland const char *"; 8733 break; 8734 case 2: 8735 p = "mode_t"; 8736 break; 8737 case 3: 8738 p = "dev_t"; 8739 break; 8740 default: 8741 break; 8742 }; 8743 break; 8744 /* kevent */ 8745 case 560: 8746 switch (ndx) { 8747 case 0: 8748 p = "int"; 8749 break; 8750 case 1: 8751 p = "userland const struct kevent *"; 8752 break; 8753 case 2: 8754 p = "int"; 8755 break; 8756 case 3: 8757 p = "userland struct kevent *"; 8758 break; 8759 case 4: 8760 p = "int"; 8761 break; 8762 case 5: 8763 p = "userland const struct timespec *"; 8764 break; 8765 default: 8766 break; 8767 }; 8768 break; 8769 /* cpuset_getdomain */ 8770 case 561: 8771 switch (ndx) { 8772 case 0: 8773 p = "cpulevel_t"; 8774 break; 8775 case 1: 8776 p = "cpuwhich_t"; 8777 break; 8778 case 2: 8779 p = "id_t"; 8780 break; 8781 case 3: 8782 p = "size_t"; 8783 break; 8784 case 4: 8785 p = "userland domainset_t *"; 8786 break; 8787 case 5: 8788 p = "userland int *"; 8789 break; 8790 default: 8791 break; 8792 }; 8793 break; 8794 /* cpuset_setdomain */ 8795 case 562: 8796 switch (ndx) { 8797 case 0: 8798 p = "cpulevel_t"; 8799 break; 8800 case 1: 8801 p = "cpuwhich_t"; 8802 break; 8803 case 2: 8804 p = "id_t"; 8805 break; 8806 case 3: 8807 p = "size_t"; 8808 break; 8809 case 4: 8810 p = "userland domainset_t *"; 8811 break; 8812 case 5: 8813 p = "int"; 8814 break; 8815 default: 8816 break; 8817 }; 8818 break; 8819 /* getrandom */ 8820 case 563: 8821 switch (ndx) { 8822 case 0: 8823 p = "userland void *"; 8824 break; 8825 case 1: 8826 p = "size_t"; 8827 break; 8828 case 2: 8829 p = "unsigned int"; 8830 break; 8831 default: 8832 break; 8833 }; 8834 break; 8835 /* getfhat */ 8836 case 564: 8837 switch (ndx) { 8838 case 0: 8839 p = "int"; 8840 break; 8841 case 1: 8842 p = "userland char *"; 8843 break; 8844 case 2: 8845 p = "userland struct fhandle *"; 8846 break; 8847 case 3: 8848 p = "int"; 8849 break; 8850 default: 8851 break; 8852 }; 8853 break; 8854 /* fhlink */ 8855 case 565: 8856 switch (ndx) { 8857 case 0: 8858 p = "userland struct fhandle *"; 8859 break; 8860 case 1: 8861 p = "userland const char *"; 8862 break; 8863 default: 8864 break; 8865 }; 8866 break; 8867 /* fhlinkat */ 8868 case 566: 8869 switch (ndx) { 8870 case 0: 8871 p = "userland struct fhandle *"; 8872 break; 8873 case 1: 8874 p = "int"; 8875 break; 8876 case 2: 8877 p = "userland const char *"; 8878 break; 8879 default: 8880 break; 8881 }; 8882 break; 8883 /* fhreadlink */ 8884 case 567: 8885 switch (ndx) { 8886 case 0: 8887 p = "userland struct fhandle *"; 8888 break; 8889 case 1: 8890 p = "userland char *"; 8891 break; 8892 case 2: 8893 p = "size_t"; 8894 break; 8895 default: 8896 break; 8897 }; 8898 break; 8899 /* funlinkat */ 8900 case 568: 8901 switch (ndx) { 8902 case 0: 8903 p = "int"; 8904 break; 8905 case 1: 8906 p = "userland const char *"; 8907 break; 8908 case 2: 8909 p = "int"; 8910 break; 8911 case 3: 8912 p = "int"; 8913 break; 8914 default: 8915 break; 8916 }; 8917 break; 8918 /* copy_file_range */ 8919 case 569: 8920 switch (ndx) { 8921 case 0: 8922 p = "int"; 8923 break; 8924 case 1: 8925 p = "userland off_t *"; 8926 break; 8927 case 2: 8928 p = "int"; 8929 break; 8930 case 3: 8931 p = "userland off_t *"; 8932 break; 8933 case 4: 8934 p = "size_t"; 8935 break; 8936 case 5: 8937 p = "unsigned int"; 8938 break; 8939 default: 8940 break; 8941 }; 8942 break; 8943 /* __sysctlbyname */ 8944 case 570: 8945 switch (ndx) { 8946 case 0: 8947 p = "userland const char *"; 8948 break; 8949 case 1: 8950 p = "size_t"; 8951 break; 8952 case 2: 8953 p = "userland void *"; 8954 break; 8955 case 3: 8956 p = "userland size_t *"; 8957 break; 8958 case 4: 8959 p = "userland void *"; 8960 break; 8961 case 5: 8962 p = "size_t"; 8963 break; 8964 default: 8965 break; 8966 }; 8967 break; 8968 /* shm_open2 */ 8969 case 571: 8970 switch (ndx) { 8971 case 0: 8972 p = "userland const char *"; 8973 break; 8974 case 1: 8975 p = "int"; 8976 break; 8977 case 2: 8978 p = "mode_t"; 8979 break; 8980 case 3: 8981 p = "int"; 8982 break; 8983 case 4: 8984 p = "userland const char *"; 8985 break; 8986 default: 8987 break; 8988 }; 8989 break; 8990 /* shm_rename */ 8991 case 572: 8992 switch (ndx) { 8993 case 0: 8994 p = "userland const char *"; 8995 break; 8996 case 1: 8997 p = "userland const char *"; 8998 break; 8999 case 2: 9000 p = "int"; 9001 break; 9002 default: 9003 break; 9004 }; 9005 break; 9006 /* sigfastblock */ 9007 case 573: 9008 switch (ndx) { 9009 case 0: 9010 p = "int"; 9011 break; 9012 case 1: 9013 p = "userland uint32_t *"; 9014 break; 9015 default: 9016 break; 9017 }; 9018 break; 9019 /* __realpathat */ 9020 case 574: 9021 switch (ndx) { 9022 case 0: 9023 p = "int"; 9024 break; 9025 case 1: 9026 p = "userland const char *"; 9027 break; 9028 case 2: 9029 p = "userland char *"; 9030 break; 9031 case 3: 9032 p = "size_t"; 9033 break; 9034 case 4: 9035 p = "int"; 9036 break; 9037 default: 9038 break; 9039 }; 9040 break; 9041 /* close_range */ 9042 case 575: 9043 switch (ndx) { 9044 case 0: 9045 p = "u_int"; 9046 break; 9047 case 1: 9048 p = "u_int"; 9049 break; 9050 case 2: 9051 p = "int"; 9052 break; 9053 default: 9054 break; 9055 }; 9056 break; 9057 /* rpctls_syscall */ 9058 case 576: 9059 switch (ndx) { 9060 case 0: 9061 p = "int"; 9062 break; 9063 case 1: 9064 p = "userland const char *"; 9065 break; 9066 default: 9067 break; 9068 }; 9069 break; 9070 /* __specialfd */ 9071 case 577: 9072 switch (ndx) { 9073 case 0: 9074 p = "int"; 9075 break; 9076 case 1: 9077 p = "userland const void *"; 9078 break; 9079 case 2: 9080 p = "size_t"; 9081 break; 9082 default: 9083 break; 9084 }; 9085 break; 9086 /* aio_writev */ 9087 case 578: 9088 switch (ndx) { 9089 case 0: 9090 p = "userland struct aiocb *"; 9091 break; 9092 default: 9093 break; 9094 }; 9095 break; 9096 /* aio_readv */ 9097 case 579: 9098 switch (ndx) { 9099 case 0: 9100 p = "userland struct aiocb *"; 9101 break; 9102 default: 9103 break; 9104 }; 9105 break; 9106 /* fspacectl */ 9107 case 580: 9108 switch (ndx) { 9109 case 0: 9110 p = "int"; 9111 break; 9112 case 1: 9113 p = "int"; 9114 break; 9115 case 2: 9116 p = "userland const struct spacectl_range *"; 9117 break; 9118 case 3: 9119 p = "int"; 9120 break; 9121 case 4: 9122 p = "userland struct spacectl_range *"; 9123 break; 9124 default: 9125 break; 9126 }; 9127 break; 9128 /* sched_getcpu */ 9129 case 581: 9130 break; 9131 /* swapoff */ 9132 case 582: 9133 switch (ndx) { 9134 case 0: 9135 p = "userland const char *"; 9136 break; 9137 case 1: 9138 p = "u_int"; 9139 break; 9140 default: 9141 break; 9142 }; 9143 break; 9144 /* kqueuex */ 9145 case 583: 9146 switch (ndx) { 9147 case 0: 9148 p = "u_int"; 9149 break; 9150 default: 9151 break; 9152 }; 9153 break; 9154 default: 9155 break; 9156 }; 9157 if (p != NULL) 9158 strlcpy(desc, p, descsz); 9159 } 9160 static void 9161 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 9162 { 9163 const char *p = NULL; 9164 switch (sysnum) { 9165 /* syscall */ 9166 case 0: 9167 /* exit */ 9168 case 1: 9169 if (ndx == 0 || ndx == 1) 9170 p = "void"; 9171 break; 9172 /* fork */ 9173 case 2: 9174 /* read */ 9175 case 3: 9176 if (ndx == 0 || ndx == 1) 9177 p = "ssize_t"; 9178 break; 9179 /* write */ 9180 case 4: 9181 if (ndx == 0 || ndx == 1) 9182 p = "ssize_t"; 9183 break; 9184 /* open */ 9185 case 5: 9186 if (ndx == 0 || ndx == 1) 9187 p = "int"; 9188 break; 9189 /* close */ 9190 case 6: 9191 if (ndx == 0 || ndx == 1) 9192 p = "int"; 9193 break; 9194 /* wait4 */ 9195 case 7: 9196 if (ndx == 0 || ndx == 1) 9197 p = "int"; 9198 break; 9199 /* link */ 9200 case 9: 9201 if (ndx == 0 || ndx == 1) 9202 p = "int"; 9203 break; 9204 /* unlink */ 9205 case 10: 9206 if (ndx == 0 || ndx == 1) 9207 p = "int"; 9208 break; 9209 /* chdir */ 9210 case 12: 9211 if (ndx == 0 || ndx == 1) 9212 p = "int"; 9213 break; 9214 /* fchdir */ 9215 case 13: 9216 if (ndx == 0 || ndx == 1) 9217 p = "int"; 9218 break; 9219 /* chmod */ 9220 case 15: 9221 if (ndx == 0 || ndx == 1) 9222 p = "int"; 9223 break; 9224 /* chown */ 9225 case 16: 9226 if (ndx == 0 || ndx == 1) 9227 p = "int"; 9228 break; 9229 /* break */ 9230 case 17: 9231 if (ndx == 0 || ndx == 1) 9232 p = "void *"; 9233 break; 9234 /* getpid */ 9235 case 20: 9236 /* mount */ 9237 case 21: 9238 if (ndx == 0 || ndx == 1) 9239 p = "int"; 9240 break; 9241 /* unmount */ 9242 case 22: 9243 if (ndx == 0 || ndx == 1) 9244 p = "int"; 9245 break; 9246 /* setuid */ 9247 case 23: 9248 if (ndx == 0 || ndx == 1) 9249 p = "int"; 9250 break; 9251 /* getuid */ 9252 case 24: 9253 /* geteuid */ 9254 case 25: 9255 /* ptrace */ 9256 case 26: 9257 if (ndx == 0 || ndx == 1) 9258 p = "int"; 9259 break; 9260 /* recvmsg */ 9261 case 27: 9262 if (ndx == 0 || ndx == 1) 9263 p = "ssize_t"; 9264 break; 9265 /* sendmsg */ 9266 case 28: 9267 if (ndx == 0 || ndx == 1) 9268 p = "ssize_t"; 9269 break; 9270 /* recvfrom */ 9271 case 29: 9272 if (ndx == 0 || ndx == 1) 9273 p = "ssize_t"; 9274 break; 9275 /* accept */ 9276 case 30: 9277 if (ndx == 0 || ndx == 1) 9278 p = "int"; 9279 break; 9280 /* getpeername */ 9281 case 31: 9282 if (ndx == 0 || ndx == 1) 9283 p = "int"; 9284 break; 9285 /* getsockname */ 9286 case 32: 9287 if (ndx == 0 || ndx == 1) 9288 p = "int"; 9289 break; 9290 /* access */ 9291 case 33: 9292 if (ndx == 0 || ndx == 1) 9293 p = "int"; 9294 break; 9295 /* chflags */ 9296 case 34: 9297 if (ndx == 0 || ndx == 1) 9298 p = "int"; 9299 break; 9300 /* fchflags */ 9301 case 35: 9302 if (ndx == 0 || ndx == 1) 9303 p = "int"; 9304 break; 9305 /* sync */ 9306 case 36: 9307 /* kill */ 9308 case 37: 9309 if (ndx == 0 || ndx == 1) 9310 p = "int"; 9311 break; 9312 /* getppid */ 9313 case 39: 9314 /* dup */ 9315 case 41: 9316 if (ndx == 0 || ndx == 1) 9317 p = "int"; 9318 break; 9319 /* getegid */ 9320 case 43: 9321 /* profil */ 9322 case 44: 9323 if (ndx == 0 || ndx == 1) 9324 p = "int"; 9325 break; 9326 /* ktrace */ 9327 case 45: 9328 if (ndx == 0 || ndx == 1) 9329 p = "int"; 9330 break; 9331 /* getgid */ 9332 case 47: 9333 /* getlogin */ 9334 case 49: 9335 if (ndx == 0 || ndx == 1) 9336 p = "int"; 9337 break; 9338 /* setlogin */ 9339 case 50: 9340 if (ndx == 0 || ndx == 1) 9341 p = "int"; 9342 break; 9343 /* acct */ 9344 case 51: 9345 if (ndx == 0 || ndx == 1) 9346 p = "int"; 9347 break; 9348 /* sigaltstack */ 9349 case 53: 9350 if (ndx == 0 || ndx == 1) 9351 p = "int"; 9352 break; 9353 /* ioctl */ 9354 case 54: 9355 if (ndx == 0 || ndx == 1) 9356 p = "int"; 9357 break; 9358 /* reboot */ 9359 case 55: 9360 if (ndx == 0 || ndx == 1) 9361 p = "int"; 9362 break; 9363 /* revoke */ 9364 case 56: 9365 if (ndx == 0 || ndx == 1) 9366 p = "int"; 9367 break; 9368 /* symlink */ 9369 case 57: 9370 if (ndx == 0 || ndx == 1) 9371 p = "int"; 9372 break; 9373 /* readlink */ 9374 case 58: 9375 if (ndx == 0 || ndx == 1) 9376 p = "ssize_t"; 9377 break; 9378 /* execve */ 9379 case 59: 9380 if (ndx == 0 || ndx == 1) 9381 p = "int"; 9382 break; 9383 /* umask */ 9384 case 60: 9385 if (ndx == 0 || ndx == 1) 9386 p = "mode_t"; 9387 break; 9388 /* chroot */ 9389 case 61: 9390 if (ndx == 0 || ndx == 1) 9391 p = "int"; 9392 break; 9393 /* msync */ 9394 case 65: 9395 if (ndx == 0 || ndx == 1) 9396 p = "int"; 9397 break; 9398 /* vfork */ 9399 case 66: 9400 /* sbrk */ 9401 case 69: 9402 if (ndx == 0 || ndx == 1) 9403 p = "int"; 9404 break; 9405 /* sstk */ 9406 case 70: 9407 if (ndx == 0 || ndx == 1) 9408 p = "int"; 9409 break; 9410 /* munmap */ 9411 case 73: 9412 if (ndx == 0 || ndx == 1) 9413 p = "int"; 9414 break; 9415 /* mprotect */ 9416 case 74: 9417 if (ndx == 0 || ndx == 1) 9418 p = "int"; 9419 break; 9420 /* madvise */ 9421 case 75: 9422 if (ndx == 0 || ndx == 1) 9423 p = "int"; 9424 break; 9425 /* mincore */ 9426 case 78: 9427 if (ndx == 0 || ndx == 1) 9428 p = "int"; 9429 break; 9430 /* getgroups */ 9431 case 79: 9432 if (ndx == 0 || ndx == 1) 9433 p = "int"; 9434 break; 9435 /* setgroups */ 9436 case 80: 9437 if (ndx == 0 || ndx == 1) 9438 p = "int"; 9439 break; 9440 /* getpgrp */ 9441 case 81: 9442 /* setpgid */ 9443 case 82: 9444 if (ndx == 0 || ndx == 1) 9445 p = "int"; 9446 break; 9447 /* setitimer */ 9448 case 83: 9449 if (ndx == 0 || ndx == 1) 9450 p = "int"; 9451 break; 9452 /* swapon */ 9453 case 85: 9454 if (ndx == 0 || ndx == 1) 9455 p = "int"; 9456 break; 9457 /* getitimer */ 9458 case 86: 9459 if (ndx == 0 || ndx == 1) 9460 p = "int"; 9461 break; 9462 /* getdtablesize */ 9463 case 89: 9464 /* dup2 */ 9465 case 90: 9466 if (ndx == 0 || ndx == 1) 9467 p = "int"; 9468 break; 9469 /* fcntl */ 9470 case 92: 9471 if (ndx == 0 || ndx == 1) 9472 p = "int"; 9473 break; 9474 /* select */ 9475 case 93: 9476 if (ndx == 0 || ndx == 1) 9477 p = "int"; 9478 break; 9479 /* fsync */ 9480 case 95: 9481 if (ndx == 0 || ndx == 1) 9482 p = "int"; 9483 break; 9484 /* setpriority */ 9485 case 96: 9486 if (ndx == 0 || ndx == 1) 9487 p = "int"; 9488 break; 9489 /* socket */ 9490 case 97: 9491 if (ndx == 0 || ndx == 1) 9492 p = "int"; 9493 break; 9494 /* connect */ 9495 case 98: 9496 if (ndx == 0 || ndx == 1) 9497 p = "int"; 9498 break; 9499 /* getpriority */ 9500 case 100: 9501 if (ndx == 0 || ndx == 1) 9502 p = "int"; 9503 break; 9504 /* bind */ 9505 case 104: 9506 if (ndx == 0 || ndx == 1) 9507 p = "int"; 9508 break; 9509 /* setsockopt */ 9510 case 105: 9511 if (ndx == 0 || ndx == 1) 9512 p = "int"; 9513 break; 9514 /* listen */ 9515 case 106: 9516 if (ndx == 0 || ndx == 1) 9517 p = "int"; 9518 break; 9519 /* gettimeofday */ 9520 case 116: 9521 if (ndx == 0 || ndx == 1) 9522 p = "int"; 9523 break; 9524 /* getrusage */ 9525 case 117: 9526 if (ndx == 0 || ndx == 1) 9527 p = "int"; 9528 break; 9529 /* getsockopt */ 9530 case 118: 9531 if (ndx == 0 || ndx == 1) 9532 p = "int"; 9533 break; 9534 /* readv */ 9535 case 120: 9536 if (ndx == 0 || ndx == 1) 9537 p = "int"; 9538 break; 9539 /* writev */ 9540 case 121: 9541 if (ndx == 0 || ndx == 1) 9542 p = "int"; 9543 break; 9544 /* settimeofday */ 9545 case 122: 9546 if (ndx == 0 || ndx == 1) 9547 p = "int"; 9548 break; 9549 /* fchown */ 9550 case 123: 9551 if (ndx == 0 || ndx == 1) 9552 p = "int"; 9553 break; 9554 /* fchmod */ 9555 case 124: 9556 if (ndx == 0 || ndx == 1) 9557 p = "int"; 9558 break; 9559 /* setreuid */ 9560 case 126: 9561 if (ndx == 0 || ndx == 1) 9562 p = "int"; 9563 break; 9564 /* setregid */ 9565 case 127: 9566 if (ndx == 0 || ndx == 1) 9567 p = "int"; 9568 break; 9569 /* rename */ 9570 case 128: 9571 if (ndx == 0 || ndx == 1) 9572 p = "int"; 9573 break; 9574 /* flock */ 9575 case 131: 9576 if (ndx == 0 || ndx == 1) 9577 p = "int"; 9578 break; 9579 /* mkfifo */ 9580 case 132: 9581 if (ndx == 0 || ndx == 1) 9582 p = "int"; 9583 break; 9584 /* sendto */ 9585 case 133: 9586 if (ndx == 0 || ndx == 1) 9587 p = "ssize_t"; 9588 break; 9589 /* shutdown */ 9590 case 134: 9591 if (ndx == 0 || ndx == 1) 9592 p = "int"; 9593 break; 9594 /* socketpair */ 9595 case 135: 9596 if (ndx == 0 || ndx == 1) 9597 p = "int"; 9598 break; 9599 /* mkdir */ 9600 case 136: 9601 if (ndx == 0 || ndx == 1) 9602 p = "int"; 9603 break; 9604 /* rmdir */ 9605 case 137: 9606 if (ndx == 0 || ndx == 1) 9607 p = "int"; 9608 break; 9609 /* utimes */ 9610 case 138: 9611 if (ndx == 0 || ndx == 1) 9612 p = "int"; 9613 break; 9614 /* adjtime */ 9615 case 140: 9616 if (ndx == 0 || ndx == 1) 9617 p = "int"; 9618 break; 9619 /* setsid */ 9620 case 147: 9621 /* quotactl */ 9622 case 148: 9623 if (ndx == 0 || ndx == 1) 9624 p = "int"; 9625 break; 9626 /* nlm_syscall */ 9627 case 154: 9628 if (ndx == 0 || ndx == 1) 9629 p = "int"; 9630 break; 9631 /* nfssvc */ 9632 case 155: 9633 if (ndx == 0 || ndx == 1) 9634 p = "int"; 9635 break; 9636 /* lgetfh */ 9637 case 160: 9638 if (ndx == 0 || ndx == 1) 9639 p = "int"; 9640 break; 9641 /* getfh */ 9642 case 161: 9643 if (ndx == 0 || ndx == 1) 9644 p = "int"; 9645 break; 9646 /* sysarch */ 9647 case 165: 9648 if (ndx == 0 || ndx == 1) 9649 p = "int"; 9650 break; 9651 /* rtprio */ 9652 case 166: 9653 if (ndx == 0 || ndx == 1) 9654 p = "int"; 9655 break; 9656 /* semsys */ 9657 case 169: 9658 if (ndx == 0 || ndx == 1) 9659 p = "int"; 9660 break; 9661 /* msgsys */ 9662 case 170: 9663 if (ndx == 0 || ndx == 1) 9664 p = "int"; 9665 break; 9666 /* shmsys */ 9667 case 171: 9668 if (ndx == 0 || ndx == 1) 9669 p = "int"; 9670 break; 9671 /* setfib */ 9672 case 175: 9673 if (ndx == 0 || ndx == 1) 9674 p = "int"; 9675 break; 9676 /* ntp_adjtime */ 9677 case 176: 9678 if (ndx == 0 || ndx == 1) 9679 p = "int"; 9680 break; 9681 /* setgid */ 9682 case 181: 9683 if (ndx == 0 || ndx == 1) 9684 p = "int"; 9685 break; 9686 /* setegid */ 9687 case 182: 9688 if (ndx == 0 || ndx == 1) 9689 p = "int"; 9690 break; 9691 /* seteuid */ 9692 case 183: 9693 if (ndx == 0 || ndx == 1) 9694 p = "int"; 9695 break; 9696 /* pathconf */ 9697 case 191: 9698 if (ndx == 0 || ndx == 1) 9699 p = "int"; 9700 break; 9701 /* fpathconf */ 9702 case 192: 9703 if (ndx == 0 || ndx == 1) 9704 p = "int"; 9705 break; 9706 /* getrlimit */ 9707 case 194: 9708 if (ndx == 0 || ndx == 1) 9709 p = "int"; 9710 break; 9711 /* setrlimit */ 9712 case 195: 9713 if (ndx == 0 || ndx == 1) 9714 p = "int"; 9715 break; 9716 /* __syscall */ 9717 case 198: 9718 /* __sysctl */ 9719 case 202: 9720 if (ndx == 0 || ndx == 1) 9721 p = "int"; 9722 break; 9723 /* mlock */ 9724 case 203: 9725 if (ndx == 0 || ndx == 1) 9726 p = "int"; 9727 break; 9728 /* munlock */ 9729 case 204: 9730 if (ndx == 0 || ndx == 1) 9731 p = "int"; 9732 break; 9733 /* undelete */ 9734 case 205: 9735 if (ndx == 0 || ndx == 1) 9736 p = "int"; 9737 break; 9738 /* futimes */ 9739 case 206: 9740 if (ndx == 0 || ndx == 1) 9741 p = "int"; 9742 break; 9743 /* getpgid */ 9744 case 207: 9745 if (ndx == 0 || ndx == 1) 9746 p = "int"; 9747 break; 9748 /* poll */ 9749 case 209: 9750 if (ndx == 0 || ndx == 1) 9751 p = "int"; 9752 break; 9753 /* lkmnosys */ 9754 case 210: 9755 /* lkmnosys */ 9756 case 211: 9757 /* lkmnosys */ 9758 case 212: 9759 /* lkmnosys */ 9760 case 213: 9761 /* lkmnosys */ 9762 case 214: 9763 /* lkmnosys */ 9764 case 215: 9765 /* lkmnosys */ 9766 case 216: 9767 /* lkmnosys */ 9768 case 217: 9769 /* lkmnosys */ 9770 case 218: 9771 /* lkmnosys */ 9772 case 219: 9773 /* semget */ 9774 case 221: 9775 if (ndx == 0 || ndx == 1) 9776 p = "int"; 9777 break; 9778 /* semop */ 9779 case 222: 9780 if (ndx == 0 || ndx == 1) 9781 p = "int"; 9782 break; 9783 /* msgget */ 9784 case 225: 9785 if (ndx == 0 || ndx == 1) 9786 p = "int"; 9787 break; 9788 /* msgsnd */ 9789 case 226: 9790 if (ndx == 0 || ndx == 1) 9791 p = "int"; 9792 break; 9793 /* msgrcv */ 9794 case 227: 9795 if (ndx == 0 || ndx == 1) 9796 p = "ssize_t"; 9797 break; 9798 /* shmat */ 9799 case 228: 9800 if (ndx == 0 || ndx == 1) 9801 p = "void *"; 9802 break; 9803 /* shmdt */ 9804 case 230: 9805 if (ndx == 0 || ndx == 1) 9806 p = "int"; 9807 break; 9808 /* shmget */ 9809 case 231: 9810 if (ndx == 0 || ndx == 1) 9811 p = "int"; 9812 break; 9813 /* clock_gettime */ 9814 case 232: 9815 if (ndx == 0 || ndx == 1) 9816 p = "int"; 9817 break; 9818 /* clock_settime */ 9819 case 233: 9820 if (ndx == 0 || ndx == 1) 9821 p = "int"; 9822 break; 9823 /* clock_getres */ 9824 case 234: 9825 if (ndx == 0 || ndx == 1) 9826 p = "int"; 9827 break; 9828 /* ktimer_create */ 9829 case 235: 9830 if (ndx == 0 || ndx == 1) 9831 p = "int"; 9832 break; 9833 /* ktimer_delete */ 9834 case 236: 9835 if (ndx == 0 || ndx == 1) 9836 p = "int"; 9837 break; 9838 /* ktimer_settime */ 9839 case 237: 9840 if (ndx == 0 || ndx == 1) 9841 p = "int"; 9842 break; 9843 /* ktimer_gettime */ 9844 case 238: 9845 if (ndx == 0 || ndx == 1) 9846 p = "int"; 9847 break; 9848 /* ktimer_getoverrun */ 9849 case 239: 9850 if (ndx == 0 || ndx == 1) 9851 p = "int"; 9852 break; 9853 /* nanosleep */ 9854 case 240: 9855 if (ndx == 0 || ndx == 1) 9856 p = "int"; 9857 break; 9858 /* ffclock_getcounter */ 9859 case 241: 9860 if (ndx == 0 || ndx == 1) 9861 p = "int"; 9862 break; 9863 /* ffclock_setestimate */ 9864 case 242: 9865 if (ndx == 0 || ndx == 1) 9866 p = "int"; 9867 break; 9868 /* ffclock_getestimate */ 9869 case 243: 9870 if (ndx == 0 || ndx == 1) 9871 p = "int"; 9872 break; 9873 /* clock_nanosleep */ 9874 case 244: 9875 if (ndx == 0 || ndx == 1) 9876 p = "int"; 9877 break; 9878 /* clock_getcpuclockid2 */ 9879 case 247: 9880 if (ndx == 0 || ndx == 1) 9881 p = "int"; 9882 break; 9883 /* ntp_gettime */ 9884 case 248: 9885 if (ndx == 0 || ndx == 1) 9886 p = "int"; 9887 break; 9888 /* minherit */ 9889 case 250: 9890 if (ndx == 0 || ndx == 1) 9891 p = "int"; 9892 break; 9893 /* rfork */ 9894 case 251: 9895 if (ndx == 0 || ndx == 1) 9896 p = "int"; 9897 break; 9898 /* issetugid */ 9899 case 253: 9900 /* lchown */ 9901 case 254: 9902 if (ndx == 0 || ndx == 1) 9903 p = "int"; 9904 break; 9905 /* aio_read */ 9906 case 255: 9907 if (ndx == 0 || ndx == 1) 9908 p = "int"; 9909 break; 9910 /* aio_write */ 9911 case 256: 9912 if (ndx == 0 || ndx == 1) 9913 p = "int"; 9914 break; 9915 /* lio_listio */ 9916 case 257: 9917 if (ndx == 0 || ndx == 1) 9918 p = "int"; 9919 break; 9920 /* lchmod */ 9921 case 274: 9922 if (ndx == 0 || ndx == 1) 9923 p = "int"; 9924 break; 9925 /* lutimes */ 9926 case 276: 9927 if (ndx == 0 || ndx == 1) 9928 p = "int"; 9929 break; 9930 /* preadv */ 9931 case 289: 9932 if (ndx == 0 || ndx == 1) 9933 p = "ssize_t"; 9934 break; 9935 /* pwritev */ 9936 case 290: 9937 if (ndx == 0 || ndx == 1) 9938 p = "ssize_t"; 9939 break; 9940 /* fhopen */ 9941 case 298: 9942 if (ndx == 0 || ndx == 1) 9943 p = "int"; 9944 break; 9945 /* modnext */ 9946 case 300: 9947 if (ndx == 0 || ndx == 1) 9948 p = "int"; 9949 break; 9950 /* modstat */ 9951 case 301: 9952 if (ndx == 0 || ndx == 1) 9953 p = "int"; 9954 break; 9955 /* modfnext */ 9956 case 302: 9957 if (ndx == 0 || ndx == 1) 9958 p = "int"; 9959 break; 9960 /* modfind */ 9961 case 303: 9962 if (ndx == 0 || ndx == 1) 9963 p = "int"; 9964 break; 9965 /* kldload */ 9966 case 304: 9967 if (ndx == 0 || ndx == 1) 9968 p = "int"; 9969 break; 9970 /* kldunload */ 9971 case 305: 9972 if (ndx == 0 || ndx == 1) 9973 p = "int"; 9974 break; 9975 /* kldfind */ 9976 case 306: 9977 if (ndx == 0 || ndx == 1) 9978 p = "int"; 9979 break; 9980 /* kldnext */ 9981 case 307: 9982 if (ndx == 0 || ndx == 1) 9983 p = "int"; 9984 break; 9985 /* kldstat */ 9986 case 308: 9987 if (ndx == 0 || ndx == 1) 9988 p = "int"; 9989 break; 9990 /* kldfirstmod */ 9991 case 309: 9992 if (ndx == 0 || ndx == 1) 9993 p = "int"; 9994 break; 9995 /* getsid */ 9996 case 310: 9997 if (ndx == 0 || ndx == 1) 9998 p = "int"; 9999 break; 10000 /* setresuid */ 10001 case 311: 10002 if (ndx == 0 || ndx == 1) 10003 p = "int"; 10004 break; 10005 /* setresgid */ 10006 case 312: 10007 if (ndx == 0 || ndx == 1) 10008 p = "int"; 10009 break; 10010 /* aio_return */ 10011 case 314: 10012 if (ndx == 0 || ndx == 1) 10013 p = "ssize_t"; 10014 break; 10015 /* aio_suspend */ 10016 case 315: 10017 if (ndx == 0 || ndx == 1) 10018 p = "int"; 10019 break; 10020 /* aio_cancel */ 10021 case 316: 10022 if (ndx == 0 || ndx == 1) 10023 p = "int"; 10024 break; 10025 /* aio_error */ 10026 case 317: 10027 if (ndx == 0 || ndx == 1) 10028 p = "int"; 10029 break; 10030 /* yield */ 10031 case 321: 10032 /* mlockall */ 10033 case 324: 10034 if (ndx == 0 || ndx == 1) 10035 p = "int"; 10036 break; 10037 /* munlockall */ 10038 case 325: 10039 /* __getcwd */ 10040 case 326: 10041 if (ndx == 0 || ndx == 1) 10042 p = "int"; 10043 break; 10044 /* sched_setparam */ 10045 case 327: 10046 if (ndx == 0 || ndx == 1) 10047 p = "int"; 10048 break; 10049 /* sched_getparam */ 10050 case 328: 10051 if (ndx == 0 || ndx == 1) 10052 p = "int"; 10053 break; 10054 /* sched_setscheduler */ 10055 case 329: 10056 if (ndx == 0 || ndx == 1) 10057 p = "int"; 10058 break; 10059 /* sched_getscheduler */ 10060 case 330: 10061 if (ndx == 0 || ndx == 1) 10062 p = "int"; 10063 break; 10064 /* sched_yield */ 10065 case 331: 10066 /* sched_get_priority_max */ 10067 case 332: 10068 if (ndx == 0 || ndx == 1) 10069 p = "int"; 10070 break; 10071 /* sched_get_priority_min */ 10072 case 333: 10073 if (ndx == 0 || ndx == 1) 10074 p = "int"; 10075 break; 10076 /* sched_rr_get_interval */ 10077 case 334: 10078 if (ndx == 0 || ndx == 1) 10079 p = "int"; 10080 break; 10081 /* utrace */ 10082 case 335: 10083 if (ndx == 0 || ndx == 1) 10084 p = "int"; 10085 break; 10086 /* kldsym */ 10087 case 337: 10088 if (ndx == 0 || ndx == 1) 10089 p = "int"; 10090 break; 10091 /* jail */ 10092 case 338: 10093 if (ndx == 0 || ndx == 1) 10094 p = "int"; 10095 break; 10096 /* nnpfs_syscall */ 10097 case 339: 10098 if (ndx == 0 || ndx == 1) 10099 p = "int"; 10100 break; 10101 /* sigprocmask */ 10102 case 340: 10103 if (ndx == 0 || ndx == 1) 10104 p = "int"; 10105 break; 10106 /* sigsuspend */ 10107 case 341: 10108 if (ndx == 0 || ndx == 1) 10109 p = "int"; 10110 break; 10111 /* sigpending */ 10112 case 343: 10113 if (ndx == 0 || ndx == 1) 10114 p = "int"; 10115 break; 10116 /* sigtimedwait */ 10117 case 345: 10118 if (ndx == 0 || ndx == 1) 10119 p = "int"; 10120 break; 10121 /* sigwaitinfo */ 10122 case 346: 10123 if (ndx == 0 || ndx == 1) 10124 p = "int"; 10125 break; 10126 /* __acl_get_file */ 10127 case 347: 10128 if (ndx == 0 || ndx == 1) 10129 p = "int"; 10130 break; 10131 /* __acl_set_file */ 10132 case 348: 10133 if (ndx == 0 || ndx == 1) 10134 p = "int"; 10135 break; 10136 /* __acl_get_fd */ 10137 case 349: 10138 if (ndx == 0 || ndx == 1) 10139 p = "int"; 10140 break; 10141 /* __acl_set_fd */ 10142 case 350: 10143 if (ndx == 0 || ndx == 1) 10144 p = "int"; 10145 break; 10146 /* __acl_delete_file */ 10147 case 351: 10148 if (ndx == 0 || ndx == 1) 10149 p = "int"; 10150 break; 10151 /* __acl_delete_fd */ 10152 case 352: 10153 if (ndx == 0 || ndx == 1) 10154 p = "int"; 10155 break; 10156 /* __acl_aclcheck_file */ 10157 case 353: 10158 if (ndx == 0 || ndx == 1) 10159 p = "int"; 10160 break; 10161 /* __acl_aclcheck_fd */ 10162 case 354: 10163 if (ndx == 0 || ndx == 1) 10164 p = "int"; 10165 break; 10166 /* extattrctl */ 10167 case 355: 10168 if (ndx == 0 || ndx == 1) 10169 p = "int"; 10170 break; 10171 /* extattr_set_file */ 10172 case 356: 10173 if (ndx == 0 || ndx == 1) 10174 p = "ssize_t"; 10175 break; 10176 /* extattr_get_file */ 10177 case 357: 10178 if (ndx == 0 || ndx == 1) 10179 p = "ssize_t"; 10180 break; 10181 /* extattr_delete_file */ 10182 case 358: 10183 if (ndx == 0 || ndx == 1) 10184 p = "int"; 10185 break; 10186 /* aio_waitcomplete */ 10187 case 359: 10188 if (ndx == 0 || ndx == 1) 10189 p = "ssize_t"; 10190 break; 10191 /* getresuid */ 10192 case 360: 10193 if (ndx == 0 || ndx == 1) 10194 p = "int"; 10195 break; 10196 /* getresgid */ 10197 case 361: 10198 if (ndx == 0 || ndx == 1) 10199 p = "int"; 10200 break; 10201 /* kqueue */ 10202 case 362: 10203 /* extattr_set_fd */ 10204 case 371: 10205 if (ndx == 0 || ndx == 1) 10206 p = "ssize_t"; 10207 break; 10208 /* extattr_get_fd */ 10209 case 372: 10210 if (ndx == 0 || ndx == 1) 10211 p = "ssize_t"; 10212 break; 10213 /* extattr_delete_fd */ 10214 case 373: 10215 if (ndx == 0 || ndx == 1) 10216 p = "int"; 10217 break; 10218 /* __setugid */ 10219 case 374: 10220 if (ndx == 0 || ndx == 1) 10221 p = "int"; 10222 break; 10223 /* eaccess */ 10224 case 376: 10225 if (ndx == 0 || ndx == 1) 10226 p = "int"; 10227 break; 10228 /* afs3_syscall */ 10229 case 377: 10230 if (ndx == 0 || ndx == 1) 10231 p = "int"; 10232 break; 10233 /* nmount */ 10234 case 378: 10235 if (ndx == 0 || ndx == 1) 10236 p = "int"; 10237 break; 10238 /* __mac_get_proc */ 10239 case 384: 10240 if (ndx == 0 || ndx == 1) 10241 p = "int"; 10242 break; 10243 /* __mac_set_proc */ 10244 case 385: 10245 if (ndx == 0 || ndx == 1) 10246 p = "int"; 10247 break; 10248 /* __mac_get_fd */ 10249 case 386: 10250 if (ndx == 0 || ndx == 1) 10251 p = "int"; 10252 break; 10253 /* __mac_get_file */ 10254 case 387: 10255 if (ndx == 0 || ndx == 1) 10256 p = "int"; 10257 break; 10258 /* __mac_set_fd */ 10259 case 388: 10260 if (ndx == 0 || ndx == 1) 10261 p = "int"; 10262 break; 10263 /* __mac_set_file */ 10264 case 389: 10265 if (ndx == 0 || ndx == 1) 10266 p = "int"; 10267 break; 10268 /* kenv */ 10269 case 390: 10270 if (ndx == 0 || ndx == 1) 10271 p = "int"; 10272 break; 10273 /* lchflags */ 10274 case 391: 10275 if (ndx == 0 || ndx == 1) 10276 p = "int"; 10277 break; 10278 /* uuidgen */ 10279 case 392: 10280 if (ndx == 0 || ndx == 1) 10281 p = "int"; 10282 break; 10283 /* sendfile */ 10284 case 393: 10285 if (ndx == 0 || ndx == 1) 10286 p = "int"; 10287 break; 10288 /* mac_syscall */ 10289 case 394: 10290 if (ndx == 0 || ndx == 1) 10291 p = "int"; 10292 break; 10293 /* ksem_close */ 10294 case 400: 10295 if (ndx == 0 || ndx == 1) 10296 p = "int"; 10297 break; 10298 /* ksem_post */ 10299 case 401: 10300 if (ndx == 0 || ndx == 1) 10301 p = "int"; 10302 break; 10303 /* ksem_wait */ 10304 case 402: 10305 if (ndx == 0 || ndx == 1) 10306 p = "int"; 10307 break; 10308 /* ksem_trywait */ 10309 case 403: 10310 if (ndx == 0 || ndx == 1) 10311 p = "int"; 10312 break; 10313 /* ksem_init */ 10314 case 404: 10315 if (ndx == 0 || ndx == 1) 10316 p = "int"; 10317 break; 10318 /* ksem_open */ 10319 case 405: 10320 if (ndx == 0 || ndx == 1) 10321 p = "int"; 10322 break; 10323 /* ksem_unlink */ 10324 case 406: 10325 if (ndx == 0 || ndx == 1) 10326 p = "int"; 10327 break; 10328 /* ksem_getvalue */ 10329 case 407: 10330 if (ndx == 0 || ndx == 1) 10331 p = "int"; 10332 break; 10333 /* ksem_destroy */ 10334 case 408: 10335 if (ndx == 0 || ndx == 1) 10336 p = "int"; 10337 break; 10338 /* __mac_get_pid */ 10339 case 409: 10340 if (ndx == 0 || ndx == 1) 10341 p = "int"; 10342 break; 10343 /* __mac_get_link */ 10344 case 410: 10345 if (ndx == 0 || ndx == 1) 10346 p = "int"; 10347 break; 10348 /* __mac_set_link */ 10349 case 411: 10350 if (ndx == 0 || ndx == 1) 10351 p = "int"; 10352 break; 10353 /* extattr_set_link */ 10354 case 412: 10355 if (ndx == 0 || ndx == 1) 10356 p = "ssize_t"; 10357 break; 10358 /* extattr_get_link */ 10359 case 413: 10360 if (ndx == 0 || ndx == 1) 10361 p = "ssize_t"; 10362 break; 10363 /* extattr_delete_link */ 10364 case 414: 10365 if (ndx == 0 || ndx == 1) 10366 p = "int"; 10367 break; 10368 /* __mac_execve */ 10369 case 415: 10370 if (ndx == 0 || ndx == 1) 10371 p = "int"; 10372 break; 10373 /* sigaction */ 10374 case 416: 10375 if (ndx == 0 || ndx == 1) 10376 p = "int"; 10377 break; 10378 /* sigreturn */ 10379 case 417: 10380 if (ndx == 0 || ndx == 1) 10381 p = "int"; 10382 break; 10383 /* getcontext */ 10384 case 421: 10385 if (ndx == 0 || ndx == 1) 10386 p = "int"; 10387 break; 10388 /* setcontext */ 10389 case 422: 10390 if (ndx == 0 || ndx == 1) 10391 p = "int"; 10392 break; 10393 /* swapcontext */ 10394 case 423: 10395 if (ndx == 0 || ndx == 1) 10396 p = "int"; 10397 break; 10398 /* __acl_get_link */ 10399 case 425: 10400 if (ndx == 0 || ndx == 1) 10401 p = "int"; 10402 break; 10403 /* __acl_set_link */ 10404 case 426: 10405 if (ndx == 0 || ndx == 1) 10406 p = "int"; 10407 break; 10408 /* __acl_delete_link */ 10409 case 427: 10410 if (ndx == 0 || ndx == 1) 10411 p = "int"; 10412 break; 10413 /* __acl_aclcheck_link */ 10414 case 428: 10415 if (ndx == 0 || ndx == 1) 10416 p = "int"; 10417 break; 10418 /* sigwait */ 10419 case 429: 10420 if (ndx == 0 || ndx == 1) 10421 p = "int"; 10422 break; 10423 /* thr_create */ 10424 case 430: 10425 if (ndx == 0 || ndx == 1) 10426 p = "int"; 10427 break; 10428 /* thr_exit */ 10429 case 431: 10430 if (ndx == 0 || ndx == 1) 10431 p = "void"; 10432 break; 10433 /* thr_self */ 10434 case 432: 10435 if (ndx == 0 || ndx == 1) 10436 p = "int"; 10437 break; 10438 /* thr_kill */ 10439 case 433: 10440 if (ndx == 0 || ndx == 1) 10441 p = "int"; 10442 break; 10443 /* jail_attach */ 10444 case 436: 10445 if (ndx == 0 || ndx == 1) 10446 p = "int"; 10447 break; 10448 /* extattr_list_fd */ 10449 case 437: 10450 if (ndx == 0 || ndx == 1) 10451 p = "ssize_t"; 10452 break; 10453 /* extattr_list_file */ 10454 case 438: 10455 if (ndx == 0 || ndx == 1) 10456 p = "ssize_t"; 10457 break; 10458 /* extattr_list_link */ 10459 case 439: 10460 if (ndx == 0 || ndx == 1) 10461 p = "ssize_t"; 10462 break; 10463 /* ksem_timedwait */ 10464 case 441: 10465 if (ndx == 0 || ndx == 1) 10466 p = "int"; 10467 break; 10468 /* thr_suspend */ 10469 case 442: 10470 if (ndx == 0 || ndx == 1) 10471 p = "int"; 10472 break; 10473 /* thr_wake */ 10474 case 443: 10475 if (ndx == 0 || ndx == 1) 10476 p = "int"; 10477 break; 10478 /* kldunloadf */ 10479 case 444: 10480 if (ndx == 0 || ndx == 1) 10481 p = "int"; 10482 break; 10483 /* audit */ 10484 case 445: 10485 if (ndx == 0 || ndx == 1) 10486 p = "int"; 10487 break; 10488 /* auditon */ 10489 case 446: 10490 if (ndx == 0 || ndx == 1) 10491 p = "int"; 10492 break; 10493 /* getauid */ 10494 case 447: 10495 if (ndx == 0 || ndx == 1) 10496 p = "int"; 10497 break; 10498 /* setauid */ 10499 case 448: 10500 if (ndx == 0 || ndx == 1) 10501 p = "int"; 10502 break; 10503 /* getaudit */ 10504 case 449: 10505 if (ndx == 0 || ndx == 1) 10506 p = "int"; 10507 break; 10508 /* setaudit */ 10509 case 450: 10510 if (ndx == 0 || ndx == 1) 10511 p = "int"; 10512 break; 10513 /* getaudit_addr */ 10514 case 451: 10515 if (ndx == 0 || ndx == 1) 10516 p = "int"; 10517 break; 10518 /* setaudit_addr */ 10519 case 452: 10520 if (ndx == 0 || ndx == 1) 10521 p = "int"; 10522 break; 10523 /* auditctl */ 10524 case 453: 10525 if (ndx == 0 || ndx == 1) 10526 p = "int"; 10527 break; 10528 /* _umtx_op */ 10529 case 454: 10530 if (ndx == 0 || ndx == 1) 10531 p = "int"; 10532 break; 10533 /* thr_new */ 10534 case 455: 10535 if (ndx == 0 || ndx == 1) 10536 p = "int"; 10537 break; 10538 /* sigqueue */ 10539 case 456: 10540 if (ndx == 0 || ndx == 1) 10541 p = "int"; 10542 break; 10543 /* kmq_open */ 10544 case 457: 10545 if (ndx == 0 || ndx == 1) 10546 p = "int"; 10547 break; 10548 /* kmq_setattr */ 10549 case 458: 10550 if (ndx == 0 || ndx == 1) 10551 p = "int"; 10552 break; 10553 /* kmq_timedreceive */ 10554 case 459: 10555 if (ndx == 0 || ndx == 1) 10556 p = "int"; 10557 break; 10558 /* kmq_timedsend */ 10559 case 460: 10560 if (ndx == 0 || ndx == 1) 10561 p = "int"; 10562 break; 10563 /* kmq_notify */ 10564 case 461: 10565 if (ndx == 0 || ndx == 1) 10566 p = "int"; 10567 break; 10568 /* kmq_unlink */ 10569 case 462: 10570 if (ndx == 0 || ndx == 1) 10571 p = "int"; 10572 break; 10573 /* abort2 */ 10574 case 463: 10575 if (ndx == 0 || ndx == 1) 10576 p = "void"; 10577 break; 10578 /* thr_set_name */ 10579 case 464: 10580 if (ndx == 0 || ndx == 1) 10581 p = "int"; 10582 break; 10583 /* aio_fsync */ 10584 case 465: 10585 if (ndx == 0 || ndx == 1) 10586 p = "int"; 10587 break; 10588 /* rtprio_thread */ 10589 case 466: 10590 if (ndx == 0 || ndx == 1) 10591 p = "int"; 10592 break; 10593 /* sctp_peeloff */ 10594 case 471: 10595 if (ndx == 0 || ndx == 1) 10596 p = "int"; 10597 break; 10598 /* sctp_generic_sendmsg */ 10599 case 472: 10600 if (ndx == 0 || ndx == 1) 10601 p = "int"; 10602 break; 10603 /* sctp_generic_sendmsg_iov */ 10604 case 473: 10605 if (ndx == 0 || ndx == 1) 10606 p = "int"; 10607 break; 10608 /* sctp_generic_recvmsg */ 10609 case 474: 10610 if (ndx == 0 || ndx == 1) 10611 p = "int"; 10612 break; 10613 /* pread */ 10614 case 475: 10615 if (ndx == 0 || ndx == 1) 10616 p = "ssize_t"; 10617 break; 10618 /* pwrite */ 10619 case 476: 10620 if (ndx == 0 || ndx == 1) 10621 p = "ssize_t"; 10622 break; 10623 /* mmap */ 10624 case 477: 10625 if (ndx == 0 || ndx == 1) 10626 p = "void *"; 10627 break; 10628 /* lseek */ 10629 case 478: 10630 if (ndx == 0 || ndx == 1) 10631 p = "off_t"; 10632 break; 10633 /* truncate */ 10634 case 479: 10635 if (ndx == 0 || ndx == 1) 10636 p = "int"; 10637 break; 10638 /* ftruncate */ 10639 case 480: 10640 if (ndx == 0 || ndx == 1) 10641 p = "int"; 10642 break; 10643 /* thr_kill2 */ 10644 case 481: 10645 if (ndx == 0 || ndx == 1) 10646 p = "int"; 10647 break; 10648 /* shm_unlink */ 10649 case 483: 10650 if (ndx == 0 || ndx == 1) 10651 p = "int"; 10652 break; 10653 /* cpuset */ 10654 case 484: 10655 if (ndx == 0 || ndx == 1) 10656 p = "int"; 10657 break; 10658 /* cpuset_setid */ 10659 case 485: 10660 if (ndx == 0 || ndx == 1) 10661 p = "int"; 10662 break; 10663 /* cpuset_getid */ 10664 case 486: 10665 if (ndx == 0 || ndx == 1) 10666 p = "int"; 10667 break; 10668 /* cpuset_getaffinity */ 10669 case 487: 10670 if (ndx == 0 || ndx == 1) 10671 p = "int"; 10672 break; 10673 /* cpuset_setaffinity */ 10674 case 488: 10675 if (ndx == 0 || ndx == 1) 10676 p = "int"; 10677 break; 10678 /* faccessat */ 10679 case 489: 10680 if (ndx == 0 || ndx == 1) 10681 p = "int"; 10682 break; 10683 /* fchmodat */ 10684 case 490: 10685 if (ndx == 0 || ndx == 1) 10686 p = "int"; 10687 break; 10688 /* fchownat */ 10689 case 491: 10690 if (ndx == 0 || ndx == 1) 10691 p = "int"; 10692 break; 10693 /* fexecve */ 10694 case 492: 10695 if (ndx == 0 || ndx == 1) 10696 p = "int"; 10697 break; 10698 /* futimesat */ 10699 case 494: 10700 if (ndx == 0 || ndx == 1) 10701 p = "int"; 10702 break; 10703 /* linkat */ 10704 case 495: 10705 if (ndx == 0 || ndx == 1) 10706 p = "int"; 10707 break; 10708 /* mkdirat */ 10709 case 496: 10710 if (ndx == 0 || ndx == 1) 10711 p = "int"; 10712 break; 10713 /* mkfifoat */ 10714 case 497: 10715 if (ndx == 0 || ndx == 1) 10716 p = "int"; 10717 break; 10718 /* openat */ 10719 case 499: 10720 if (ndx == 0 || ndx == 1) 10721 p = "int"; 10722 break; 10723 /* readlinkat */ 10724 case 500: 10725 if (ndx == 0 || ndx == 1) 10726 p = "ssize_t"; 10727 break; 10728 /* renameat */ 10729 case 501: 10730 if (ndx == 0 || ndx == 1) 10731 p = "int"; 10732 break; 10733 /* symlinkat */ 10734 case 502: 10735 if (ndx == 0 || ndx == 1) 10736 p = "int"; 10737 break; 10738 /* unlinkat */ 10739 case 503: 10740 if (ndx == 0 || ndx == 1) 10741 p = "int"; 10742 break; 10743 /* posix_openpt */ 10744 case 504: 10745 if (ndx == 0 || ndx == 1) 10746 p = "int"; 10747 break; 10748 /* gssd_syscall */ 10749 case 505: 10750 if (ndx == 0 || ndx == 1) 10751 p = "int"; 10752 break; 10753 /* jail_get */ 10754 case 506: 10755 if (ndx == 0 || ndx == 1) 10756 p = "int"; 10757 break; 10758 /* jail_set */ 10759 case 507: 10760 if (ndx == 0 || ndx == 1) 10761 p = "int"; 10762 break; 10763 /* jail_remove */ 10764 case 508: 10765 if (ndx == 0 || ndx == 1) 10766 p = "int"; 10767 break; 10768 /* __semctl */ 10769 case 510: 10770 if (ndx == 0 || ndx == 1) 10771 p = "int"; 10772 break; 10773 /* msgctl */ 10774 case 511: 10775 if (ndx == 0 || ndx == 1) 10776 p = "int"; 10777 break; 10778 /* shmctl */ 10779 case 512: 10780 if (ndx == 0 || ndx == 1) 10781 p = "int"; 10782 break; 10783 /* lpathconf */ 10784 case 513: 10785 if (ndx == 0 || ndx == 1) 10786 p = "int"; 10787 break; 10788 /* __cap_rights_get */ 10789 case 515: 10790 if (ndx == 0 || ndx == 1) 10791 p = "int"; 10792 break; 10793 /* cap_enter */ 10794 case 516: 10795 /* cap_getmode */ 10796 case 517: 10797 if (ndx == 0 || ndx == 1) 10798 p = "int"; 10799 break; 10800 /* pdfork */ 10801 case 518: 10802 if (ndx == 0 || ndx == 1) 10803 p = "int"; 10804 break; 10805 /* pdkill */ 10806 case 519: 10807 if (ndx == 0 || ndx == 1) 10808 p = "int"; 10809 break; 10810 /* pdgetpid */ 10811 case 520: 10812 if (ndx == 0 || ndx == 1) 10813 p = "int"; 10814 break; 10815 /* pselect */ 10816 case 522: 10817 if (ndx == 0 || ndx == 1) 10818 p = "int"; 10819 break; 10820 /* getloginclass */ 10821 case 523: 10822 if (ndx == 0 || ndx == 1) 10823 p = "int"; 10824 break; 10825 /* setloginclass */ 10826 case 524: 10827 if (ndx == 0 || ndx == 1) 10828 p = "int"; 10829 break; 10830 /* rctl_get_racct */ 10831 case 525: 10832 if (ndx == 0 || ndx == 1) 10833 p = "int"; 10834 break; 10835 /* rctl_get_rules */ 10836 case 526: 10837 if (ndx == 0 || ndx == 1) 10838 p = "int"; 10839 break; 10840 /* rctl_get_limits */ 10841 case 527: 10842 if (ndx == 0 || ndx == 1) 10843 p = "int"; 10844 break; 10845 /* rctl_add_rule */ 10846 case 528: 10847 if (ndx == 0 || ndx == 1) 10848 p = "int"; 10849 break; 10850 /* rctl_remove_rule */ 10851 case 529: 10852 if (ndx == 0 || ndx == 1) 10853 p = "int"; 10854 break; 10855 /* posix_fallocate */ 10856 case 530: 10857 if (ndx == 0 || ndx == 1) 10858 p = "int"; 10859 break; 10860 /* posix_fadvise */ 10861 case 531: 10862 if (ndx == 0 || ndx == 1) 10863 p = "int"; 10864 break; 10865 /* wait6 */ 10866 case 532: 10867 if (ndx == 0 || ndx == 1) 10868 p = "int"; 10869 break; 10870 /* cap_rights_limit */ 10871 case 533: 10872 if (ndx == 0 || ndx == 1) 10873 p = "int"; 10874 break; 10875 /* cap_ioctls_limit */ 10876 case 534: 10877 if (ndx == 0 || ndx == 1) 10878 p = "int"; 10879 break; 10880 /* cap_ioctls_get */ 10881 case 535: 10882 if (ndx == 0 || ndx == 1) 10883 p = "ssize_t"; 10884 break; 10885 /* cap_fcntls_limit */ 10886 case 536: 10887 if (ndx == 0 || ndx == 1) 10888 p = "int"; 10889 break; 10890 /* cap_fcntls_get */ 10891 case 537: 10892 if (ndx == 0 || ndx == 1) 10893 p = "int"; 10894 break; 10895 /* bindat */ 10896 case 538: 10897 if (ndx == 0 || ndx == 1) 10898 p = "int"; 10899 break; 10900 /* connectat */ 10901 case 539: 10902 if (ndx == 0 || ndx == 1) 10903 p = "int"; 10904 break; 10905 /* chflagsat */ 10906 case 540: 10907 if (ndx == 0 || ndx == 1) 10908 p = "int"; 10909 break; 10910 /* accept4 */ 10911 case 541: 10912 if (ndx == 0 || ndx == 1) 10913 p = "int"; 10914 break; 10915 /* pipe2 */ 10916 case 542: 10917 if (ndx == 0 || ndx == 1) 10918 p = "int"; 10919 break; 10920 /* aio_mlock */ 10921 case 543: 10922 if (ndx == 0 || ndx == 1) 10923 p = "int"; 10924 break; 10925 /* procctl */ 10926 case 544: 10927 if (ndx == 0 || ndx == 1) 10928 p = "int"; 10929 break; 10930 /* ppoll */ 10931 case 545: 10932 if (ndx == 0 || ndx == 1) 10933 p = "int"; 10934 break; 10935 /* futimens */ 10936 case 546: 10937 if (ndx == 0 || ndx == 1) 10938 p = "int"; 10939 break; 10940 /* utimensat */ 10941 case 547: 10942 if (ndx == 0 || ndx == 1) 10943 p = "int"; 10944 break; 10945 /* fdatasync */ 10946 case 550: 10947 if (ndx == 0 || ndx == 1) 10948 p = "int"; 10949 break; 10950 /* fstat */ 10951 case 551: 10952 if (ndx == 0 || ndx == 1) 10953 p = "int"; 10954 break; 10955 /* fstatat */ 10956 case 552: 10957 if (ndx == 0 || ndx == 1) 10958 p = "int"; 10959 break; 10960 /* fhstat */ 10961 case 553: 10962 if (ndx == 0 || ndx == 1) 10963 p = "int"; 10964 break; 10965 /* getdirentries */ 10966 case 554: 10967 if (ndx == 0 || ndx == 1) 10968 p = "ssize_t"; 10969 break; 10970 /* statfs */ 10971 case 555: 10972 if (ndx == 0 || ndx == 1) 10973 p = "int"; 10974 break; 10975 /* fstatfs */ 10976 case 556: 10977 if (ndx == 0 || ndx == 1) 10978 p = "int"; 10979 break; 10980 /* getfsstat */ 10981 case 557: 10982 if (ndx == 0 || ndx == 1) 10983 p = "int"; 10984 break; 10985 /* fhstatfs */ 10986 case 558: 10987 if (ndx == 0 || ndx == 1) 10988 p = "int"; 10989 break; 10990 /* mknodat */ 10991 case 559: 10992 if (ndx == 0 || ndx == 1) 10993 p = "int"; 10994 break; 10995 /* kevent */ 10996 case 560: 10997 if (ndx == 0 || ndx == 1) 10998 p = "int"; 10999 break; 11000 /* cpuset_getdomain */ 11001 case 561: 11002 if (ndx == 0 || ndx == 1) 11003 p = "int"; 11004 break; 11005 /* cpuset_setdomain */ 11006 case 562: 11007 if (ndx == 0 || ndx == 1) 11008 p = "int"; 11009 break; 11010 /* getrandom */ 11011 case 563: 11012 if (ndx == 0 || ndx == 1) 11013 p = "int"; 11014 break; 11015 /* getfhat */ 11016 case 564: 11017 if (ndx == 0 || ndx == 1) 11018 p = "int"; 11019 break; 11020 /* fhlink */ 11021 case 565: 11022 if (ndx == 0 || ndx == 1) 11023 p = "int"; 11024 break; 11025 /* fhlinkat */ 11026 case 566: 11027 if (ndx == 0 || ndx == 1) 11028 p = "int"; 11029 break; 11030 /* fhreadlink */ 11031 case 567: 11032 if (ndx == 0 || ndx == 1) 11033 p = "int"; 11034 break; 11035 /* funlinkat */ 11036 case 568: 11037 if (ndx == 0 || ndx == 1) 11038 p = "int"; 11039 break; 11040 /* copy_file_range */ 11041 case 569: 11042 if (ndx == 0 || ndx == 1) 11043 p = "ssize_t"; 11044 break; 11045 /* __sysctlbyname */ 11046 case 570: 11047 if (ndx == 0 || ndx == 1) 11048 p = "int"; 11049 break; 11050 /* shm_open2 */ 11051 case 571: 11052 if (ndx == 0 || ndx == 1) 11053 p = "int"; 11054 break; 11055 /* shm_rename */ 11056 case 572: 11057 if (ndx == 0 || ndx == 1) 11058 p = "int"; 11059 break; 11060 /* sigfastblock */ 11061 case 573: 11062 if (ndx == 0 || ndx == 1) 11063 p = "int"; 11064 break; 11065 /* __realpathat */ 11066 case 574: 11067 if (ndx == 0 || ndx == 1) 11068 p = "int"; 11069 break; 11070 /* close_range */ 11071 case 575: 11072 if (ndx == 0 || ndx == 1) 11073 p = "int"; 11074 break; 11075 /* rpctls_syscall */ 11076 case 576: 11077 if (ndx == 0 || ndx == 1) 11078 p = "int"; 11079 break; 11080 /* __specialfd */ 11081 case 577: 11082 if (ndx == 0 || ndx == 1) 11083 p = "int"; 11084 break; 11085 /* aio_writev */ 11086 case 578: 11087 if (ndx == 0 || ndx == 1) 11088 p = "int"; 11089 break; 11090 /* aio_readv */ 11091 case 579: 11092 if (ndx == 0 || ndx == 1) 11093 p = "int"; 11094 break; 11095 /* fspacectl */ 11096 case 580: 11097 if (ndx == 0 || ndx == 1) 11098 p = "int"; 11099 break; 11100 /* sched_getcpu */ 11101 case 581: 11102 /* swapoff */ 11103 case 582: 11104 if (ndx == 0 || ndx == 1) 11105 p = "int"; 11106 break; 11107 /* kqueuex */ 11108 case 583: 11109 if (ndx == 0 || ndx == 1) 11110 p = "int"; 11111 break; 11112 default: 11113 break; 11114 }; 11115 if (p != NULL) 11116 strlcpy(desc, p, descsz); 11117 } 11118