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