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