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