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