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_unlink */ 2495 case 483: { 2496 struct shm_unlink_args *p = params; 2497 uarg[0] = (intptr_t) p->path; /* const char * */ 2498 *n_args = 1; 2499 break; 2500 } 2501 /* cpuset */ 2502 case 484: { 2503 struct cpuset_args *p = params; 2504 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */ 2505 *n_args = 1; 2506 break; 2507 } 2508 #ifdef PAD64_REQUIRED 2509 /* freebsd32_cpuset_setid */ 2510 case 485: { 2511 struct freebsd32_cpuset_setid_args *p = params; 2512 iarg[0] = p->which; /* cpuwhich_t */ 2513 iarg[1] = p->pad; /* int */ 2514 uarg[2] = p->id1; /* uint32_t */ 2515 uarg[3] = p->id2; /* uint32_t */ 2516 iarg[4] = p->setid; /* cpusetid_t */ 2517 *n_args = 5; 2518 break; 2519 } 2520 #else 2521 /* freebsd32_cpuset_setid */ 2522 case 485: { 2523 struct freebsd32_cpuset_setid_args *p = params; 2524 iarg[0] = p->which; /* cpuwhich_t */ 2525 uarg[1] = p->id1; /* uint32_t */ 2526 uarg[2] = p->id2; /* uint32_t */ 2527 iarg[3] = p->setid; /* cpusetid_t */ 2528 *n_args = 4; 2529 break; 2530 } 2531 #endif 2532 /* freebsd32_cpuset_getid */ 2533 case 486: { 2534 struct freebsd32_cpuset_getid_args *p = params; 2535 iarg[0] = p->level; /* cpulevel_t */ 2536 iarg[1] = p->which; /* cpuwhich_t */ 2537 uarg[2] = p->id1; /* uint32_t */ 2538 uarg[3] = p->id2; /* uint32_t */ 2539 uarg[4] = (intptr_t) p->setid; /* cpusetid_t * */ 2540 *n_args = 5; 2541 break; 2542 } 2543 /* freebsd32_cpuset_getaffinity */ 2544 case 487: { 2545 struct freebsd32_cpuset_getaffinity_args *p = params; 2546 iarg[0] = p->level; /* cpulevel_t */ 2547 iarg[1] = p->which; /* cpuwhich_t */ 2548 uarg[2] = p->id1; /* uint32_t */ 2549 uarg[3] = p->id2; /* uint32_t */ 2550 uarg[4] = p->cpusetsize; /* size_t */ 2551 uarg[5] = (intptr_t) p->mask; /* cpuset_t * */ 2552 *n_args = 6; 2553 break; 2554 } 2555 /* freebsd32_cpuset_setaffinity */ 2556 case 488: { 2557 struct freebsd32_cpuset_setaffinity_args *p = params; 2558 iarg[0] = p->level; /* cpulevel_t */ 2559 iarg[1] = p->which; /* cpuwhich_t */ 2560 uarg[2] = p->id1; /* uint32_t */ 2561 uarg[3] = p->id2; /* uint32_t */ 2562 uarg[4] = p->cpusetsize; /* size_t */ 2563 uarg[5] = (intptr_t) p->mask; /* const cpuset_t * */ 2564 *n_args = 6; 2565 break; 2566 } 2567 /* faccessat */ 2568 case 489: { 2569 struct faccessat_args *p = params; 2570 iarg[0] = p->fd; /* int */ 2571 uarg[1] = (intptr_t) p->path; /* const char * */ 2572 iarg[2] = p->amode; /* int */ 2573 iarg[3] = p->flag; /* int */ 2574 *n_args = 4; 2575 break; 2576 } 2577 /* fchmodat */ 2578 case 490: { 2579 struct fchmodat_args *p = params; 2580 iarg[0] = p->fd; /* int */ 2581 uarg[1] = (intptr_t) p->path; /* const char * */ 2582 iarg[2] = p->mode; /* mode_t */ 2583 iarg[3] = p->flag; /* int */ 2584 *n_args = 4; 2585 break; 2586 } 2587 /* fchownat */ 2588 case 491: { 2589 struct fchownat_args *p = params; 2590 iarg[0] = p->fd; /* int */ 2591 uarg[1] = (intptr_t) p->path; /* const char * */ 2592 uarg[2] = p->uid; /* uid_t */ 2593 iarg[3] = p->gid; /* gid_t */ 2594 iarg[4] = p->flag; /* int */ 2595 *n_args = 5; 2596 break; 2597 } 2598 /* freebsd32_fexecve */ 2599 case 492: { 2600 struct freebsd32_fexecve_args *p = params; 2601 iarg[0] = p->fd; /* int */ 2602 uarg[1] = (intptr_t) p->argv; /* uint32_t * */ 2603 uarg[2] = (intptr_t) p->envv; /* uint32_t * */ 2604 *n_args = 3; 2605 break; 2606 } 2607 /* freebsd32_futimesat */ 2608 case 494: { 2609 struct freebsd32_futimesat_args *p = params; 2610 iarg[0] = p->fd; /* int */ 2611 uarg[1] = (intptr_t) p->path; /* const char * */ 2612 uarg[2] = (intptr_t) p->times; /* struct timeval * */ 2613 *n_args = 3; 2614 break; 2615 } 2616 /* linkat */ 2617 case 495: { 2618 struct linkat_args *p = params; 2619 iarg[0] = p->fd1; /* int */ 2620 uarg[1] = (intptr_t) p->path1; /* const char * */ 2621 iarg[2] = p->fd2; /* int */ 2622 uarg[3] = (intptr_t) p->path2; /* const char * */ 2623 iarg[4] = p->flag; /* int */ 2624 *n_args = 5; 2625 break; 2626 } 2627 /* mkdirat */ 2628 case 496: { 2629 struct mkdirat_args *p = params; 2630 iarg[0] = p->fd; /* int */ 2631 uarg[1] = (intptr_t) p->path; /* const char * */ 2632 iarg[2] = p->mode; /* mode_t */ 2633 *n_args = 3; 2634 break; 2635 } 2636 /* mkfifoat */ 2637 case 497: { 2638 struct mkfifoat_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 /* openat */ 2646 case 499: { 2647 struct openat_args *p = params; 2648 iarg[0] = p->fd; /* int */ 2649 uarg[1] = (intptr_t) p->path; /* const char * */ 2650 iarg[2] = p->flag; /* int */ 2651 iarg[3] = p->mode; /* mode_t */ 2652 *n_args = 4; 2653 break; 2654 } 2655 /* readlinkat */ 2656 case 500: { 2657 struct readlinkat_args *p = params; 2658 iarg[0] = p->fd; /* int */ 2659 uarg[1] = (intptr_t) p->path; /* const char * */ 2660 uarg[2] = (intptr_t) p->buf; /* char * */ 2661 uarg[3] = p->bufsize; /* size_t */ 2662 *n_args = 4; 2663 break; 2664 } 2665 /* renameat */ 2666 case 501: { 2667 struct renameat_args *p = params; 2668 iarg[0] = p->oldfd; /* int */ 2669 uarg[1] = (intptr_t) p->old; /* const char * */ 2670 iarg[2] = p->newfd; /* int */ 2671 uarg[3] = (intptr_t) p->new; /* const char * */ 2672 *n_args = 4; 2673 break; 2674 } 2675 /* symlinkat */ 2676 case 502: { 2677 struct symlinkat_args *p = params; 2678 uarg[0] = (intptr_t) p->path1; /* const char * */ 2679 iarg[1] = p->fd; /* int */ 2680 uarg[2] = (intptr_t) p->path2; /* const char * */ 2681 *n_args = 3; 2682 break; 2683 } 2684 /* unlinkat */ 2685 case 503: { 2686 struct unlinkat_args *p = params; 2687 iarg[0] = p->fd; /* int */ 2688 uarg[1] = (intptr_t) p->path; /* const char * */ 2689 iarg[2] = p->flag; /* int */ 2690 *n_args = 3; 2691 break; 2692 } 2693 /* posix_openpt */ 2694 case 504: { 2695 struct posix_openpt_args *p = params; 2696 iarg[0] = p->flags; /* int */ 2697 *n_args = 1; 2698 break; 2699 } 2700 /* freebsd32_jail_get */ 2701 case 506: { 2702 struct freebsd32_jail_get_args *p = params; 2703 uarg[0] = (intptr_t) p->iovp; /* struct iovec32 * */ 2704 uarg[1] = p->iovcnt; /* unsigned int */ 2705 iarg[2] = p->flags; /* int */ 2706 *n_args = 3; 2707 break; 2708 } 2709 /* freebsd32_jail_set */ 2710 case 507: { 2711 struct freebsd32_jail_set_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 /* jail_remove */ 2719 case 508: { 2720 struct jail_remove_args *p = params; 2721 iarg[0] = p->jid; /* int */ 2722 *n_args = 1; 2723 break; 2724 } 2725 /* closefrom */ 2726 case 509: { 2727 struct closefrom_args *p = params; 2728 iarg[0] = p->lowfd; /* int */ 2729 *n_args = 1; 2730 break; 2731 } 2732 /* freebsd32_semctl */ 2733 case 510: { 2734 struct freebsd32_semctl_args *p = params; 2735 iarg[0] = p->semid; /* int */ 2736 iarg[1] = p->semnum; /* int */ 2737 iarg[2] = p->cmd; /* int */ 2738 uarg[3] = (intptr_t) p->arg; /* union semun32 * */ 2739 *n_args = 4; 2740 break; 2741 } 2742 /* freebsd32_msgctl */ 2743 case 511: { 2744 struct freebsd32_msgctl_args *p = params; 2745 iarg[0] = p->msqid; /* int */ 2746 iarg[1] = p->cmd; /* int */ 2747 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds32 * */ 2748 *n_args = 3; 2749 break; 2750 } 2751 /* freebsd32_shmctl */ 2752 case 512: { 2753 struct freebsd32_shmctl_args *p = params; 2754 iarg[0] = p->shmid; /* int */ 2755 iarg[1] = p->cmd; /* int */ 2756 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds32 * */ 2757 *n_args = 3; 2758 break; 2759 } 2760 /* lpathconf */ 2761 case 513: { 2762 struct lpathconf_args *p = params; 2763 uarg[0] = (intptr_t) p->path; /* const char * */ 2764 iarg[1] = p->name; /* int */ 2765 *n_args = 2; 2766 break; 2767 } 2768 /* __cap_rights_get */ 2769 case 515: { 2770 struct __cap_rights_get_args *p = params; 2771 iarg[0] = p->version; /* int */ 2772 iarg[1] = p->fd; /* int */ 2773 uarg[2] = (intptr_t) p->rightsp; /* cap_rights_t * */ 2774 *n_args = 3; 2775 break; 2776 } 2777 /* cap_enter */ 2778 case 516: { 2779 *n_args = 0; 2780 break; 2781 } 2782 /* cap_getmode */ 2783 case 517: { 2784 struct cap_getmode_args *p = params; 2785 uarg[0] = (intptr_t) p->modep; /* u_int * */ 2786 *n_args = 1; 2787 break; 2788 } 2789 /* pdfork */ 2790 case 518: { 2791 struct pdfork_args *p = params; 2792 uarg[0] = (intptr_t) p->fdp; /* int * */ 2793 iarg[1] = p->flags; /* int */ 2794 *n_args = 2; 2795 break; 2796 } 2797 /* pdkill */ 2798 case 519: { 2799 struct pdkill_args *p = params; 2800 iarg[0] = p->fd; /* int */ 2801 iarg[1] = p->signum; /* int */ 2802 *n_args = 2; 2803 break; 2804 } 2805 /* pdgetpid */ 2806 case 520: { 2807 struct pdgetpid_args *p = params; 2808 iarg[0] = p->fd; /* int */ 2809 uarg[1] = (intptr_t) p->pidp; /* pid_t * */ 2810 *n_args = 2; 2811 break; 2812 } 2813 /* freebsd32_pselect */ 2814 case 522: { 2815 struct freebsd32_pselect_args *p = params; 2816 iarg[0] = p->nd; /* int */ 2817 uarg[1] = (intptr_t) p->in; /* fd_set * */ 2818 uarg[2] = (intptr_t) p->ou; /* fd_set * */ 2819 uarg[3] = (intptr_t) p->ex; /* fd_set * */ 2820 uarg[4] = (intptr_t) p->ts; /* const struct timespec32 * */ 2821 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */ 2822 *n_args = 6; 2823 break; 2824 } 2825 /* getloginclass */ 2826 case 523: { 2827 struct getloginclass_args *p = params; 2828 uarg[0] = (intptr_t) p->namebuf; /* char * */ 2829 uarg[1] = p->namelen; /* size_t */ 2830 *n_args = 2; 2831 break; 2832 } 2833 /* setloginclass */ 2834 case 524: { 2835 struct setloginclass_args *p = params; 2836 uarg[0] = (intptr_t) p->namebuf; /* const char * */ 2837 *n_args = 1; 2838 break; 2839 } 2840 /* rctl_get_racct */ 2841 case 525: { 2842 struct rctl_get_racct_args *p = params; 2843 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 2844 uarg[1] = p->inbuflen; /* size_t */ 2845 uarg[2] = (intptr_t) p->outbufp; /* void * */ 2846 uarg[3] = p->outbuflen; /* size_t */ 2847 *n_args = 4; 2848 break; 2849 } 2850 /* rctl_get_rules */ 2851 case 526: { 2852 struct rctl_get_rules_args *p = params; 2853 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 2854 uarg[1] = p->inbuflen; /* size_t */ 2855 uarg[2] = (intptr_t) p->outbufp; /* void * */ 2856 uarg[3] = p->outbuflen; /* size_t */ 2857 *n_args = 4; 2858 break; 2859 } 2860 /* rctl_get_limits */ 2861 case 527: { 2862 struct rctl_get_limits_args *p = params; 2863 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 2864 uarg[1] = p->inbuflen; /* size_t */ 2865 uarg[2] = (intptr_t) p->outbufp; /* void * */ 2866 uarg[3] = p->outbuflen; /* size_t */ 2867 *n_args = 4; 2868 break; 2869 } 2870 /* rctl_add_rule */ 2871 case 528: { 2872 struct rctl_add_rule_args *p = params; 2873 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 2874 uarg[1] = p->inbuflen; /* size_t */ 2875 uarg[2] = (intptr_t) p->outbufp; /* void * */ 2876 uarg[3] = p->outbuflen; /* size_t */ 2877 *n_args = 4; 2878 break; 2879 } 2880 /* rctl_remove_rule */ 2881 case 529: { 2882 struct rctl_remove_rule_args *p = params; 2883 uarg[0] = (intptr_t) p->inbufp; /* const void * */ 2884 uarg[1] = p->inbuflen; /* size_t */ 2885 uarg[2] = (intptr_t) p->outbufp; /* void * */ 2886 uarg[3] = p->outbuflen; /* size_t */ 2887 *n_args = 4; 2888 break; 2889 } 2890 #ifdef PAD64_REQUIRED 2891 /* freebsd32_posix_fallocate */ 2892 case 530: { 2893 struct freebsd32_posix_fallocate_args *p = params; 2894 iarg[0] = p->fd; /* int */ 2895 iarg[1] = p->pad; /* int */ 2896 uarg[2] = p->offset1; /* uint32_t */ 2897 uarg[3] = p->offset2; /* uint32_t */ 2898 uarg[4] = p->len1; /* uint32_t */ 2899 uarg[5] = p->len2; /* uint32_t */ 2900 *n_args = 6; 2901 break; 2902 } 2903 /* freebsd32_posix_fadvise */ 2904 case 531: { 2905 struct freebsd32_posix_fadvise_args *p = params; 2906 iarg[0] = p->fd; /* int */ 2907 iarg[1] = p->pad; /* int */ 2908 uarg[2] = p->offset1; /* uint32_t */ 2909 uarg[3] = p->offset2; /* uint32_t */ 2910 uarg[4] = p->len1; /* uint32_t */ 2911 uarg[5] = p->len2; /* uint32_t */ 2912 iarg[6] = p->advice; /* int */ 2913 *n_args = 7; 2914 break; 2915 } 2916 /* freebsd32_wait6 */ 2917 case 532: { 2918 struct freebsd32_wait6_args *p = params; 2919 iarg[0] = p->idtype; /* int */ 2920 iarg[1] = p->pad; /* int */ 2921 uarg[2] = p->id1; /* uint32_t */ 2922 uarg[3] = p->id2; /* uint32_t */ 2923 uarg[4] = (intptr_t) p->status; /* int * */ 2924 iarg[5] = p->options; /* int */ 2925 uarg[6] = (intptr_t) p->wrusage; /* struct wrusage32 * */ 2926 uarg[7] = (intptr_t) p->info; /* siginfo_t * */ 2927 *n_args = 8; 2928 break; 2929 } 2930 #else 2931 /* freebsd32_posix_fallocate */ 2932 case 530: { 2933 struct freebsd32_posix_fallocate_args *p = params; 2934 iarg[0] = p->fd; /* int */ 2935 uarg[1] = p->offset1; /* uint32_t */ 2936 uarg[2] = p->offset2; /* uint32_t */ 2937 uarg[3] = p->len1; /* uint32_t */ 2938 uarg[4] = p->len2; /* uint32_t */ 2939 *n_args = 5; 2940 break; 2941 } 2942 /* freebsd32_posix_fadvise */ 2943 case 531: { 2944 struct freebsd32_posix_fadvise_args *p = params; 2945 iarg[0] = p->fd; /* int */ 2946 uarg[1] = p->offset1; /* uint32_t */ 2947 uarg[2] = p->offset2; /* uint32_t */ 2948 uarg[3] = p->len1; /* uint32_t */ 2949 uarg[4] = p->len2; /* uint32_t */ 2950 iarg[5] = p->advice; /* int */ 2951 *n_args = 6; 2952 break; 2953 } 2954 /* freebsd32_wait6 */ 2955 case 532: { 2956 struct freebsd32_wait6_args *p = params; 2957 iarg[0] = p->idtype; /* int */ 2958 uarg[1] = p->id1; /* uint32_t */ 2959 uarg[2] = p->id2; /* uint32_t */ 2960 uarg[3] = (intptr_t) p->status; /* int * */ 2961 iarg[4] = p->options; /* int */ 2962 uarg[5] = (intptr_t) p->wrusage; /* struct wrusage32 * */ 2963 uarg[6] = (intptr_t) p->info; /* siginfo_t * */ 2964 *n_args = 7; 2965 break; 2966 } 2967 #endif 2968 /* cap_rights_limit */ 2969 case 533: { 2970 struct cap_rights_limit_args *p = params; 2971 iarg[0] = p->fd; /* int */ 2972 uarg[1] = (intptr_t) p->rightsp; /* cap_rights_t * */ 2973 *n_args = 2; 2974 break; 2975 } 2976 /* freebsd32_cap_ioctls_limit */ 2977 case 534: { 2978 struct freebsd32_cap_ioctls_limit_args *p = params; 2979 iarg[0] = p->fd; /* int */ 2980 uarg[1] = (intptr_t) p->cmds; /* const uint32_t * */ 2981 uarg[2] = p->ncmds; /* size_t */ 2982 *n_args = 3; 2983 break; 2984 } 2985 /* freebsd32_cap_ioctls_get */ 2986 case 535: { 2987 struct freebsd32_cap_ioctls_get_args *p = params; 2988 iarg[0] = p->fd; /* int */ 2989 uarg[1] = (intptr_t) p->cmds; /* uint32_t * */ 2990 uarg[2] = p->maxcmds; /* size_t */ 2991 *n_args = 3; 2992 break; 2993 } 2994 /* cap_fcntls_limit */ 2995 case 536: { 2996 struct cap_fcntls_limit_args *p = params; 2997 iarg[0] = p->fd; /* int */ 2998 uarg[1] = p->fcntlrights; /* uint32_t */ 2999 *n_args = 2; 3000 break; 3001 } 3002 /* cap_fcntls_get */ 3003 case 537: { 3004 struct cap_fcntls_get_args *p = params; 3005 iarg[0] = p->fd; /* int */ 3006 uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */ 3007 *n_args = 2; 3008 break; 3009 } 3010 /* bindat */ 3011 case 538: { 3012 struct bindat_args *p = params; 3013 iarg[0] = p->fd; /* int */ 3014 iarg[1] = p->s; /* int */ 3015 uarg[2] = (intptr_t) p->name; /* const struct sockaddr * */ 3016 iarg[3] = p->namelen; /* int */ 3017 *n_args = 4; 3018 break; 3019 } 3020 /* connectat */ 3021 case 539: { 3022 struct connectat_args *p = params; 3023 iarg[0] = p->fd; /* int */ 3024 iarg[1] = p->s; /* int */ 3025 uarg[2] = (intptr_t) p->name; /* const struct sockaddr * */ 3026 iarg[3] = p->namelen; /* int */ 3027 *n_args = 4; 3028 break; 3029 } 3030 /* chflagsat */ 3031 case 540: { 3032 struct chflagsat_args *p = params; 3033 iarg[0] = p->fd; /* int */ 3034 uarg[1] = (intptr_t) p->path; /* const char * */ 3035 uarg[2] = p->flags; /* u_long */ 3036 iarg[3] = p->atflag; /* int */ 3037 *n_args = 4; 3038 break; 3039 } 3040 /* accept4 */ 3041 case 541: { 3042 struct accept4_args *p = params; 3043 iarg[0] = p->s; /* int */ 3044 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */ 3045 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */ 3046 iarg[3] = p->flags; /* int */ 3047 *n_args = 4; 3048 break; 3049 } 3050 /* pipe2 */ 3051 case 542: { 3052 struct pipe2_args *p = params; 3053 uarg[0] = (intptr_t) p->fildes; /* int * */ 3054 iarg[1] = p->flags; /* int */ 3055 *n_args = 2; 3056 break; 3057 } 3058 /* freebsd32_aio_mlock */ 3059 case 543: { 3060 struct freebsd32_aio_mlock_args *p = params; 3061 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb32 * */ 3062 *n_args = 1; 3063 break; 3064 } 3065 #ifdef PAD64_REQUIRED 3066 /* freebsd32_procctl */ 3067 case 544: { 3068 struct freebsd32_procctl_args *p = params; 3069 iarg[0] = p->idtype; /* int */ 3070 iarg[1] = p->pad; /* int */ 3071 uarg[2] = p->id1; /* uint32_t */ 3072 uarg[3] = p->id2; /* uint32_t */ 3073 iarg[4] = p->com; /* int */ 3074 uarg[5] = (intptr_t) p->data; /* void * */ 3075 *n_args = 6; 3076 break; 3077 } 3078 #else 3079 /* freebsd32_procctl */ 3080 case 544: { 3081 struct freebsd32_procctl_args *p = params; 3082 iarg[0] = p->idtype; /* int */ 3083 uarg[1] = p->id1; /* uint32_t */ 3084 uarg[2] = p->id2; /* uint32_t */ 3085 iarg[3] = p->com; /* int */ 3086 uarg[4] = (intptr_t) p->data; /* void * */ 3087 *n_args = 5; 3088 break; 3089 } 3090 #endif 3091 /* freebsd32_ppoll */ 3092 case 545: { 3093 struct freebsd32_ppoll_args *p = params; 3094 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */ 3095 uarg[1] = p->nfds; /* u_int */ 3096 uarg[2] = (intptr_t) p->ts; /* const struct timespec32 * */ 3097 uarg[3] = (intptr_t) p->set; /* const sigset_t * */ 3098 *n_args = 4; 3099 break; 3100 } 3101 /* freebsd32_futimens */ 3102 case 546: { 3103 struct freebsd32_futimens_args *p = params; 3104 iarg[0] = p->fd; /* int */ 3105 uarg[1] = (intptr_t) p->times; /* struct timespec * */ 3106 *n_args = 2; 3107 break; 3108 } 3109 /* freebsd32_utimensat */ 3110 case 547: { 3111 struct freebsd32_utimensat_args *p = params; 3112 iarg[0] = p->fd; /* int */ 3113 uarg[1] = (intptr_t) p->path; /* const char * */ 3114 uarg[2] = (intptr_t) p->times; /* struct timespec * */ 3115 iarg[3] = p->flag; /* int */ 3116 *n_args = 4; 3117 break; 3118 } 3119 /* fdatasync */ 3120 case 550: { 3121 struct fdatasync_args *p = params; 3122 iarg[0] = p->fd; /* int */ 3123 *n_args = 1; 3124 break; 3125 } 3126 /* freebsd32_fstat */ 3127 case 551: { 3128 struct freebsd32_fstat_args *p = params; 3129 iarg[0] = p->fd; /* int */ 3130 uarg[1] = (intptr_t) p->ub; /* struct stat32 * */ 3131 *n_args = 2; 3132 break; 3133 } 3134 /* freebsd32_fstatat */ 3135 case 552: { 3136 struct freebsd32_fstatat_args *p = params; 3137 iarg[0] = p->fd; /* int */ 3138 uarg[1] = (intptr_t) p->path; /* const char * */ 3139 uarg[2] = (intptr_t) p->buf; /* struct stat32 * */ 3140 iarg[3] = p->flag; /* int */ 3141 *n_args = 4; 3142 break; 3143 } 3144 /* freebsd32_fhstat */ 3145 case 553: { 3146 struct freebsd32_fhstat_args *p = params; 3147 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */ 3148 uarg[1] = (intptr_t) p->sb; /* struct stat32 * */ 3149 *n_args = 2; 3150 break; 3151 } 3152 /* getdirentries */ 3153 case 554: { 3154 struct getdirentries_args *p = params; 3155 iarg[0] = p->fd; /* int */ 3156 uarg[1] = (intptr_t) p->buf; /* char * */ 3157 uarg[2] = p->count; /* size_t */ 3158 uarg[3] = (intptr_t) p->basep; /* off_t * */ 3159 *n_args = 4; 3160 break; 3161 } 3162 /* statfs */ 3163 case 555: { 3164 struct statfs_args *p = params; 3165 uarg[0] = (intptr_t) p->path; /* const char * */ 3166 uarg[1] = (intptr_t) p->buf; /* struct statfs32 * */ 3167 *n_args = 2; 3168 break; 3169 } 3170 /* fstatfs */ 3171 case 556: { 3172 struct fstatfs_args *p = params; 3173 iarg[0] = p->fd; /* int */ 3174 uarg[1] = (intptr_t) p->buf; /* struct statfs32 * */ 3175 *n_args = 2; 3176 break; 3177 } 3178 /* getfsstat */ 3179 case 557: { 3180 struct getfsstat_args *p = params; 3181 uarg[0] = (intptr_t) p->buf; /* struct statfs32 * */ 3182 iarg[1] = p->bufsize; /* long */ 3183 iarg[2] = p->mode; /* int */ 3184 *n_args = 3; 3185 break; 3186 } 3187 /* fhstatfs */ 3188 case 558: { 3189 struct fhstatfs_args *p = params; 3190 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */ 3191 uarg[1] = (intptr_t) p->buf; /* struct statfs32 * */ 3192 *n_args = 2; 3193 break; 3194 } 3195 #ifdef PAD64_REQUIRED 3196 /* freebsd32_mknodat */ 3197 case 559: { 3198 struct freebsd32_mknodat_args *p = params; 3199 iarg[0] = p->fd; /* int */ 3200 uarg[1] = (intptr_t) p->path; /* const char * */ 3201 iarg[2] = p->mode; /* mode_t */ 3202 iarg[3] = p->pad; /* int */ 3203 uarg[4] = p->dev1; /* uint32_t */ 3204 uarg[5] = p->dev2; /* uint32_t */ 3205 *n_args = 6; 3206 break; 3207 } 3208 #else 3209 /* freebsd32_mknodat */ 3210 case 559: { 3211 struct freebsd32_mknodat_args *p = params; 3212 iarg[0] = p->fd; /* int */ 3213 uarg[1] = (intptr_t) p->path; /* const char * */ 3214 iarg[2] = p->mode; /* mode_t */ 3215 uarg[3] = p->dev1; /* uint32_t */ 3216 uarg[4] = p->dev2; /* uint32_t */ 3217 *n_args = 5; 3218 break; 3219 } 3220 #endif 3221 /* freebsd32_kevent */ 3222 case 560: { 3223 struct freebsd32_kevent_args *p = params; 3224 iarg[0] = p->fd; /* int */ 3225 uarg[1] = (intptr_t) p->changelist; /* const struct kevent32 * */ 3226 iarg[2] = p->nchanges; /* int */ 3227 uarg[3] = (intptr_t) p->eventlist; /* struct kevent32 * */ 3228 iarg[4] = p->nevents; /* int */ 3229 uarg[5] = (intptr_t) p->timeout; /* const struct timespec32 * */ 3230 *n_args = 6; 3231 break; 3232 } 3233 /* freebsd32_cpuset_getdomain */ 3234 case 561: { 3235 struct freebsd32_cpuset_getdomain_args *p = params; 3236 iarg[0] = p->level; /* cpulevel_t */ 3237 iarg[1] = p->which; /* cpuwhich_t */ 3238 uarg[2] = p->id1; /* uint32_t */ 3239 uarg[3] = p->id2; /* uint32_t */ 3240 uarg[4] = p->domainsetsize; /* size_t */ 3241 uarg[5] = (intptr_t) p->mask; /* domainset_t * */ 3242 uarg[6] = (intptr_t) p->policy; /* int * */ 3243 *n_args = 7; 3244 break; 3245 } 3246 /* freebsd32_cpuset_setdomain */ 3247 case 562: { 3248 struct freebsd32_cpuset_setdomain_args *p = params; 3249 iarg[0] = p->level; /* cpulevel_t */ 3250 iarg[1] = p->which; /* cpuwhich_t */ 3251 uarg[2] = p->id1; /* uint32_t */ 3252 uarg[3] = p->id2; /* uint32_t */ 3253 uarg[4] = p->domainsetsize; /* size_t */ 3254 uarg[5] = (intptr_t) p->mask; /* domainset_t * */ 3255 iarg[6] = p->policy; /* int */ 3256 *n_args = 7; 3257 break; 3258 } 3259 /* getrandom */ 3260 case 563: { 3261 struct getrandom_args *p = params; 3262 uarg[0] = (intptr_t) p->buf; /* void * */ 3263 uarg[1] = p->buflen; /* size_t */ 3264 uarg[2] = p->flags; /* unsigned int */ 3265 *n_args = 3; 3266 break; 3267 } 3268 /* getfhat */ 3269 case 564: { 3270 struct getfhat_args *p = params; 3271 iarg[0] = p->fd; /* int */ 3272 uarg[1] = (intptr_t) p->path; /* char * */ 3273 uarg[2] = (intptr_t) p->fhp; /* struct fhandle * */ 3274 iarg[3] = p->flags; /* int */ 3275 *n_args = 4; 3276 break; 3277 } 3278 /* fhlink */ 3279 case 565: { 3280 struct fhlink_args *p = params; 3281 uarg[0] = (intptr_t) p->fhp; /* struct fhandle * */ 3282 uarg[1] = (intptr_t) p->to; /* const char * */ 3283 *n_args = 2; 3284 break; 3285 } 3286 /* fhlinkat */ 3287 case 566: { 3288 struct fhlinkat_args *p = params; 3289 uarg[0] = (intptr_t) p->fhp; /* struct fhandle * */ 3290 iarg[1] = p->tofd; /* int */ 3291 uarg[2] = (intptr_t) p->to; /* const char * */ 3292 *n_args = 3; 3293 break; 3294 } 3295 /* fhreadlink */ 3296 case 567: { 3297 struct fhreadlink_args *p = params; 3298 uarg[0] = (intptr_t) p->fhp; /* struct fhandle * */ 3299 uarg[1] = (intptr_t) p->buf; /* char * */ 3300 uarg[2] = p->bufsize; /* size_t */ 3301 *n_args = 3; 3302 break; 3303 } 3304 /* funlinkat */ 3305 case 568: { 3306 struct funlinkat_args *p = params; 3307 iarg[0] = p->dfd; /* int */ 3308 uarg[1] = (intptr_t) p->path; /* const char * */ 3309 iarg[2] = p->fd; /* int */ 3310 iarg[3] = p->flag; /* int */ 3311 *n_args = 4; 3312 break; 3313 } 3314 /* copy_file_range */ 3315 case 569: { 3316 struct copy_file_range_args *p = params; 3317 iarg[0] = p->infd; /* int */ 3318 uarg[1] = (intptr_t) p->inoffp; /* off_t * */ 3319 iarg[2] = p->outfd; /* int */ 3320 uarg[3] = (intptr_t) p->outoffp; /* off_t * */ 3321 uarg[4] = p->len; /* size_t */ 3322 uarg[5] = p->flags; /* unsigned int */ 3323 *n_args = 6; 3324 break; 3325 } 3326 /* freebsd32___sysctlbyname */ 3327 case 570: { 3328 struct freebsd32___sysctlbyname_args *p = params; 3329 uarg[0] = (intptr_t) p->name; /* const char * */ 3330 uarg[1] = p->namelen; /* size_t */ 3331 uarg[2] = (intptr_t) p->old; /* void * */ 3332 uarg[3] = (intptr_t) p->oldlenp; /* uint32_t * */ 3333 uarg[4] = (intptr_t) p->new; /* void * */ 3334 uarg[5] = p->newlen; /* size_t */ 3335 *n_args = 6; 3336 break; 3337 } 3338 /* shm_open2 */ 3339 case 571: { 3340 struct shm_open2_args *p = params; 3341 uarg[0] = (intptr_t) p->path; /* const char * */ 3342 iarg[1] = p->flags; /* int */ 3343 iarg[2] = p->mode; /* mode_t */ 3344 iarg[3] = p->shmflags; /* int */ 3345 uarg[4] = (intptr_t) p->name; /* const char * */ 3346 *n_args = 5; 3347 break; 3348 } 3349 /* shm_rename */ 3350 case 572: { 3351 struct shm_rename_args *p = params; 3352 uarg[0] = (intptr_t) p->path_from; /* const char * */ 3353 uarg[1] = (intptr_t) p->path_to; /* const char * */ 3354 iarg[2] = p->flags; /* int */ 3355 *n_args = 3; 3356 break; 3357 } 3358 default: 3359 *n_args = 0; 3360 break; 3361 }; 3362 } 3363 static void 3364 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 3365 { 3366 const char *p = NULL; 3367 switch (sysnum) { 3368 #if !defined(PAD64_REQUIRED) && !defined(__amd64__) 3369 #define PAD64_REQUIRED 3370 #endif 3371 /* nosys */ 3372 case 0: 3373 break; 3374 /* sys_exit */ 3375 case 1: 3376 switch(ndx) { 3377 case 0: 3378 p = "int"; 3379 break; 3380 default: 3381 break; 3382 }; 3383 break; 3384 /* fork */ 3385 case 2: 3386 break; 3387 /* read */ 3388 case 3: 3389 switch(ndx) { 3390 case 0: 3391 p = "int"; 3392 break; 3393 case 1: 3394 p = "userland void *"; 3395 break; 3396 case 2: 3397 p = "size_t"; 3398 break; 3399 default: 3400 break; 3401 }; 3402 break; 3403 /* write */ 3404 case 4: 3405 switch(ndx) { 3406 case 0: 3407 p = "int"; 3408 break; 3409 case 1: 3410 p = "userland const void *"; 3411 break; 3412 case 2: 3413 p = "size_t"; 3414 break; 3415 default: 3416 break; 3417 }; 3418 break; 3419 /* open */ 3420 case 5: 3421 switch(ndx) { 3422 case 0: 3423 p = "userland const char *"; 3424 break; 3425 case 1: 3426 p = "int"; 3427 break; 3428 case 2: 3429 p = "mode_t"; 3430 break; 3431 default: 3432 break; 3433 }; 3434 break; 3435 /* close */ 3436 case 6: 3437 switch(ndx) { 3438 case 0: 3439 p = "int"; 3440 break; 3441 default: 3442 break; 3443 }; 3444 break; 3445 /* freebsd32_wait4 */ 3446 case 7: 3447 switch(ndx) { 3448 case 0: 3449 p = "int"; 3450 break; 3451 case 1: 3452 p = "userland int *"; 3453 break; 3454 case 2: 3455 p = "int"; 3456 break; 3457 case 3: 3458 p = "userland struct rusage32 *"; 3459 break; 3460 default: 3461 break; 3462 }; 3463 break; 3464 /* link */ 3465 case 9: 3466 switch(ndx) { 3467 case 0: 3468 p = "userland const char *"; 3469 break; 3470 case 1: 3471 p = "userland const char *"; 3472 break; 3473 default: 3474 break; 3475 }; 3476 break; 3477 /* unlink */ 3478 case 10: 3479 switch(ndx) { 3480 case 0: 3481 p = "userland const char *"; 3482 break; 3483 default: 3484 break; 3485 }; 3486 break; 3487 /* chdir */ 3488 case 12: 3489 switch(ndx) { 3490 case 0: 3491 p = "userland const char *"; 3492 break; 3493 default: 3494 break; 3495 }; 3496 break; 3497 /* fchdir */ 3498 case 13: 3499 switch(ndx) { 3500 case 0: 3501 p = "int"; 3502 break; 3503 default: 3504 break; 3505 }; 3506 break; 3507 /* chmod */ 3508 case 15: 3509 switch(ndx) { 3510 case 0: 3511 p = "userland const char *"; 3512 break; 3513 case 1: 3514 p = "mode_t"; 3515 break; 3516 default: 3517 break; 3518 }; 3519 break; 3520 /* chown */ 3521 case 16: 3522 switch(ndx) { 3523 case 0: 3524 p = "userland const char *"; 3525 break; 3526 case 1: 3527 p = "int"; 3528 break; 3529 case 2: 3530 p = "int"; 3531 break; 3532 default: 3533 break; 3534 }; 3535 break; 3536 /* break */ 3537 case 17: 3538 switch(ndx) { 3539 case 0: 3540 p = "userland char *"; 3541 break; 3542 default: 3543 break; 3544 }; 3545 break; 3546 /* getpid */ 3547 case 20: 3548 break; 3549 /* mount */ 3550 case 21: 3551 switch(ndx) { 3552 case 0: 3553 p = "userland const char *"; 3554 break; 3555 case 1: 3556 p = "userland const char *"; 3557 break; 3558 case 2: 3559 p = "int"; 3560 break; 3561 case 3: 3562 p = "userland void *"; 3563 break; 3564 default: 3565 break; 3566 }; 3567 break; 3568 /* unmount */ 3569 case 22: 3570 switch(ndx) { 3571 case 0: 3572 p = "userland const char *"; 3573 break; 3574 case 1: 3575 p = "int"; 3576 break; 3577 default: 3578 break; 3579 }; 3580 break; 3581 /* setuid */ 3582 case 23: 3583 switch(ndx) { 3584 case 0: 3585 p = "uid_t"; 3586 break; 3587 default: 3588 break; 3589 }; 3590 break; 3591 /* getuid */ 3592 case 24: 3593 break; 3594 /* geteuid */ 3595 case 25: 3596 break; 3597 /* ptrace */ 3598 case 26: 3599 switch(ndx) { 3600 case 0: 3601 p = "int"; 3602 break; 3603 case 1: 3604 p = "pid_t"; 3605 break; 3606 case 2: 3607 p = "caddr_t"; 3608 break; 3609 case 3: 3610 p = "int"; 3611 break; 3612 default: 3613 break; 3614 }; 3615 break; 3616 /* freebsd32_recvmsg */ 3617 case 27: 3618 switch(ndx) { 3619 case 0: 3620 p = "int"; 3621 break; 3622 case 1: 3623 p = "userland struct msghdr32 *"; 3624 break; 3625 case 2: 3626 p = "int"; 3627 break; 3628 default: 3629 break; 3630 }; 3631 break; 3632 /* freebsd32_sendmsg */ 3633 case 28: 3634 switch(ndx) { 3635 case 0: 3636 p = "int"; 3637 break; 3638 case 1: 3639 p = "userland struct msghdr32 *"; 3640 break; 3641 case 2: 3642 p = "int"; 3643 break; 3644 default: 3645 break; 3646 }; 3647 break; 3648 /* freebsd32_recvfrom */ 3649 case 29: 3650 switch(ndx) { 3651 case 0: 3652 p = "int"; 3653 break; 3654 case 1: 3655 p = "userland void *"; 3656 break; 3657 case 2: 3658 p = "uint32_t"; 3659 break; 3660 case 3: 3661 p = "int"; 3662 break; 3663 case 4: 3664 p = "userland struct sockaddr *"; 3665 break; 3666 case 5: 3667 p = "uint32_t"; 3668 break; 3669 default: 3670 break; 3671 }; 3672 break; 3673 /* accept */ 3674 case 30: 3675 switch(ndx) { 3676 case 0: 3677 p = "int"; 3678 break; 3679 case 1: 3680 p = "userland struct sockaddr *"; 3681 break; 3682 case 2: 3683 p = "userland int *"; 3684 break; 3685 default: 3686 break; 3687 }; 3688 break; 3689 /* getpeername */ 3690 case 31: 3691 switch(ndx) { 3692 case 0: 3693 p = "int"; 3694 break; 3695 case 1: 3696 p = "userland struct sockaddr *"; 3697 break; 3698 case 2: 3699 p = "userland int *"; 3700 break; 3701 default: 3702 break; 3703 }; 3704 break; 3705 /* getsockname */ 3706 case 32: 3707 switch(ndx) { 3708 case 0: 3709 p = "int"; 3710 break; 3711 case 1: 3712 p = "userland struct sockaddr *"; 3713 break; 3714 case 2: 3715 p = "userland int *"; 3716 break; 3717 default: 3718 break; 3719 }; 3720 break; 3721 /* access */ 3722 case 33: 3723 switch(ndx) { 3724 case 0: 3725 p = "userland const char *"; 3726 break; 3727 case 1: 3728 p = "int"; 3729 break; 3730 default: 3731 break; 3732 }; 3733 break; 3734 /* chflags */ 3735 case 34: 3736 switch(ndx) { 3737 case 0: 3738 p = "userland const char *"; 3739 break; 3740 case 1: 3741 p = "u_long"; 3742 break; 3743 default: 3744 break; 3745 }; 3746 break; 3747 /* fchflags */ 3748 case 35: 3749 switch(ndx) { 3750 case 0: 3751 p = "int"; 3752 break; 3753 case 1: 3754 p = "u_long"; 3755 break; 3756 default: 3757 break; 3758 }; 3759 break; 3760 /* sync */ 3761 case 36: 3762 break; 3763 /* kill */ 3764 case 37: 3765 switch(ndx) { 3766 case 0: 3767 p = "int"; 3768 break; 3769 case 1: 3770 p = "int"; 3771 break; 3772 default: 3773 break; 3774 }; 3775 break; 3776 /* getppid */ 3777 case 39: 3778 break; 3779 /* dup */ 3780 case 41: 3781 switch(ndx) { 3782 case 0: 3783 p = "u_int"; 3784 break; 3785 default: 3786 break; 3787 }; 3788 break; 3789 /* getegid */ 3790 case 43: 3791 break; 3792 /* profil */ 3793 case 44: 3794 switch(ndx) { 3795 case 0: 3796 p = "userland char *"; 3797 break; 3798 case 1: 3799 p = "size_t"; 3800 break; 3801 case 2: 3802 p = "size_t"; 3803 break; 3804 case 3: 3805 p = "u_int"; 3806 break; 3807 default: 3808 break; 3809 }; 3810 break; 3811 /* ktrace */ 3812 case 45: 3813 switch(ndx) { 3814 case 0: 3815 p = "userland const char *"; 3816 break; 3817 case 1: 3818 p = "int"; 3819 break; 3820 case 2: 3821 p = "int"; 3822 break; 3823 case 3: 3824 p = "int"; 3825 break; 3826 default: 3827 break; 3828 }; 3829 break; 3830 /* getgid */ 3831 case 47: 3832 break; 3833 /* getlogin */ 3834 case 49: 3835 switch(ndx) { 3836 case 0: 3837 p = "userland char *"; 3838 break; 3839 case 1: 3840 p = "u_int"; 3841 break; 3842 default: 3843 break; 3844 }; 3845 break; 3846 /* setlogin */ 3847 case 50: 3848 switch(ndx) { 3849 case 0: 3850 p = "userland const char *"; 3851 break; 3852 default: 3853 break; 3854 }; 3855 break; 3856 /* acct */ 3857 case 51: 3858 switch(ndx) { 3859 case 0: 3860 p = "userland const char *"; 3861 break; 3862 default: 3863 break; 3864 }; 3865 break; 3866 /* freebsd32_sigaltstack */ 3867 case 53: 3868 switch(ndx) { 3869 case 0: 3870 p = "userland struct sigaltstack32 *"; 3871 break; 3872 case 1: 3873 p = "userland struct sigaltstack32 *"; 3874 break; 3875 default: 3876 break; 3877 }; 3878 break; 3879 /* freebsd32_ioctl */ 3880 case 54: 3881 switch(ndx) { 3882 case 0: 3883 p = "int"; 3884 break; 3885 case 1: 3886 p = "uint32_t"; 3887 break; 3888 case 2: 3889 p = "userland struct md_ioctl32 *"; 3890 break; 3891 default: 3892 break; 3893 }; 3894 break; 3895 /* reboot */ 3896 case 55: 3897 switch(ndx) { 3898 case 0: 3899 p = "int"; 3900 break; 3901 default: 3902 break; 3903 }; 3904 break; 3905 /* revoke */ 3906 case 56: 3907 switch(ndx) { 3908 case 0: 3909 p = "userland const char *"; 3910 break; 3911 default: 3912 break; 3913 }; 3914 break; 3915 /* symlink */ 3916 case 57: 3917 switch(ndx) { 3918 case 0: 3919 p = "userland const char *"; 3920 break; 3921 case 1: 3922 p = "userland const char *"; 3923 break; 3924 default: 3925 break; 3926 }; 3927 break; 3928 /* readlink */ 3929 case 58: 3930 switch(ndx) { 3931 case 0: 3932 p = "userland const char *"; 3933 break; 3934 case 1: 3935 p = "userland char *"; 3936 break; 3937 case 2: 3938 p = "size_t"; 3939 break; 3940 default: 3941 break; 3942 }; 3943 break; 3944 /* freebsd32_execve */ 3945 case 59: 3946 switch(ndx) { 3947 case 0: 3948 p = "userland const char *"; 3949 break; 3950 case 1: 3951 p = "userland uint32_t *"; 3952 break; 3953 case 2: 3954 p = "userland uint32_t *"; 3955 break; 3956 default: 3957 break; 3958 }; 3959 break; 3960 /* umask */ 3961 case 60: 3962 switch(ndx) { 3963 case 0: 3964 p = "mode_t"; 3965 break; 3966 default: 3967 break; 3968 }; 3969 break; 3970 /* chroot */ 3971 case 61: 3972 switch(ndx) { 3973 case 0: 3974 p = "userland const char *"; 3975 break; 3976 default: 3977 break; 3978 }; 3979 break; 3980 /* msync */ 3981 case 65: 3982 switch(ndx) { 3983 case 0: 3984 p = "userland void *"; 3985 break; 3986 case 1: 3987 p = "size_t"; 3988 break; 3989 case 2: 3990 p = "int"; 3991 break; 3992 default: 3993 break; 3994 }; 3995 break; 3996 /* vfork */ 3997 case 66: 3998 break; 3999 /* sbrk */ 4000 case 69: 4001 switch(ndx) { 4002 case 0: 4003 p = "int"; 4004 break; 4005 default: 4006 break; 4007 }; 4008 break; 4009 /* sstk */ 4010 case 70: 4011 switch(ndx) { 4012 case 0: 4013 p = "int"; 4014 break; 4015 default: 4016 break; 4017 }; 4018 break; 4019 /* munmap */ 4020 case 73: 4021 switch(ndx) { 4022 case 0: 4023 p = "userland void *"; 4024 break; 4025 case 1: 4026 p = "size_t"; 4027 break; 4028 default: 4029 break; 4030 }; 4031 break; 4032 /* freebsd32_mprotect */ 4033 case 74: 4034 switch(ndx) { 4035 case 0: 4036 p = "userland void *"; 4037 break; 4038 case 1: 4039 p = "size_t"; 4040 break; 4041 case 2: 4042 p = "int"; 4043 break; 4044 default: 4045 break; 4046 }; 4047 break; 4048 /* madvise */ 4049 case 75: 4050 switch(ndx) { 4051 case 0: 4052 p = "userland void *"; 4053 break; 4054 case 1: 4055 p = "size_t"; 4056 break; 4057 case 2: 4058 p = "int"; 4059 break; 4060 default: 4061 break; 4062 }; 4063 break; 4064 /* mincore */ 4065 case 78: 4066 switch(ndx) { 4067 case 0: 4068 p = "userland const void *"; 4069 break; 4070 case 1: 4071 p = "size_t"; 4072 break; 4073 case 2: 4074 p = "userland char *"; 4075 break; 4076 default: 4077 break; 4078 }; 4079 break; 4080 /* getgroups */ 4081 case 79: 4082 switch(ndx) { 4083 case 0: 4084 p = "u_int"; 4085 break; 4086 case 1: 4087 p = "userland gid_t *"; 4088 break; 4089 default: 4090 break; 4091 }; 4092 break; 4093 /* setgroups */ 4094 case 80: 4095 switch(ndx) { 4096 case 0: 4097 p = "u_int"; 4098 break; 4099 case 1: 4100 p = "userland gid_t *"; 4101 break; 4102 default: 4103 break; 4104 }; 4105 break; 4106 /* getpgrp */ 4107 case 81: 4108 break; 4109 /* setpgid */ 4110 case 82: 4111 switch(ndx) { 4112 case 0: 4113 p = "int"; 4114 break; 4115 case 1: 4116 p = "int"; 4117 break; 4118 default: 4119 break; 4120 }; 4121 break; 4122 /* freebsd32_setitimer */ 4123 case 83: 4124 switch(ndx) { 4125 case 0: 4126 p = "u_int"; 4127 break; 4128 case 1: 4129 p = "userland struct itimerval32 *"; 4130 break; 4131 case 2: 4132 p = "userland struct itimerval32 *"; 4133 break; 4134 default: 4135 break; 4136 }; 4137 break; 4138 /* swapon */ 4139 case 85: 4140 switch(ndx) { 4141 case 0: 4142 p = "userland const char *"; 4143 break; 4144 default: 4145 break; 4146 }; 4147 break; 4148 /* freebsd32_getitimer */ 4149 case 86: 4150 switch(ndx) { 4151 case 0: 4152 p = "u_int"; 4153 break; 4154 case 1: 4155 p = "userland struct itimerval32 *"; 4156 break; 4157 default: 4158 break; 4159 }; 4160 break; 4161 /* getdtablesize */ 4162 case 89: 4163 break; 4164 /* dup2 */ 4165 case 90: 4166 switch(ndx) { 4167 case 0: 4168 p = "u_int"; 4169 break; 4170 case 1: 4171 p = "u_int"; 4172 break; 4173 default: 4174 break; 4175 }; 4176 break; 4177 /* freebsd32_fcntl */ 4178 case 92: 4179 switch(ndx) { 4180 case 0: 4181 p = "int"; 4182 break; 4183 case 1: 4184 p = "int"; 4185 break; 4186 case 2: 4187 p = "int"; 4188 break; 4189 default: 4190 break; 4191 }; 4192 break; 4193 /* freebsd32_select */ 4194 case 93: 4195 switch(ndx) { 4196 case 0: 4197 p = "int"; 4198 break; 4199 case 1: 4200 p = "userland fd_set *"; 4201 break; 4202 case 2: 4203 p = "userland fd_set *"; 4204 break; 4205 case 3: 4206 p = "userland fd_set *"; 4207 break; 4208 case 4: 4209 p = "userland struct timeval32 *"; 4210 break; 4211 default: 4212 break; 4213 }; 4214 break; 4215 /* fsync */ 4216 case 95: 4217 switch(ndx) { 4218 case 0: 4219 p = "int"; 4220 break; 4221 default: 4222 break; 4223 }; 4224 break; 4225 /* setpriority */ 4226 case 96: 4227 switch(ndx) { 4228 case 0: 4229 p = "int"; 4230 break; 4231 case 1: 4232 p = "int"; 4233 break; 4234 case 2: 4235 p = "int"; 4236 break; 4237 default: 4238 break; 4239 }; 4240 break; 4241 /* socket */ 4242 case 97: 4243 switch(ndx) { 4244 case 0: 4245 p = "int"; 4246 break; 4247 case 1: 4248 p = "int"; 4249 break; 4250 case 2: 4251 p = "int"; 4252 break; 4253 default: 4254 break; 4255 }; 4256 break; 4257 /* connect */ 4258 case 98: 4259 switch(ndx) { 4260 case 0: 4261 p = "int"; 4262 break; 4263 case 1: 4264 p = "userland const struct sockaddr *"; 4265 break; 4266 case 2: 4267 p = "int"; 4268 break; 4269 default: 4270 break; 4271 }; 4272 break; 4273 /* getpriority */ 4274 case 100: 4275 switch(ndx) { 4276 case 0: 4277 p = "int"; 4278 break; 4279 case 1: 4280 p = "int"; 4281 break; 4282 default: 4283 break; 4284 }; 4285 break; 4286 /* bind */ 4287 case 104: 4288 switch(ndx) { 4289 case 0: 4290 p = "int"; 4291 break; 4292 case 1: 4293 p = "userland const struct sockaddr *"; 4294 break; 4295 case 2: 4296 p = "int"; 4297 break; 4298 default: 4299 break; 4300 }; 4301 break; 4302 /* setsockopt */ 4303 case 105: 4304 switch(ndx) { 4305 case 0: 4306 p = "int"; 4307 break; 4308 case 1: 4309 p = "int"; 4310 break; 4311 case 2: 4312 p = "int"; 4313 break; 4314 case 3: 4315 p = "userland const void *"; 4316 break; 4317 case 4: 4318 p = "int"; 4319 break; 4320 default: 4321 break; 4322 }; 4323 break; 4324 /* listen */ 4325 case 106: 4326 switch(ndx) { 4327 case 0: 4328 p = "int"; 4329 break; 4330 case 1: 4331 p = "int"; 4332 break; 4333 default: 4334 break; 4335 }; 4336 break; 4337 /* freebsd32_gettimeofday */ 4338 case 116: 4339 switch(ndx) { 4340 case 0: 4341 p = "userland struct timeval32 *"; 4342 break; 4343 case 1: 4344 p = "userland struct timezone *"; 4345 break; 4346 default: 4347 break; 4348 }; 4349 break; 4350 /* freebsd32_getrusage */ 4351 case 117: 4352 switch(ndx) { 4353 case 0: 4354 p = "int"; 4355 break; 4356 case 1: 4357 p = "userland struct rusage32 *"; 4358 break; 4359 default: 4360 break; 4361 }; 4362 break; 4363 /* getsockopt */ 4364 case 118: 4365 switch(ndx) { 4366 case 0: 4367 p = "int"; 4368 break; 4369 case 1: 4370 p = "int"; 4371 break; 4372 case 2: 4373 p = "int"; 4374 break; 4375 case 3: 4376 p = "userland void *"; 4377 break; 4378 case 4: 4379 p = "userland int *"; 4380 break; 4381 default: 4382 break; 4383 }; 4384 break; 4385 /* freebsd32_readv */ 4386 case 120: 4387 switch(ndx) { 4388 case 0: 4389 p = "int"; 4390 break; 4391 case 1: 4392 p = "userland struct iovec32 *"; 4393 break; 4394 case 2: 4395 p = "u_int"; 4396 break; 4397 default: 4398 break; 4399 }; 4400 break; 4401 /* freebsd32_writev */ 4402 case 121: 4403 switch(ndx) { 4404 case 0: 4405 p = "int"; 4406 break; 4407 case 1: 4408 p = "userland struct iovec32 *"; 4409 break; 4410 case 2: 4411 p = "u_int"; 4412 break; 4413 default: 4414 break; 4415 }; 4416 break; 4417 /* freebsd32_settimeofday */ 4418 case 122: 4419 switch(ndx) { 4420 case 0: 4421 p = "userland struct timeval32 *"; 4422 break; 4423 case 1: 4424 p = "userland struct timezone *"; 4425 break; 4426 default: 4427 break; 4428 }; 4429 break; 4430 /* fchown */ 4431 case 123: 4432 switch(ndx) { 4433 case 0: 4434 p = "int"; 4435 break; 4436 case 1: 4437 p = "int"; 4438 break; 4439 case 2: 4440 p = "int"; 4441 break; 4442 default: 4443 break; 4444 }; 4445 break; 4446 /* fchmod */ 4447 case 124: 4448 switch(ndx) { 4449 case 0: 4450 p = "int"; 4451 break; 4452 case 1: 4453 p = "mode_t"; 4454 break; 4455 default: 4456 break; 4457 }; 4458 break; 4459 /* setreuid */ 4460 case 126: 4461 switch(ndx) { 4462 case 0: 4463 p = "int"; 4464 break; 4465 case 1: 4466 p = "int"; 4467 break; 4468 default: 4469 break; 4470 }; 4471 break; 4472 /* setregid */ 4473 case 127: 4474 switch(ndx) { 4475 case 0: 4476 p = "int"; 4477 break; 4478 case 1: 4479 p = "int"; 4480 break; 4481 default: 4482 break; 4483 }; 4484 break; 4485 /* rename */ 4486 case 128: 4487 switch(ndx) { 4488 case 0: 4489 p = "userland const char *"; 4490 break; 4491 case 1: 4492 p = "userland const char *"; 4493 break; 4494 default: 4495 break; 4496 }; 4497 break; 4498 /* flock */ 4499 case 131: 4500 switch(ndx) { 4501 case 0: 4502 p = "int"; 4503 break; 4504 case 1: 4505 p = "int"; 4506 break; 4507 default: 4508 break; 4509 }; 4510 break; 4511 /* mkfifo */ 4512 case 132: 4513 switch(ndx) { 4514 case 0: 4515 p = "userland const char *"; 4516 break; 4517 case 1: 4518 p = "mode_t"; 4519 break; 4520 default: 4521 break; 4522 }; 4523 break; 4524 /* sendto */ 4525 case 133: 4526 switch(ndx) { 4527 case 0: 4528 p = "int"; 4529 break; 4530 case 1: 4531 p = "userland const void *"; 4532 break; 4533 case 2: 4534 p = "size_t"; 4535 break; 4536 case 3: 4537 p = "int"; 4538 break; 4539 case 4: 4540 p = "userland const struct sockaddr *"; 4541 break; 4542 case 5: 4543 p = "int"; 4544 break; 4545 default: 4546 break; 4547 }; 4548 break; 4549 /* shutdown */ 4550 case 134: 4551 switch(ndx) { 4552 case 0: 4553 p = "int"; 4554 break; 4555 case 1: 4556 p = "int"; 4557 break; 4558 default: 4559 break; 4560 }; 4561 break; 4562 /* socketpair */ 4563 case 135: 4564 switch(ndx) { 4565 case 0: 4566 p = "int"; 4567 break; 4568 case 1: 4569 p = "int"; 4570 break; 4571 case 2: 4572 p = "int"; 4573 break; 4574 case 3: 4575 p = "userland int *"; 4576 break; 4577 default: 4578 break; 4579 }; 4580 break; 4581 /* mkdir */ 4582 case 136: 4583 switch(ndx) { 4584 case 0: 4585 p = "userland const char *"; 4586 break; 4587 case 1: 4588 p = "mode_t"; 4589 break; 4590 default: 4591 break; 4592 }; 4593 break; 4594 /* rmdir */ 4595 case 137: 4596 switch(ndx) { 4597 case 0: 4598 p = "userland const char *"; 4599 break; 4600 default: 4601 break; 4602 }; 4603 break; 4604 /* freebsd32_utimes */ 4605 case 138: 4606 switch(ndx) { 4607 case 0: 4608 p = "userland const char *"; 4609 break; 4610 case 1: 4611 p = "userland struct timeval32 *"; 4612 break; 4613 default: 4614 break; 4615 }; 4616 break; 4617 /* freebsd32_adjtime */ 4618 case 140: 4619 switch(ndx) { 4620 case 0: 4621 p = "userland struct timeval32 *"; 4622 break; 4623 case 1: 4624 p = "userland struct timeval32 *"; 4625 break; 4626 default: 4627 break; 4628 }; 4629 break; 4630 /* setsid */ 4631 case 147: 4632 break; 4633 /* quotactl */ 4634 case 148: 4635 switch(ndx) { 4636 case 0: 4637 p = "userland const char *"; 4638 break; 4639 case 1: 4640 p = "int"; 4641 break; 4642 case 2: 4643 p = "int"; 4644 break; 4645 case 3: 4646 p = "userland void *"; 4647 break; 4648 default: 4649 break; 4650 }; 4651 break; 4652 /* getfh */ 4653 case 161: 4654 switch(ndx) { 4655 case 0: 4656 p = "userland const char *"; 4657 break; 4658 case 1: 4659 p = "userland struct fhandle *"; 4660 break; 4661 default: 4662 break; 4663 }; 4664 break; 4665 /* freebsd32_sysarch */ 4666 case 165: 4667 switch(ndx) { 4668 case 0: 4669 p = "int"; 4670 break; 4671 case 1: 4672 p = "userland char *"; 4673 break; 4674 default: 4675 break; 4676 }; 4677 break; 4678 /* rtprio */ 4679 case 166: 4680 switch(ndx) { 4681 case 0: 4682 p = "int"; 4683 break; 4684 case 1: 4685 p = "pid_t"; 4686 break; 4687 case 2: 4688 p = "userland struct rtprio *"; 4689 break; 4690 default: 4691 break; 4692 }; 4693 break; 4694 /* freebsd32_semsys */ 4695 case 169: 4696 switch(ndx) { 4697 case 0: 4698 p = "int"; 4699 break; 4700 case 1: 4701 p = "int"; 4702 break; 4703 case 2: 4704 p = "int"; 4705 break; 4706 case 3: 4707 p = "int"; 4708 break; 4709 case 4: 4710 p = "int"; 4711 break; 4712 default: 4713 break; 4714 }; 4715 break; 4716 /* freebsd32_msgsys */ 4717 case 170: 4718 switch(ndx) { 4719 case 0: 4720 p = "int"; 4721 break; 4722 case 1: 4723 p = "int"; 4724 break; 4725 case 2: 4726 p = "int"; 4727 break; 4728 case 3: 4729 p = "int"; 4730 break; 4731 case 4: 4732 p = "int"; 4733 break; 4734 case 5: 4735 p = "int"; 4736 break; 4737 default: 4738 break; 4739 }; 4740 break; 4741 /* freebsd32_shmsys */ 4742 case 171: 4743 switch(ndx) { 4744 case 0: 4745 p = "uint32_t"; 4746 break; 4747 case 1: 4748 p = "uint32_t"; 4749 break; 4750 case 2: 4751 p = "uint32_t"; 4752 break; 4753 case 3: 4754 p = "uint32_t"; 4755 break; 4756 default: 4757 break; 4758 }; 4759 break; 4760 /* ntp_adjtime */ 4761 case 176: 4762 switch(ndx) { 4763 case 0: 4764 p = "userland struct timex *"; 4765 break; 4766 default: 4767 break; 4768 }; 4769 break; 4770 /* setgid */ 4771 case 181: 4772 switch(ndx) { 4773 case 0: 4774 p = "gid_t"; 4775 break; 4776 default: 4777 break; 4778 }; 4779 break; 4780 /* setegid */ 4781 case 182: 4782 switch(ndx) { 4783 case 0: 4784 p = "gid_t"; 4785 break; 4786 default: 4787 break; 4788 }; 4789 break; 4790 /* seteuid */ 4791 case 183: 4792 switch(ndx) { 4793 case 0: 4794 p = "uid_t"; 4795 break; 4796 default: 4797 break; 4798 }; 4799 break; 4800 /* pathconf */ 4801 case 191: 4802 switch(ndx) { 4803 case 0: 4804 p = "userland const char *"; 4805 break; 4806 case 1: 4807 p = "int"; 4808 break; 4809 default: 4810 break; 4811 }; 4812 break; 4813 /* fpathconf */ 4814 case 192: 4815 switch(ndx) { 4816 case 0: 4817 p = "int"; 4818 break; 4819 case 1: 4820 p = "int"; 4821 break; 4822 default: 4823 break; 4824 }; 4825 break; 4826 /* getrlimit */ 4827 case 194: 4828 switch(ndx) { 4829 case 0: 4830 p = "u_int"; 4831 break; 4832 case 1: 4833 p = "userland struct rlimit *"; 4834 break; 4835 default: 4836 break; 4837 }; 4838 break; 4839 /* setrlimit */ 4840 case 195: 4841 switch(ndx) { 4842 case 0: 4843 p = "u_int"; 4844 break; 4845 case 1: 4846 p = "userland struct rlimit *"; 4847 break; 4848 default: 4849 break; 4850 }; 4851 break; 4852 /* nosys */ 4853 case 198: 4854 break; 4855 /* freebsd32___sysctl */ 4856 case 202: 4857 switch(ndx) { 4858 case 0: 4859 p = "userland int *"; 4860 break; 4861 case 1: 4862 p = "u_int"; 4863 break; 4864 case 2: 4865 p = "userland void *"; 4866 break; 4867 case 3: 4868 p = "userland uint32_t *"; 4869 break; 4870 case 4: 4871 p = "userland const void *"; 4872 break; 4873 case 5: 4874 p = "uint32_t"; 4875 break; 4876 default: 4877 break; 4878 }; 4879 break; 4880 /* mlock */ 4881 case 203: 4882 switch(ndx) { 4883 case 0: 4884 p = "userland const void *"; 4885 break; 4886 case 1: 4887 p = "size_t"; 4888 break; 4889 default: 4890 break; 4891 }; 4892 break; 4893 /* munlock */ 4894 case 204: 4895 switch(ndx) { 4896 case 0: 4897 p = "userland const void *"; 4898 break; 4899 case 1: 4900 p = "size_t"; 4901 break; 4902 default: 4903 break; 4904 }; 4905 break; 4906 /* undelete */ 4907 case 205: 4908 switch(ndx) { 4909 case 0: 4910 p = "userland const char *"; 4911 break; 4912 default: 4913 break; 4914 }; 4915 break; 4916 /* freebsd32_futimes */ 4917 case 206: 4918 switch(ndx) { 4919 case 0: 4920 p = "int"; 4921 break; 4922 case 1: 4923 p = "userland struct timeval32 *"; 4924 break; 4925 default: 4926 break; 4927 }; 4928 break; 4929 /* getpgid */ 4930 case 207: 4931 switch(ndx) { 4932 case 0: 4933 p = "pid_t"; 4934 break; 4935 default: 4936 break; 4937 }; 4938 break; 4939 /* poll */ 4940 case 209: 4941 switch(ndx) { 4942 case 0: 4943 p = "userland struct pollfd *"; 4944 break; 4945 case 1: 4946 p = "u_int"; 4947 break; 4948 case 2: 4949 p = "int"; 4950 break; 4951 default: 4952 break; 4953 }; 4954 break; 4955 /* lkmnosys */ 4956 case 210: 4957 break; 4958 /* lkmnosys */ 4959 case 211: 4960 break; 4961 /* lkmnosys */ 4962 case 212: 4963 break; 4964 /* lkmnosys */ 4965 case 213: 4966 break; 4967 /* lkmnosys */ 4968 case 214: 4969 break; 4970 /* lkmnosys */ 4971 case 215: 4972 break; 4973 /* lkmnosys */ 4974 case 216: 4975 break; 4976 /* lkmnosys */ 4977 case 217: 4978 break; 4979 /* lkmnosys */ 4980 case 218: 4981 break; 4982 /* lkmnosys */ 4983 case 219: 4984 break; 4985 /* semget */ 4986 case 221: 4987 switch(ndx) { 4988 case 0: 4989 p = "key_t"; 4990 break; 4991 case 1: 4992 p = "int"; 4993 break; 4994 case 2: 4995 p = "int"; 4996 break; 4997 default: 4998 break; 4999 }; 5000 break; 5001 /* semop */ 5002 case 222: 5003 switch(ndx) { 5004 case 0: 5005 p = "int"; 5006 break; 5007 case 1: 5008 p = "userland struct sembuf *"; 5009 break; 5010 case 2: 5011 p = "u_int"; 5012 break; 5013 default: 5014 break; 5015 }; 5016 break; 5017 /* msgget */ 5018 case 225: 5019 switch(ndx) { 5020 case 0: 5021 p = "key_t"; 5022 break; 5023 case 1: 5024 p = "int"; 5025 break; 5026 default: 5027 break; 5028 }; 5029 break; 5030 /* freebsd32_msgsnd */ 5031 case 226: 5032 switch(ndx) { 5033 case 0: 5034 p = "int"; 5035 break; 5036 case 1: 5037 p = "userland void *"; 5038 break; 5039 case 2: 5040 p = "size_t"; 5041 break; 5042 case 3: 5043 p = "int"; 5044 break; 5045 default: 5046 break; 5047 }; 5048 break; 5049 /* freebsd32_msgrcv */ 5050 case 227: 5051 switch(ndx) { 5052 case 0: 5053 p = "int"; 5054 break; 5055 case 1: 5056 p = "userland void *"; 5057 break; 5058 case 2: 5059 p = "size_t"; 5060 break; 5061 case 3: 5062 p = "long"; 5063 break; 5064 case 4: 5065 p = "int"; 5066 break; 5067 default: 5068 break; 5069 }; 5070 break; 5071 /* shmat */ 5072 case 228: 5073 switch(ndx) { 5074 case 0: 5075 p = "int"; 5076 break; 5077 case 1: 5078 p = "userland void *"; 5079 break; 5080 case 2: 5081 p = "int"; 5082 break; 5083 default: 5084 break; 5085 }; 5086 break; 5087 /* shmdt */ 5088 case 230: 5089 switch(ndx) { 5090 case 0: 5091 p = "userland void *"; 5092 break; 5093 default: 5094 break; 5095 }; 5096 break; 5097 /* shmget */ 5098 case 231: 5099 switch(ndx) { 5100 case 0: 5101 p = "key_t"; 5102 break; 5103 case 1: 5104 p = "int"; 5105 break; 5106 case 2: 5107 p = "int"; 5108 break; 5109 default: 5110 break; 5111 }; 5112 break; 5113 /* freebsd32_clock_gettime */ 5114 case 232: 5115 switch(ndx) { 5116 case 0: 5117 p = "clockid_t"; 5118 break; 5119 case 1: 5120 p = "userland struct timespec32 *"; 5121 break; 5122 default: 5123 break; 5124 }; 5125 break; 5126 /* freebsd32_clock_settime */ 5127 case 233: 5128 switch(ndx) { 5129 case 0: 5130 p = "clockid_t"; 5131 break; 5132 case 1: 5133 p = "userland const struct timespec32 *"; 5134 break; 5135 default: 5136 break; 5137 }; 5138 break; 5139 /* freebsd32_clock_getres */ 5140 case 234: 5141 switch(ndx) { 5142 case 0: 5143 p = "clockid_t"; 5144 break; 5145 case 1: 5146 p = "userland struct timespec32 *"; 5147 break; 5148 default: 5149 break; 5150 }; 5151 break; 5152 /* freebsd32_ktimer_create */ 5153 case 235: 5154 switch(ndx) { 5155 case 0: 5156 p = "clockid_t"; 5157 break; 5158 case 1: 5159 p = "userland struct sigevent32 *"; 5160 break; 5161 case 2: 5162 p = "userland int *"; 5163 break; 5164 default: 5165 break; 5166 }; 5167 break; 5168 /* ktimer_delete */ 5169 case 236: 5170 switch(ndx) { 5171 case 0: 5172 p = "int"; 5173 break; 5174 default: 5175 break; 5176 }; 5177 break; 5178 /* freebsd32_ktimer_settime */ 5179 case 237: 5180 switch(ndx) { 5181 case 0: 5182 p = "int"; 5183 break; 5184 case 1: 5185 p = "int"; 5186 break; 5187 case 2: 5188 p = "userland const struct itimerspec32 *"; 5189 break; 5190 case 3: 5191 p = "userland struct itimerspec32 *"; 5192 break; 5193 default: 5194 break; 5195 }; 5196 break; 5197 /* freebsd32_ktimer_gettime */ 5198 case 238: 5199 switch(ndx) { 5200 case 0: 5201 p = "int"; 5202 break; 5203 case 1: 5204 p = "userland struct itimerspec32 *"; 5205 break; 5206 default: 5207 break; 5208 }; 5209 break; 5210 /* ktimer_getoverrun */ 5211 case 239: 5212 switch(ndx) { 5213 case 0: 5214 p = "int"; 5215 break; 5216 default: 5217 break; 5218 }; 5219 break; 5220 /* freebsd32_nanosleep */ 5221 case 240: 5222 switch(ndx) { 5223 case 0: 5224 p = "userland const struct timespec32 *"; 5225 break; 5226 case 1: 5227 p = "userland struct timespec32 *"; 5228 break; 5229 default: 5230 break; 5231 }; 5232 break; 5233 /* ffclock_getcounter */ 5234 case 241: 5235 switch(ndx) { 5236 case 0: 5237 p = "userland ffcounter *"; 5238 break; 5239 default: 5240 break; 5241 }; 5242 break; 5243 /* ffclock_setestimate */ 5244 case 242: 5245 switch(ndx) { 5246 case 0: 5247 p = "userland struct ffclock_estimate *"; 5248 break; 5249 default: 5250 break; 5251 }; 5252 break; 5253 /* ffclock_getestimate */ 5254 case 243: 5255 switch(ndx) { 5256 case 0: 5257 p = "userland struct ffclock_estimate *"; 5258 break; 5259 default: 5260 break; 5261 }; 5262 break; 5263 /* freebsd32_clock_nanosleep */ 5264 case 244: 5265 switch(ndx) { 5266 case 0: 5267 p = "clockid_t"; 5268 break; 5269 case 1: 5270 p = "int"; 5271 break; 5272 case 2: 5273 p = "userland const struct timespec32 *"; 5274 break; 5275 case 3: 5276 p = "userland struct timespec32 *"; 5277 break; 5278 default: 5279 break; 5280 }; 5281 break; 5282 /* freebsd32_clock_getcpuclockid2 */ 5283 case 247: 5284 switch(ndx) { 5285 case 0: 5286 p = "uint32_t"; 5287 break; 5288 case 1: 5289 p = "uint32_t"; 5290 break; 5291 case 2: 5292 p = "int"; 5293 break; 5294 case 3: 5295 p = "userland clockid_t *"; 5296 break; 5297 default: 5298 break; 5299 }; 5300 break; 5301 /* minherit */ 5302 case 250: 5303 switch(ndx) { 5304 case 0: 5305 p = "userland void *"; 5306 break; 5307 case 1: 5308 p = "size_t"; 5309 break; 5310 case 2: 5311 p = "int"; 5312 break; 5313 default: 5314 break; 5315 }; 5316 break; 5317 /* rfork */ 5318 case 251: 5319 switch(ndx) { 5320 case 0: 5321 p = "int"; 5322 break; 5323 default: 5324 break; 5325 }; 5326 break; 5327 /* issetugid */ 5328 case 253: 5329 break; 5330 /* lchown */ 5331 case 254: 5332 switch(ndx) { 5333 case 0: 5334 p = "userland const char *"; 5335 break; 5336 case 1: 5337 p = "int"; 5338 break; 5339 case 2: 5340 p = "int"; 5341 break; 5342 default: 5343 break; 5344 }; 5345 break; 5346 /* freebsd32_aio_read */ 5347 case 255: 5348 switch(ndx) { 5349 case 0: 5350 p = "userland struct aiocb32 *"; 5351 break; 5352 default: 5353 break; 5354 }; 5355 break; 5356 /* freebsd32_aio_write */ 5357 case 256: 5358 switch(ndx) { 5359 case 0: 5360 p = "userland struct aiocb32 *"; 5361 break; 5362 default: 5363 break; 5364 }; 5365 break; 5366 /* freebsd32_lio_listio */ 5367 case 257: 5368 switch(ndx) { 5369 case 0: 5370 p = "int"; 5371 break; 5372 case 1: 5373 p = "userland struct aiocb32 *const *"; 5374 break; 5375 case 2: 5376 p = "int"; 5377 break; 5378 case 3: 5379 p = "userland struct sigevent32 *"; 5380 break; 5381 default: 5382 break; 5383 }; 5384 break; 5385 /* lchmod */ 5386 case 274: 5387 switch(ndx) { 5388 case 0: 5389 p = "userland const char *"; 5390 break; 5391 case 1: 5392 p = "mode_t"; 5393 break; 5394 default: 5395 break; 5396 }; 5397 break; 5398 /* freebsd32_lutimes */ 5399 case 276: 5400 switch(ndx) { 5401 case 0: 5402 p = "userland const char *"; 5403 break; 5404 case 1: 5405 p = "userland struct timeval32 *"; 5406 break; 5407 default: 5408 break; 5409 }; 5410 break; 5411 /* freebsd32_preadv */ 5412 case 289: 5413 switch(ndx) { 5414 case 0: 5415 p = "int"; 5416 break; 5417 case 1: 5418 p = "userland struct iovec32 *"; 5419 break; 5420 case 2: 5421 p = "u_int"; 5422 break; 5423 case 3: 5424 p = "uint32_t"; 5425 break; 5426 case 4: 5427 p = "uint32_t"; 5428 break; 5429 default: 5430 break; 5431 }; 5432 break; 5433 /* freebsd32_pwritev */ 5434 case 290: 5435 switch(ndx) { 5436 case 0: 5437 p = "int"; 5438 break; 5439 case 1: 5440 p = "userland struct iovec32 *"; 5441 break; 5442 case 2: 5443 p = "u_int"; 5444 break; 5445 case 3: 5446 p = "uint32_t"; 5447 break; 5448 case 4: 5449 p = "uint32_t"; 5450 break; 5451 default: 5452 break; 5453 }; 5454 break; 5455 /* fhopen */ 5456 case 298: 5457 switch(ndx) { 5458 case 0: 5459 p = "userland const struct fhandle *"; 5460 break; 5461 case 1: 5462 p = "int"; 5463 break; 5464 default: 5465 break; 5466 }; 5467 break; 5468 /* modnext */ 5469 case 300: 5470 switch(ndx) { 5471 case 0: 5472 p = "int"; 5473 break; 5474 default: 5475 break; 5476 }; 5477 break; 5478 /* freebsd32_modstat */ 5479 case 301: 5480 switch(ndx) { 5481 case 0: 5482 p = "int"; 5483 break; 5484 case 1: 5485 p = "userland struct module_stat32 *"; 5486 break; 5487 default: 5488 break; 5489 }; 5490 break; 5491 /* modfnext */ 5492 case 302: 5493 switch(ndx) { 5494 case 0: 5495 p = "int"; 5496 break; 5497 default: 5498 break; 5499 }; 5500 break; 5501 /* modfind */ 5502 case 303: 5503 switch(ndx) { 5504 case 0: 5505 p = "userland const char *"; 5506 break; 5507 default: 5508 break; 5509 }; 5510 break; 5511 /* kldload */ 5512 case 304: 5513 switch(ndx) { 5514 case 0: 5515 p = "userland const char *"; 5516 break; 5517 default: 5518 break; 5519 }; 5520 break; 5521 /* kldunload */ 5522 case 305: 5523 switch(ndx) { 5524 case 0: 5525 p = "int"; 5526 break; 5527 default: 5528 break; 5529 }; 5530 break; 5531 /* kldfind */ 5532 case 306: 5533 switch(ndx) { 5534 case 0: 5535 p = "userland const char *"; 5536 break; 5537 default: 5538 break; 5539 }; 5540 break; 5541 /* kldnext */ 5542 case 307: 5543 switch(ndx) { 5544 case 0: 5545 p = "int"; 5546 break; 5547 default: 5548 break; 5549 }; 5550 break; 5551 /* freebsd32_kldstat */ 5552 case 308: 5553 switch(ndx) { 5554 case 0: 5555 p = "int"; 5556 break; 5557 case 1: 5558 p = "userland struct kld32_file_stat *"; 5559 break; 5560 default: 5561 break; 5562 }; 5563 break; 5564 /* kldfirstmod */ 5565 case 309: 5566 switch(ndx) { 5567 case 0: 5568 p = "int"; 5569 break; 5570 default: 5571 break; 5572 }; 5573 break; 5574 /* getsid */ 5575 case 310: 5576 switch(ndx) { 5577 case 0: 5578 p = "pid_t"; 5579 break; 5580 default: 5581 break; 5582 }; 5583 break; 5584 /* setresuid */ 5585 case 311: 5586 switch(ndx) { 5587 case 0: 5588 p = "uid_t"; 5589 break; 5590 case 1: 5591 p = "uid_t"; 5592 break; 5593 case 2: 5594 p = "uid_t"; 5595 break; 5596 default: 5597 break; 5598 }; 5599 break; 5600 /* setresgid */ 5601 case 312: 5602 switch(ndx) { 5603 case 0: 5604 p = "gid_t"; 5605 break; 5606 case 1: 5607 p = "gid_t"; 5608 break; 5609 case 2: 5610 p = "gid_t"; 5611 break; 5612 default: 5613 break; 5614 }; 5615 break; 5616 /* freebsd32_aio_return */ 5617 case 314: 5618 switch(ndx) { 5619 case 0: 5620 p = "userland struct aiocb32 *"; 5621 break; 5622 default: 5623 break; 5624 }; 5625 break; 5626 /* freebsd32_aio_suspend */ 5627 case 315: 5628 switch(ndx) { 5629 case 0: 5630 p = "userland struct aiocb32 *const *"; 5631 break; 5632 case 1: 5633 p = "int"; 5634 break; 5635 case 2: 5636 p = "userland const struct timespec32 *"; 5637 break; 5638 default: 5639 break; 5640 }; 5641 break; 5642 /* aio_cancel */ 5643 case 316: 5644 switch(ndx) { 5645 case 0: 5646 p = "int"; 5647 break; 5648 case 1: 5649 p = "userland struct aiocb *"; 5650 break; 5651 default: 5652 break; 5653 }; 5654 break; 5655 /* freebsd32_aio_error */ 5656 case 317: 5657 switch(ndx) { 5658 case 0: 5659 p = "userland struct aiocb32 *"; 5660 break; 5661 default: 5662 break; 5663 }; 5664 break; 5665 /* yield */ 5666 case 321: 5667 break; 5668 /* mlockall */ 5669 case 324: 5670 switch(ndx) { 5671 case 0: 5672 p = "int"; 5673 break; 5674 default: 5675 break; 5676 }; 5677 break; 5678 /* munlockall */ 5679 case 325: 5680 break; 5681 /* __getcwd */ 5682 case 326: 5683 switch(ndx) { 5684 case 0: 5685 p = "userland char *"; 5686 break; 5687 case 1: 5688 p = "size_t"; 5689 break; 5690 default: 5691 break; 5692 }; 5693 break; 5694 /* sched_setparam */ 5695 case 327: 5696 switch(ndx) { 5697 case 0: 5698 p = "pid_t"; 5699 break; 5700 case 1: 5701 p = "userland const struct sched_param *"; 5702 break; 5703 default: 5704 break; 5705 }; 5706 break; 5707 /* sched_getparam */ 5708 case 328: 5709 switch(ndx) { 5710 case 0: 5711 p = "pid_t"; 5712 break; 5713 case 1: 5714 p = "userland struct sched_param *"; 5715 break; 5716 default: 5717 break; 5718 }; 5719 break; 5720 /* sched_setscheduler */ 5721 case 329: 5722 switch(ndx) { 5723 case 0: 5724 p = "pid_t"; 5725 break; 5726 case 1: 5727 p = "int"; 5728 break; 5729 case 2: 5730 p = "userland const struct sched_param *"; 5731 break; 5732 default: 5733 break; 5734 }; 5735 break; 5736 /* sched_getscheduler */ 5737 case 330: 5738 switch(ndx) { 5739 case 0: 5740 p = "pid_t"; 5741 break; 5742 default: 5743 break; 5744 }; 5745 break; 5746 /* sched_yield */ 5747 case 331: 5748 break; 5749 /* sched_get_priority_max */ 5750 case 332: 5751 switch(ndx) { 5752 case 0: 5753 p = "int"; 5754 break; 5755 default: 5756 break; 5757 }; 5758 break; 5759 /* sched_get_priority_min */ 5760 case 333: 5761 switch(ndx) { 5762 case 0: 5763 p = "int"; 5764 break; 5765 default: 5766 break; 5767 }; 5768 break; 5769 /* freebsd32_sched_rr_get_interval */ 5770 case 334: 5771 switch(ndx) { 5772 case 0: 5773 p = "pid_t"; 5774 break; 5775 case 1: 5776 p = "userland struct timespec32 *"; 5777 break; 5778 default: 5779 break; 5780 }; 5781 break; 5782 /* utrace */ 5783 case 335: 5784 switch(ndx) { 5785 case 0: 5786 p = "userland const void *"; 5787 break; 5788 case 1: 5789 p = "size_t"; 5790 break; 5791 default: 5792 break; 5793 }; 5794 break; 5795 /* kldsym */ 5796 case 337: 5797 switch(ndx) { 5798 case 0: 5799 p = "int"; 5800 break; 5801 case 1: 5802 p = "int"; 5803 break; 5804 case 2: 5805 p = "userland void *"; 5806 break; 5807 default: 5808 break; 5809 }; 5810 break; 5811 /* freebsd32_jail */ 5812 case 338: 5813 switch(ndx) { 5814 case 0: 5815 p = "userland struct jail32 *"; 5816 break; 5817 default: 5818 break; 5819 }; 5820 break; 5821 /* sigprocmask */ 5822 case 340: 5823 switch(ndx) { 5824 case 0: 5825 p = "int"; 5826 break; 5827 case 1: 5828 p = "userland const sigset_t *"; 5829 break; 5830 case 2: 5831 p = "userland sigset_t *"; 5832 break; 5833 default: 5834 break; 5835 }; 5836 break; 5837 /* sigsuspend */ 5838 case 341: 5839 switch(ndx) { 5840 case 0: 5841 p = "userland const sigset_t *"; 5842 break; 5843 default: 5844 break; 5845 }; 5846 break; 5847 /* sigpending */ 5848 case 343: 5849 switch(ndx) { 5850 case 0: 5851 p = "userland sigset_t *"; 5852 break; 5853 default: 5854 break; 5855 }; 5856 break; 5857 /* freebsd32_sigtimedwait */ 5858 case 345: 5859 switch(ndx) { 5860 case 0: 5861 p = "userland const sigset_t *"; 5862 break; 5863 case 1: 5864 p = "userland siginfo_t *"; 5865 break; 5866 case 2: 5867 p = "userland const struct timespec *"; 5868 break; 5869 default: 5870 break; 5871 }; 5872 break; 5873 /* freebsd32_sigwaitinfo */ 5874 case 346: 5875 switch(ndx) { 5876 case 0: 5877 p = "userland const sigset_t *"; 5878 break; 5879 case 1: 5880 p = "userland siginfo_t *"; 5881 break; 5882 default: 5883 break; 5884 }; 5885 break; 5886 /* __acl_get_file */ 5887 case 347: 5888 switch(ndx) { 5889 case 0: 5890 p = "userland const char *"; 5891 break; 5892 case 1: 5893 p = "acl_type_t"; 5894 break; 5895 case 2: 5896 p = "userland struct acl *"; 5897 break; 5898 default: 5899 break; 5900 }; 5901 break; 5902 /* __acl_set_file */ 5903 case 348: 5904 switch(ndx) { 5905 case 0: 5906 p = "userland const char *"; 5907 break; 5908 case 1: 5909 p = "acl_type_t"; 5910 break; 5911 case 2: 5912 p = "userland struct acl *"; 5913 break; 5914 default: 5915 break; 5916 }; 5917 break; 5918 /* __acl_get_fd */ 5919 case 349: 5920 switch(ndx) { 5921 case 0: 5922 p = "int"; 5923 break; 5924 case 1: 5925 p = "acl_type_t"; 5926 break; 5927 case 2: 5928 p = "userland struct acl *"; 5929 break; 5930 default: 5931 break; 5932 }; 5933 break; 5934 /* __acl_set_fd */ 5935 case 350: 5936 switch(ndx) { 5937 case 0: 5938 p = "int"; 5939 break; 5940 case 1: 5941 p = "acl_type_t"; 5942 break; 5943 case 2: 5944 p = "userland struct acl *"; 5945 break; 5946 default: 5947 break; 5948 }; 5949 break; 5950 /* __acl_delete_file */ 5951 case 351: 5952 switch(ndx) { 5953 case 0: 5954 p = "userland const char *"; 5955 break; 5956 case 1: 5957 p = "acl_type_t"; 5958 break; 5959 default: 5960 break; 5961 }; 5962 break; 5963 /* __acl_delete_fd */ 5964 case 352: 5965 switch(ndx) { 5966 case 0: 5967 p = "int"; 5968 break; 5969 case 1: 5970 p = "acl_type_t"; 5971 break; 5972 default: 5973 break; 5974 }; 5975 break; 5976 /* __acl_aclcheck_file */ 5977 case 353: 5978 switch(ndx) { 5979 case 0: 5980 p = "userland const char *"; 5981 break; 5982 case 1: 5983 p = "acl_type_t"; 5984 break; 5985 case 2: 5986 p = "userland struct acl *"; 5987 break; 5988 default: 5989 break; 5990 }; 5991 break; 5992 /* __acl_aclcheck_fd */ 5993 case 354: 5994 switch(ndx) { 5995 case 0: 5996 p = "int"; 5997 break; 5998 case 1: 5999 p = "acl_type_t"; 6000 break; 6001 case 2: 6002 p = "userland struct acl *"; 6003 break; 6004 default: 6005 break; 6006 }; 6007 break; 6008 /* extattrctl */ 6009 case 355: 6010 switch(ndx) { 6011 case 0: 6012 p = "userland const char *"; 6013 break; 6014 case 1: 6015 p = "int"; 6016 break; 6017 case 2: 6018 p = "userland const char *"; 6019 break; 6020 case 3: 6021 p = "int"; 6022 break; 6023 case 4: 6024 p = "userland const char *"; 6025 break; 6026 default: 6027 break; 6028 }; 6029 break; 6030 /* extattr_set_file */ 6031 case 356: 6032 switch(ndx) { 6033 case 0: 6034 p = "userland const char *"; 6035 break; 6036 case 1: 6037 p = "int"; 6038 break; 6039 case 2: 6040 p = "userland const char *"; 6041 break; 6042 case 3: 6043 p = "userland void *"; 6044 break; 6045 case 4: 6046 p = "size_t"; 6047 break; 6048 default: 6049 break; 6050 }; 6051 break; 6052 /* extattr_get_file */ 6053 case 357: 6054 switch(ndx) { 6055 case 0: 6056 p = "userland const char *"; 6057 break; 6058 case 1: 6059 p = "int"; 6060 break; 6061 case 2: 6062 p = "userland const char *"; 6063 break; 6064 case 3: 6065 p = "userland void *"; 6066 break; 6067 case 4: 6068 p = "size_t"; 6069 break; 6070 default: 6071 break; 6072 }; 6073 break; 6074 /* extattr_delete_file */ 6075 case 358: 6076 switch(ndx) { 6077 case 0: 6078 p = "userland const char *"; 6079 break; 6080 case 1: 6081 p = "int"; 6082 break; 6083 case 2: 6084 p = "userland const char *"; 6085 break; 6086 default: 6087 break; 6088 }; 6089 break; 6090 /* freebsd32_aio_waitcomplete */ 6091 case 359: 6092 switch(ndx) { 6093 case 0: 6094 p = "userland struct aiocb32 **"; 6095 break; 6096 case 1: 6097 p = "userland struct timespec32 *"; 6098 break; 6099 default: 6100 break; 6101 }; 6102 break; 6103 /* getresuid */ 6104 case 360: 6105 switch(ndx) { 6106 case 0: 6107 p = "userland uid_t *"; 6108 break; 6109 case 1: 6110 p = "userland uid_t *"; 6111 break; 6112 case 2: 6113 p = "userland uid_t *"; 6114 break; 6115 default: 6116 break; 6117 }; 6118 break; 6119 /* getresgid */ 6120 case 361: 6121 switch(ndx) { 6122 case 0: 6123 p = "userland gid_t *"; 6124 break; 6125 case 1: 6126 p = "userland gid_t *"; 6127 break; 6128 case 2: 6129 p = "userland gid_t *"; 6130 break; 6131 default: 6132 break; 6133 }; 6134 break; 6135 /* kqueue */ 6136 case 362: 6137 break; 6138 /* extattr_set_fd */ 6139 case 371: 6140 switch(ndx) { 6141 case 0: 6142 p = "int"; 6143 break; 6144 case 1: 6145 p = "int"; 6146 break; 6147 case 2: 6148 p = "userland const char *"; 6149 break; 6150 case 3: 6151 p = "userland void *"; 6152 break; 6153 case 4: 6154 p = "size_t"; 6155 break; 6156 default: 6157 break; 6158 }; 6159 break; 6160 /* extattr_get_fd */ 6161 case 372: 6162 switch(ndx) { 6163 case 0: 6164 p = "int"; 6165 break; 6166 case 1: 6167 p = "int"; 6168 break; 6169 case 2: 6170 p = "userland const char *"; 6171 break; 6172 case 3: 6173 p = "userland void *"; 6174 break; 6175 case 4: 6176 p = "size_t"; 6177 break; 6178 default: 6179 break; 6180 }; 6181 break; 6182 /* extattr_delete_fd */ 6183 case 373: 6184 switch(ndx) { 6185 case 0: 6186 p = "int"; 6187 break; 6188 case 1: 6189 p = "int"; 6190 break; 6191 case 2: 6192 p = "userland const char *"; 6193 break; 6194 default: 6195 break; 6196 }; 6197 break; 6198 /* __setugid */ 6199 case 374: 6200 switch(ndx) { 6201 case 0: 6202 p = "int"; 6203 break; 6204 default: 6205 break; 6206 }; 6207 break; 6208 /* eaccess */ 6209 case 376: 6210 switch(ndx) { 6211 case 0: 6212 p = "userland const char *"; 6213 break; 6214 case 1: 6215 p = "int"; 6216 break; 6217 default: 6218 break; 6219 }; 6220 break; 6221 /* freebsd32_nmount */ 6222 case 378: 6223 switch(ndx) { 6224 case 0: 6225 p = "userland struct iovec32 *"; 6226 break; 6227 case 1: 6228 p = "unsigned int"; 6229 break; 6230 case 2: 6231 p = "int"; 6232 break; 6233 default: 6234 break; 6235 }; 6236 break; 6237 /* kenv */ 6238 case 390: 6239 switch(ndx) { 6240 case 0: 6241 p = "int"; 6242 break; 6243 case 1: 6244 p = "userland const char *"; 6245 break; 6246 case 2: 6247 p = "userland char *"; 6248 break; 6249 case 3: 6250 p = "int"; 6251 break; 6252 default: 6253 break; 6254 }; 6255 break; 6256 /* lchflags */ 6257 case 391: 6258 switch(ndx) { 6259 case 0: 6260 p = "userland const char *"; 6261 break; 6262 case 1: 6263 p = "u_long"; 6264 break; 6265 default: 6266 break; 6267 }; 6268 break; 6269 /* uuidgen */ 6270 case 392: 6271 switch(ndx) { 6272 case 0: 6273 p = "userland struct uuid *"; 6274 break; 6275 case 1: 6276 p = "int"; 6277 break; 6278 default: 6279 break; 6280 }; 6281 break; 6282 /* freebsd32_sendfile */ 6283 case 393: 6284 switch(ndx) { 6285 case 0: 6286 p = "int"; 6287 break; 6288 case 1: 6289 p = "int"; 6290 break; 6291 case 2: 6292 p = "uint32_t"; 6293 break; 6294 case 3: 6295 p = "uint32_t"; 6296 break; 6297 case 4: 6298 p = "size_t"; 6299 break; 6300 case 5: 6301 p = "userland struct sf_hdtr32 *"; 6302 break; 6303 case 6: 6304 p = "userland off_t *"; 6305 break; 6306 case 7: 6307 p = "int"; 6308 break; 6309 default: 6310 break; 6311 }; 6312 break; 6313 /* ksem_close */ 6314 case 400: 6315 switch(ndx) { 6316 case 0: 6317 p = "semid_t"; 6318 break; 6319 default: 6320 break; 6321 }; 6322 break; 6323 /* ksem_post */ 6324 case 401: 6325 switch(ndx) { 6326 case 0: 6327 p = "semid_t"; 6328 break; 6329 default: 6330 break; 6331 }; 6332 break; 6333 /* ksem_wait */ 6334 case 402: 6335 switch(ndx) { 6336 case 0: 6337 p = "semid_t"; 6338 break; 6339 default: 6340 break; 6341 }; 6342 break; 6343 /* ksem_trywait */ 6344 case 403: 6345 switch(ndx) { 6346 case 0: 6347 p = "semid_t"; 6348 break; 6349 default: 6350 break; 6351 }; 6352 break; 6353 /* freebsd32_ksem_init */ 6354 case 404: 6355 switch(ndx) { 6356 case 0: 6357 p = "userland semid_t *"; 6358 break; 6359 case 1: 6360 p = "unsigned int"; 6361 break; 6362 default: 6363 break; 6364 }; 6365 break; 6366 /* freebsd32_ksem_open */ 6367 case 405: 6368 switch(ndx) { 6369 case 0: 6370 p = "userland semid_t *"; 6371 break; 6372 case 1: 6373 p = "userland const char *"; 6374 break; 6375 case 2: 6376 p = "int"; 6377 break; 6378 case 3: 6379 p = "mode_t"; 6380 break; 6381 case 4: 6382 p = "unsigned int"; 6383 break; 6384 default: 6385 break; 6386 }; 6387 break; 6388 /* ksem_unlink */ 6389 case 406: 6390 switch(ndx) { 6391 case 0: 6392 p = "userland const char *"; 6393 break; 6394 default: 6395 break; 6396 }; 6397 break; 6398 /* ksem_getvalue */ 6399 case 407: 6400 switch(ndx) { 6401 case 0: 6402 p = "semid_t"; 6403 break; 6404 case 1: 6405 p = "userland int *"; 6406 break; 6407 default: 6408 break; 6409 }; 6410 break; 6411 /* ksem_destroy */ 6412 case 408: 6413 switch(ndx) { 6414 case 0: 6415 p = "semid_t"; 6416 break; 6417 default: 6418 break; 6419 }; 6420 break; 6421 /* extattr_set_link */ 6422 case 412: 6423 switch(ndx) { 6424 case 0: 6425 p = "userland const char *"; 6426 break; 6427 case 1: 6428 p = "int"; 6429 break; 6430 case 2: 6431 p = "userland const char *"; 6432 break; 6433 case 3: 6434 p = "userland void *"; 6435 break; 6436 case 4: 6437 p = "size_t"; 6438 break; 6439 default: 6440 break; 6441 }; 6442 break; 6443 /* extattr_get_link */ 6444 case 413: 6445 switch(ndx) { 6446 case 0: 6447 p = "userland const char *"; 6448 break; 6449 case 1: 6450 p = "int"; 6451 break; 6452 case 2: 6453 p = "userland const char *"; 6454 break; 6455 case 3: 6456 p = "userland void *"; 6457 break; 6458 case 4: 6459 p = "size_t"; 6460 break; 6461 default: 6462 break; 6463 }; 6464 break; 6465 /* extattr_delete_link */ 6466 case 414: 6467 switch(ndx) { 6468 case 0: 6469 p = "userland const char *"; 6470 break; 6471 case 1: 6472 p = "int"; 6473 break; 6474 case 2: 6475 p = "userland const char *"; 6476 break; 6477 default: 6478 break; 6479 }; 6480 break; 6481 /* freebsd32_sigaction */ 6482 case 416: 6483 switch(ndx) { 6484 case 0: 6485 p = "int"; 6486 break; 6487 case 1: 6488 p = "userland struct sigaction32 *"; 6489 break; 6490 case 2: 6491 p = "userland struct sigaction32 *"; 6492 break; 6493 default: 6494 break; 6495 }; 6496 break; 6497 /* freebsd32_sigreturn */ 6498 case 417: 6499 switch(ndx) { 6500 case 0: 6501 p = "userland const struct freebsd32_ucontext *"; 6502 break; 6503 default: 6504 break; 6505 }; 6506 break; 6507 /* freebsd32_getcontext */ 6508 case 421: 6509 switch(ndx) { 6510 case 0: 6511 p = "userland struct freebsd32_ucontext *"; 6512 break; 6513 default: 6514 break; 6515 }; 6516 break; 6517 /* freebsd32_setcontext */ 6518 case 422: 6519 switch(ndx) { 6520 case 0: 6521 p = "userland const struct freebsd32_ucontext *"; 6522 break; 6523 default: 6524 break; 6525 }; 6526 break; 6527 /* freebsd32_swapcontext */ 6528 case 423: 6529 switch(ndx) { 6530 case 0: 6531 p = "userland struct freebsd32_ucontext *"; 6532 break; 6533 case 1: 6534 p = "userland const struct freebsd32_ucontext *"; 6535 break; 6536 default: 6537 break; 6538 }; 6539 break; 6540 /* __acl_get_link */ 6541 case 425: 6542 switch(ndx) { 6543 case 0: 6544 p = "userland const char *"; 6545 break; 6546 case 1: 6547 p = "acl_type_t"; 6548 break; 6549 case 2: 6550 p = "userland struct acl *"; 6551 break; 6552 default: 6553 break; 6554 }; 6555 break; 6556 /* __acl_set_link */ 6557 case 426: 6558 switch(ndx) { 6559 case 0: 6560 p = "userland const char *"; 6561 break; 6562 case 1: 6563 p = "acl_type_t"; 6564 break; 6565 case 2: 6566 p = "userland struct acl *"; 6567 break; 6568 default: 6569 break; 6570 }; 6571 break; 6572 /* __acl_delete_link */ 6573 case 427: 6574 switch(ndx) { 6575 case 0: 6576 p = "userland const char *"; 6577 break; 6578 case 1: 6579 p = "acl_type_t"; 6580 break; 6581 default: 6582 break; 6583 }; 6584 break; 6585 /* __acl_aclcheck_link */ 6586 case 428: 6587 switch(ndx) { 6588 case 0: 6589 p = "userland const char *"; 6590 break; 6591 case 1: 6592 p = "acl_type_t"; 6593 break; 6594 case 2: 6595 p = "userland struct acl *"; 6596 break; 6597 default: 6598 break; 6599 }; 6600 break; 6601 /* sigwait */ 6602 case 429: 6603 switch(ndx) { 6604 case 0: 6605 p = "userland const sigset_t *"; 6606 break; 6607 case 1: 6608 p = "userland int *"; 6609 break; 6610 default: 6611 break; 6612 }; 6613 break; 6614 /* thr_exit */ 6615 case 431: 6616 switch(ndx) { 6617 case 0: 6618 p = "userland long *"; 6619 break; 6620 default: 6621 break; 6622 }; 6623 break; 6624 /* thr_self */ 6625 case 432: 6626 switch(ndx) { 6627 case 0: 6628 p = "userland long *"; 6629 break; 6630 default: 6631 break; 6632 }; 6633 break; 6634 /* thr_kill */ 6635 case 433: 6636 switch(ndx) { 6637 case 0: 6638 p = "long"; 6639 break; 6640 case 1: 6641 p = "int"; 6642 break; 6643 default: 6644 break; 6645 }; 6646 break; 6647 /* jail_attach */ 6648 case 436: 6649 switch(ndx) { 6650 case 0: 6651 p = "int"; 6652 break; 6653 default: 6654 break; 6655 }; 6656 break; 6657 /* extattr_list_fd */ 6658 case 437: 6659 switch(ndx) { 6660 case 0: 6661 p = "int"; 6662 break; 6663 case 1: 6664 p = "int"; 6665 break; 6666 case 2: 6667 p = "userland void *"; 6668 break; 6669 case 3: 6670 p = "size_t"; 6671 break; 6672 default: 6673 break; 6674 }; 6675 break; 6676 /* extattr_list_file */ 6677 case 438: 6678 switch(ndx) { 6679 case 0: 6680 p = "userland const char *"; 6681 break; 6682 case 1: 6683 p = "int"; 6684 break; 6685 case 2: 6686 p = "userland void *"; 6687 break; 6688 case 3: 6689 p = "size_t"; 6690 break; 6691 default: 6692 break; 6693 }; 6694 break; 6695 /* extattr_list_link */ 6696 case 439: 6697 switch(ndx) { 6698 case 0: 6699 p = "userland const char *"; 6700 break; 6701 case 1: 6702 p = "int"; 6703 break; 6704 case 2: 6705 p = "userland void *"; 6706 break; 6707 case 3: 6708 p = "size_t"; 6709 break; 6710 default: 6711 break; 6712 }; 6713 break; 6714 /* freebsd32_ksem_timedwait */ 6715 case 441: 6716 switch(ndx) { 6717 case 0: 6718 p = "semid_t"; 6719 break; 6720 case 1: 6721 p = "userland const struct timespec32 *"; 6722 break; 6723 default: 6724 break; 6725 }; 6726 break; 6727 /* freebsd32_thr_suspend */ 6728 case 442: 6729 switch(ndx) { 6730 case 0: 6731 p = "userland const struct timespec32 *"; 6732 break; 6733 default: 6734 break; 6735 }; 6736 break; 6737 /* thr_wake */ 6738 case 443: 6739 switch(ndx) { 6740 case 0: 6741 p = "long"; 6742 break; 6743 default: 6744 break; 6745 }; 6746 break; 6747 /* kldunloadf */ 6748 case 444: 6749 switch(ndx) { 6750 case 0: 6751 p = "int"; 6752 break; 6753 case 1: 6754 p = "int"; 6755 break; 6756 default: 6757 break; 6758 }; 6759 break; 6760 /* audit */ 6761 case 445: 6762 switch(ndx) { 6763 case 0: 6764 p = "userland const void *"; 6765 break; 6766 case 1: 6767 p = "u_int"; 6768 break; 6769 default: 6770 break; 6771 }; 6772 break; 6773 /* auditon */ 6774 case 446: 6775 switch(ndx) { 6776 case 0: 6777 p = "int"; 6778 break; 6779 case 1: 6780 p = "userland void *"; 6781 break; 6782 case 2: 6783 p = "u_int"; 6784 break; 6785 default: 6786 break; 6787 }; 6788 break; 6789 /* getauid */ 6790 case 447: 6791 switch(ndx) { 6792 case 0: 6793 p = "userland uid_t *"; 6794 break; 6795 default: 6796 break; 6797 }; 6798 break; 6799 /* setauid */ 6800 case 448: 6801 switch(ndx) { 6802 case 0: 6803 p = "userland uid_t *"; 6804 break; 6805 default: 6806 break; 6807 }; 6808 break; 6809 /* getaudit */ 6810 case 449: 6811 switch(ndx) { 6812 case 0: 6813 p = "userland struct auditinfo *"; 6814 break; 6815 default: 6816 break; 6817 }; 6818 break; 6819 /* setaudit */ 6820 case 450: 6821 switch(ndx) { 6822 case 0: 6823 p = "userland struct auditinfo *"; 6824 break; 6825 default: 6826 break; 6827 }; 6828 break; 6829 /* getaudit_addr */ 6830 case 451: 6831 switch(ndx) { 6832 case 0: 6833 p = "userland struct auditinfo_addr *"; 6834 break; 6835 case 1: 6836 p = "u_int"; 6837 break; 6838 default: 6839 break; 6840 }; 6841 break; 6842 /* setaudit_addr */ 6843 case 452: 6844 switch(ndx) { 6845 case 0: 6846 p = "userland struct auditinfo_addr *"; 6847 break; 6848 case 1: 6849 p = "u_int"; 6850 break; 6851 default: 6852 break; 6853 }; 6854 break; 6855 /* auditctl */ 6856 case 453: 6857 switch(ndx) { 6858 case 0: 6859 p = "userland const char *"; 6860 break; 6861 default: 6862 break; 6863 }; 6864 break; 6865 /* freebsd32__umtx_op */ 6866 case 454: 6867 switch(ndx) { 6868 case 0: 6869 p = "userland void *"; 6870 break; 6871 case 1: 6872 p = "int"; 6873 break; 6874 case 2: 6875 p = "u_long"; 6876 break; 6877 case 3: 6878 p = "userland void *"; 6879 break; 6880 case 4: 6881 p = "userland void *"; 6882 break; 6883 default: 6884 break; 6885 }; 6886 break; 6887 /* freebsd32_thr_new */ 6888 case 455: 6889 switch(ndx) { 6890 case 0: 6891 p = "userland struct thr_param32 *"; 6892 break; 6893 case 1: 6894 p = "int"; 6895 break; 6896 default: 6897 break; 6898 }; 6899 break; 6900 /* freebsd32_sigqueue */ 6901 case 456: 6902 switch(ndx) { 6903 case 0: 6904 p = "pid_t"; 6905 break; 6906 case 1: 6907 p = "int"; 6908 break; 6909 case 2: 6910 p = "int"; 6911 break; 6912 default: 6913 break; 6914 }; 6915 break; 6916 /* freebsd32_kmq_open */ 6917 case 457: 6918 switch(ndx) { 6919 case 0: 6920 p = "userland const char *"; 6921 break; 6922 case 1: 6923 p = "int"; 6924 break; 6925 case 2: 6926 p = "mode_t"; 6927 break; 6928 case 3: 6929 p = "userland const struct mq_attr32 *"; 6930 break; 6931 default: 6932 break; 6933 }; 6934 break; 6935 /* freebsd32_kmq_setattr */ 6936 case 458: 6937 switch(ndx) { 6938 case 0: 6939 p = "int"; 6940 break; 6941 case 1: 6942 p = "userland const struct mq_attr32 *"; 6943 break; 6944 case 2: 6945 p = "userland struct mq_attr32 *"; 6946 break; 6947 default: 6948 break; 6949 }; 6950 break; 6951 /* freebsd32_kmq_timedreceive */ 6952 case 459: 6953 switch(ndx) { 6954 case 0: 6955 p = "int"; 6956 break; 6957 case 1: 6958 p = "userland char *"; 6959 break; 6960 case 2: 6961 p = "size_t"; 6962 break; 6963 case 3: 6964 p = "userland unsigned *"; 6965 break; 6966 case 4: 6967 p = "userland const struct timespec32 *"; 6968 break; 6969 default: 6970 break; 6971 }; 6972 break; 6973 /* freebsd32_kmq_timedsend */ 6974 case 460: 6975 switch(ndx) { 6976 case 0: 6977 p = "int"; 6978 break; 6979 case 1: 6980 p = "userland const char *"; 6981 break; 6982 case 2: 6983 p = "size_t"; 6984 break; 6985 case 3: 6986 p = "unsigned"; 6987 break; 6988 case 4: 6989 p = "userland const struct timespec32 *"; 6990 break; 6991 default: 6992 break; 6993 }; 6994 break; 6995 /* freebsd32_kmq_notify */ 6996 case 461: 6997 switch(ndx) { 6998 case 0: 6999 p = "int"; 7000 break; 7001 case 1: 7002 p = "userland const struct sigevent32 *"; 7003 break; 7004 default: 7005 break; 7006 }; 7007 break; 7008 /* kmq_unlink */ 7009 case 462: 7010 switch(ndx) { 7011 case 0: 7012 p = "userland const char *"; 7013 break; 7014 default: 7015 break; 7016 }; 7017 break; 7018 /* abort2 */ 7019 case 463: 7020 switch(ndx) { 7021 case 0: 7022 p = "userland const char *"; 7023 break; 7024 case 1: 7025 p = "int"; 7026 break; 7027 case 2: 7028 p = "userland void **"; 7029 break; 7030 default: 7031 break; 7032 }; 7033 break; 7034 /* thr_set_name */ 7035 case 464: 7036 switch(ndx) { 7037 case 0: 7038 p = "long"; 7039 break; 7040 case 1: 7041 p = "userland const char *"; 7042 break; 7043 default: 7044 break; 7045 }; 7046 break; 7047 /* freebsd32_aio_fsync */ 7048 case 465: 7049 switch(ndx) { 7050 case 0: 7051 p = "int"; 7052 break; 7053 case 1: 7054 p = "userland struct aiocb32 *"; 7055 break; 7056 default: 7057 break; 7058 }; 7059 break; 7060 /* rtprio_thread */ 7061 case 466: 7062 switch(ndx) { 7063 case 0: 7064 p = "int"; 7065 break; 7066 case 1: 7067 p = "lwpid_t"; 7068 break; 7069 case 2: 7070 p = "userland struct rtprio *"; 7071 break; 7072 default: 7073 break; 7074 }; 7075 break; 7076 /* sctp_peeloff */ 7077 case 471: 7078 switch(ndx) { 7079 case 0: 7080 p = "int"; 7081 break; 7082 case 1: 7083 p = "uint32_t"; 7084 break; 7085 default: 7086 break; 7087 }; 7088 break; 7089 /* sctp_generic_sendmsg */ 7090 case 472: 7091 switch(ndx) { 7092 case 0: 7093 p = "int"; 7094 break; 7095 case 1: 7096 p = "userland void *"; 7097 break; 7098 case 2: 7099 p = "int"; 7100 break; 7101 case 3: 7102 p = "userland struct sockaddr *"; 7103 break; 7104 case 4: 7105 p = "__socklen_t"; 7106 break; 7107 case 5: 7108 p = "userland struct sctp_sndrcvinfo *"; 7109 break; 7110 case 6: 7111 p = "int"; 7112 break; 7113 default: 7114 break; 7115 }; 7116 break; 7117 /* sctp_generic_sendmsg_iov */ 7118 case 473: 7119 switch(ndx) { 7120 case 0: 7121 p = "int"; 7122 break; 7123 case 1: 7124 p = "userland struct iovec *"; 7125 break; 7126 case 2: 7127 p = "int"; 7128 break; 7129 case 3: 7130 p = "userland struct sockaddr *"; 7131 break; 7132 case 4: 7133 p = "__socklen_t"; 7134 break; 7135 case 5: 7136 p = "userland struct sctp_sndrcvinfo *"; 7137 break; 7138 case 6: 7139 p = "int"; 7140 break; 7141 default: 7142 break; 7143 }; 7144 break; 7145 /* sctp_generic_recvmsg */ 7146 case 474: 7147 switch(ndx) { 7148 case 0: 7149 p = "int"; 7150 break; 7151 case 1: 7152 p = "userland struct iovec *"; 7153 break; 7154 case 2: 7155 p = "int"; 7156 break; 7157 case 3: 7158 p = "userland struct sockaddr *"; 7159 break; 7160 case 4: 7161 p = "userland __socklen_t *"; 7162 break; 7163 case 5: 7164 p = "userland struct sctp_sndrcvinfo *"; 7165 break; 7166 case 6: 7167 p = "userland int *"; 7168 break; 7169 default: 7170 break; 7171 }; 7172 break; 7173 #ifdef PAD64_REQUIRED 7174 /* freebsd32_pread */ 7175 case 475: 7176 switch(ndx) { 7177 case 0: 7178 p = "int"; 7179 break; 7180 case 1: 7181 p = "userland void *"; 7182 break; 7183 case 2: 7184 p = "size_t"; 7185 break; 7186 case 3: 7187 p = "int"; 7188 break; 7189 case 4: 7190 p = "uint32_t"; 7191 break; 7192 case 5: 7193 p = "uint32_t"; 7194 break; 7195 default: 7196 break; 7197 }; 7198 break; 7199 /* freebsd32_pwrite */ 7200 case 476: 7201 switch(ndx) { 7202 case 0: 7203 p = "int"; 7204 break; 7205 case 1: 7206 p = "userland const void *"; 7207 break; 7208 case 2: 7209 p = "size_t"; 7210 break; 7211 case 3: 7212 p = "int"; 7213 break; 7214 case 4: 7215 p = "uint32_t"; 7216 break; 7217 case 5: 7218 p = "uint32_t"; 7219 break; 7220 default: 7221 break; 7222 }; 7223 break; 7224 /* freebsd32_mmap */ 7225 case 477: 7226 switch(ndx) { 7227 case 0: 7228 p = "userland void *"; 7229 break; 7230 case 1: 7231 p = "size_t"; 7232 break; 7233 case 2: 7234 p = "int"; 7235 break; 7236 case 3: 7237 p = "int"; 7238 break; 7239 case 4: 7240 p = "int"; 7241 break; 7242 case 5: 7243 p = "int"; 7244 break; 7245 case 6: 7246 p = "uint32_t"; 7247 break; 7248 case 7: 7249 p = "uint32_t"; 7250 break; 7251 default: 7252 break; 7253 }; 7254 break; 7255 /* freebsd32_lseek */ 7256 case 478: 7257 switch(ndx) { 7258 case 0: 7259 p = "int"; 7260 break; 7261 case 1: 7262 p = "int"; 7263 break; 7264 case 2: 7265 p = "uint32_t"; 7266 break; 7267 case 3: 7268 p = "uint32_t"; 7269 break; 7270 case 4: 7271 p = "int"; 7272 break; 7273 default: 7274 break; 7275 }; 7276 break; 7277 /* freebsd32_truncate */ 7278 case 479: 7279 switch(ndx) { 7280 case 0: 7281 p = "userland const char *"; 7282 break; 7283 case 1: 7284 p = "int"; 7285 break; 7286 case 2: 7287 p = "uint32_t"; 7288 break; 7289 case 3: 7290 p = "uint32_t"; 7291 break; 7292 default: 7293 break; 7294 }; 7295 break; 7296 /* freebsd32_ftruncate */ 7297 case 480: 7298 switch(ndx) { 7299 case 0: 7300 p = "int"; 7301 break; 7302 case 1: 7303 p = "int"; 7304 break; 7305 case 2: 7306 p = "uint32_t"; 7307 break; 7308 case 3: 7309 p = "uint32_t"; 7310 break; 7311 default: 7312 break; 7313 }; 7314 break; 7315 #else 7316 /* freebsd32_pread */ 7317 case 475: 7318 switch(ndx) { 7319 case 0: 7320 p = "int"; 7321 break; 7322 case 1: 7323 p = "userland void *"; 7324 break; 7325 case 2: 7326 p = "size_t"; 7327 break; 7328 case 3: 7329 p = "uint32_t"; 7330 break; 7331 case 4: 7332 p = "uint32_t"; 7333 break; 7334 default: 7335 break; 7336 }; 7337 break; 7338 /* freebsd32_pwrite */ 7339 case 476: 7340 switch(ndx) { 7341 case 0: 7342 p = "int"; 7343 break; 7344 case 1: 7345 p = "userland const void *"; 7346 break; 7347 case 2: 7348 p = "size_t"; 7349 break; 7350 case 3: 7351 p = "uint32_t"; 7352 break; 7353 case 4: 7354 p = "uint32_t"; 7355 break; 7356 default: 7357 break; 7358 }; 7359 break; 7360 /* freebsd32_mmap */ 7361 case 477: 7362 switch(ndx) { 7363 case 0: 7364 p = "userland void *"; 7365 break; 7366 case 1: 7367 p = "size_t"; 7368 break; 7369 case 2: 7370 p = "int"; 7371 break; 7372 case 3: 7373 p = "int"; 7374 break; 7375 case 4: 7376 p = "int"; 7377 break; 7378 case 5: 7379 p = "uint32_t"; 7380 break; 7381 case 6: 7382 p = "uint32_t"; 7383 break; 7384 default: 7385 break; 7386 }; 7387 break; 7388 /* freebsd32_lseek */ 7389 case 478: 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 case 3: 7401 p = "int"; 7402 break; 7403 default: 7404 break; 7405 }; 7406 break; 7407 /* freebsd32_truncate */ 7408 case 479: 7409 switch(ndx) { 7410 case 0: 7411 p = "userland const char *"; 7412 break; 7413 case 1: 7414 p = "uint32_t"; 7415 break; 7416 case 2: 7417 p = "uint32_t"; 7418 break; 7419 default: 7420 break; 7421 }; 7422 break; 7423 /* freebsd32_ftruncate */ 7424 case 480: 7425 switch(ndx) { 7426 case 0: 7427 p = "int"; 7428 break; 7429 case 1: 7430 p = "uint32_t"; 7431 break; 7432 case 2: 7433 p = "uint32_t"; 7434 break; 7435 default: 7436 break; 7437 }; 7438 break; 7439 #endif 7440 /* thr_kill2 */ 7441 case 481: 7442 switch(ndx) { 7443 case 0: 7444 p = "pid_t"; 7445 break; 7446 case 1: 7447 p = "long"; 7448 break; 7449 case 2: 7450 p = "int"; 7451 break; 7452 default: 7453 break; 7454 }; 7455 break; 7456 /* shm_unlink */ 7457 case 483: 7458 switch(ndx) { 7459 case 0: 7460 p = "userland const char *"; 7461 break; 7462 default: 7463 break; 7464 }; 7465 break; 7466 /* cpuset */ 7467 case 484: 7468 switch(ndx) { 7469 case 0: 7470 p = "userland cpusetid_t *"; 7471 break; 7472 default: 7473 break; 7474 }; 7475 break; 7476 #ifdef PAD64_REQUIRED 7477 /* freebsd32_cpuset_setid */ 7478 case 485: 7479 switch(ndx) { 7480 case 0: 7481 p = "cpuwhich_t"; 7482 break; 7483 case 1: 7484 p = "int"; 7485 break; 7486 case 2: 7487 p = "uint32_t"; 7488 break; 7489 case 3: 7490 p = "uint32_t"; 7491 break; 7492 case 4: 7493 p = "cpusetid_t"; 7494 break; 7495 default: 7496 break; 7497 }; 7498 break; 7499 #else 7500 /* freebsd32_cpuset_setid */ 7501 case 485: 7502 switch(ndx) { 7503 case 0: 7504 p = "cpuwhich_t"; 7505 break; 7506 case 1: 7507 p = "uint32_t"; 7508 break; 7509 case 2: 7510 p = "uint32_t"; 7511 break; 7512 case 3: 7513 p = "cpusetid_t"; 7514 break; 7515 default: 7516 break; 7517 }; 7518 break; 7519 #endif 7520 /* freebsd32_cpuset_getid */ 7521 case 486: 7522 switch(ndx) { 7523 case 0: 7524 p = "cpulevel_t"; 7525 break; 7526 case 1: 7527 p = "cpuwhich_t"; 7528 break; 7529 case 2: 7530 p = "uint32_t"; 7531 break; 7532 case 3: 7533 p = "uint32_t"; 7534 break; 7535 case 4: 7536 p = "userland cpusetid_t *"; 7537 break; 7538 default: 7539 break; 7540 }; 7541 break; 7542 /* freebsd32_cpuset_getaffinity */ 7543 case 487: 7544 switch(ndx) { 7545 case 0: 7546 p = "cpulevel_t"; 7547 break; 7548 case 1: 7549 p = "cpuwhich_t"; 7550 break; 7551 case 2: 7552 p = "uint32_t"; 7553 break; 7554 case 3: 7555 p = "uint32_t"; 7556 break; 7557 case 4: 7558 p = "size_t"; 7559 break; 7560 case 5: 7561 p = "userland cpuset_t *"; 7562 break; 7563 default: 7564 break; 7565 }; 7566 break; 7567 /* freebsd32_cpuset_setaffinity */ 7568 case 488: 7569 switch(ndx) { 7570 case 0: 7571 p = "cpulevel_t"; 7572 break; 7573 case 1: 7574 p = "cpuwhich_t"; 7575 break; 7576 case 2: 7577 p = "uint32_t"; 7578 break; 7579 case 3: 7580 p = "uint32_t"; 7581 break; 7582 case 4: 7583 p = "size_t"; 7584 break; 7585 case 5: 7586 p = "userland const cpuset_t *"; 7587 break; 7588 default: 7589 break; 7590 }; 7591 break; 7592 /* faccessat */ 7593 case 489: 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 = "int"; 7603 break; 7604 case 3: 7605 p = "int"; 7606 break; 7607 default: 7608 break; 7609 }; 7610 break; 7611 /* fchmodat */ 7612 case 490: 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 = "mode_t"; 7622 break; 7623 case 3: 7624 p = "int"; 7625 break; 7626 default: 7627 break; 7628 }; 7629 break; 7630 /* fchownat */ 7631 case 491: 7632 switch(ndx) { 7633 case 0: 7634 p = "int"; 7635 break; 7636 case 1: 7637 p = "userland const char *"; 7638 break; 7639 case 2: 7640 p = "uid_t"; 7641 break; 7642 case 3: 7643 p = "gid_t"; 7644 break; 7645 case 4: 7646 p = "int"; 7647 break; 7648 default: 7649 break; 7650 }; 7651 break; 7652 /* freebsd32_fexecve */ 7653 case 492: 7654 switch(ndx) { 7655 case 0: 7656 p = "int"; 7657 break; 7658 case 1: 7659 p = "userland uint32_t *"; 7660 break; 7661 case 2: 7662 p = "userland uint32_t *"; 7663 break; 7664 default: 7665 break; 7666 }; 7667 break; 7668 /* freebsd32_futimesat */ 7669 case 494: 7670 switch(ndx) { 7671 case 0: 7672 p = "int"; 7673 break; 7674 case 1: 7675 p = "userland const char *"; 7676 break; 7677 case 2: 7678 p = "userland struct timeval *"; 7679 break; 7680 default: 7681 break; 7682 }; 7683 break; 7684 /* linkat */ 7685 case 495: 7686 switch(ndx) { 7687 case 0: 7688 p = "int"; 7689 break; 7690 case 1: 7691 p = "userland const char *"; 7692 break; 7693 case 2: 7694 p = "int"; 7695 break; 7696 case 3: 7697 p = "userland const char *"; 7698 break; 7699 case 4: 7700 p = "int"; 7701 break; 7702 default: 7703 break; 7704 }; 7705 break; 7706 /* mkdirat */ 7707 case 496: 7708 switch(ndx) { 7709 case 0: 7710 p = "int"; 7711 break; 7712 case 1: 7713 p = "userland const char *"; 7714 break; 7715 case 2: 7716 p = "mode_t"; 7717 break; 7718 default: 7719 break; 7720 }; 7721 break; 7722 /* mkfifoat */ 7723 case 497: 7724 switch(ndx) { 7725 case 0: 7726 p = "int"; 7727 break; 7728 case 1: 7729 p = "userland const char *"; 7730 break; 7731 case 2: 7732 p = "mode_t"; 7733 break; 7734 default: 7735 break; 7736 }; 7737 break; 7738 /* openat */ 7739 case 499: 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 = "int"; 7749 break; 7750 case 3: 7751 p = "mode_t"; 7752 break; 7753 default: 7754 break; 7755 }; 7756 break; 7757 /* readlinkat */ 7758 case 500: 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 = "userland char *"; 7768 break; 7769 case 3: 7770 p = "size_t"; 7771 break; 7772 default: 7773 break; 7774 }; 7775 break; 7776 /* renameat */ 7777 case 501: 7778 switch(ndx) { 7779 case 0: 7780 p = "int"; 7781 break; 7782 case 1: 7783 p = "userland const char *"; 7784 break; 7785 case 2: 7786 p = "int"; 7787 break; 7788 case 3: 7789 p = "userland const char *"; 7790 break; 7791 default: 7792 break; 7793 }; 7794 break; 7795 /* symlinkat */ 7796 case 502: 7797 switch(ndx) { 7798 case 0: 7799 p = "userland const char *"; 7800 break; 7801 case 1: 7802 p = "int"; 7803 break; 7804 case 2: 7805 p = "userland const char *"; 7806 break; 7807 default: 7808 break; 7809 }; 7810 break; 7811 /* unlinkat */ 7812 case 503: 7813 switch(ndx) { 7814 case 0: 7815 p = "int"; 7816 break; 7817 case 1: 7818 p = "userland const char *"; 7819 break; 7820 case 2: 7821 p = "int"; 7822 break; 7823 default: 7824 break; 7825 }; 7826 break; 7827 /* posix_openpt */ 7828 case 504: 7829 switch(ndx) { 7830 case 0: 7831 p = "int"; 7832 break; 7833 default: 7834 break; 7835 }; 7836 break; 7837 /* freebsd32_jail_get */ 7838 case 506: 7839 switch(ndx) { 7840 case 0: 7841 p = "userland struct iovec32 *"; 7842 break; 7843 case 1: 7844 p = "unsigned int"; 7845 break; 7846 case 2: 7847 p = "int"; 7848 break; 7849 default: 7850 break; 7851 }; 7852 break; 7853 /* freebsd32_jail_set */ 7854 case 507: 7855 switch(ndx) { 7856 case 0: 7857 p = "userland struct iovec32 *"; 7858 break; 7859 case 1: 7860 p = "unsigned int"; 7861 break; 7862 case 2: 7863 p = "int"; 7864 break; 7865 default: 7866 break; 7867 }; 7868 break; 7869 /* jail_remove */ 7870 case 508: 7871 switch(ndx) { 7872 case 0: 7873 p = "int"; 7874 break; 7875 default: 7876 break; 7877 }; 7878 break; 7879 /* closefrom */ 7880 case 509: 7881 switch(ndx) { 7882 case 0: 7883 p = "int"; 7884 break; 7885 default: 7886 break; 7887 }; 7888 break; 7889 /* freebsd32_semctl */ 7890 case 510: 7891 switch(ndx) { 7892 case 0: 7893 p = "int"; 7894 break; 7895 case 1: 7896 p = "int"; 7897 break; 7898 case 2: 7899 p = "int"; 7900 break; 7901 case 3: 7902 p = "userland union semun32 *"; 7903 break; 7904 default: 7905 break; 7906 }; 7907 break; 7908 /* freebsd32_msgctl */ 7909 case 511: 7910 switch(ndx) { 7911 case 0: 7912 p = "int"; 7913 break; 7914 case 1: 7915 p = "int"; 7916 break; 7917 case 2: 7918 p = "userland struct msqid_ds32 *"; 7919 break; 7920 default: 7921 break; 7922 }; 7923 break; 7924 /* freebsd32_shmctl */ 7925 case 512: 7926 switch(ndx) { 7927 case 0: 7928 p = "int"; 7929 break; 7930 case 1: 7931 p = "int"; 7932 break; 7933 case 2: 7934 p = "userland struct shmid_ds32 *"; 7935 break; 7936 default: 7937 break; 7938 }; 7939 break; 7940 /* lpathconf */ 7941 case 513: 7942 switch(ndx) { 7943 case 0: 7944 p = "userland const char *"; 7945 break; 7946 case 1: 7947 p = "int"; 7948 break; 7949 default: 7950 break; 7951 }; 7952 break; 7953 /* __cap_rights_get */ 7954 case 515: 7955 switch(ndx) { 7956 case 0: 7957 p = "int"; 7958 break; 7959 case 1: 7960 p = "int"; 7961 break; 7962 case 2: 7963 p = "userland cap_rights_t *"; 7964 break; 7965 default: 7966 break; 7967 }; 7968 break; 7969 /* cap_enter */ 7970 case 516: 7971 break; 7972 /* cap_getmode */ 7973 case 517: 7974 switch(ndx) { 7975 case 0: 7976 p = "userland u_int *"; 7977 break; 7978 default: 7979 break; 7980 }; 7981 break; 7982 /* pdfork */ 7983 case 518: 7984 switch(ndx) { 7985 case 0: 7986 p = "userland int *"; 7987 break; 7988 case 1: 7989 p = "int"; 7990 break; 7991 default: 7992 break; 7993 }; 7994 break; 7995 /* pdkill */ 7996 case 519: 7997 switch(ndx) { 7998 case 0: 7999 p = "int"; 8000 break; 8001 case 1: 8002 p = "int"; 8003 break; 8004 default: 8005 break; 8006 }; 8007 break; 8008 /* pdgetpid */ 8009 case 520: 8010 switch(ndx) { 8011 case 0: 8012 p = "int"; 8013 break; 8014 case 1: 8015 p = "userland pid_t *"; 8016 break; 8017 default: 8018 break; 8019 }; 8020 break; 8021 /* freebsd32_pselect */ 8022 case 522: 8023 switch(ndx) { 8024 case 0: 8025 p = "int"; 8026 break; 8027 case 1: 8028 p = "userland fd_set *"; 8029 break; 8030 case 2: 8031 p = "userland fd_set *"; 8032 break; 8033 case 3: 8034 p = "userland fd_set *"; 8035 break; 8036 case 4: 8037 p = "userland const struct timespec32 *"; 8038 break; 8039 case 5: 8040 p = "userland const sigset_t *"; 8041 break; 8042 default: 8043 break; 8044 }; 8045 break; 8046 /* getloginclass */ 8047 case 523: 8048 switch(ndx) { 8049 case 0: 8050 p = "userland char *"; 8051 break; 8052 case 1: 8053 p = "size_t"; 8054 break; 8055 default: 8056 break; 8057 }; 8058 break; 8059 /* setloginclass */ 8060 case 524: 8061 switch(ndx) { 8062 case 0: 8063 p = "userland const char *"; 8064 break; 8065 default: 8066 break; 8067 }; 8068 break; 8069 /* rctl_get_racct */ 8070 case 525: 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_rules */ 8089 case 526: 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_get_limits */ 8108 case 527: 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_add_rule */ 8127 case 528: 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 /* rctl_remove_rule */ 8146 case 529: 8147 switch(ndx) { 8148 case 0: 8149 p = "userland const void *"; 8150 break; 8151 case 1: 8152 p = "size_t"; 8153 break; 8154 case 2: 8155 p = "userland void *"; 8156 break; 8157 case 3: 8158 p = "size_t"; 8159 break; 8160 default: 8161 break; 8162 }; 8163 break; 8164 #ifdef PAD64_REQUIRED 8165 /* freebsd32_posix_fallocate */ 8166 case 530: 8167 switch(ndx) { 8168 case 0: 8169 p = "int"; 8170 break; 8171 case 1: 8172 p = "int"; 8173 break; 8174 case 2: 8175 p = "uint32_t"; 8176 break; 8177 case 3: 8178 p = "uint32_t"; 8179 break; 8180 case 4: 8181 p = "uint32_t"; 8182 break; 8183 case 5: 8184 p = "uint32_t"; 8185 break; 8186 default: 8187 break; 8188 }; 8189 break; 8190 /* freebsd32_posix_fadvise */ 8191 case 531: 8192 switch(ndx) { 8193 case 0: 8194 p = "int"; 8195 break; 8196 case 1: 8197 p = "int"; 8198 break; 8199 case 2: 8200 p = "uint32_t"; 8201 break; 8202 case 3: 8203 p = "uint32_t"; 8204 break; 8205 case 4: 8206 p = "uint32_t"; 8207 break; 8208 case 5: 8209 p = "uint32_t"; 8210 break; 8211 case 6: 8212 p = "int"; 8213 break; 8214 default: 8215 break; 8216 }; 8217 break; 8218 /* freebsd32_wait6 */ 8219 case 532: 8220 switch(ndx) { 8221 case 0: 8222 p = "int"; 8223 break; 8224 case 1: 8225 p = "int"; 8226 break; 8227 case 2: 8228 p = "uint32_t"; 8229 break; 8230 case 3: 8231 p = "uint32_t"; 8232 break; 8233 case 4: 8234 p = "userland int *"; 8235 break; 8236 case 5: 8237 p = "int"; 8238 break; 8239 case 6: 8240 p = "userland struct wrusage32 *"; 8241 break; 8242 case 7: 8243 p = "userland siginfo_t *"; 8244 break; 8245 default: 8246 break; 8247 }; 8248 break; 8249 #else 8250 /* freebsd32_posix_fallocate */ 8251 case 530: 8252 switch(ndx) { 8253 case 0: 8254 p = "int"; 8255 break; 8256 case 1: 8257 p = "uint32_t"; 8258 break; 8259 case 2: 8260 p = "uint32_t"; 8261 break; 8262 case 3: 8263 p = "uint32_t"; 8264 break; 8265 case 4: 8266 p = "uint32_t"; 8267 break; 8268 default: 8269 break; 8270 }; 8271 break; 8272 /* freebsd32_posix_fadvise */ 8273 case 531: 8274 switch(ndx) { 8275 case 0: 8276 p = "int"; 8277 break; 8278 case 1: 8279 p = "uint32_t"; 8280 break; 8281 case 2: 8282 p = "uint32_t"; 8283 break; 8284 case 3: 8285 p = "uint32_t"; 8286 break; 8287 case 4: 8288 p = "uint32_t"; 8289 break; 8290 case 5: 8291 p = "int"; 8292 break; 8293 default: 8294 break; 8295 }; 8296 break; 8297 /* freebsd32_wait6 */ 8298 case 532: 8299 switch(ndx) { 8300 case 0: 8301 p = "int"; 8302 break; 8303 case 1: 8304 p = "uint32_t"; 8305 break; 8306 case 2: 8307 p = "uint32_t"; 8308 break; 8309 case 3: 8310 p = "userland int *"; 8311 break; 8312 case 4: 8313 p = "int"; 8314 break; 8315 case 5: 8316 p = "userland struct wrusage32 *"; 8317 break; 8318 case 6: 8319 p = "userland siginfo_t *"; 8320 break; 8321 default: 8322 break; 8323 }; 8324 break; 8325 #endif 8326 /* cap_rights_limit */ 8327 case 533: 8328 switch(ndx) { 8329 case 0: 8330 p = "int"; 8331 break; 8332 case 1: 8333 p = "userland cap_rights_t *"; 8334 break; 8335 default: 8336 break; 8337 }; 8338 break; 8339 /* freebsd32_cap_ioctls_limit */ 8340 case 534: 8341 switch(ndx) { 8342 case 0: 8343 p = "int"; 8344 break; 8345 case 1: 8346 p = "userland const uint32_t *"; 8347 break; 8348 case 2: 8349 p = "size_t"; 8350 break; 8351 default: 8352 break; 8353 }; 8354 break; 8355 /* freebsd32_cap_ioctls_get */ 8356 case 535: 8357 switch(ndx) { 8358 case 0: 8359 p = "int"; 8360 break; 8361 case 1: 8362 p = "userland uint32_t *"; 8363 break; 8364 case 2: 8365 p = "size_t"; 8366 break; 8367 default: 8368 break; 8369 }; 8370 break; 8371 /* cap_fcntls_limit */ 8372 case 536: 8373 switch(ndx) { 8374 case 0: 8375 p = "int"; 8376 break; 8377 case 1: 8378 p = "uint32_t"; 8379 break; 8380 default: 8381 break; 8382 }; 8383 break; 8384 /* cap_fcntls_get */ 8385 case 537: 8386 switch(ndx) { 8387 case 0: 8388 p = "int"; 8389 break; 8390 case 1: 8391 p = "userland uint32_t *"; 8392 break; 8393 default: 8394 break; 8395 }; 8396 break; 8397 /* bindat */ 8398 case 538: 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 /* connectat */ 8417 case 539: 8418 switch(ndx) { 8419 case 0: 8420 p = "int"; 8421 break; 8422 case 1: 8423 p = "int"; 8424 break; 8425 case 2: 8426 p = "userland const struct sockaddr *"; 8427 break; 8428 case 3: 8429 p = "int"; 8430 break; 8431 default: 8432 break; 8433 }; 8434 break; 8435 /* chflagsat */ 8436 case 540: 8437 switch(ndx) { 8438 case 0: 8439 p = "int"; 8440 break; 8441 case 1: 8442 p = "userland const char *"; 8443 break; 8444 case 2: 8445 p = "u_long"; 8446 break; 8447 case 3: 8448 p = "int"; 8449 break; 8450 default: 8451 break; 8452 }; 8453 break; 8454 /* accept4 */ 8455 case 541: 8456 switch(ndx) { 8457 case 0: 8458 p = "int"; 8459 break; 8460 case 1: 8461 p = "userland struct sockaddr *"; 8462 break; 8463 case 2: 8464 p = "userland __socklen_t *"; 8465 break; 8466 case 3: 8467 p = "int"; 8468 break; 8469 default: 8470 break; 8471 }; 8472 break; 8473 /* pipe2 */ 8474 case 542: 8475 switch(ndx) { 8476 case 0: 8477 p = "userland int *"; 8478 break; 8479 case 1: 8480 p = "int"; 8481 break; 8482 default: 8483 break; 8484 }; 8485 break; 8486 /* freebsd32_aio_mlock */ 8487 case 543: 8488 switch(ndx) { 8489 case 0: 8490 p = "userland struct aiocb32 *"; 8491 break; 8492 default: 8493 break; 8494 }; 8495 break; 8496 #ifdef PAD64_REQUIRED 8497 /* freebsd32_procctl */ 8498 case 544: 8499 switch(ndx) { 8500 case 0: 8501 p = "int"; 8502 break; 8503 case 1: 8504 p = "int"; 8505 break; 8506 case 2: 8507 p = "uint32_t"; 8508 break; 8509 case 3: 8510 p = "uint32_t"; 8511 break; 8512 case 4: 8513 p = "int"; 8514 break; 8515 case 5: 8516 p = "userland void *"; 8517 break; 8518 default: 8519 break; 8520 }; 8521 break; 8522 #else 8523 /* freebsd32_procctl */ 8524 case 544: 8525 switch(ndx) { 8526 case 0: 8527 p = "int"; 8528 break; 8529 case 1: 8530 p = "uint32_t"; 8531 break; 8532 case 2: 8533 p = "uint32_t"; 8534 break; 8535 case 3: 8536 p = "int"; 8537 break; 8538 case 4: 8539 p = "userland void *"; 8540 break; 8541 default: 8542 break; 8543 }; 8544 break; 8545 #endif 8546 /* freebsd32_ppoll */ 8547 case 545: 8548 switch(ndx) { 8549 case 0: 8550 p = "userland struct pollfd *"; 8551 break; 8552 case 1: 8553 p = "u_int"; 8554 break; 8555 case 2: 8556 p = "userland const struct timespec32 *"; 8557 break; 8558 case 3: 8559 p = "userland const sigset_t *"; 8560 break; 8561 default: 8562 break; 8563 }; 8564 break; 8565 /* freebsd32_futimens */ 8566 case 546: 8567 switch(ndx) { 8568 case 0: 8569 p = "int"; 8570 break; 8571 case 1: 8572 p = "userland struct timespec *"; 8573 break; 8574 default: 8575 break; 8576 }; 8577 break; 8578 /* freebsd32_utimensat */ 8579 case 547: 8580 switch(ndx) { 8581 case 0: 8582 p = "int"; 8583 break; 8584 case 1: 8585 p = "userland const char *"; 8586 break; 8587 case 2: 8588 p = "userland struct timespec *"; 8589 break; 8590 case 3: 8591 p = "int"; 8592 break; 8593 default: 8594 break; 8595 }; 8596 break; 8597 /* fdatasync */ 8598 case 550: 8599 switch(ndx) { 8600 case 0: 8601 p = "int"; 8602 break; 8603 default: 8604 break; 8605 }; 8606 break; 8607 /* freebsd32_fstat */ 8608 case 551: 8609 switch(ndx) { 8610 case 0: 8611 p = "int"; 8612 break; 8613 case 1: 8614 p = "userland struct stat32 *"; 8615 break; 8616 default: 8617 break; 8618 }; 8619 break; 8620 /* freebsd32_fstatat */ 8621 case 552: 8622 switch(ndx) { 8623 case 0: 8624 p = "int"; 8625 break; 8626 case 1: 8627 p = "userland const char *"; 8628 break; 8629 case 2: 8630 p = "userland struct stat32 *"; 8631 break; 8632 case 3: 8633 p = "int"; 8634 break; 8635 default: 8636 break; 8637 }; 8638 break; 8639 /* freebsd32_fhstat */ 8640 case 553: 8641 switch(ndx) { 8642 case 0: 8643 p = "userland const struct fhandle *"; 8644 break; 8645 case 1: 8646 p = "userland struct stat32 *"; 8647 break; 8648 default: 8649 break; 8650 }; 8651 break; 8652 /* getdirentries */ 8653 case 554: 8654 switch(ndx) { 8655 case 0: 8656 p = "int"; 8657 break; 8658 case 1: 8659 p = "userland char *"; 8660 break; 8661 case 2: 8662 p = "size_t"; 8663 break; 8664 case 3: 8665 p = "userland off_t *"; 8666 break; 8667 default: 8668 break; 8669 }; 8670 break; 8671 /* statfs */ 8672 case 555: 8673 switch(ndx) { 8674 case 0: 8675 p = "userland const char *"; 8676 break; 8677 case 1: 8678 p = "userland struct statfs32 *"; 8679 break; 8680 default: 8681 break; 8682 }; 8683 break; 8684 /* fstatfs */ 8685 case 556: 8686 switch(ndx) { 8687 case 0: 8688 p = "int"; 8689 break; 8690 case 1: 8691 p = "userland struct statfs32 *"; 8692 break; 8693 default: 8694 break; 8695 }; 8696 break; 8697 /* getfsstat */ 8698 case 557: 8699 switch(ndx) { 8700 case 0: 8701 p = "userland struct statfs32 *"; 8702 break; 8703 case 1: 8704 p = "long"; 8705 break; 8706 case 2: 8707 p = "int"; 8708 break; 8709 default: 8710 break; 8711 }; 8712 break; 8713 /* fhstatfs */ 8714 case 558: 8715 switch(ndx) { 8716 case 0: 8717 p = "userland const struct fhandle *"; 8718 break; 8719 case 1: 8720 p = "userland struct statfs32 *"; 8721 break; 8722 default: 8723 break; 8724 }; 8725 break; 8726 #ifdef PAD64_REQUIRED 8727 /* freebsd32_mknodat */ 8728 case 559: 8729 switch(ndx) { 8730 case 0: 8731 p = "int"; 8732 break; 8733 case 1: 8734 p = "userland const char *"; 8735 break; 8736 case 2: 8737 p = "mode_t"; 8738 break; 8739 case 3: 8740 p = "int"; 8741 break; 8742 case 4: 8743 p = "uint32_t"; 8744 break; 8745 case 5: 8746 p = "uint32_t"; 8747 break; 8748 default: 8749 break; 8750 }; 8751 break; 8752 #else 8753 /* freebsd32_mknodat */ 8754 case 559: 8755 switch(ndx) { 8756 case 0: 8757 p = "int"; 8758 break; 8759 case 1: 8760 p = "userland const char *"; 8761 break; 8762 case 2: 8763 p = "mode_t"; 8764 break; 8765 case 3: 8766 p = "uint32_t"; 8767 break; 8768 case 4: 8769 p = "uint32_t"; 8770 break; 8771 default: 8772 break; 8773 }; 8774 break; 8775 #endif 8776 /* freebsd32_kevent */ 8777 case 560: 8778 switch(ndx) { 8779 case 0: 8780 p = "int"; 8781 break; 8782 case 1: 8783 p = "userland const struct kevent32 *"; 8784 break; 8785 case 2: 8786 p = "int"; 8787 break; 8788 case 3: 8789 p = "userland struct kevent32 *"; 8790 break; 8791 case 4: 8792 p = "int"; 8793 break; 8794 case 5: 8795 p = "userland const struct timespec32 *"; 8796 break; 8797 default: 8798 break; 8799 }; 8800 break; 8801 /* freebsd32_cpuset_getdomain */ 8802 case 561: 8803 switch(ndx) { 8804 case 0: 8805 p = "cpulevel_t"; 8806 break; 8807 case 1: 8808 p = "cpuwhich_t"; 8809 break; 8810 case 2: 8811 p = "uint32_t"; 8812 break; 8813 case 3: 8814 p = "uint32_t"; 8815 break; 8816 case 4: 8817 p = "size_t"; 8818 break; 8819 case 5: 8820 p = "userland domainset_t *"; 8821 break; 8822 case 6: 8823 p = "userland int *"; 8824 break; 8825 default: 8826 break; 8827 }; 8828 break; 8829 /* freebsd32_cpuset_setdomain */ 8830 case 562: 8831 switch(ndx) { 8832 case 0: 8833 p = "cpulevel_t"; 8834 break; 8835 case 1: 8836 p = "cpuwhich_t"; 8837 break; 8838 case 2: 8839 p = "uint32_t"; 8840 break; 8841 case 3: 8842 p = "uint32_t"; 8843 break; 8844 case 4: 8845 p = "size_t"; 8846 break; 8847 case 5: 8848 p = "userland domainset_t *"; 8849 break; 8850 case 6: 8851 p = "int"; 8852 break; 8853 default: 8854 break; 8855 }; 8856 break; 8857 /* getrandom */ 8858 case 563: 8859 switch(ndx) { 8860 case 0: 8861 p = "userland void *"; 8862 break; 8863 case 1: 8864 p = "size_t"; 8865 break; 8866 case 2: 8867 p = "unsigned int"; 8868 break; 8869 default: 8870 break; 8871 }; 8872 break; 8873 /* getfhat */ 8874 case 564: 8875 switch(ndx) { 8876 case 0: 8877 p = "int"; 8878 break; 8879 case 1: 8880 p = "userland char *"; 8881 break; 8882 case 2: 8883 p = "userland struct fhandle *"; 8884 break; 8885 case 3: 8886 p = "int"; 8887 break; 8888 default: 8889 break; 8890 }; 8891 break; 8892 /* fhlink */ 8893 case 565: 8894 switch(ndx) { 8895 case 0: 8896 p = "userland struct fhandle *"; 8897 break; 8898 case 1: 8899 p = "userland const char *"; 8900 break; 8901 default: 8902 break; 8903 }; 8904 break; 8905 /* fhlinkat */ 8906 case 566: 8907 switch(ndx) { 8908 case 0: 8909 p = "userland struct fhandle *"; 8910 break; 8911 case 1: 8912 p = "int"; 8913 break; 8914 case 2: 8915 p = "userland const char *"; 8916 break; 8917 default: 8918 break; 8919 }; 8920 break; 8921 /* fhreadlink */ 8922 case 567: 8923 switch(ndx) { 8924 case 0: 8925 p = "userland struct fhandle *"; 8926 break; 8927 case 1: 8928 p = "userland char *"; 8929 break; 8930 case 2: 8931 p = "size_t"; 8932 break; 8933 default: 8934 break; 8935 }; 8936 break; 8937 /* funlinkat */ 8938 case 568: 8939 switch(ndx) { 8940 case 0: 8941 p = "int"; 8942 break; 8943 case 1: 8944 p = "userland const char *"; 8945 break; 8946 case 2: 8947 p = "int"; 8948 break; 8949 case 3: 8950 p = "int"; 8951 break; 8952 default: 8953 break; 8954 }; 8955 break; 8956 /* copy_file_range */ 8957 case 569: 8958 switch(ndx) { 8959 case 0: 8960 p = "int"; 8961 break; 8962 case 1: 8963 p = "userland off_t *"; 8964 break; 8965 case 2: 8966 p = "int"; 8967 break; 8968 case 3: 8969 p = "userland off_t *"; 8970 break; 8971 case 4: 8972 p = "size_t"; 8973 break; 8974 case 5: 8975 p = "unsigned int"; 8976 break; 8977 default: 8978 break; 8979 }; 8980 break; 8981 /* freebsd32___sysctlbyname */ 8982 case 570: 8983 switch(ndx) { 8984 case 0: 8985 p = "userland const char *"; 8986 break; 8987 case 1: 8988 p = "size_t"; 8989 break; 8990 case 2: 8991 p = "userland void *"; 8992 break; 8993 case 3: 8994 p = "userland uint32_t *"; 8995 break; 8996 case 4: 8997 p = "userland void *"; 8998 break; 8999 case 5: 9000 p = "size_t"; 9001 break; 9002 default: 9003 break; 9004 }; 9005 break; 9006 /* shm_open2 */ 9007 case 571: 9008 switch(ndx) { 9009 case 0: 9010 p = "userland const char *"; 9011 break; 9012 case 1: 9013 p = "int"; 9014 break; 9015 case 2: 9016 p = "mode_t"; 9017 break; 9018 case 3: 9019 p = "int"; 9020 break; 9021 case 4: 9022 p = "userland const char *"; 9023 break; 9024 default: 9025 break; 9026 }; 9027 break; 9028 /* shm_rename */ 9029 case 572: 9030 switch(ndx) { 9031 case 0: 9032 p = "userland const char *"; 9033 break; 9034 case 1: 9035 p = "userland const char *"; 9036 break; 9037 case 2: 9038 p = "int"; 9039 break; 9040 default: 9041 break; 9042 }; 9043 break; 9044 default: 9045 break; 9046 }; 9047 if (p != NULL) 9048 strlcpy(desc, p, descsz); 9049 } 9050 static void 9051 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 9052 { 9053 const char *p = NULL; 9054 switch (sysnum) { 9055 #if !defined(PAD64_REQUIRED) && !defined(__amd64__) 9056 #define PAD64_REQUIRED 9057 #endif 9058 /* nosys */ 9059 case 0: 9060 /* sys_exit */ 9061 case 1: 9062 if (ndx == 0 || ndx == 1) 9063 p = "void"; 9064 break; 9065 /* fork */ 9066 case 2: 9067 /* read */ 9068 case 3: 9069 if (ndx == 0 || ndx == 1) 9070 p = "ssize_t"; 9071 break; 9072 /* write */ 9073 case 4: 9074 if (ndx == 0 || ndx == 1) 9075 p = "ssize_t"; 9076 break; 9077 /* open */ 9078 case 5: 9079 if (ndx == 0 || ndx == 1) 9080 p = "int"; 9081 break; 9082 /* close */ 9083 case 6: 9084 if (ndx == 0 || ndx == 1) 9085 p = "int"; 9086 break; 9087 /* freebsd32_wait4 */ 9088 case 7: 9089 if (ndx == 0 || ndx == 1) 9090 p = "int"; 9091 break; 9092 /* link */ 9093 case 9: 9094 if (ndx == 0 || ndx == 1) 9095 p = "int"; 9096 break; 9097 /* unlink */ 9098 case 10: 9099 if (ndx == 0 || ndx == 1) 9100 p = "int"; 9101 break; 9102 /* chdir */ 9103 case 12: 9104 if (ndx == 0 || ndx == 1) 9105 p = "int"; 9106 break; 9107 /* fchdir */ 9108 case 13: 9109 if (ndx == 0 || ndx == 1) 9110 p = "int"; 9111 break; 9112 /* chmod */ 9113 case 15: 9114 if (ndx == 0 || ndx == 1) 9115 p = "int"; 9116 break; 9117 /* chown */ 9118 case 16: 9119 if (ndx == 0 || ndx == 1) 9120 p = "int"; 9121 break; 9122 /* break */ 9123 case 17: 9124 if (ndx == 0 || ndx == 1) 9125 p = "void *"; 9126 break; 9127 /* getpid */ 9128 case 20: 9129 /* mount */ 9130 case 21: 9131 if (ndx == 0 || ndx == 1) 9132 p = "int"; 9133 break; 9134 /* unmount */ 9135 case 22: 9136 if (ndx == 0 || ndx == 1) 9137 p = "int"; 9138 break; 9139 /* setuid */ 9140 case 23: 9141 if (ndx == 0 || ndx == 1) 9142 p = "int"; 9143 break; 9144 /* getuid */ 9145 case 24: 9146 /* geteuid */ 9147 case 25: 9148 /* ptrace */ 9149 case 26: 9150 if (ndx == 0 || ndx == 1) 9151 p = "int"; 9152 break; 9153 /* freebsd32_recvmsg */ 9154 case 27: 9155 if (ndx == 0 || ndx == 1) 9156 p = "int"; 9157 break; 9158 /* freebsd32_sendmsg */ 9159 case 28: 9160 if (ndx == 0 || ndx == 1) 9161 p = "int"; 9162 break; 9163 /* freebsd32_recvfrom */ 9164 case 29: 9165 if (ndx == 0 || ndx == 1) 9166 p = "int"; 9167 break; 9168 /* accept */ 9169 case 30: 9170 if (ndx == 0 || ndx == 1) 9171 p = "int"; 9172 break; 9173 /* getpeername */ 9174 case 31: 9175 if (ndx == 0 || ndx == 1) 9176 p = "int"; 9177 break; 9178 /* getsockname */ 9179 case 32: 9180 if (ndx == 0 || ndx == 1) 9181 p = "int"; 9182 break; 9183 /* access */ 9184 case 33: 9185 if (ndx == 0 || ndx == 1) 9186 p = "int"; 9187 break; 9188 /* chflags */ 9189 case 34: 9190 if (ndx == 0 || ndx == 1) 9191 p = "int"; 9192 break; 9193 /* fchflags */ 9194 case 35: 9195 if (ndx == 0 || ndx == 1) 9196 p = "int"; 9197 break; 9198 /* sync */ 9199 case 36: 9200 /* kill */ 9201 case 37: 9202 if (ndx == 0 || ndx == 1) 9203 p = "int"; 9204 break; 9205 /* getppid */ 9206 case 39: 9207 /* dup */ 9208 case 41: 9209 if (ndx == 0 || ndx == 1) 9210 p = "int"; 9211 break; 9212 /* getegid */ 9213 case 43: 9214 /* profil */ 9215 case 44: 9216 if (ndx == 0 || ndx == 1) 9217 p = "int"; 9218 break; 9219 /* ktrace */ 9220 case 45: 9221 if (ndx == 0 || ndx == 1) 9222 p = "int"; 9223 break; 9224 /* getgid */ 9225 case 47: 9226 /* getlogin */ 9227 case 49: 9228 if (ndx == 0 || ndx == 1) 9229 p = "int"; 9230 break; 9231 /* setlogin */ 9232 case 50: 9233 if (ndx == 0 || ndx == 1) 9234 p = "int"; 9235 break; 9236 /* acct */ 9237 case 51: 9238 if (ndx == 0 || ndx == 1) 9239 p = "int"; 9240 break; 9241 /* freebsd32_sigaltstack */ 9242 case 53: 9243 if (ndx == 0 || ndx == 1) 9244 p = "int"; 9245 break; 9246 /* freebsd32_ioctl */ 9247 case 54: 9248 if (ndx == 0 || ndx == 1) 9249 p = "int"; 9250 break; 9251 /* reboot */ 9252 case 55: 9253 if (ndx == 0 || ndx == 1) 9254 p = "int"; 9255 break; 9256 /* revoke */ 9257 case 56: 9258 if (ndx == 0 || ndx == 1) 9259 p = "int"; 9260 break; 9261 /* symlink */ 9262 case 57: 9263 if (ndx == 0 || ndx == 1) 9264 p = "int"; 9265 break; 9266 /* readlink */ 9267 case 58: 9268 if (ndx == 0 || ndx == 1) 9269 p = "ssize_t"; 9270 break; 9271 /* freebsd32_execve */ 9272 case 59: 9273 if (ndx == 0 || ndx == 1) 9274 p = "int"; 9275 break; 9276 /* umask */ 9277 case 60: 9278 if (ndx == 0 || ndx == 1) 9279 p = "int"; 9280 break; 9281 /* chroot */ 9282 case 61: 9283 if (ndx == 0 || ndx == 1) 9284 p = "int"; 9285 break; 9286 /* msync */ 9287 case 65: 9288 if (ndx == 0 || ndx == 1) 9289 p = "int"; 9290 break; 9291 /* vfork */ 9292 case 66: 9293 /* sbrk */ 9294 case 69: 9295 if (ndx == 0 || ndx == 1) 9296 p = "int"; 9297 break; 9298 /* sstk */ 9299 case 70: 9300 if (ndx == 0 || ndx == 1) 9301 p = "int"; 9302 break; 9303 /* munmap */ 9304 case 73: 9305 if (ndx == 0 || ndx == 1) 9306 p = "int"; 9307 break; 9308 /* freebsd32_mprotect */ 9309 case 74: 9310 if (ndx == 0 || ndx == 1) 9311 p = "int"; 9312 break; 9313 /* madvise */ 9314 case 75: 9315 if (ndx == 0 || ndx == 1) 9316 p = "int"; 9317 break; 9318 /* mincore */ 9319 case 78: 9320 if (ndx == 0 || ndx == 1) 9321 p = "int"; 9322 break; 9323 /* getgroups */ 9324 case 79: 9325 if (ndx == 0 || ndx == 1) 9326 p = "int"; 9327 break; 9328 /* setgroups */ 9329 case 80: 9330 if (ndx == 0 || ndx == 1) 9331 p = "int"; 9332 break; 9333 /* getpgrp */ 9334 case 81: 9335 /* setpgid */ 9336 case 82: 9337 if (ndx == 0 || ndx == 1) 9338 p = "int"; 9339 break; 9340 /* freebsd32_setitimer */ 9341 case 83: 9342 if (ndx == 0 || ndx == 1) 9343 p = "int"; 9344 break; 9345 /* swapon */ 9346 case 85: 9347 if (ndx == 0 || ndx == 1) 9348 p = "int"; 9349 break; 9350 /* freebsd32_getitimer */ 9351 case 86: 9352 if (ndx == 0 || ndx == 1) 9353 p = "int"; 9354 break; 9355 /* getdtablesize */ 9356 case 89: 9357 /* dup2 */ 9358 case 90: 9359 if (ndx == 0 || ndx == 1) 9360 p = "int"; 9361 break; 9362 /* freebsd32_fcntl */ 9363 case 92: 9364 if (ndx == 0 || ndx == 1) 9365 p = "int"; 9366 break; 9367 /* freebsd32_select */ 9368 case 93: 9369 if (ndx == 0 || ndx == 1) 9370 p = "int"; 9371 break; 9372 /* fsync */ 9373 case 95: 9374 if (ndx == 0 || ndx == 1) 9375 p = "int"; 9376 break; 9377 /* setpriority */ 9378 case 96: 9379 if (ndx == 0 || ndx == 1) 9380 p = "int"; 9381 break; 9382 /* socket */ 9383 case 97: 9384 if (ndx == 0 || ndx == 1) 9385 p = "int"; 9386 break; 9387 /* connect */ 9388 case 98: 9389 if (ndx == 0 || ndx == 1) 9390 p = "int"; 9391 break; 9392 /* getpriority */ 9393 case 100: 9394 if (ndx == 0 || ndx == 1) 9395 p = "int"; 9396 break; 9397 /* bind */ 9398 case 104: 9399 if (ndx == 0 || ndx == 1) 9400 p = "int"; 9401 break; 9402 /* setsockopt */ 9403 case 105: 9404 if (ndx == 0 || ndx == 1) 9405 p = "int"; 9406 break; 9407 /* listen */ 9408 case 106: 9409 if (ndx == 0 || ndx == 1) 9410 p = "int"; 9411 break; 9412 /* freebsd32_gettimeofday */ 9413 case 116: 9414 if (ndx == 0 || ndx == 1) 9415 p = "int"; 9416 break; 9417 /* freebsd32_getrusage */ 9418 case 117: 9419 if (ndx == 0 || ndx == 1) 9420 p = "int"; 9421 break; 9422 /* getsockopt */ 9423 case 118: 9424 if (ndx == 0 || ndx == 1) 9425 p = "int"; 9426 break; 9427 /* freebsd32_readv */ 9428 case 120: 9429 if (ndx == 0 || ndx == 1) 9430 p = "int"; 9431 break; 9432 /* freebsd32_writev */ 9433 case 121: 9434 if (ndx == 0 || ndx == 1) 9435 p = "int"; 9436 break; 9437 /* freebsd32_settimeofday */ 9438 case 122: 9439 if (ndx == 0 || ndx == 1) 9440 p = "int"; 9441 break; 9442 /* fchown */ 9443 case 123: 9444 if (ndx == 0 || ndx == 1) 9445 p = "int"; 9446 break; 9447 /* fchmod */ 9448 case 124: 9449 if (ndx == 0 || ndx == 1) 9450 p = "int"; 9451 break; 9452 /* setreuid */ 9453 case 126: 9454 if (ndx == 0 || ndx == 1) 9455 p = "int"; 9456 break; 9457 /* setregid */ 9458 case 127: 9459 if (ndx == 0 || ndx == 1) 9460 p = "int"; 9461 break; 9462 /* rename */ 9463 case 128: 9464 if (ndx == 0 || ndx == 1) 9465 p = "int"; 9466 break; 9467 /* flock */ 9468 case 131: 9469 if (ndx == 0 || ndx == 1) 9470 p = "int"; 9471 break; 9472 /* mkfifo */ 9473 case 132: 9474 if (ndx == 0 || ndx == 1) 9475 p = "int"; 9476 break; 9477 /* sendto */ 9478 case 133: 9479 if (ndx == 0 || ndx == 1) 9480 p = "int"; 9481 break; 9482 /* shutdown */ 9483 case 134: 9484 if (ndx == 0 || ndx == 1) 9485 p = "int"; 9486 break; 9487 /* socketpair */ 9488 case 135: 9489 if (ndx == 0 || ndx == 1) 9490 p = "int"; 9491 break; 9492 /* mkdir */ 9493 case 136: 9494 if (ndx == 0 || ndx == 1) 9495 p = "int"; 9496 break; 9497 /* rmdir */ 9498 case 137: 9499 if (ndx == 0 || ndx == 1) 9500 p = "int"; 9501 break; 9502 /* freebsd32_utimes */ 9503 case 138: 9504 if (ndx == 0 || ndx == 1) 9505 p = "int"; 9506 break; 9507 /* freebsd32_adjtime */ 9508 case 140: 9509 if (ndx == 0 || ndx == 1) 9510 p = "int"; 9511 break; 9512 /* setsid */ 9513 case 147: 9514 /* quotactl */ 9515 case 148: 9516 if (ndx == 0 || ndx == 1) 9517 p = "int"; 9518 break; 9519 /* getfh */ 9520 case 161: 9521 if (ndx == 0 || ndx == 1) 9522 p = "int"; 9523 break; 9524 /* freebsd32_sysarch */ 9525 case 165: 9526 if (ndx == 0 || ndx == 1) 9527 p = "int"; 9528 break; 9529 /* rtprio */ 9530 case 166: 9531 if (ndx == 0 || ndx == 1) 9532 p = "int"; 9533 break; 9534 /* freebsd32_semsys */ 9535 case 169: 9536 if (ndx == 0 || ndx == 1) 9537 p = "int"; 9538 break; 9539 /* freebsd32_msgsys */ 9540 case 170: 9541 if (ndx == 0 || ndx == 1) 9542 p = "int"; 9543 break; 9544 /* freebsd32_shmsys */ 9545 case 171: 9546 if (ndx == 0 || ndx == 1) 9547 p = "int"; 9548 break; 9549 /* ntp_adjtime */ 9550 case 176: 9551 if (ndx == 0 || ndx == 1) 9552 p = "int"; 9553 break; 9554 /* setgid */ 9555 case 181: 9556 if (ndx == 0 || ndx == 1) 9557 p = "int"; 9558 break; 9559 /* setegid */ 9560 case 182: 9561 if (ndx == 0 || ndx == 1) 9562 p = "int"; 9563 break; 9564 /* seteuid */ 9565 case 183: 9566 if (ndx == 0 || ndx == 1) 9567 p = "int"; 9568 break; 9569 /* pathconf */ 9570 case 191: 9571 if (ndx == 0 || ndx == 1) 9572 p = "int"; 9573 break; 9574 /* fpathconf */ 9575 case 192: 9576 if (ndx == 0 || ndx == 1) 9577 p = "int"; 9578 break; 9579 /* getrlimit */ 9580 case 194: 9581 if (ndx == 0 || ndx == 1) 9582 p = "int"; 9583 break; 9584 /* setrlimit */ 9585 case 195: 9586 if (ndx == 0 || ndx == 1) 9587 p = "int"; 9588 break; 9589 /* nosys */ 9590 case 198: 9591 /* freebsd32___sysctl */ 9592 case 202: 9593 if (ndx == 0 || ndx == 1) 9594 p = "int"; 9595 break; 9596 /* mlock */ 9597 case 203: 9598 if (ndx == 0 || ndx == 1) 9599 p = "int"; 9600 break; 9601 /* munlock */ 9602 case 204: 9603 if (ndx == 0 || ndx == 1) 9604 p = "int"; 9605 break; 9606 /* undelete */ 9607 case 205: 9608 if (ndx == 0 || ndx == 1) 9609 p = "int"; 9610 break; 9611 /* freebsd32_futimes */ 9612 case 206: 9613 if (ndx == 0 || ndx == 1) 9614 p = "int"; 9615 break; 9616 /* getpgid */ 9617 case 207: 9618 if (ndx == 0 || ndx == 1) 9619 p = "int"; 9620 break; 9621 /* poll */ 9622 case 209: 9623 if (ndx == 0 || ndx == 1) 9624 p = "int"; 9625 break; 9626 /* lkmnosys */ 9627 case 210: 9628 /* lkmnosys */ 9629 case 211: 9630 /* lkmnosys */ 9631 case 212: 9632 /* lkmnosys */ 9633 case 213: 9634 /* lkmnosys */ 9635 case 214: 9636 /* lkmnosys */ 9637 case 215: 9638 /* lkmnosys */ 9639 case 216: 9640 /* lkmnosys */ 9641 case 217: 9642 /* lkmnosys */ 9643 case 218: 9644 /* lkmnosys */ 9645 case 219: 9646 /* semget */ 9647 case 221: 9648 if (ndx == 0 || ndx == 1) 9649 p = "int"; 9650 break; 9651 /* semop */ 9652 case 222: 9653 if (ndx == 0 || ndx == 1) 9654 p = "int"; 9655 break; 9656 /* msgget */ 9657 case 225: 9658 if (ndx == 0 || ndx == 1) 9659 p = "int"; 9660 break; 9661 /* freebsd32_msgsnd */ 9662 case 226: 9663 if (ndx == 0 || ndx == 1) 9664 p = "int"; 9665 break; 9666 /* freebsd32_msgrcv */ 9667 case 227: 9668 if (ndx == 0 || ndx == 1) 9669 p = "int"; 9670 break; 9671 /* shmat */ 9672 case 228: 9673 if (ndx == 0 || ndx == 1) 9674 p = "void *"; 9675 break; 9676 /* shmdt */ 9677 case 230: 9678 if (ndx == 0 || ndx == 1) 9679 p = "int"; 9680 break; 9681 /* shmget */ 9682 case 231: 9683 if (ndx == 0 || ndx == 1) 9684 p = "int"; 9685 break; 9686 /* freebsd32_clock_gettime */ 9687 case 232: 9688 if (ndx == 0 || ndx == 1) 9689 p = "int"; 9690 break; 9691 /* freebsd32_clock_settime */ 9692 case 233: 9693 if (ndx == 0 || ndx == 1) 9694 p = "int"; 9695 break; 9696 /* freebsd32_clock_getres */ 9697 case 234: 9698 if (ndx == 0 || ndx == 1) 9699 p = "int"; 9700 break; 9701 /* freebsd32_ktimer_create */ 9702 case 235: 9703 if (ndx == 0 || ndx == 1) 9704 p = "int"; 9705 break; 9706 /* ktimer_delete */ 9707 case 236: 9708 if (ndx == 0 || ndx == 1) 9709 p = "int"; 9710 break; 9711 /* freebsd32_ktimer_settime */ 9712 case 237: 9713 if (ndx == 0 || ndx == 1) 9714 p = "int"; 9715 break; 9716 /* freebsd32_ktimer_gettime */ 9717 case 238: 9718 if (ndx == 0 || ndx == 1) 9719 p = "int"; 9720 break; 9721 /* ktimer_getoverrun */ 9722 case 239: 9723 if (ndx == 0 || ndx == 1) 9724 p = "int"; 9725 break; 9726 /* freebsd32_nanosleep */ 9727 case 240: 9728 if (ndx == 0 || ndx == 1) 9729 p = "int"; 9730 break; 9731 /* ffclock_getcounter */ 9732 case 241: 9733 if (ndx == 0 || ndx == 1) 9734 p = "int"; 9735 break; 9736 /* ffclock_setestimate */ 9737 case 242: 9738 if (ndx == 0 || ndx == 1) 9739 p = "int"; 9740 break; 9741 /* ffclock_getestimate */ 9742 case 243: 9743 if (ndx == 0 || ndx == 1) 9744 p = "int"; 9745 break; 9746 /* freebsd32_clock_nanosleep */ 9747 case 244: 9748 if (ndx == 0 || ndx == 1) 9749 p = "int"; 9750 break; 9751 /* freebsd32_clock_getcpuclockid2 */ 9752 case 247: 9753 if (ndx == 0 || ndx == 1) 9754 p = "int"; 9755 break; 9756 /* minherit */ 9757 case 250: 9758 if (ndx == 0 || ndx == 1) 9759 p = "int"; 9760 break; 9761 /* rfork */ 9762 case 251: 9763 if (ndx == 0 || ndx == 1) 9764 p = "int"; 9765 break; 9766 /* issetugid */ 9767 case 253: 9768 /* lchown */ 9769 case 254: 9770 if (ndx == 0 || ndx == 1) 9771 p = "int"; 9772 break; 9773 /* freebsd32_aio_read */ 9774 case 255: 9775 if (ndx == 0 || ndx == 1) 9776 p = "int"; 9777 break; 9778 /* freebsd32_aio_write */ 9779 case 256: 9780 if (ndx == 0 || ndx == 1) 9781 p = "int"; 9782 break; 9783 /* freebsd32_lio_listio */ 9784 case 257: 9785 if (ndx == 0 || ndx == 1) 9786 p = "int"; 9787 break; 9788 /* lchmod */ 9789 case 274: 9790 if (ndx == 0 || ndx == 1) 9791 p = "int"; 9792 break; 9793 /* freebsd32_lutimes */ 9794 case 276: 9795 if (ndx == 0 || ndx == 1) 9796 p = "int"; 9797 break; 9798 /* freebsd32_preadv */ 9799 case 289: 9800 if (ndx == 0 || ndx == 1) 9801 p = "ssize_t"; 9802 break; 9803 /* freebsd32_pwritev */ 9804 case 290: 9805 if (ndx == 0 || ndx == 1) 9806 p = "ssize_t"; 9807 break; 9808 /* fhopen */ 9809 case 298: 9810 if (ndx == 0 || ndx == 1) 9811 p = "int"; 9812 break; 9813 /* modnext */ 9814 case 300: 9815 if (ndx == 0 || ndx == 1) 9816 p = "int"; 9817 break; 9818 /* freebsd32_modstat */ 9819 case 301: 9820 if (ndx == 0 || ndx == 1) 9821 p = "int"; 9822 break; 9823 /* modfnext */ 9824 case 302: 9825 if (ndx == 0 || ndx == 1) 9826 p = "int"; 9827 break; 9828 /* modfind */ 9829 case 303: 9830 if (ndx == 0 || ndx == 1) 9831 p = "int"; 9832 break; 9833 /* kldload */ 9834 case 304: 9835 if (ndx == 0 || ndx == 1) 9836 p = "int"; 9837 break; 9838 /* kldunload */ 9839 case 305: 9840 if (ndx == 0 || ndx == 1) 9841 p = "int"; 9842 break; 9843 /* kldfind */ 9844 case 306: 9845 if (ndx == 0 || ndx == 1) 9846 p = "int"; 9847 break; 9848 /* kldnext */ 9849 case 307: 9850 if (ndx == 0 || ndx == 1) 9851 p = "int"; 9852 break; 9853 /* freebsd32_kldstat */ 9854 case 308: 9855 if (ndx == 0 || ndx == 1) 9856 p = "int"; 9857 break; 9858 /* kldfirstmod */ 9859 case 309: 9860 if (ndx == 0 || ndx == 1) 9861 p = "int"; 9862 break; 9863 /* getsid */ 9864 case 310: 9865 if (ndx == 0 || ndx == 1) 9866 p = "int"; 9867 break; 9868 /* setresuid */ 9869 case 311: 9870 if (ndx == 0 || ndx == 1) 9871 p = "int"; 9872 break; 9873 /* setresgid */ 9874 case 312: 9875 if (ndx == 0 || ndx == 1) 9876 p = "int"; 9877 break; 9878 /* freebsd32_aio_return */ 9879 case 314: 9880 if (ndx == 0 || ndx == 1) 9881 p = "int"; 9882 break; 9883 /* freebsd32_aio_suspend */ 9884 case 315: 9885 if (ndx == 0 || ndx == 1) 9886 p = "int"; 9887 break; 9888 /* aio_cancel */ 9889 case 316: 9890 if (ndx == 0 || ndx == 1) 9891 p = "int"; 9892 break; 9893 /* freebsd32_aio_error */ 9894 case 317: 9895 if (ndx == 0 || ndx == 1) 9896 p = "int"; 9897 break; 9898 /* yield */ 9899 case 321: 9900 /* mlockall */ 9901 case 324: 9902 if (ndx == 0 || ndx == 1) 9903 p = "int"; 9904 break; 9905 /* munlockall */ 9906 case 325: 9907 /* __getcwd */ 9908 case 326: 9909 if (ndx == 0 || ndx == 1) 9910 p = "int"; 9911 break; 9912 /* sched_setparam */ 9913 case 327: 9914 if (ndx == 0 || ndx == 1) 9915 p = "int"; 9916 break; 9917 /* sched_getparam */ 9918 case 328: 9919 if (ndx == 0 || ndx == 1) 9920 p = "int"; 9921 break; 9922 /* sched_setscheduler */ 9923 case 329: 9924 if (ndx == 0 || ndx == 1) 9925 p = "int"; 9926 break; 9927 /* sched_getscheduler */ 9928 case 330: 9929 if (ndx == 0 || ndx == 1) 9930 p = "int"; 9931 break; 9932 /* sched_yield */ 9933 case 331: 9934 /* sched_get_priority_max */ 9935 case 332: 9936 if (ndx == 0 || ndx == 1) 9937 p = "int"; 9938 break; 9939 /* sched_get_priority_min */ 9940 case 333: 9941 if (ndx == 0 || ndx == 1) 9942 p = "int"; 9943 break; 9944 /* freebsd32_sched_rr_get_interval */ 9945 case 334: 9946 if (ndx == 0 || ndx == 1) 9947 p = "int"; 9948 break; 9949 /* utrace */ 9950 case 335: 9951 if (ndx == 0 || ndx == 1) 9952 p = "int"; 9953 break; 9954 /* kldsym */ 9955 case 337: 9956 if (ndx == 0 || ndx == 1) 9957 p = "int"; 9958 break; 9959 /* freebsd32_jail */ 9960 case 338: 9961 if (ndx == 0 || ndx == 1) 9962 p = "int"; 9963 break; 9964 /* sigprocmask */ 9965 case 340: 9966 if (ndx == 0 || ndx == 1) 9967 p = "int"; 9968 break; 9969 /* sigsuspend */ 9970 case 341: 9971 if (ndx == 0 || ndx == 1) 9972 p = "int"; 9973 break; 9974 /* sigpending */ 9975 case 343: 9976 if (ndx == 0 || ndx == 1) 9977 p = "int"; 9978 break; 9979 /* freebsd32_sigtimedwait */ 9980 case 345: 9981 if (ndx == 0 || ndx == 1) 9982 p = "int"; 9983 break; 9984 /* freebsd32_sigwaitinfo */ 9985 case 346: 9986 if (ndx == 0 || ndx == 1) 9987 p = "int"; 9988 break; 9989 /* __acl_get_file */ 9990 case 347: 9991 if (ndx == 0 || ndx == 1) 9992 p = "int"; 9993 break; 9994 /* __acl_set_file */ 9995 case 348: 9996 if (ndx == 0 || ndx == 1) 9997 p = "int"; 9998 break; 9999 /* __acl_get_fd */ 10000 case 349: 10001 if (ndx == 0 || ndx == 1) 10002 p = "int"; 10003 break; 10004 /* __acl_set_fd */ 10005 case 350: 10006 if (ndx == 0 || ndx == 1) 10007 p = "int"; 10008 break; 10009 /* __acl_delete_file */ 10010 case 351: 10011 if (ndx == 0 || ndx == 1) 10012 p = "int"; 10013 break; 10014 /* __acl_delete_fd */ 10015 case 352: 10016 if (ndx == 0 || ndx == 1) 10017 p = "int"; 10018 break; 10019 /* __acl_aclcheck_file */ 10020 case 353: 10021 if (ndx == 0 || ndx == 1) 10022 p = "int"; 10023 break; 10024 /* __acl_aclcheck_fd */ 10025 case 354: 10026 if (ndx == 0 || ndx == 1) 10027 p = "int"; 10028 break; 10029 /* extattrctl */ 10030 case 355: 10031 if (ndx == 0 || ndx == 1) 10032 p = "int"; 10033 break; 10034 /* extattr_set_file */ 10035 case 356: 10036 if (ndx == 0 || ndx == 1) 10037 p = "ssize_t"; 10038 break; 10039 /* extattr_get_file */ 10040 case 357: 10041 if (ndx == 0 || ndx == 1) 10042 p = "ssize_t"; 10043 break; 10044 /* extattr_delete_file */ 10045 case 358: 10046 if (ndx == 0 || ndx == 1) 10047 p = "int"; 10048 break; 10049 /* freebsd32_aio_waitcomplete */ 10050 case 359: 10051 if (ndx == 0 || ndx == 1) 10052 p = "int"; 10053 break; 10054 /* getresuid */ 10055 case 360: 10056 if (ndx == 0 || ndx == 1) 10057 p = "int"; 10058 break; 10059 /* getresgid */ 10060 case 361: 10061 if (ndx == 0 || ndx == 1) 10062 p = "int"; 10063 break; 10064 /* kqueue */ 10065 case 362: 10066 /* extattr_set_fd */ 10067 case 371: 10068 if (ndx == 0 || ndx == 1) 10069 p = "ssize_t"; 10070 break; 10071 /* extattr_get_fd */ 10072 case 372: 10073 if (ndx == 0 || ndx == 1) 10074 p = "ssize_t"; 10075 break; 10076 /* extattr_delete_fd */ 10077 case 373: 10078 if (ndx == 0 || ndx == 1) 10079 p = "int"; 10080 break; 10081 /* __setugid */ 10082 case 374: 10083 if (ndx == 0 || ndx == 1) 10084 p = "int"; 10085 break; 10086 /* eaccess */ 10087 case 376: 10088 if (ndx == 0 || ndx == 1) 10089 p = "int"; 10090 break; 10091 /* freebsd32_nmount */ 10092 case 378: 10093 if (ndx == 0 || ndx == 1) 10094 p = "int"; 10095 break; 10096 /* kenv */ 10097 case 390: 10098 if (ndx == 0 || ndx == 1) 10099 p = "int"; 10100 break; 10101 /* lchflags */ 10102 case 391: 10103 if (ndx == 0 || ndx == 1) 10104 p = "int"; 10105 break; 10106 /* uuidgen */ 10107 case 392: 10108 if (ndx == 0 || ndx == 1) 10109 p = "int"; 10110 break; 10111 /* freebsd32_sendfile */ 10112 case 393: 10113 if (ndx == 0 || ndx == 1) 10114 p = "int"; 10115 break; 10116 /* ksem_close */ 10117 case 400: 10118 if (ndx == 0 || ndx == 1) 10119 p = "int"; 10120 break; 10121 /* ksem_post */ 10122 case 401: 10123 if (ndx == 0 || ndx == 1) 10124 p = "int"; 10125 break; 10126 /* ksem_wait */ 10127 case 402: 10128 if (ndx == 0 || ndx == 1) 10129 p = "int"; 10130 break; 10131 /* ksem_trywait */ 10132 case 403: 10133 if (ndx == 0 || ndx == 1) 10134 p = "int"; 10135 break; 10136 /* freebsd32_ksem_init */ 10137 case 404: 10138 if (ndx == 0 || ndx == 1) 10139 p = "int"; 10140 break; 10141 /* freebsd32_ksem_open */ 10142 case 405: 10143 if (ndx == 0 || ndx == 1) 10144 p = "int"; 10145 break; 10146 /* ksem_unlink */ 10147 case 406: 10148 if (ndx == 0 || ndx == 1) 10149 p = "int"; 10150 break; 10151 /* ksem_getvalue */ 10152 case 407: 10153 if (ndx == 0 || ndx == 1) 10154 p = "int"; 10155 break; 10156 /* ksem_destroy */ 10157 case 408: 10158 if (ndx == 0 || ndx == 1) 10159 p = "int"; 10160 break; 10161 /* extattr_set_link */ 10162 case 412: 10163 if (ndx == 0 || ndx == 1) 10164 p = "ssize_t"; 10165 break; 10166 /* extattr_get_link */ 10167 case 413: 10168 if (ndx == 0 || ndx == 1) 10169 p = "ssize_t"; 10170 break; 10171 /* extattr_delete_link */ 10172 case 414: 10173 if (ndx == 0 || ndx == 1) 10174 p = "int"; 10175 break; 10176 /* freebsd32_sigaction */ 10177 case 416: 10178 if (ndx == 0 || ndx == 1) 10179 p = "int"; 10180 break; 10181 /* freebsd32_sigreturn */ 10182 case 417: 10183 if (ndx == 0 || ndx == 1) 10184 p = "int"; 10185 break; 10186 /* freebsd32_getcontext */ 10187 case 421: 10188 if (ndx == 0 || ndx == 1) 10189 p = "int"; 10190 break; 10191 /* freebsd32_setcontext */ 10192 case 422: 10193 if (ndx == 0 || ndx == 1) 10194 p = "int"; 10195 break; 10196 /* freebsd32_swapcontext */ 10197 case 423: 10198 if (ndx == 0 || ndx == 1) 10199 p = "int"; 10200 break; 10201 /* __acl_get_link */ 10202 case 425: 10203 if (ndx == 0 || ndx == 1) 10204 p = "int"; 10205 break; 10206 /* __acl_set_link */ 10207 case 426: 10208 if (ndx == 0 || ndx == 1) 10209 p = "int"; 10210 break; 10211 /* __acl_delete_link */ 10212 case 427: 10213 if (ndx == 0 || ndx == 1) 10214 p = "int"; 10215 break; 10216 /* __acl_aclcheck_link */ 10217 case 428: 10218 if (ndx == 0 || ndx == 1) 10219 p = "int"; 10220 break; 10221 /* sigwait */ 10222 case 429: 10223 if (ndx == 0 || ndx == 1) 10224 p = "int"; 10225 break; 10226 /* thr_exit */ 10227 case 431: 10228 if (ndx == 0 || ndx == 1) 10229 p = "void"; 10230 break; 10231 /* thr_self */ 10232 case 432: 10233 if (ndx == 0 || ndx == 1) 10234 p = "int"; 10235 break; 10236 /* thr_kill */ 10237 case 433: 10238 if (ndx == 0 || ndx == 1) 10239 p = "int"; 10240 break; 10241 /* jail_attach */ 10242 case 436: 10243 if (ndx == 0 || ndx == 1) 10244 p = "int"; 10245 break; 10246 /* extattr_list_fd */ 10247 case 437: 10248 if (ndx == 0 || ndx == 1) 10249 p = "ssize_t"; 10250 break; 10251 /* extattr_list_file */ 10252 case 438: 10253 if (ndx == 0 || ndx == 1) 10254 p = "ssize_t"; 10255 break; 10256 /* extattr_list_link */ 10257 case 439: 10258 if (ndx == 0 || ndx == 1) 10259 p = "ssize_t"; 10260 break; 10261 /* freebsd32_ksem_timedwait */ 10262 case 441: 10263 if (ndx == 0 || ndx == 1) 10264 p = "int"; 10265 break; 10266 /* freebsd32_thr_suspend */ 10267 case 442: 10268 if (ndx == 0 || ndx == 1) 10269 p = "int"; 10270 break; 10271 /* thr_wake */ 10272 case 443: 10273 if (ndx == 0 || ndx == 1) 10274 p = "int"; 10275 break; 10276 /* kldunloadf */ 10277 case 444: 10278 if (ndx == 0 || ndx == 1) 10279 p = "int"; 10280 break; 10281 /* audit */ 10282 case 445: 10283 if (ndx == 0 || ndx == 1) 10284 p = "int"; 10285 break; 10286 /* auditon */ 10287 case 446: 10288 if (ndx == 0 || ndx == 1) 10289 p = "int"; 10290 break; 10291 /* getauid */ 10292 case 447: 10293 if (ndx == 0 || ndx == 1) 10294 p = "int"; 10295 break; 10296 /* setauid */ 10297 case 448: 10298 if (ndx == 0 || ndx == 1) 10299 p = "int"; 10300 break; 10301 /* getaudit */ 10302 case 449: 10303 if (ndx == 0 || ndx == 1) 10304 p = "int"; 10305 break; 10306 /* setaudit */ 10307 case 450: 10308 if (ndx == 0 || ndx == 1) 10309 p = "int"; 10310 break; 10311 /* getaudit_addr */ 10312 case 451: 10313 if (ndx == 0 || ndx == 1) 10314 p = "int"; 10315 break; 10316 /* setaudit_addr */ 10317 case 452: 10318 if (ndx == 0 || ndx == 1) 10319 p = "int"; 10320 break; 10321 /* auditctl */ 10322 case 453: 10323 if (ndx == 0 || ndx == 1) 10324 p = "int"; 10325 break; 10326 /* freebsd32__umtx_op */ 10327 case 454: 10328 if (ndx == 0 || ndx == 1) 10329 p = "int"; 10330 break; 10331 /* freebsd32_thr_new */ 10332 case 455: 10333 if (ndx == 0 || ndx == 1) 10334 p = "int"; 10335 break; 10336 /* freebsd32_sigqueue */ 10337 case 456: 10338 if (ndx == 0 || ndx == 1) 10339 p = "int"; 10340 break; 10341 /* freebsd32_kmq_open */ 10342 case 457: 10343 if (ndx == 0 || ndx == 1) 10344 p = "int"; 10345 break; 10346 /* freebsd32_kmq_setattr */ 10347 case 458: 10348 if (ndx == 0 || ndx == 1) 10349 p = "int"; 10350 break; 10351 /* freebsd32_kmq_timedreceive */ 10352 case 459: 10353 if (ndx == 0 || ndx == 1) 10354 p = "int"; 10355 break; 10356 /* freebsd32_kmq_timedsend */ 10357 case 460: 10358 if (ndx == 0 || ndx == 1) 10359 p = "int"; 10360 break; 10361 /* freebsd32_kmq_notify */ 10362 case 461: 10363 if (ndx == 0 || ndx == 1) 10364 p = "int"; 10365 break; 10366 /* kmq_unlink */ 10367 case 462: 10368 if (ndx == 0 || ndx == 1) 10369 p = "int"; 10370 break; 10371 /* abort2 */ 10372 case 463: 10373 if (ndx == 0 || ndx == 1) 10374 p = "int"; 10375 break; 10376 /* thr_set_name */ 10377 case 464: 10378 if (ndx == 0 || ndx == 1) 10379 p = "int"; 10380 break; 10381 /* freebsd32_aio_fsync */ 10382 case 465: 10383 if (ndx == 0 || ndx == 1) 10384 p = "int"; 10385 break; 10386 /* rtprio_thread */ 10387 case 466: 10388 if (ndx == 0 || ndx == 1) 10389 p = "int"; 10390 break; 10391 /* sctp_peeloff */ 10392 case 471: 10393 if (ndx == 0 || ndx == 1) 10394 p = "int"; 10395 break; 10396 /* sctp_generic_sendmsg */ 10397 case 472: 10398 if (ndx == 0 || ndx == 1) 10399 p = "int"; 10400 break; 10401 /* sctp_generic_sendmsg_iov */ 10402 case 473: 10403 if (ndx == 0 || ndx == 1) 10404 p = "int"; 10405 break; 10406 /* sctp_generic_recvmsg */ 10407 case 474: 10408 if (ndx == 0 || ndx == 1) 10409 p = "int"; 10410 break; 10411 #ifdef PAD64_REQUIRED 10412 /* freebsd32_pread */ 10413 case 475: 10414 if (ndx == 0 || ndx == 1) 10415 p = "ssize_t"; 10416 break; 10417 /* freebsd32_pwrite */ 10418 case 476: 10419 if (ndx == 0 || ndx == 1) 10420 p = "ssize_t"; 10421 break; 10422 /* freebsd32_mmap */ 10423 case 477: 10424 if (ndx == 0 || ndx == 1) 10425 p = "void *"; 10426 break; 10427 /* freebsd32_lseek */ 10428 case 478: 10429 if (ndx == 0 || ndx == 1) 10430 p = "off_t"; 10431 break; 10432 /* freebsd32_truncate */ 10433 case 479: 10434 if (ndx == 0 || ndx == 1) 10435 p = "int"; 10436 break; 10437 /* freebsd32_ftruncate */ 10438 case 480: 10439 if (ndx == 0 || ndx == 1) 10440 p = "int"; 10441 break; 10442 #else 10443 /* freebsd32_pread */ 10444 case 475: 10445 if (ndx == 0 || ndx == 1) 10446 p = "ssize_t"; 10447 break; 10448 /* freebsd32_pwrite */ 10449 case 476: 10450 if (ndx == 0 || ndx == 1) 10451 p = "ssize_t"; 10452 break; 10453 /* freebsd32_mmap */ 10454 case 477: 10455 if (ndx == 0 || ndx == 1) 10456 p = "void *"; 10457 break; 10458 /* freebsd32_lseek */ 10459 case 478: 10460 if (ndx == 0 || ndx == 1) 10461 p = "off_t"; 10462 break; 10463 /* freebsd32_truncate */ 10464 case 479: 10465 if (ndx == 0 || ndx == 1) 10466 p = "int"; 10467 break; 10468 /* freebsd32_ftruncate */ 10469 case 480: 10470 if (ndx == 0 || ndx == 1) 10471 p = "int"; 10472 break; 10473 #endif 10474 /* thr_kill2 */ 10475 case 481: 10476 if (ndx == 0 || ndx == 1) 10477 p = "int"; 10478 break; 10479 /* shm_unlink */ 10480 case 483: 10481 if (ndx == 0 || ndx == 1) 10482 p = "int"; 10483 break; 10484 /* cpuset */ 10485 case 484: 10486 if (ndx == 0 || ndx == 1) 10487 p = "int"; 10488 break; 10489 #ifdef PAD64_REQUIRED 10490 /* freebsd32_cpuset_setid */ 10491 case 485: 10492 if (ndx == 0 || ndx == 1) 10493 p = "int"; 10494 break; 10495 #else 10496 /* freebsd32_cpuset_setid */ 10497 case 485: 10498 if (ndx == 0 || ndx == 1) 10499 p = "int"; 10500 break; 10501 #endif 10502 /* freebsd32_cpuset_getid */ 10503 case 486: 10504 if (ndx == 0 || ndx == 1) 10505 p = "int"; 10506 break; 10507 /* freebsd32_cpuset_getaffinity */ 10508 case 487: 10509 if (ndx == 0 || ndx == 1) 10510 p = "int"; 10511 break; 10512 /* freebsd32_cpuset_setaffinity */ 10513 case 488: 10514 if (ndx == 0 || ndx == 1) 10515 p = "int"; 10516 break; 10517 /* faccessat */ 10518 case 489: 10519 if (ndx == 0 || ndx == 1) 10520 p = "int"; 10521 break; 10522 /* fchmodat */ 10523 case 490: 10524 if (ndx == 0 || ndx == 1) 10525 p = "int"; 10526 break; 10527 /* fchownat */ 10528 case 491: 10529 if (ndx == 0 || ndx == 1) 10530 p = "int"; 10531 break; 10532 /* freebsd32_fexecve */ 10533 case 492: 10534 if (ndx == 0 || ndx == 1) 10535 p = "int"; 10536 break; 10537 /* freebsd32_futimesat */ 10538 case 494: 10539 if (ndx == 0 || ndx == 1) 10540 p = "int"; 10541 break; 10542 /* linkat */ 10543 case 495: 10544 if (ndx == 0 || ndx == 1) 10545 p = "int"; 10546 break; 10547 /* mkdirat */ 10548 case 496: 10549 if (ndx == 0 || ndx == 1) 10550 p = "int"; 10551 break; 10552 /* mkfifoat */ 10553 case 497: 10554 if (ndx == 0 || ndx == 1) 10555 p = "int"; 10556 break; 10557 /* openat */ 10558 case 499: 10559 if (ndx == 0 || ndx == 1) 10560 p = "int"; 10561 break; 10562 /* readlinkat */ 10563 case 500: 10564 if (ndx == 0 || ndx == 1) 10565 p = "ssize_t"; 10566 break; 10567 /* renameat */ 10568 case 501: 10569 if (ndx == 0 || ndx == 1) 10570 p = "int"; 10571 break; 10572 /* symlinkat */ 10573 case 502: 10574 if (ndx == 0 || ndx == 1) 10575 p = "int"; 10576 break; 10577 /* unlinkat */ 10578 case 503: 10579 if (ndx == 0 || ndx == 1) 10580 p = "int"; 10581 break; 10582 /* posix_openpt */ 10583 case 504: 10584 if (ndx == 0 || ndx == 1) 10585 p = "int"; 10586 break; 10587 /* freebsd32_jail_get */ 10588 case 506: 10589 if (ndx == 0 || ndx == 1) 10590 p = "int"; 10591 break; 10592 /* freebsd32_jail_set */ 10593 case 507: 10594 if (ndx == 0 || ndx == 1) 10595 p = "int"; 10596 break; 10597 /* jail_remove */ 10598 case 508: 10599 if (ndx == 0 || ndx == 1) 10600 p = "int"; 10601 break; 10602 /* closefrom */ 10603 case 509: 10604 if (ndx == 0 || ndx == 1) 10605 p = "int"; 10606 break; 10607 /* freebsd32_semctl */ 10608 case 510: 10609 if (ndx == 0 || ndx == 1) 10610 p = "int"; 10611 break; 10612 /* freebsd32_msgctl */ 10613 case 511: 10614 if (ndx == 0 || ndx == 1) 10615 p = "int"; 10616 break; 10617 /* freebsd32_shmctl */ 10618 case 512: 10619 if (ndx == 0 || ndx == 1) 10620 p = "int"; 10621 break; 10622 /* lpathconf */ 10623 case 513: 10624 if (ndx == 0 || ndx == 1) 10625 p = "int"; 10626 break; 10627 /* __cap_rights_get */ 10628 case 515: 10629 if (ndx == 0 || ndx == 1) 10630 p = "int"; 10631 break; 10632 /* cap_enter */ 10633 case 516: 10634 /* cap_getmode */ 10635 case 517: 10636 if (ndx == 0 || ndx == 1) 10637 p = "int"; 10638 break; 10639 /* pdfork */ 10640 case 518: 10641 if (ndx == 0 || ndx == 1) 10642 p = "int"; 10643 break; 10644 /* pdkill */ 10645 case 519: 10646 if (ndx == 0 || ndx == 1) 10647 p = "int"; 10648 break; 10649 /* pdgetpid */ 10650 case 520: 10651 if (ndx == 0 || ndx == 1) 10652 p = "int"; 10653 break; 10654 /* freebsd32_pselect */ 10655 case 522: 10656 if (ndx == 0 || ndx == 1) 10657 p = "int"; 10658 break; 10659 /* getloginclass */ 10660 case 523: 10661 if (ndx == 0 || ndx == 1) 10662 p = "int"; 10663 break; 10664 /* setloginclass */ 10665 case 524: 10666 if (ndx == 0 || ndx == 1) 10667 p = "int"; 10668 break; 10669 /* rctl_get_racct */ 10670 case 525: 10671 if (ndx == 0 || ndx == 1) 10672 p = "int"; 10673 break; 10674 /* rctl_get_rules */ 10675 case 526: 10676 if (ndx == 0 || ndx == 1) 10677 p = "int"; 10678 break; 10679 /* rctl_get_limits */ 10680 case 527: 10681 if (ndx == 0 || ndx == 1) 10682 p = "int"; 10683 break; 10684 /* rctl_add_rule */ 10685 case 528: 10686 if (ndx == 0 || ndx == 1) 10687 p = "int"; 10688 break; 10689 /* rctl_remove_rule */ 10690 case 529: 10691 if (ndx == 0 || ndx == 1) 10692 p = "int"; 10693 break; 10694 #ifdef PAD64_REQUIRED 10695 /* freebsd32_posix_fallocate */ 10696 case 530: 10697 if (ndx == 0 || ndx == 1) 10698 p = "int"; 10699 break; 10700 /* freebsd32_posix_fadvise */ 10701 case 531: 10702 if (ndx == 0 || ndx == 1) 10703 p = "int"; 10704 break; 10705 /* freebsd32_wait6 */ 10706 case 532: 10707 if (ndx == 0 || ndx == 1) 10708 p = "int"; 10709 break; 10710 #else 10711 /* freebsd32_posix_fallocate */ 10712 case 530: 10713 if (ndx == 0 || ndx == 1) 10714 p = "int"; 10715 break; 10716 /* freebsd32_posix_fadvise */ 10717 case 531: 10718 if (ndx == 0 || ndx == 1) 10719 p = "int"; 10720 break; 10721 /* freebsd32_wait6 */ 10722 case 532: 10723 if (ndx == 0 || ndx == 1) 10724 p = "int"; 10725 break; 10726 #endif 10727 /* cap_rights_limit */ 10728 case 533: 10729 if (ndx == 0 || ndx == 1) 10730 p = "int"; 10731 break; 10732 /* freebsd32_cap_ioctls_limit */ 10733 case 534: 10734 if (ndx == 0 || ndx == 1) 10735 p = "int"; 10736 break; 10737 /* freebsd32_cap_ioctls_get */ 10738 case 535: 10739 if (ndx == 0 || ndx == 1) 10740 p = "ssize_t"; 10741 break; 10742 /* cap_fcntls_limit */ 10743 case 536: 10744 if (ndx == 0 || ndx == 1) 10745 p = "int"; 10746 break; 10747 /* cap_fcntls_get */ 10748 case 537: 10749 if (ndx == 0 || ndx == 1) 10750 p = "int"; 10751 break; 10752 /* bindat */ 10753 case 538: 10754 if (ndx == 0 || ndx == 1) 10755 p = "int"; 10756 break; 10757 /* connectat */ 10758 case 539: 10759 if (ndx == 0 || ndx == 1) 10760 p = "int"; 10761 break; 10762 /* chflagsat */ 10763 case 540: 10764 if (ndx == 0 || ndx == 1) 10765 p = "int"; 10766 break; 10767 /* accept4 */ 10768 case 541: 10769 if (ndx == 0 || ndx == 1) 10770 p = "int"; 10771 break; 10772 /* pipe2 */ 10773 case 542: 10774 if (ndx == 0 || ndx == 1) 10775 p = "int"; 10776 break; 10777 /* freebsd32_aio_mlock */ 10778 case 543: 10779 if (ndx == 0 || ndx == 1) 10780 p = "int"; 10781 break; 10782 #ifdef PAD64_REQUIRED 10783 /* freebsd32_procctl */ 10784 case 544: 10785 if (ndx == 0 || ndx == 1) 10786 p = "int"; 10787 break; 10788 #else 10789 /* freebsd32_procctl */ 10790 case 544: 10791 if (ndx == 0 || ndx == 1) 10792 p = "int"; 10793 break; 10794 #endif 10795 /* freebsd32_ppoll */ 10796 case 545: 10797 if (ndx == 0 || ndx == 1) 10798 p = "int"; 10799 break; 10800 /* freebsd32_futimens */ 10801 case 546: 10802 if (ndx == 0 || ndx == 1) 10803 p = "int"; 10804 break; 10805 /* freebsd32_utimensat */ 10806 case 547: 10807 if (ndx == 0 || ndx == 1) 10808 p = "int"; 10809 break; 10810 /* fdatasync */ 10811 case 550: 10812 if (ndx == 0 || ndx == 1) 10813 p = "int"; 10814 break; 10815 /* freebsd32_fstat */ 10816 case 551: 10817 if (ndx == 0 || ndx == 1) 10818 p = "int"; 10819 break; 10820 /* freebsd32_fstatat */ 10821 case 552: 10822 if (ndx == 0 || ndx == 1) 10823 p = "int"; 10824 break; 10825 /* freebsd32_fhstat */ 10826 case 553: 10827 if (ndx == 0 || ndx == 1) 10828 p = "int"; 10829 break; 10830 /* getdirentries */ 10831 case 554: 10832 if (ndx == 0 || ndx == 1) 10833 p = "ssize_t"; 10834 break; 10835 /* statfs */ 10836 case 555: 10837 if (ndx == 0 || ndx == 1) 10838 p = "int"; 10839 break; 10840 /* fstatfs */ 10841 case 556: 10842 if (ndx == 0 || ndx == 1) 10843 p = "int"; 10844 break; 10845 /* getfsstat */ 10846 case 557: 10847 if (ndx == 0 || ndx == 1) 10848 p = "int"; 10849 break; 10850 /* fhstatfs */ 10851 case 558: 10852 if (ndx == 0 || ndx == 1) 10853 p = "int"; 10854 break; 10855 #ifdef PAD64_REQUIRED 10856 /* freebsd32_mknodat */ 10857 case 559: 10858 if (ndx == 0 || ndx == 1) 10859 p = "int"; 10860 break; 10861 #else 10862 /* freebsd32_mknodat */ 10863 case 559: 10864 if (ndx == 0 || ndx == 1) 10865 p = "int"; 10866 break; 10867 #endif 10868 /* freebsd32_kevent */ 10869 case 560: 10870 if (ndx == 0 || ndx == 1) 10871 p = "int"; 10872 break; 10873 /* freebsd32_cpuset_getdomain */ 10874 case 561: 10875 if (ndx == 0 || ndx == 1) 10876 p = "int"; 10877 break; 10878 /* freebsd32_cpuset_setdomain */ 10879 case 562: 10880 if (ndx == 0 || ndx == 1) 10881 p = "int"; 10882 break; 10883 /* getrandom */ 10884 case 563: 10885 if (ndx == 0 || ndx == 1) 10886 p = "int"; 10887 break; 10888 /* getfhat */ 10889 case 564: 10890 if (ndx == 0 || ndx == 1) 10891 p = "int"; 10892 break; 10893 /* fhlink */ 10894 case 565: 10895 if (ndx == 0 || ndx == 1) 10896 p = "int"; 10897 break; 10898 /* fhlinkat */ 10899 case 566: 10900 if (ndx == 0 || ndx == 1) 10901 p = "int"; 10902 break; 10903 /* fhreadlink */ 10904 case 567: 10905 if (ndx == 0 || ndx == 1) 10906 p = "int"; 10907 break; 10908 /* funlinkat */ 10909 case 568: 10910 if (ndx == 0 || ndx == 1) 10911 p = "int"; 10912 break; 10913 /* copy_file_range */ 10914 case 569: 10915 if (ndx == 0 || ndx == 1) 10916 p = "ssize_t"; 10917 break; 10918 /* freebsd32___sysctlbyname */ 10919 case 570: 10920 if (ndx == 0 || ndx == 1) 10921 p = "int"; 10922 break; 10923 /* shm_open2 */ 10924 case 571: 10925 if (ndx == 0 || ndx == 1) 10926 p = "int"; 10927 break; 10928 /* shm_rename */ 10929 case 572: 10930 if (ndx == 0 || ndx == 1) 10931 p = "int"; 10932 break; 10933 default: 10934 break; 10935 }; 10936 if (p != NULL) 10937 strlcpy(desc, p, descsz); 10938 } 10939