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