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