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