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