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