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