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