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