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