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