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