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