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