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