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