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