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