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