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