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