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