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