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