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