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