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