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