1 #if !defined(PAD64_REQUIRED) && !defined(__amd64__) 2 #define PAD64_REQUIRED 3 #endif 4 /* 5 * System call argument to DTrace register array converstion. 6 * 7 * 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 default: 3382 *n_args = 0; 3383 break; 3384 }; 3385 } 3386 static void 3387 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 3388 { 3389 const char *p = NULL; 3390 switch (sysnum) { 3391 /* syscall */ 3392 case 0: 3393 break; 3394 /* exit */ 3395 case 1: 3396 switch (ndx) { 3397 case 0: 3398 p = "int"; 3399 break; 3400 default: 3401 break; 3402 }; 3403 break; 3404 /* fork */ 3405 case 2: 3406 break; 3407 /* read */ 3408 case 3: 3409 switch (ndx) { 3410 case 0: 3411 p = "int"; 3412 break; 3413 case 1: 3414 p = "userland void *"; 3415 break; 3416 case 2: 3417 p = "size_t"; 3418 break; 3419 default: 3420 break; 3421 }; 3422 break; 3423 /* write */ 3424 case 4: 3425 switch (ndx) { 3426 case 0: 3427 p = "int"; 3428 break; 3429 case 1: 3430 p = "userland const void *"; 3431 break; 3432 case 2: 3433 p = "size_t"; 3434 break; 3435 default: 3436 break; 3437 }; 3438 break; 3439 /* open */ 3440 case 5: 3441 switch (ndx) { 3442 case 0: 3443 p = "userland const char *"; 3444 break; 3445 case 1: 3446 p = "int"; 3447 break; 3448 case 2: 3449 p = "mode_t"; 3450 break; 3451 default: 3452 break; 3453 }; 3454 break; 3455 /* close */ 3456 case 6: 3457 switch (ndx) { 3458 case 0: 3459 p = "int"; 3460 break; 3461 default: 3462 break; 3463 }; 3464 break; 3465 /* freebsd32_wait4 */ 3466 case 7: 3467 switch (ndx) { 3468 case 0: 3469 p = "int"; 3470 break; 3471 case 1: 3472 p = "userland int *"; 3473 break; 3474 case 2: 3475 p = "int"; 3476 break; 3477 case 3: 3478 p = "userland struct rusage32 *"; 3479 break; 3480 default: 3481 break; 3482 }; 3483 break; 3484 /* link */ 3485 case 9: 3486 switch (ndx) { 3487 case 0: 3488 p = "userland const char *"; 3489 break; 3490 case 1: 3491 p = "userland const char *"; 3492 break; 3493 default: 3494 break; 3495 }; 3496 break; 3497 /* unlink */ 3498 case 10: 3499 switch (ndx) { 3500 case 0: 3501 p = "userland const char *"; 3502 break; 3503 default: 3504 break; 3505 }; 3506 break; 3507 /* chdir */ 3508 case 12: 3509 switch (ndx) { 3510 case 0: 3511 p = "userland const char *"; 3512 break; 3513 default: 3514 break; 3515 }; 3516 break; 3517 /* fchdir */ 3518 case 13: 3519 switch (ndx) { 3520 case 0: 3521 p = "int"; 3522 break; 3523 default: 3524 break; 3525 }; 3526 break; 3527 /* chmod */ 3528 case 15: 3529 switch (ndx) { 3530 case 0: 3531 p = "userland const char *"; 3532 break; 3533 case 1: 3534 p = "mode_t"; 3535 break; 3536 default: 3537 break; 3538 }; 3539 break; 3540 /* chown */ 3541 case 16: 3542 switch (ndx) { 3543 case 0: 3544 p = "userland const char *"; 3545 break; 3546 case 1: 3547 p = "int"; 3548 break; 3549 case 2: 3550 p = "int"; 3551 break; 3552 default: 3553 break; 3554 }; 3555 break; 3556 /* break */ 3557 case 17: 3558 switch (ndx) { 3559 case 0: 3560 p = "userland char *"; 3561 break; 3562 default: 3563 break; 3564 }; 3565 break; 3566 /* getpid */ 3567 case 20: 3568 break; 3569 /* mount */ 3570 case 21: 3571 switch (ndx) { 3572 case 0: 3573 p = "userland const char *"; 3574 break; 3575 case 1: 3576 p = "userland const char *"; 3577 break; 3578 case 2: 3579 p = "int"; 3580 break; 3581 case 3: 3582 p = "userland void *"; 3583 break; 3584 default: 3585 break; 3586 }; 3587 break; 3588 /* unmount */ 3589 case 22: 3590 switch (ndx) { 3591 case 0: 3592 p = "userland const char *"; 3593 break; 3594 case 1: 3595 p = "int"; 3596 break; 3597 default: 3598 break; 3599 }; 3600 break; 3601 /* setuid */ 3602 case 23: 3603 switch (ndx) { 3604 case 0: 3605 p = "uid_t"; 3606 break; 3607 default: 3608 break; 3609 }; 3610 break; 3611 /* getuid */ 3612 case 24: 3613 break; 3614 /* geteuid */ 3615 case 25: 3616 break; 3617 /* freebsd32_ptrace */ 3618 case 26: 3619 switch (ndx) { 3620 case 0: 3621 p = "int"; 3622 break; 3623 case 1: 3624 p = "pid_t"; 3625 break; 3626 case 2: 3627 p = "caddr_t"; 3628 break; 3629 case 3: 3630 p = "int"; 3631 break; 3632 default: 3633 break; 3634 }; 3635 break; 3636 /* freebsd32_recvmsg */ 3637 case 27: 3638 switch (ndx) { 3639 case 0: 3640 p = "int"; 3641 break; 3642 case 1: 3643 p = "userland struct msghdr32 *"; 3644 break; 3645 case 2: 3646 p = "int"; 3647 break; 3648 default: 3649 break; 3650 }; 3651 break; 3652 /* freebsd32_sendmsg */ 3653 case 28: 3654 switch (ndx) { 3655 case 0: 3656 p = "int"; 3657 break; 3658 case 1: 3659 p = "userland const struct msghdr32 *"; 3660 break; 3661 case 2: 3662 p = "int"; 3663 break; 3664 default: 3665 break; 3666 }; 3667 break; 3668 /* recvfrom */ 3669 case 29: 3670 switch (ndx) { 3671 case 0: 3672 p = "int"; 3673 break; 3674 case 1: 3675 p = "userland void *"; 3676 break; 3677 case 2: 3678 p = "size_t"; 3679 break; 3680 case 3: 3681 p = "int"; 3682 break; 3683 case 4: 3684 p = "userland struct sockaddr *"; 3685 break; 3686 case 5: 3687 p = "userland __socklen_t *"; 3688 break; 3689 default: 3690 break; 3691 }; 3692 break; 3693 /* accept */ 3694 case 30: 3695 switch (ndx) { 3696 case 0: 3697 p = "int"; 3698 break; 3699 case 1: 3700 p = "userland struct sockaddr *"; 3701 break; 3702 case 2: 3703 p = "userland __socklen_t *"; 3704 break; 3705 default: 3706 break; 3707 }; 3708 break; 3709 /* getpeername */ 3710 case 31: 3711 switch (ndx) { 3712 case 0: 3713 p = "int"; 3714 break; 3715 case 1: 3716 p = "userland struct sockaddr *"; 3717 break; 3718 case 2: 3719 p = "userland __socklen_t *"; 3720 break; 3721 default: 3722 break; 3723 }; 3724 break; 3725 /* getsockname */ 3726 case 32: 3727 switch (ndx) { 3728 case 0: 3729 p = "int"; 3730 break; 3731 case 1: 3732 p = "userland struct sockaddr *"; 3733 break; 3734 case 2: 3735 p = "userland __socklen_t *"; 3736 break; 3737 default: 3738 break; 3739 }; 3740 break; 3741 /* access */ 3742 case 33: 3743 switch (ndx) { 3744 case 0: 3745 p = "userland const char *"; 3746 break; 3747 case 1: 3748 p = "int"; 3749 break; 3750 default: 3751 break; 3752 }; 3753 break; 3754 /* chflags */ 3755 case 34: 3756 switch (ndx) { 3757 case 0: 3758 p = "userland const char *"; 3759 break; 3760 case 1: 3761 p = "u_long"; 3762 break; 3763 default: 3764 break; 3765 }; 3766 break; 3767 /* fchflags */ 3768 case 35: 3769 switch (ndx) { 3770 case 0: 3771 p = "int"; 3772 break; 3773 case 1: 3774 p = "u_long"; 3775 break; 3776 default: 3777 break; 3778 }; 3779 break; 3780 /* sync */ 3781 case 36: 3782 break; 3783 /* kill */ 3784 case 37: 3785 switch (ndx) { 3786 case 0: 3787 p = "int"; 3788 break; 3789 case 1: 3790 p = "int"; 3791 break; 3792 default: 3793 break; 3794 }; 3795 break; 3796 /* getppid */ 3797 case 39: 3798 break; 3799 /* dup */ 3800 case 41: 3801 switch (ndx) { 3802 case 0: 3803 p = "u_int"; 3804 break; 3805 default: 3806 break; 3807 }; 3808 break; 3809 /* getegid */ 3810 case 43: 3811 break; 3812 /* profil */ 3813 case 44: 3814 switch (ndx) { 3815 case 0: 3816 p = "userland char *"; 3817 break; 3818 case 1: 3819 p = "size_t"; 3820 break; 3821 case 2: 3822 p = "size_t"; 3823 break; 3824 case 3: 3825 p = "u_int"; 3826 break; 3827 default: 3828 break; 3829 }; 3830 break; 3831 /* ktrace */ 3832 case 45: 3833 switch (ndx) { 3834 case 0: 3835 p = "userland const char *"; 3836 break; 3837 case 1: 3838 p = "int"; 3839 break; 3840 case 2: 3841 p = "int"; 3842 break; 3843 case 3: 3844 p = "int"; 3845 break; 3846 default: 3847 break; 3848 }; 3849 break; 3850 /* getgid */ 3851 case 47: 3852 break; 3853 /* getlogin */ 3854 case 49: 3855 switch (ndx) { 3856 case 0: 3857 p = "userland char *"; 3858 break; 3859 case 1: 3860 p = "u_int"; 3861 break; 3862 default: 3863 break; 3864 }; 3865 break; 3866 /* setlogin */ 3867 case 50: 3868 switch (ndx) { 3869 case 0: 3870 p = "userland const char *"; 3871 break; 3872 default: 3873 break; 3874 }; 3875 break; 3876 /* acct */ 3877 case 51: 3878 switch (ndx) { 3879 case 0: 3880 p = "userland const char *"; 3881 break; 3882 default: 3883 break; 3884 }; 3885 break; 3886 /* freebsd32_sigaltstack */ 3887 case 53: 3888 switch (ndx) { 3889 case 0: 3890 p = "userland const struct sigaltstack32 *"; 3891 break; 3892 case 1: 3893 p = "userland struct sigaltstack32 *"; 3894 break; 3895 default: 3896 break; 3897 }; 3898 break; 3899 /* freebsd32_ioctl */ 3900 case 54: 3901 switch (ndx) { 3902 case 0: 3903 p = "int"; 3904 break; 3905 case 1: 3906 p = "u_long"; 3907 break; 3908 case 2: 3909 p = "userland char *"; 3910 break; 3911 default: 3912 break; 3913 }; 3914 break; 3915 /* reboot */ 3916 case 55: 3917 switch (ndx) { 3918 case 0: 3919 p = "int"; 3920 break; 3921 default: 3922 break; 3923 }; 3924 break; 3925 /* revoke */ 3926 case 56: 3927 switch (ndx) { 3928 case 0: 3929 p = "userland const char *"; 3930 break; 3931 default: 3932 break; 3933 }; 3934 break; 3935 /* symlink */ 3936 case 57: 3937 switch (ndx) { 3938 case 0: 3939 p = "userland const char *"; 3940 break; 3941 case 1: 3942 p = "userland const char *"; 3943 break; 3944 default: 3945 break; 3946 }; 3947 break; 3948 /* readlink */ 3949 case 58: 3950 switch (ndx) { 3951 case 0: 3952 p = "userland const char *"; 3953 break; 3954 case 1: 3955 p = "userland char *"; 3956 break; 3957 case 2: 3958 p = "size_t"; 3959 break; 3960 default: 3961 break; 3962 }; 3963 break; 3964 /* freebsd32_execve */ 3965 case 59: 3966 switch (ndx) { 3967 case 0: 3968 p = "userland const char *"; 3969 break; 3970 case 1: 3971 p = "userland uint32_t *"; 3972 break; 3973 case 2: 3974 p = "userland uint32_t *"; 3975 break; 3976 default: 3977 break; 3978 }; 3979 break; 3980 /* umask */ 3981 case 60: 3982 switch (ndx) { 3983 case 0: 3984 p = "mode_t"; 3985 break; 3986 default: 3987 break; 3988 }; 3989 break; 3990 /* chroot */ 3991 case 61: 3992 switch (ndx) { 3993 case 0: 3994 p = "userland const char *"; 3995 break; 3996 default: 3997 break; 3998 }; 3999 break; 4000 /* msync */ 4001 case 65: 4002 switch (ndx) { 4003 case 0: 4004 p = "userland void *"; 4005 break; 4006 case 1: 4007 p = "size_t"; 4008 break; 4009 case 2: 4010 p = "int"; 4011 break; 4012 default: 4013 break; 4014 }; 4015 break; 4016 /* vfork */ 4017 case 66: 4018 break; 4019 /* munmap */ 4020 case 73: 4021 switch (ndx) { 4022 case 0: 4023 p = "userland void *"; 4024 break; 4025 case 1: 4026 p = "size_t"; 4027 break; 4028 default: 4029 break; 4030 }; 4031 break; 4032 /* freebsd32_mprotect */ 4033 case 74: 4034 switch (ndx) { 4035 case 0: 4036 p = "userland void *"; 4037 break; 4038 case 1: 4039 p = "size_t"; 4040 break; 4041 case 2: 4042 p = "int"; 4043 break; 4044 default: 4045 break; 4046 }; 4047 break; 4048 /* madvise */ 4049 case 75: 4050 switch (ndx) { 4051 case 0: 4052 p = "userland void *"; 4053 break; 4054 case 1: 4055 p = "size_t"; 4056 break; 4057 case 2: 4058 p = "int"; 4059 break; 4060 default: 4061 break; 4062 }; 4063 break; 4064 /* mincore */ 4065 case 78: 4066 switch (ndx) { 4067 case 0: 4068 p = "userland const void *"; 4069 break; 4070 case 1: 4071 p = "size_t"; 4072 break; 4073 case 2: 4074 p = "userland char *"; 4075 break; 4076 default: 4077 break; 4078 }; 4079 break; 4080 /* getgroups */ 4081 case 79: 4082 switch (ndx) { 4083 case 0: 4084 p = "int"; 4085 break; 4086 case 1: 4087 p = "userland gid_t *"; 4088 break; 4089 default: 4090 break; 4091 }; 4092 break; 4093 /* setgroups */ 4094 case 80: 4095 switch (ndx) { 4096 case 0: 4097 p = "int"; 4098 break; 4099 case 1: 4100 p = "userland const gid_t *"; 4101 break; 4102 default: 4103 break; 4104 }; 4105 break; 4106 /* getpgrp */ 4107 case 81: 4108 break; 4109 /* setpgid */ 4110 case 82: 4111 switch (ndx) { 4112 case 0: 4113 p = "int"; 4114 break; 4115 case 1: 4116 p = "int"; 4117 break; 4118 default: 4119 break; 4120 }; 4121 break; 4122 /* freebsd32_setitimer */ 4123 case 83: 4124 switch (ndx) { 4125 case 0: 4126 p = "int"; 4127 break; 4128 case 1: 4129 p = "userland const struct itimerval32 *"; 4130 break; 4131 case 2: 4132 p = "userland struct itimerval32 *"; 4133 break; 4134 default: 4135 break; 4136 }; 4137 break; 4138 /* swapon */ 4139 case 85: 4140 switch (ndx) { 4141 case 0: 4142 p = "userland const char *"; 4143 break; 4144 default: 4145 break; 4146 }; 4147 break; 4148 /* freebsd32_getitimer */ 4149 case 86: 4150 switch (ndx) { 4151 case 0: 4152 p = "int"; 4153 break; 4154 case 1: 4155 p = "userland struct itimerval32 *"; 4156 break; 4157 default: 4158 break; 4159 }; 4160 break; 4161 /* getdtablesize */ 4162 case 89: 4163 break; 4164 /* dup2 */ 4165 case 90: 4166 switch (ndx) { 4167 case 0: 4168 p = "u_int"; 4169 break; 4170 case 1: 4171 p = "u_int"; 4172 break; 4173 default: 4174 break; 4175 }; 4176 break; 4177 /* freebsd32_fcntl */ 4178 case 92: 4179 switch (ndx) { 4180 case 0: 4181 p = "int"; 4182 break; 4183 case 1: 4184 p = "int"; 4185 break; 4186 case 2: 4187 p = "intptr_t"; 4188 break; 4189 default: 4190 break; 4191 }; 4192 break; 4193 /* freebsd32_select */ 4194 case 93: 4195 switch (ndx) { 4196 case 0: 4197 p = "int"; 4198 break; 4199 case 1: 4200 p = "userland fd_set *"; 4201 break; 4202 case 2: 4203 p = "userland fd_set *"; 4204 break; 4205 case 3: 4206 p = "userland fd_set *"; 4207 break; 4208 case 4: 4209 p = "userland struct timeval32 *"; 4210 break; 4211 default: 4212 break; 4213 }; 4214 break; 4215 /* fsync */ 4216 case 95: 4217 switch (ndx) { 4218 case 0: 4219 p = "int"; 4220 break; 4221 default: 4222 break; 4223 }; 4224 break; 4225 /* setpriority */ 4226 case 96: 4227 switch (ndx) { 4228 case 0: 4229 p = "int"; 4230 break; 4231 case 1: 4232 p = "int"; 4233 break; 4234 case 2: 4235 p = "int"; 4236 break; 4237 default: 4238 break; 4239 }; 4240 break; 4241 /* socket */ 4242 case 97: 4243 switch (ndx) { 4244 case 0: 4245 p = "int"; 4246 break; 4247 case 1: 4248 p = "int"; 4249 break; 4250 case 2: 4251 p = "int"; 4252 break; 4253 default: 4254 break; 4255 }; 4256 break; 4257 /* connect */ 4258 case 98: 4259 switch (ndx) { 4260 case 0: 4261 p = "int"; 4262 break; 4263 case 1: 4264 p = "userland const struct sockaddr *"; 4265 break; 4266 case 2: 4267 p = "__socklen_t"; 4268 break; 4269 default: 4270 break; 4271 }; 4272 break; 4273 /* getpriority */ 4274 case 100: 4275 switch (ndx) { 4276 case 0: 4277 p = "int"; 4278 break; 4279 case 1: 4280 p = "int"; 4281 break; 4282 default: 4283 break; 4284 }; 4285 break; 4286 /* bind */ 4287 case 104: 4288 switch (ndx) { 4289 case 0: 4290 p = "int"; 4291 break; 4292 case 1: 4293 p = "userland const struct sockaddr *"; 4294 break; 4295 case 2: 4296 p = "__socklen_t"; 4297 break; 4298 default: 4299 break; 4300 }; 4301 break; 4302 /* setsockopt */ 4303 case 105: 4304 switch (ndx) { 4305 case 0: 4306 p = "int"; 4307 break; 4308 case 1: 4309 p = "int"; 4310 break; 4311 case 2: 4312 p = "int"; 4313 break; 4314 case 3: 4315 p = "userland const void *"; 4316 break; 4317 case 4: 4318 p = "__socklen_t"; 4319 break; 4320 default: 4321 break; 4322 }; 4323 break; 4324 /* listen */ 4325 case 106: 4326 switch (ndx) { 4327 case 0: 4328 p = "int"; 4329 break; 4330 case 1: 4331 p = "int"; 4332 break; 4333 default: 4334 break; 4335 }; 4336 break; 4337 /* freebsd32_gettimeofday */ 4338 case 116: 4339 switch (ndx) { 4340 case 0: 4341 p = "userland struct timeval32 *"; 4342 break; 4343 case 1: 4344 p = "userland struct timezone *"; 4345 break; 4346 default: 4347 break; 4348 }; 4349 break; 4350 /* freebsd32_getrusage */ 4351 case 117: 4352 switch (ndx) { 4353 case 0: 4354 p = "int"; 4355 break; 4356 case 1: 4357 p = "userland struct rusage32 *"; 4358 break; 4359 default: 4360 break; 4361 }; 4362 break; 4363 /* getsockopt */ 4364 case 118: 4365 switch (ndx) { 4366 case 0: 4367 p = "int"; 4368 break; 4369 case 1: 4370 p = "int"; 4371 break; 4372 case 2: 4373 p = "int"; 4374 break; 4375 case 3: 4376 p = "userland void *"; 4377 break; 4378 case 4: 4379 p = "userland __socklen_t *"; 4380 break; 4381 default: 4382 break; 4383 }; 4384 break; 4385 /* freebsd32_readv */ 4386 case 120: 4387 switch (ndx) { 4388 case 0: 4389 p = "int"; 4390 break; 4391 case 1: 4392 p = "userland const struct iovec32 *"; 4393 break; 4394 case 2: 4395 p = "u_int"; 4396 break; 4397 default: 4398 break; 4399 }; 4400 break; 4401 /* freebsd32_writev */ 4402 case 121: 4403 switch (ndx) { 4404 case 0: 4405 p = "int"; 4406 break; 4407 case 1: 4408 p = "userland const struct iovec32 *"; 4409 break; 4410 case 2: 4411 p = "u_int"; 4412 break; 4413 default: 4414 break; 4415 }; 4416 break; 4417 /* freebsd32_settimeofday */ 4418 case 122: 4419 switch (ndx) { 4420 case 0: 4421 p = "userland const struct timeval32 *"; 4422 break; 4423 case 1: 4424 p = "userland const struct timezone *"; 4425 break; 4426 default: 4427 break; 4428 }; 4429 break; 4430 /* fchown */ 4431 case 123: 4432 switch (ndx) { 4433 case 0: 4434 p = "int"; 4435 break; 4436 case 1: 4437 p = "int"; 4438 break; 4439 case 2: 4440 p = "int"; 4441 break; 4442 default: 4443 break; 4444 }; 4445 break; 4446 /* fchmod */ 4447 case 124: 4448 switch (ndx) { 4449 case 0: 4450 p = "int"; 4451 break; 4452 case 1: 4453 p = "mode_t"; 4454 break; 4455 default: 4456 break; 4457 }; 4458 break; 4459 /* setreuid */ 4460 case 126: 4461 switch (ndx) { 4462 case 0: 4463 p = "int"; 4464 break; 4465 case 1: 4466 p = "int"; 4467 break; 4468 default: 4469 break; 4470 }; 4471 break; 4472 /* setregid */ 4473 case 127: 4474 switch (ndx) { 4475 case 0: 4476 p = "int"; 4477 break; 4478 case 1: 4479 p = "int"; 4480 break; 4481 default: 4482 break; 4483 }; 4484 break; 4485 /* rename */ 4486 case 128: 4487 switch (ndx) { 4488 case 0: 4489 p = "userland const char *"; 4490 break; 4491 case 1: 4492 p = "userland const char *"; 4493 break; 4494 default: 4495 break; 4496 }; 4497 break; 4498 /* flock */ 4499 case 131: 4500 switch (ndx) { 4501 case 0: 4502 p = "int"; 4503 break; 4504 case 1: 4505 p = "int"; 4506 break; 4507 default: 4508 break; 4509 }; 4510 break; 4511 /* mkfifo */ 4512 case 132: 4513 switch (ndx) { 4514 case 0: 4515 p = "userland const char *"; 4516 break; 4517 case 1: 4518 p = "mode_t"; 4519 break; 4520 default: 4521 break; 4522 }; 4523 break; 4524 /* sendto */ 4525 case 133: 4526 switch (ndx) { 4527 case 0: 4528 p = "int"; 4529 break; 4530 case 1: 4531 p = "userland const void *"; 4532 break; 4533 case 2: 4534 p = "size_t"; 4535 break; 4536 case 3: 4537 p = "int"; 4538 break; 4539 case 4: 4540 p = "userland const struct sockaddr *"; 4541 break; 4542 case 5: 4543 p = "__socklen_t"; 4544 break; 4545 default: 4546 break; 4547 }; 4548 break; 4549 /* shutdown */ 4550 case 134: 4551 switch (ndx) { 4552 case 0: 4553 p = "int"; 4554 break; 4555 case 1: 4556 p = "int"; 4557 break; 4558 default: 4559 break; 4560 }; 4561 break; 4562 /* socketpair */ 4563 case 135: 4564 switch (ndx) { 4565 case 0: 4566 p = "int"; 4567 break; 4568 case 1: 4569 p = "int"; 4570 break; 4571 case 2: 4572 p = "int"; 4573 break; 4574 case 3: 4575 p = "userland int *"; 4576 break; 4577 default: 4578 break; 4579 }; 4580 break; 4581 /* mkdir */ 4582 case 136: 4583 switch (ndx) { 4584 case 0: 4585 p = "userland const char *"; 4586 break; 4587 case 1: 4588 p = "mode_t"; 4589 break; 4590 default: 4591 break; 4592 }; 4593 break; 4594 /* rmdir */ 4595 case 137: 4596 switch (ndx) { 4597 case 0: 4598 p = "userland const char *"; 4599 break; 4600 default: 4601 break; 4602 }; 4603 break; 4604 /* freebsd32_utimes */ 4605 case 138: 4606 switch (ndx) { 4607 case 0: 4608 p = "userland const char *"; 4609 break; 4610 case 1: 4611 p = "userland const struct timeval32 *"; 4612 break; 4613 default: 4614 break; 4615 }; 4616 break; 4617 /* freebsd32_adjtime */ 4618 case 140: 4619 switch (ndx) { 4620 case 0: 4621 p = "userland const struct timeval32 *"; 4622 break; 4623 case 1: 4624 p = "userland struct timeval32 *"; 4625 break; 4626 default: 4627 break; 4628 }; 4629 break; 4630 /* setsid */ 4631 case 147: 4632 break; 4633 /* quotactl */ 4634 case 148: 4635 switch (ndx) { 4636 case 0: 4637 p = "userland const char *"; 4638 break; 4639 case 1: 4640 p = "int"; 4641 break; 4642 case 2: 4643 p = "int"; 4644 break; 4645 case 3: 4646 p = "userland void *"; 4647 break; 4648 default: 4649 break; 4650 }; 4651 break; 4652 /* getfh */ 4653 case 161: 4654 switch (ndx) { 4655 case 0: 4656 p = "userland const char *"; 4657 break; 4658 case 1: 4659 p = "userland struct fhandle *"; 4660 break; 4661 default: 4662 break; 4663 }; 4664 break; 4665 /* freebsd32_sysarch */ 4666 case 165: 4667 switch (ndx) { 4668 case 0: 4669 p = "int"; 4670 break; 4671 case 1: 4672 p = "userland char *"; 4673 break; 4674 default: 4675 break; 4676 }; 4677 break; 4678 /* rtprio */ 4679 case 166: 4680 switch (ndx) { 4681 case 0: 4682 p = "int"; 4683 break; 4684 case 1: 4685 p = "pid_t"; 4686 break; 4687 case 2: 4688 p = "userland struct rtprio *"; 4689 break; 4690 default: 4691 break; 4692 }; 4693 break; 4694 /* freebsd32_semsys */ 4695 case 169: 4696 switch (ndx) { 4697 case 0: 4698 p = "int"; 4699 break; 4700 case 1: 4701 p = "int"; 4702 break; 4703 case 2: 4704 p = "int"; 4705 break; 4706 case 3: 4707 p = "int"; 4708 break; 4709 case 4: 4710 p = "int"; 4711 break; 4712 default: 4713 break; 4714 }; 4715 break; 4716 /* freebsd32_msgsys */ 4717 case 170: 4718 switch (ndx) { 4719 case 0: 4720 p = "int"; 4721 break; 4722 case 1: 4723 p = "int"; 4724 break; 4725 case 2: 4726 p = "int"; 4727 break; 4728 case 3: 4729 p = "int"; 4730 break; 4731 case 4: 4732 p = "int"; 4733 break; 4734 case 5: 4735 p = "int"; 4736 break; 4737 default: 4738 break; 4739 }; 4740 break; 4741 /* freebsd32_shmsys */ 4742 case 171: 4743 switch (ndx) { 4744 case 0: 4745 p = "int"; 4746 break; 4747 case 1: 4748 p = "int"; 4749 break; 4750 case 2: 4751 p = "int"; 4752 break; 4753 case 3: 4754 p = "int"; 4755 break; 4756 default: 4757 break; 4758 }; 4759 break; 4760 /* setfib */ 4761 case 175: 4762 switch (ndx) { 4763 case 0: 4764 p = "int"; 4765 break; 4766 default: 4767 break; 4768 }; 4769 break; 4770 /* freebsd32_ntp_adjtime */ 4771 case 176: 4772 switch (ndx) { 4773 case 0: 4774 p = "userland struct timex32 *"; 4775 break; 4776 default: 4777 break; 4778 }; 4779 break; 4780 /* setgid */ 4781 case 181: 4782 switch (ndx) { 4783 case 0: 4784 p = "gid_t"; 4785 break; 4786 default: 4787 break; 4788 }; 4789 break; 4790 /* setegid */ 4791 case 182: 4792 switch (ndx) { 4793 case 0: 4794 p = "gid_t"; 4795 break; 4796 default: 4797 break; 4798 }; 4799 break; 4800 /* seteuid */ 4801 case 183: 4802 switch (ndx) { 4803 case 0: 4804 p = "uid_t"; 4805 break; 4806 default: 4807 break; 4808 }; 4809 break; 4810 /* pathconf */ 4811 case 191: 4812 switch (ndx) { 4813 case 0: 4814 p = "userland const char *"; 4815 break; 4816 case 1: 4817 p = "int"; 4818 break; 4819 default: 4820 break; 4821 }; 4822 break; 4823 /* fpathconf */ 4824 case 192: 4825 switch (ndx) { 4826 case 0: 4827 p = "int"; 4828 break; 4829 case 1: 4830 p = "int"; 4831 break; 4832 default: 4833 break; 4834 }; 4835 break; 4836 /* getrlimit */ 4837 case 194: 4838 switch (ndx) { 4839 case 0: 4840 p = "u_int"; 4841 break; 4842 case 1: 4843 p = "userland struct rlimit *"; 4844 break; 4845 default: 4846 break; 4847 }; 4848 break; 4849 /* setrlimit */ 4850 case 195: 4851 switch (ndx) { 4852 case 0: 4853 p = "u_int"; 4854 break; 4855 case 1: 4856 p = "userland struct rlimit *"; 4857 break; 4858 default: 4859 break; 4860 }; 4861 break; 4862 /* __syscall */ 4863 case 198: 4864 break; 4865 /* freebsd32___sysctl */ 4866 case 202: 4867 switch (ndx) { 4868 case 0: 4869 p = "userland int *"; 4870 break; 4871 case 1: 4872 p = "u_int"; 4873 break; 4874 case 2: 4875 p = "userland void *"; 4876 break; 4877 case 3: 4878 p = "userland uint32_t *"; 4879 break; 4880 case 4: 4881 p = "userland const void *"; 4882 break; 4883 case 5: 4884 p = "size_t"; 4885 break; 4886 default: 4887 break; 4888 }; 4889 break; 4890 /* mlock */ 4891 case 203: 4892 switch (ndx) { 4893 case 0: 4894 p = "userland const void *"; 4895 break; 4896 case 1: 4897 p = "size_t"; 4898 break; 4899 default: 4900 break; 4901 }; 4902 break; 4903 /* munlock */ 4904 case 204: 4905 switch (ndx) { 4906 case 0: 4907 p = "userland const void *"; 4908 break; 4909 case 1: 4910 p = "size_t"; 4911 break; 4912 default: 4913 break; 4914 }; 4915 break; 4916 /* undelete */ 4917 case 205: 4918 switch (ndx) { 4919 case 0: 4920 p = "userland const char *"; 4921 break; 4922 default: 4923 break; 4924 }; 4925 break; 4926 /* freebsd32_futimes */ 4927 case 206: 4928 switch (ndx) { 4929 case 0: 4930 p = "int"; 4931 break; 4932 case 1: 4933 p = "userland const struct timeval32 *"; 4934 break; 4935 default: 4936 break; 4937 }; 4938 break; 4939 /* getpgid */ 4940 case 207: 4941 switch (ndx) { 4942 case 0: 4943 p = "pid_t"; 4944 break; 4945 default: 4946 break; 4947 }; 4948 break; 4949 /* poll */ 4950 case 209: 4951 switch (ndx) { 4952 case 0: 4953 p = "userland struct pollfd *"; 4954 break; 4955 case 1: 4956 p = "u_int"; 4957 break; 4958 case 2: 4959 p = "int"; 4960 break; 4961 default: 4962 break; 4963 }; 4964 break; 4965 /* lkmnosys */ 4966 case 210: 4967 break; 4968 /* lkmnosys */ 4969 case 211: 4970 break; 4971 /* lkmnosys */ 4972 case 212: 4973 break; 4974 /* lkmnosys */ 4975 case 213: 4976 break; 4977 /* lkmnosys */ 4978 case 214: 4979 break; 4980 /* lkmnosys */ 4981 case 215: 4982 break; 4983 /* lkmnosys */ 4984 case 216: 4985 break; 4986 /* lkmnosys */ 4987 case 217: 4988 break; 4989 /* lkmnosys */ 4990 case 218: 4991 break; 4992 /* lkmnosys */ 4993 case 219: 4994 break; 4995 /* semget */ 4996 case 221: 4997 switch (ndx) { 4998 case 0: 4999 p = "key_t"; 5000 break; 5001 case 1: 5002 p = "int"; 5003 break; 5004 case 2: 5005 p = "int"; 5006 break; 5007 default: 5008 break; 5009 }; 5010 break; 5011 /* semop */ 5012 case 222: 5013 switch (ndx) { 5014 case 0: 5015 p = "int"; 5016 break; 5017 case 1: 5018 p = "userland struct sembuf *"; 5019 break; 5020 case 2: 5021 p = "size_t"; 5022 break; 5023 default: 5024 break; 5025 }; 5026 break; 5027 /* msgget */ 5028 case 225: 5029 switch (ndx) { 5030 case 0: 5031 p = "key_t"; 5032 break; 5033 case 1: 5034 p = "int"; 5035 break; 5036 default: 5037 break; 5038 }; 5039 break; 5040 /* freebsd32_msgsnd */ 5041 case 226: 5042 switch (ndx) { 5043 case 0: 5044 p = "int"; 5045 break; 5046 case 1: 5047 p = "userland const void *"; 5048 break; 5049 case 2: 5050 p = "size_t"; 5051 break; 5052 case 3: 5053 p = "int"; 5054 break; 5055 default: 5056 break; 5057 }; 5058 break; 5059 /* freebsd32_msgrcv */ 5060 case 227: 5061 switch (ndx) { 5062 case 0: 5063 p = "int"; 5064 break; 5065 case 1: 5066 p = "userland void *"; 5067 break; 5068 case 2: 5069 p = "size_t"; 5070 break; 5071 case 3: 5072 p = "int32_t"; 5073 break; 5074 case 4: 5075 p = "int"; 5076 break; 5077 default: 5078 break; 5079 }; 5080 break; 5081 /* shmat */ 5082 case 228: 5083 switch (ndx) { 5084 case 0: 5085 p = "int"; 5086 break; 5087 case 1: 5088 p = "userland const void *"; 5089 break; 5090 case 2: 5091 p = "int"; 5092 break; 5093 default: 5094 break; 5095 }; 5096 break; 5097 /* shmdt */ 5098 case 230: 5099 switch (ndx) { 5100 case 0: 5101 p = "userland const void *"; 5102 break; 5103 default: 5104 break; 5105 }; 5106 break; 5107 /* shmget */ 5108 case 231: 5109 switch (ndx) { 5110 case 0: 5111 p = "key_t"; 5112 break; 5113 case 1: 5114 p = "size_t"; 5115 break; 5116 case 2: 5117 p = "int"; 5118 break; 5119 default: 5120 break; 5121 }; 5122 break; 5123 /* freebsd32_clock_gettime */ 5124 case 232: 5125 switch (ndx) { 5126 case 0: 5127 p = "clockid_t"; 5128 break; 5129 case 1: 5130 p = "userland struct timespec32 *"; 5131 break; 5132 default: 5133 break; 5134 }; 5135 break; 5136 /* freebsd32_clock_settime */ 5137 case 233: 5138 switch (ndx) { 5139 case 0: 5140 p = "clockid_t"; 5141 break; 5142 case 1: 5143 p = "userland const struct timespec32 *"; 5144 break; 5145 default: 5146 break; 5147 }; 5148 break; 5149 /* freebsd32_clock_getres */ 5150 case 234: 5151 switch (ndx) { 5152 case 0: 5153 p = "clockid_t"; 5154 break; 5155 case 1: 5156 p = "userland struct timespec32 *"; 5157 break; 5158 default: 5159 break; 5160 }; 5161 break; 5162 /* freebsd32_ktimer_create */ 5163 case 235: 5164 switch (ndx) { 5165 case 0: 5166 p = "clockid_t"; 5167 break; 5168 case 1: 5169 p = "userland struct sigevent32 *"; 5170 break; 5171 case 2: 5172 p = "userland int *"; 5173 break; 5174 default: 5175 break; 5176 }; 5177 break; 5178 /* ktimer_delete */ 5179 case 236: 5180 switch (ndx) { 5181 case 0: 5182 p = "int"; 5183 break; 5184 default: 5185 break; 5186 }; 5187 break; 5188 /* freebsd32_ktimer_settime */ 5189 case 237: 5190 switch (ndx) { 5191 case 0: 5192 p = "int"; 5193 break; 5194 case 1: 5195 p = "int"; 5196 break; 5197 case 2: 5198 p = "userland const struct itimerspec32 *"; 5199 break; 5200 case 3: 5201 p = "userland struct itimerspec32 *"; 5202 break; 5203 default: 5204 break; 5205 }; 5206 break; 5207 /* freebsd32_ktimer_gettime */ 5208 case 238: 5209 switch (ndx) { 5210 case 0: 5211 p = "int"; 5212 break; 5213 case 1: 5214 p = "userland struct itimerspec32 *"; 5215 break; 5216 default: 5217 break; 5218 }; 5219 break; 5220 /* ktimer_getoverrun */ 5221 case 239: 5222 switch (ndx) { 5223 case 0: 5224 p = "int"; 5225 break; 5226 default: 5227 break; 5228 }; 5229 break; 5230 /* freebsd32_nanosleep */ 5231 case 240: 5232 switch (ndx) { 5233 case 0: 5234 p = "userland const struct timespec32 *"; 5235 break; 5236 case 1: 5237 p = "userland struct timespec32 *"; 5238 break; 5239 default: 5240 break; 5241 }; 5242 break; 5243 /* ffclock_getcounter */ 5244 case 241: 5245 switch (ndx) { 5246 case 0: 5247 p = "userland ffcounter *"; 5248 break; 5249 default: 5250 break; 5251 }; 5252 break; 5253 /* freebsd32_ffclock_setestimate */ 5254 case 242: 5255 switch (ndx) { 5256 case 0: 5257 p = "userland struct ffclock_estimate32 *"; 5258 break; 5259 default: 5260 break; 5261 }; 5262 break; 5263 /* freebsd32_ffclock_getestimate */ 5264 case 243: 5265 switch (ndx) { 5266 case 0: 5267 p = "userland struct ffclock_estimate32 *"; 5268 break; 5269 default: 5270 break; 5271 }; 5272 break; 5273 /* freebsd32_clock_nanosleep */ 5274 case 244: 5275 switch (ndx) { 5276 case 0: 5277 p = "clockid_t"; 5278 break; 5279 case 1: 5280 p = "int"; 5281 break; 5282 case 2: 5283 p = "userland const struct timespec32 *"; 5284 break; 5285 case 3: 5286 p = "userland struct timespec32 *"; 5287 break; 5288 default: 5289 break; 5290 }; 5291 break; 5292 /* freebsd32_clock_getcpuclockid2 */ 5293 case 247: 5294 switch (ndx) { 5295 case 0: 5296 p = "uint32_t"; 5297 break; 5298 case 1: 5299 p = "uint32_t"; 5300 break; 5301 case 2: 5302 p = "int"; 5303 break; 5304 case 3: 5305 p = "userland clockid_t *"; 5306 break; 5307 default: 5308 break; 5309 }; 5310 break; 5311 /* minherit */ 5312 case 250: 5313 switch (ndx) { 5314 case 0: 5315 p = "userland void *"; 5316 break; 5317 case 1: 5318 p = "size_t"; 5319 break; 5320 case 2: 5321 p = "int"; 5322 break; 5323 default: 5324 break; 5325 }; 5326 break; 5327 /* rfork */ 5328 case 251: 5329 switch (ndx) { 5330 case 0: 5331 p = "int"; 5332 break; 5333 default: 5334 break; 5335 }; 5336 break; 5337 /* issetugid */ 5338 case 253: 5339 break; 5340 /* lchown */ 5341 case 254: 5342 switch (ndx) { 5343 case 0: 5344 p = "userland const char *"; 5345 break; 5346 case 1: 5347 p = "int"; 5348 break; 5349 case 2: 5350 p = "int"; 5351 break; 5352 default: 5353 break; 5354 }; 5355 break; 5356 /* freebsd32_aio_read */ 5357 case 255: 5358 switch (ndx) { 5359 case 0: 5360 p = "userland struct aiocb32 *"; 5361 break; 5362 default: 5363 break; 5364 }; 5365 break; 5366 /* freebsd32_aio_write */ 5367 case 256: 5368 switch (ndx) { 5369 case 0: 5370 p = "userland struct aiocb32 *"; 5371 break; 5372 default: 5373 break; 5374 }; 5375 break; 5376 /* freebsd32_lio_listio */ 5377 case 257: 5378 switch (ndx) { 5379 case 0: 5380 p = "int"; 5381 break; 5382 case 1: 5383 p = "userland uint32_t *"; 5384 break; 5385 case 2: 5386 p = "int"; 5387 break; 5388 case 3: 5389 p = "userland struct sigevent32 *"; 5390 break; 5391 default: 5392 break; 5393 }; 5394 break; 5395 /* lchmod */ 5396 case 274: 5397 switch (ndx) { 5398 case 0: 5399 p = "userland const char *"; 5400 break; 5401 case 1: 5402 p = "mode_t"; 5403 break; 5404 default: 5405 break; 5406 }; 5407 break; 5408 /* freebsd32_lutimes */ 5409 case 276: 5410 switch (ndx) { 5411 case 0: 5412 p = "userland const char *"; 5413 break; 5414 case 1: 5415 p = "userland const struct timeval32 *"; 5416 break; 5417 default: 5418 break; 5419 }; 5420 break; 5421 /* freebsd32_preadv */ 5422 case 289: 5423 switch (ndx) { 5424 case 0: 5425 p = "int"; 5426 break; 5427 case 1: 5428 p = "userland struct iovec32 *"; 5429 break; 5430 case 2: 5431 p = "u_int"; 5432 break; 5433 #ifdef PAD64_REQUIRED 5434 case 3: 5435 p = "int"; 5436 break; 5437 #define _P_ 0 5438 #else 5439 #define _P_ 1 5440 #endif 5441 case 4 - _P_: 5442 p = "uint32_t"; 5443 break; 5444 case 5 - _P_: 5445 p = "uint32_t"; 5446 break; 5447 default: 5448 break; 5449 }; 5450 #undef _P_ 5451 5452 break; 5453 /* freebsd32_pwritev */ 5454 case 290: 5455 switch (ndx) { 5456 case 0: 5457 p = "int"; 5458 break; 5459 case 1: 5460 p = "userland struct iovec32 *"; 5461 break; 5462 case 2: 5463 p = "u_int"; 5464 break; 5465 #ifdef PAD64_REQUIRED 5466 case 3: 5467 p = "int"; 5468 break; 5469 #define _P_ 0 5470 #else 5471 #define _P_ 1 5472 #endif 5473 case 4 - _P_: 5474 p = "uint32_t"; 5475 break; 5476 case 5 - _P_: 5477 p = "uint32_t"; 5478 break; 5479 default: 5480 break; 5481 }; 5482 #undef _P_ 5483 5484 break; 5485 /* fhopen */ 5486 case 298: 5487 switch (ndx) { 5488 case 0: 5489 p = "userland const struct fhandle *"; 5490 break; 5491 case 1: 5492 p = "int"; 5493 break; 5494 default: 5495 break; 5496 }; 5497 break; 5498 /* modnext */ 5499 case 300: 5500 switch (ndx) { 5501 case 0: 5502 p = "int"; 5503 break; 5504 default: 5505 break; 5506 }; 5507 break; 5508 /* freebsd32_modstat */ 5509 case 301: 5510 switch (ndx) { 5511 case 0: 5512 p = "int"; 5513 break; 5514 case 1: 5515 p = "userland struct module_stat32 *"; 5516 break; 5517 default: 5518 break; 5519 }; 5520 break; 5521 /* modfnext */ 5522 case 302: 5523 switch (ndx) { 5524 case 0: 5525 p = "int"; 5526 break; 5527 default: 5528 break; 5529 }; 5530 break; 5531 /* modfind */ 5532 case 303: 5533 switch (ndx) { 5534 case 0: 5535 p = "userland const char *"; 5536 break; 5537 default: 5538 break; 5539 }; 5540 break; 5541 /* kldload */ 5542 case 304: 5543 switch (ndx) { 5544 case 0: 5545 p = "userland const char *"; 5546 break; 5547 default: 5548 break; 5549 }; 5550 break; 5551 /* kldunload */ 5552 case 305: 5553 switch (ndx) { 5554 case 0: 5555 p = "int"; 5556 break; 5557 default: 5558 break; 5559 }; 5560 break; 5561 /* kldfind */ 5562 case 306: 5563 switch (ndx) { 5564 case 0: 5565 p = "userland const char *"; 5566 break; 5567 default: 5568 break; 5569 }; 5570 break; 5571 /* kldnext */ 5572 case 307: 5573 switch (ndx) { 5574 case 0: 5575 p = "int"; 5576 break; 5577 default: 5578 break; 5579 }; 5580 break; 5581 /* freebsd32_kldstat */ 5582 case 308: 5583 switch (ndx) { 5584 case 0: 5585 p = "int"; 5586 break; 5587 case 1: 5588 p = "userland struct kld_file_stat32 *"; 5589 break; 5590 default: 5591 break; 5592 }; 5593 break; 5594 /* kldfirstmod */ 5595 case 309: 5596 switch (ndx) { 5597 case 0: 5598 p = "int"; 5599 break; 5600 default: 5601 break; 5602 }; 5603 break; 5604 /* getsid */ 5605 case 310: 5606 switch (ndx) { 5607 case 0: 5608 p = "pid_t"; 5609 break; 5610 default: 5611 break; 5612 }; 5613 break; 5614 /* setresuid */ 5615 case 311: 5616 switch (ndx) { 5617 case 0: 5618 p = "uid_t"; 5619 break; 5620 case 1: 5621 p = "uid_t"; 5622 break; 5623 case 2: 5624 p = "uid_t"; 5625 break; 5626 default: 5627 break; 5628 }; 5629 break; 5630 /* setresgid */ 5631 case 312: 5632 switch (ndx) { 5633 case 0: 5634 p = "gid_t"; 5635 break; 5636 case 1: 5637 p = "gid_t"; 5638 break; 5639 case 2: 5640 p = "gid_t"; 5641 break; 5642 default: 5643 break; 5644 }; 5645 break; 5646 /* freebsd32_aio_return */ 5647 case 314: 5648 switch (ndx) { 5649 case 0: 5650 p = "userland struct aiocb32 *"; 5651 break; 5652 default: 5653 break; 5654 }; 5655 break; 5656 /* freebsd32_aio_suspend */ 5657 case 315: 5658 switch (ndx) { 5659 case 0: 5660 p = "userland uint32_t *"; 5661 break; 5662 case 1: 5663 p = "int"; 5664 break; 5665 case 2: 5666 p = "userland const struct timespec32 *"; 5667 break; 5668 default: 5669 break; 5670 }; 5671 break; 5672 /* aio_cancel */ 5673 case 316: 5674 switch (ndx) { 5675 case 0: 5676 p = "int"; 5677 break; 5678 case 1: 5679 p = "userland struct aiocb32 *"; 5680 break; 5681 default: 5682 break; 5683 }; 5684 break; 5685 /* freebsd32_aio_error */ 5686 case 317: 5687 switch (ndx) { 5688 case 0: 5689 p = "userland struct aiocb32 *"; 5690 break; 5691 default: 5692 break; 5693 }; 5694 break; 5695 /* yield */ 5696 case 321: 5697 break; 5698 /* mlockall */ 5699 case 324: 5700 switch (ndx) { 5701 case 0: 5702 p = "int"; 5703 break; 5704 default: 5705 break; 5706 }; 5707 break; 5708 /* munlockall */ 5709 case 325: 5710 break; 5711 /* __getcwd */ 5712 case 326: 5713 switch (ndx) { 5714 case 0: 5715 p = "userland char *"; 5716 break; 5717 case 1: 5718 p = "size_t"; 5719 break; 5720 default: 5721 break; 5722 }; 5723 break; 5724 /* sched_setparam */ 5725 case 327: 5726 switch (ndx) { 5727 case 0: 5728 p = "pid_t"; 5729 break; 5730 case 1: 5731 p = "userland const struct sched_param *"; 5732 break; 5733 default: 5734 break; 5735 }; 5736 break; 5737 /* sched_getparam */ 5738 case 328: 5739 switch (ndx) { 5740 case 0: 5741 p = "pid_t"; 5742 break; 5743 case 1: 5744 p = "userland struct sched_param *"; 5745 break; 5746 default: 5747 break; 5748 }; 5749 break; 5750 /* sched_setscheduler */ 5751 case 329: 5752 switch (ndx) { 5753 case 0: 5754 p = "pid_t"; 5755 break; 5756 case 1: 5757 p = "int"; 5758 break; 5759 case 2: 5760 p = "userland const struct sched_param *"; 5761 break; 5762 default: 5763 break; 5764 }; 5765 break; 5766 /* sched_getscheduler */ 5767 case 330: 5768 switch (ndx) { 5769 case 0: 5770 p = "pid_t"; 5771 break; 5772 default: 5773 break; 5774 }; 5775 break; 5776 /* sched_yield */ 5777 case 331: 5778 break; 5779 /* sched_get_priority_max */ 5780 case 332: 5781 switch (ndx) { 5782 case 0: 5783 p = "int"; 5784 break; 5785 default: 5786 break; 5787 }; 5788 break; 5789 /* sched_get_priority_min */ 5790 case 333: 5791 switch (ndx) { 5792 case 0: 5793 p = "int"; 5794 break; 5795 default: 5796 break; 5797 }; 5798 break; 5799 /* freebsd32_sched_rr_get_interval */ 5800 case 334: 5801 switch (ndx) { 5802 case 0: 5803 p = "pid_t"; 5804 break; 5805 case 1: 5806 p = "userland struct timespec32 *"; 5807 break; 5808 default: 5809 break; 5810 }; 5811 break; 5812 /* utrace */ 5813 case 335: 5814 switch (ndx) { 5815 case 0: 5816 p = "userland const void *"; 5817 break; 5818 case 1: 5819 p = "size_t"; 5820 break; 5821 default: 5822 break; 5823 }; 5824 break; 5825 /* freebsd32_jail */ 5826 case 338: 5827 switch (ndx) { 5828 case 0: 5829 p = "userland struct jail32 *"; 5830 break; 5831 default: 5832 break; 5833 }; 5834 break; 5835 /* sigprocmask */ 5836 case 340: 5837 switch (ndx) { 5838 case 0: 5839 p = "int"; 5840 break; 5841 case 1: 5842 p = "userland const sigset_t *"; 5843 break; 5844 case 2: 5845 p = "userland sigset_t *"; 5846 break; 5847 default: 5848 break; 5849 }; 5850 break; 5851 /* sigsuspend */ 5852 case 341: 5853 switch (ndx) { 5854 case 0: 5855 p = "userland const sigset_t *"; 5856 break; 5857 default: 5858 break; 5859 }; 5860 break; 5861 /* sigpending */ 5862 case 343: 5863 switch (ndx) { 5864 case 0: 5865 p = "userland sigset_t *"; 5866 break; 5867 default: 5868 break; 5869 }; 5870 break; 5871 /* freebsd32_sigtimedwait */ 5872 case 345: 5873 switch (ndx) { 5874 case 0: 5875 p = "userland const sigset_t *"; 5876 break; 5877 case 1: 5878 p = "userland struct __siginfo32 *"; 5879 break; 5880 case 2: 5881 p = "userland const struct timespec32 *"; 5882 break; 5883 default: 5884 break; 5885 }; 5886 break; 5887 /* freebsd32_sigwaitinfo */ 5888 case 346: 5889 switch (ndx) { 5890 case 0: 5891 p = "userland const sigset_t *"; 5892 break; 5893 case 1: 5894 p = "userland struct __siginfo32 *"; 5895 break; 5896 default: 5897 break; 5898 }; 5899 break; 5900 /* __acl_get_file */ 5901 case 347: 5902 switch (ndx) { 5903 case 0: 5904 p = "userland const char *"; 5905 break; 5906 case 1: 5907 p = "__acl_type_t"; 5908 break; 5909 case 2: 5910 p = "userland struct acl *"; 5911 break; 5912 default: 5913 break; 5914 }; 5915 break; 5916 /* __acl_set_file */ 5917 case 348: 5918 switch (ndx) { 5919 case 0: 5920 p = "userland const char *"; 5921 break; 5922 case 1: 5923 p = "__acl_type_t"; 5924 break; 5925 case 2: 5926 p = "userland struct acl *"; 5927 break; 5928 default: 5929 break; 5930 }; 5931 break; 5932 /* __acl_get_fd */ 5933 case 349: 5934 switch (ndx) { 5935 case 0: 5936 p = "int"; 5937 break; 5938 case 1: 5939 p = "__acl_type_t"; 5940 break; 5941 case 2: 5942 p = "userland struct acl *"; 5943 break; 5944 default: 5945 break; 5946 }; 5947 break; 5948 /* __acl_set_fd */ 5949 case 350: 5950 switch (ndx) { 5951 case 0: 5952 p = "int"; 5953 break; 5954 case 1: 5955 p = "__acl_type_t"; 5956 break; 5957 case 2: 5958 p = "userland struct acl *"; 5959 break; 5960 default: 5961 break; 5962 }; 5963 break; 5964 /* __acl_delete_file */ 5965 case 351: 5966 switch (ndx) { 5967 case 0: 5968 p = "userland const char *"; 5969 break; 5970 case 1: 5971 p = "__acl_type_t"; 5972 break; 5973 default: 5974 break; 5975 }; 5976 break; 5977 /* __acl_delete_fd */ 5978 case 352: 5979 switch (ndx) { 5980 case 0: 5981 p = "int"; 5982 break; 5983 case 1: 5984 p = "__acl_type_t"; 5985 break; 5986 default: 5987 break; 5988 }; 5989 break; 5990 /* __acl_aclcheck_file */ 5991 case 353: 5992 switch (ndx) { 5993 case 0: 5994 p = "userland const char *"; 5995 break; 5996 case 1: 5997 p = "__acl_type_t"; 5998 break; 5999 case 2: 6000 p = "userland struct acl *"; 6001 break; 6002 default: 6003 break; 6004 }; 6005 break; 6006 /* __acl_aclcheck_fd */ 6007 case 354: 6008 switch (ndx) { 6009 case 0: 6010 p = "int"; 6011 break; 6012 case 1: 6013 p = "__acl_type_t"; 6014 break; 6015 case 2: 6016 p = "userland struct acl *"; 6017 break; 6018 default: 6019 break; 6020 }; 6021 break; 6022 /* extattrctl */ 6023 case 355: 6024 switch (ndx) { 6025 case 0: 6026 p = "userland const char *"; 6027 break; 6028 case 1: 6029 p = "int"; 6030 break; 6031 case 2: 6032 p = "userland const char *"; 6033 break; 6034 case 3: 6035 p = "int"; 6036 break; 6037 case 4: 6038 p = "userland const char *"; 6039 break; 6040 default: 6041 break; 6042 }; 6043 break; 6044 /* extattr_set_file */ 6045 case 356: 6046 switch (ndx) { 6047 case 0: 6048 p = "userland const char *"; 6049 break; 6050 case 1: 6051 p = "int"; 6052 break; 6053 case 2: 6054 p = "userland const char *"; 6055 break; 6056 case 3: 6057 p = "userland void *"; 6058 break; 6059 case 4: 6060 p = "size_t"; 6061 break; 6062 default: 6063 break; 6064 }; 6065 break; 6066 /* extattr_get_file */ 6067 case 357: 6068 switch (ndx) { 6069 case 0: 6070 p = "userland const char *"; 6071 break; 6072 case 1: 6073 p = "int"; 6074 break; 6075 case 2: 6076 p = "userland const char *"; 6077 break; 6078 case 3: 6079 p = "userland void *"; 6080 break; 6081 case 4: 6082 p = "size_t"; 6083 break; 6084 default: 6085 break; 6086 }; 6087 break; 6088 /* extattr_delete_file */ 6089 case 358: 6090 switch (ndx) { 6091 case 0: 6092 p = "userland const char *"; 6093 break; 6094 case 1: 6095 p = "int"; 6096 break; 6097 case 2: 6098 p = "userland const char *"; 6099 break; 6100 default: 6101 break; 6102 }; 6103 break; 6104 /* freebsd32_aio_waitcomplete */ 6105 case 359: 6106 switch (ndx) { 6107 case 0: 6108 p = "userland uint32_t *"; 6109 break; 6110 case 1: 6111 p = "userland struct timespec32 *"; 6112 break; 6113 default: 6114 break; 6115 }; 6116 break; 6117 /* getresuid */ 6118 case 360: 6119 switch (ndx) { 6120 case 0: 6121 p = "userland uid_t *"; 6122 break; 6123 case 1: 6124 p = "userland uid_t *"; 6125 break; 6126 case 2: 6127 p = "userland uid_t *"; 6128 break; 6129 default: 6130 break; 6131 }; 6132 break; 6133 /* getresgid */ 6134 case 361: 6135 switch (ndx) { 6136 case 0: 6137 p = "userland gid_t *"; 6138 break; 6139 case 1: 6140 p = "userland gid_t *"; 6141 break; 6142 case 2: 6143 p = "userland gid_t *"; 6144 break; 6145 default: 6146 break; 6147 }; 6148 break; 6149 /* kqueue */ 6150 case 362: 6151 break; 6152 /* extattr_set_fd */ 6153 case 371: 6154 switch (ndx) { 6155 case 0: 6156 p = "int"; 6157 break; 6158 case 1: 6159 p = "int"; 6160 break; 6161 case 2: 6162 p = "userland const char *"; 6163 break; 6164 case 3: 6165 p = "userland void *"; 6166 break; 6167 case 4: 6168 p = "size_t"; 6169 break; 6170 default: 6171 break; 6172 }; 6173 break; 6174 /* extattr_get_fd */ 6175 case 372: 6176 switch (ndx) { 6177 case 0: 6178 p = "int"; 6179 break; 6180 case 1: 6181 p = "int"; 6182 break; 6183 case 2: 6184 p = "userland const char *"; 6185 break; 6186 case 3: 6187 p = "userland void *"; 6188 break; 6189 case 4: 6190 p = "size_t"; 6191 break; 6192 default: 6193 break; 6194 }; 6195 break; 6196 /* extattr_delete_fd */ 6197 case 373: 6198 switch (ndx) { 6199 case 0: 6200 p = "int"; 6201 break; 6202 case 1: 6203 p = "int"; 6204 break; 6205 case 2: 6206 p = "userland const char *"; 6207 break; 6208 default: 6209 break; 6210 }; 6211 break; 6212 /* __setugid */ 6213 case 374: 6214 switch (ndx) { 6215 case 0: 6216 p = "int"; 6217 break; 6218 default: 6219 break; 6220 }; 6221 break; 6222 /* eaccess */ 6223 case 376: 6224 switch (ndx) { 6225 case 0: 6226 p = "userland const char *"; 6227 break; 6228 case 1: 6229 p = "int"; 6230 break; 6231 default: 6232 break; 6233 }; 6234 break; 6235 /* freebsd32_nmount */ 6236 case 378: 6237 switch (ndx) { 6238 case 0: 6239 p = "userland struct iovec32 *"; 6240 break; 6241 case 1: 6242 p = "unsigned int"; 6243 break; 6244 case 2: 6245 p = "int"; 6246 break; 6247 default: 6248 break; 6249 }; 6250 break; 6251 /* kenv */ 6252 case 390: 6253 switch (ndx) { 6254 case 0: 6255 p = "int"; 6256 break; 6257 case 1: 6258 p = "userland const char *"; 6259 break; 6260 case 2: 6261 p = "userland char *"; 6262 break; 6263 case 3: 6264 p = "int"; 6265 break; 6266 default: 6267 break; 6268 }; 6269 break; 6270 /* lchflags */ 6271 case 391: 6272 switch (ndx) { 6273 case 0: 6274 p = "userland const char *"; 6275 break; 6276 case 1: 6277 p = "u_long"; 6278 break; 6279 default: 6280 break; 6281 }; 6282 break; 6283 /* uuidgen */ 6284 case 392: 6285 switch (ndx) { 6286 case 0: 6287 p = "userland struct uuid *"; 6288 break; 6289 case 1: 6290 p = "int"; 6291 break; 6292 default: 6293 break; 6294 }; 6295 break; 6296 /* freebsd32_sendfile */ 6297 case 393: 6298 switch (ndx) { 6299 case 0: 6300 p = "int"; 6301 break; 6302 case 1: 6303 p = "int"; 6304 break; 6305 case 2: 6306 p = "uint32_t"; 6307 break; 6308 case 3: 6309 p = "uint32_t"; 6310 break; 6311 case 4: 6312 p = "size_t"; 6313 break; 6314 case 5: 6315 p = "userland struct sf_hdtr32 *"; 6316 break; 6317 case 6: 6318 p = "userland off_t *"; 6319 break; 6320 case 7: 6321 p = "int"; 6322 break; 6323 default: 6324 break; 6325 }; 6326 break; 6327 /* mac_syscall */ 6328 case 394: 6329 switch (ndx) { 6330 case 0: 6331 p = "userland const char *"; 6332 break; 6333 case 1: 6334 p = "int"; 6335 break; 6336 case 2: 6337 p = "userland void *"; 6338 break; 6339 default: 6340 break; 6341 }; 6342 break; 6343 /* ksem_close */ 6344 case 400: 6345 switch (ndx) { 6346 case 0: 6347 p = "int32_t"; 6348 break; 6349 default: 6350 break; 6351 }; 6352 break; 6353 /* ksem_post */ 6354 case 401: 6355 switch (ndx) { 6356 case 0: 6357 p = "int32_t"; 6358 break; 6359 default: 6360 break; 6361 }; 6362 break; 6363 /* ksem_wait */ 6364 case 402: 6365 switch (ndx) { 6366 case 0: 6367 p = "int32_t"; 6368 break; 6369 default: 6370 break; 6371 }; 6372 break; 6373 /* ksem_trywait */ 6374 case 403: 6375 switch (ndx) { 6376 case 0: 6377 p = "int32_t"; 6378 break; 6379 default: 6380 break; 6381 }; 6382 break; 6383 /* freebsd32_ksem_init */ 6384 case 404: 6385 switch (ndx) { 6386 case 0: 6387 p = "userland int32_t *"; 6388 break; 6389 case 1: 6390 p = "unsigned int"; 6391 break; 6392 default: 6393 break; 6394 }; 6395 break; 6396 /* freebsd32_ksem_open */ 6397 case 405: 6398 switch (ndx) { 6399 case 0: 6400 p = "userland int32_t *"; 6401 break; 6402 case 1: 6403 p = "userland const char *"; 6404 break; 6405 case 2: 6406 p = "int"; 6407 break; 6408 case 3: 6409 p = "mode_t"; 6410 break; 6411 case 4: 6412 p = "unsigned int"; 6413 break; 6414 default: 6415 break; 6416 }; 6417 break; 6418 /* ksem_unlink */ 6419 case 406: 6420 switch (ndx) { 6421 case 0: 6422 p = "userland const char *"; 6423 break; 6424 default: 6425 break; 6426 }; 6427 break; 6428 /* ksem_getvalue */ 6429 case 407: 6430 switch (ndx) { 6431 case 0: 6432 p = "int32_t"; 6433 break; 6434 case 1: 6435 p = "userland int *"; 6436 break; 6437 default: 6438 break; 6439 }; 6440 break; 6441 /* ksem_destroy */ 6442 case 408: 6443 switch (ndx) { 6444 case 0: 6445 p = "int32_t"; 6446 break; 6447 default: 6448 break; 6449 }; 6450 break; 6451 /* extattr_set_link */ 6452 case 412: 6453 switch (ndx) { 6454 case 0: 6455 p = "userland const char *"; 6456 break; 6457 case 1: 6458 p = "int"; 6459 break; 6460 case 2: 6461 p = "userland const char *"; 6462 break; 6463 case 3: 6464 p = "userland void *"; 6465 break; 6466 case 4: 6467 p = "size_t"; 6468 break; 6469 default: 6470 break; 6471 }; 6472 break; 6473 /* extattr_get_link */ 6474 case 413: 6475 switch (ndx) { 6476 case 0: 6477 p = "userland const char *"; 6478 break; 6479 case 1: 6480 p = "int"; 6481 break; 6482 case 2: 6483 p = "userland const char *"; 6484 break; 6485 case 3: 6486 p = "userland void *"; 6487 break; 6488 case 4: 6489 p = "size_t"; 6490 break; 6491 default: 6492 break; 6493 }; 6494 break; 6495 /* extattr_delete_link */ 6496 case 414: 6497 switch (ndx) { 6498 case 0: 6499 p = "userland const char *"; 6500 break; 6501 case 1: 6502 p = "int"; 6503 break; 6504 case 2: 6505 p = "userland const char *"; 6506 break; 6507 default: 6508 break; 6509 }; 6510 break; 6511 /* freebsd32_sigaction */ 6512 case 416: 6513 switch (ndx) { 6514 case 0: 6515 p = "int"; 6516 break; 6517 case 1: 6518 p = "userland const struct sigaction32 *"; 6519 break; 6520 case 2: 6521 p = "userland struct sigaction32 *"; 6522 break; 6523 default: 6524 break; 6525 }; 6526 break; 6527 /* freebsd32_sigreturn */ 6528 case 417: 6529 switch (ndx) { 6530 case 0: 6531 p = "userland const struct __ucontext32 *"; 6532 break; 6533 default: 6534 break; 6535 }; 6536 break; 6537 /* freebsd32_getcontext */ 6538 case 421: 6539 switch (ndx) { 6540 case 0: 6541 p = "userland struct __ucontext32 *"; 6542 break; 6543 default: 6544 break; 6545 }; 6546 break; 6547 /* freebsd32_setcontext */ 6548 case 422: 6549 switch (ndx) { 6550 case 0: 6551 p = "userland const struct __ucontext32 *"; 6552 break; 6553 default: 6554 break; 6555 }; 6556 break; 6557 /* freebsd32_swapcontext */ 6558 case 423: 6559 switch (ndx) { 6560 case 0: 6561 p = "userland struct __ucontext32 *"; 6562 break; 6563 case 1: 6564 p = "userland const struct __ucontext32 *"; 6565 break; 6566 default: 6567 break; 6568 }; 6569 break; 6570 /* __acl_get_link */ 6571 case 425: 6572 switch (ndx) { 6573 case 0: 6574 p = "userland const char *"; 6575 break; 6576 case 1: 6577 p = "__acl_type_t"; 6578 break; 6579 case 2: 6580 p = "userland struct acl *"; 6581 break; 6582 default: 6583 break; 6584 }; 6585 break; 6586 /* __acl_set_link */ 6587 case 426: 6588 switch (ndx) { 6589 case 0: 6590 p = "userland const char *"; 6591 break; 6592 case 1: 6593 p = "__acl_type_t"; 6594 break; 6595 case 2: 6596 p = "userland struct acl *"; 6597 break; 6598 default: 6599 break; 6600 }; 6601 break; 6602 /* __acl_delete_link */ 6603 case 427: 6604 switch (ndx) { 6605 case 0: 6606 p = "userland const char *"; 6607 break; 6608 case 1: 6609 p = "__acl_type_t"; 6610 break; 6611 default: 6612 break; 6613 }; 6614 break; 6615 /* __acl_aclcheck_link */ 6616 case 428: 6617 switch (ndx) { 6618 case 0: 6619 p = "userland const char *"; 6620 break; 6621 case 1: 6622 p = "__acl_type_t"; 6623 break; 6624 case 2: 6625 p = "userland struct acl *"; 6626 break; 6627 default: 6628 break; 6629 }; 6630 break; 6631 /* sigwait */ 6632 case 429: 6633 switch (ndx) { 6634 case 0: 6635 p = "userland const sigset_t *"; 6636 break; 6637 case 1: 6638 p = "userland int *"; 6639 break; 6640 default: 6641 break; 6642 }; 6643 break; 6644 /* thr_exit */ 6645 case 431: 6646 switch (ndx) { 6647 case 0: 6648 p = "userland int32_t *"; 6649 break; 6650 default: 6651 break; 6652 }; 6653 break; 6654 /* thr_self */ 6655 case 432: 6656 switch (ndx) { 6657 case 0: 6658 p = "userland int32_t *"; 6659 break; 6660 default: 6661 break; 6662 }; 6663 break; 6664 /* thr_kill */ 6665 case 433: 6666 switch (ndx) { 6667 case 0: 6668 p = "int32_t"; 6669 break; 6670 case 1: 6671 p = "int"; 6672 break; 6673 default: 6674 break; 6675 }; 6676 break; 6677 /* jail_attach */ 6678 case 436: 6679 switch (ndx) { 6680 case 0: 6681 p = "int"; 6682 break; 6683 default: 6684 break; 6685 }; 6686 break; 6687 /* extattr_list_fd */ 6688 case 437: 6689 switch (ndx) { 6690 case 0: 6691 p = "int"; 6692 break; 6693 case 1: 6694 p = "int"; 6695 break; 6696 case 2: 6697 p = "userland void *"; 6698 break; 6699 case 3: 6700 p = "size_t"; 6701 break; 6702 default: 6703 break; 6704 }; 6705 break; 6706 /* extattr_list_file */ 6707 case 438: 6708 switch (ndx) { 6709 case 0: 6710 p = "userland const char *"; 6711 break; 6712 case 1: 6713 p = "int"; 6714 break; 6715 case 2: 6716 p = "userland void *"; 6717 break; 6718 case 3: 6719 p = "size_t"; 6720 break; 6721 default: 6722 break; 6723 }; 6724 break; 6725 /* extattr_list_link */ 6726 case 439: 6727 switch (ndx) { 6728 case 0: 6729 p = "userland const char *"; 6730 break; 6731 case 1: 6732 p = "int"; 6733 break; 6734 case 2: 6735 p = "userland void *"; 6736 break; 6737 case 3: 6738 p = "size_t"; 6739 break; 6740 default: 6741 break; 6742 }; 6743 break; 6744 /* freebsd32_ksem_timedwait */ 6745 case 441: 6746 switch (ndx) { 6747 case 0: 6748 p = "int32_t"; 6749 break; 6750 case 1: 6751 p = "userland const struct timespec32 *"; 6752 break; 6753 default: 6754 break; 6755 }; 6756 break; 6757 /* freebsd32_thr_suspend */ 6758 case 442: 6759 switch (ndx) { 6760 case 0: 6761 p = "userland const struct timespec32 *"; 6762 break; 6763 default: 6764 break; 6765 }; 6766 break; 6767 /* thr_wake */ 6768 case 443: 6769 switch (ndx) { 6770 case 0: 6771 p = "int32_t"; 6772 break; 6773 default: 6774 break; 6775 }; 6776 break; 6777 /* kldunloadf */ 6778 case 444: 6779 switch (ndx) { 6780 case 0: 6781 p = "int"; 6782 break; 6783 case 1: 6784 p = "int"; 6785 break; 6786 default: 6787 break; 6788 }; 6789 break; 6790 /* audit */ 6791 case 445: 6792 switch (ndx) { 6793 case 0: 6794 p = "userland const void *"; 6795 break; 6796 case 1: 6797 p = "u_int"; 6798 break; 6799 default: 6800 break; 6801 }; 6802 break; 6803 /* auditon */ 6804 case 446: 6805 switch (ndx) { 6806 case 0: 6807 p = "int"; 6808 break; 6809 case 1: 6810 p = "userland void *"; 6811 break; 6812 case 2: 6813 p = "u_int"; 6814 break; 6815 default: 6816 break; 6817 }; 6818 break; 6819 /* getauid */ 6820 case 447: 6821 switch (ndx) { 6822 case 0: 6823 p = "userland uid_t *"; 6824 break; 6825 default: 6826 break; 6827 }; 6828 break; 6829 /* setauid */ 6830 case 448: 6831 switch (ndx) { 6832 case 0: 6833 p = "userland uid_t *"; 6834 break; 6835 default: 6836 break; 6837 }; 6838 break; 6839 /* getaudit */ 6840 case 449: 6841 switch (ndx) { 6842 case 0: 6843 p = "userland struct auditinfo *"; 6844 break; 6845 default: 6846 break; 6847 }; 6848 break; 6849 /* setaudit */ 6850 case 450: 6851 switch (ndx) { 6852 case 0: 6853 p = "userland struct auditinfo *"; 6854 break; 6855 default: 6856 break; 6857 }; 6858 break; 6859 /* getaudit_addr */ 6860 case 451: 6861 switch (ndx) { 6862 case 0: 6863 p = "userland struct auditinfo_addr *"; 6864 break; 6865 case 1: 6866 p = "u_int"; 6867 break; 6868 default: 6869 break; 6870 }; 6871 break; 6872 /* setaudit_addr */ 6873 case 452: 6874 switch (ndx) { 6875 case 0: 6876 p = "userland struct auditinfo_addr *"; 6877 break; 6878 case 1: 6879 p = "u_int"; 6880 break; 6881 default: 6882 break; 6883 }; 6884 break; 6885 /* auditctl */ 6886 case 453: 6887 switch (ndx) { 6888 case 0: 6889 p = "userland const char *"; 6890 break; 6891 default: 6892 break; 6893 }; 6894 break; 6895 /* freebsd32__umtx_op */ 6896 case 454: 6897 switch (ndx) { 6898 case 0: 6899 p = "userland void *"; 6900 break; 6901 case 1: 6902 p = "int"; 6903 break; 6904 case 2: 6905 p = "u_long"; 6906 break; 6907 case 3: 6908 p = "userland void *"; 6909 break; 6910 case 4: 6911 p = "userland void *"; 6912 break; 6913 default: 6914 break; 6915 }; 6916 break; 6917 /* freebsd32_thr_new */ 6918 case 455: 6919 switch (ndx) { 6920 case 0: 6921 p = "userland struct thr_param32 *"; 6922 break; 6923 case 1: 6924 p = "int"; 6925 break; 6926 default: 6927 break; 6928 }; 6929 break; 6930 /* freebsd32_sigqueue */ 6931 case 456: 6932 switch (ndx) { 6933 case 0: 6934 p = "pid_t"; 6935 break; 6936 case 1: 6937 p = "int"; 6938 break; 6939 case 2: 6940 p = "userland void *"; 6941 break; 6942 default: 6943 break; 6944 }; 6945 break; 6946 /* freebsd32_kmq_open */ 6947 case 457: 6948 switch (ndx) { 6949 case 0: 6950 p = "userland const char *"; 6951 break; 6952 case 1: 6953 p = "int"; 6954 break; 6955 case 2: 6956 p = "mode_t"; 6957 break; 6958 case 3: 6959 p = "userland const struct mq_attr32 *"; 6960 break; 6961 default: 6962 break; 6963 }; 6964 break; 6965 /* freebsd32_kmq_setattr */ 6966 case 458: 6967 switch (ndx) { 6968 case 0: 6969 p = "int"; 6970 break; 6971 case 1: 6972 p = "userland const struct mq_attr32 *"; 6973 break; 6974 case 2: 6975 p = "userland struct mq_attr32 *"; 6976 break; 6977 default: 6978 break; 6979 }; 6980 break; 6981 /* freebsd32_kmq_timedreceive */ 6982 case 459: 6983 switch (ndx) { 6984 case 0: 6985 p = "int"; 6986 break; 6987 case 1: 6988 p = "userland char *"; 6989 break; 6990 case 2: 6991 p = "size_t"; 6992 break; 6993 case 3: 6994 p = "userland unsigned *"; 6995 break; 6996 case 4: 6997 p = "userland const struct timespec32 *"; 6998 break; 6999 default: 7000 break; 7001 }; 7002 break; 7003 /* freebsd32_kmq_timedsend */ 7004 case 460: 7005 switch (ndx) { 7006 case 0: 7007 p = "int"; 7008 break; 7009 case 1: 7010 p = "userland const char *"; 7011 break; 7012 case 2: 7013 p = "size_t"; 7014 break; 7015 case 3: 7016 p = "unsigned"; 7017 break; 7018 case 4: 7019 p = "userland const struct timespec32 *"; 7020 break; 7021 default: 7022 break; 7023 }; 7024 break; 7025 /* freebsd32_kmq_notify */ 7026 case 461: 7027 switch (ndx) { 7028 case 0: 7029 p = "int"; 7030 break; 7031 case 1: 7032 p = "userland const struct sigevent32 *"; 7033 break; 7034 default: 7035 break; 7036 }; 7037 break; 7038 /* kmq_unlink */ 7039 case 462: 7040 switch (ndx) { 7041 case 0: 7042 p = "userland const char *"; 7043 break; 7044 default: 7045 break; 7046 }; 7047 break; 7048 /* freebsd32_abort2 */ 7049 case 463: 7050 switch (ndx) { 7051 case 0: 7052 p = "userland const char *"; 7053 break; 7054 case 1: 7055 p = "int"; 7056 break; 7057 case 2: 7058 p = "userland uint32_t *"; 7059 break; 7060 default: 7061 break; 7062 }; 7063 break; 7064 /* thr_set_name */ 7065 case 464: 7066 switch (ndx) { 7067 case 0: 7068 p = "int32_t"; 7069 break; 7070 case 1: 7071 p = "userland const char *"; 7072 break; 7073 default: 7074 break; 7075 }; 7076 break; 7077 /* freebsd32_aio_fsync */ 7078 case 465: 7079 switch (ndx) { 7080 case 0: 7081 p = "int"; 7082 break; 7083 case 1: 7084 p = "userland struct aiocb32 *"; 7085 break; 7086 default: 7087 break; 7088 }; 7089 break; 7090 /* rtprio_thread */ 7091 case 466: 7092 switch (ndx) { 7093 case 0: 7094 p = "int"; 7095 break; 7096 case 1: 7097 p = "lwpid_t"; 7098 break; 7099 case 2: 7100 p = "userland struct rtprio *"; 7101 break; 7102 default: 7103 break; 7104 }; 7105 break; 7106 /* sctp_peeloff */ 7107 case 471: 7108 switch (ndx) { 7109 case 0: 7110 p = "int"; 7111 break; 7112 case 1: 7113 p = "uint32_t"; 7114 break; 7115 default: 7116 break; 7117 }; 7118 break; 7119 /* sctp_generic_sendmsg */ 7120 case 472: 7121 switch (ndx) { 7122 case 0: 7123 p = "int"; 7124 break; 7125 case 1: 7126 p = "userland void *"; 7127 break; 7128 case 2: 7129 p = "int"; 7130 break; 7131 case 3: 7132 p = "userland const struct sockaddr *"; 7133 break; 7134 case 4: 7135 p = "__socklen_t"; 7136 break; 7137 case 5: 7138 p = "userland struct sctp_sndrcvinfo *"; 7139 break; 7140 case 6: 7141 p = "int"; 7142 break; 7143 default: 7144 break; 7145 }; 7146 break; 7147 /* sctp_generic_sendmsg_iov */ 7148 case 473: 7149 switch (ndx) { 7150 case 0: 7151 p = "int"; 7152 break; 7153 case 1: 7154 p = "userland struct iovec32 *"; 7155 break; 7156 case 2: 7157 p = "int"; 7158 break; 7159 case 3: 7160 p = "userland const struct sockaddr *"; 7161 break; 7162 case 4: 7163 p = "__socklen_t"; 7164 break; 7165 case 5: 7166 p = "userland struct sctp_sndrcvinfo *"; 7167 break; 7168 case 6: 7169 p = "int"; 7170 break; 7171 default: 7172 break; 7173 }; 7174 break; 7175 /* sctp_generic_recvmsg */ 7176 case 474: 7177 switch (ndx) { 7178 case 0: 7179 p = "int"; 7180 break; 7181 case 1: 7182 p = "userland struct iovec32 *"; 7183 break; 7184 case 2: 7185 p = "int"; 7186 break; 7187 case 3: 7188 p = "userland struct sockaddr *"; 7189 break; 7190 case 4: 7191 p = "userland __socklen_t *"; 7192 break; 7193 case 5: 7194 p = "userland struct sctp_sndrcvinfo *"; 7195 break; 7196 case 6: 7197 p = "userland int *"; 7198 break; 7199 default: 7200 break; 7201 }; 7202 break; 7203 /* freebsd32_pread */ 7204 case 475: 7205 switch (ndx) { 7206 case 0: 7207 p = "int"; 7208 break; 7209 case 1: 7210 p = "userland void *"; 7211 break; 7212 case 2: 7213 p = "size_t"; 7214 break; 7215 #ifdef PAD64_REQUIRED 7216 case 3: 7217 p = "int"; 7218 break; 7219 #define _P_ 0 7220 #else 7221 #define _P_ 1 7222 #endif 7223 case 4 - _P_: 7224 p = "uint32_t"; 7225 break; 7226 case 5 - _P_: 7227 p = "uint32_t"; 7228 break; 7229 default: 7230 break; 7231 }; 7232 #undef _P_ 7233 7234 break; 7235 /* freebsd32_pwrite */ 7236 case 476: 7237 switch (ndx) { 7238 case 0: 7239 p = "int"; 7240 break; 7241 case 1: 7242 p = "userland const void *"; 7243 break; 7244 case 2: 7245 p = "size_t"; 7246 break; 7247 #ifdef PAD64_REQUIRED 7248 case 3: 7249 p = "int"; 7250 break; 7251 #define _P_ 0 7252 #else 7253 #define _P_ 1 7254 #endif 7255 case 4 - _P_: 7256 p = "uint32_t"; 7257 break; 7258 case 5 - _P_: 7259 p = "uint32_t"; 7260 break; 7261 default: 7262 break; 7263 }; 7264 #undef _P_ 7265 7266 break; 7267 /* freebsd32_mmap */ 7268 case 477: 7269 switch (ndx) { 7270 case 0: 7271 p = "userland void *"; 7272 break; 7273 case 1: 7274 p = "size_t"; 7275 break; 7276 case 2: 7277 p = "int"; 7278 break; 7279 case 3: 7280 p = "int"; 7281 break; 7282 case 4: 7283 p = "int"; 7284 break; 7285 #ifdef PAD64_REQUIRED 7286 case 5: 7287 p = "int"; 7288 break; 7289 #define _P_ 0 7290 #else 7291 #define _P_ 1 7292 #endif 7293 case 6 - _P_: 7294 p = "uint32_t"; 7295 break; 7296 case 7 - _P_: 7297 p = "uint32_t"; 7298 break; 7299 default: 7300 break; 7301 }; 7302 #undef _P_ 7303 7304 break; 7305 /* freebsd32_lseek */ 7306 case 478: 7307 switch (ndx) { 7308 case 0: 7309 p = "int"; 7310 break; 7311 #ifdef PAD64_REQUIRED 7312 case 1: 7313 p = "int"; 7314 break; 7315 #define _P_ 0 7316 #else 7317 #define _P_ 1 7318 #endif 7319 case 2 - _P_: 7320 p = "uint32_t"; 7321 break; 7322 case 3 - _P_: 7323 p = "uint32_t"; 7324 break; 7325 case 4 - _P_: 7326 p = "int"; 7327 break; 7328 default: 7329 break; 7330 }; 7331 #undef _P_ 7332 7333 break; 7334 /* freebsd32_truncate */ 7335 case 479: 7336 switch (ndx) { 7337 case 0: 7338 p = "userland const char *"; 7339 break; 7340 #ifdef PAD64_REQUIRED 7341 case 1: 7342 p = "int"; 7343 break; 7344 #define _P_ 0 7345 #else 7346 #define _P_ 1 7347 #endif 7348 case 2 - _P_: 7349 p = "uint32_t"; 7350 break; 7351 case 3 - _P_: 7352 p = "uint32_t"; 7353 break; 7354 default: 7355 break; 7356 }; 7357 #undef _P_ 7358 7359 break; 7360 /* freebsd32_ftruncate */ 7361 case 480: 7362 switch (ndx) { 7363 case 0: 7364 p = "int"; 7365 break; 7366 #ifdef PAD64_REQUIRED 7367 case 1: 7368 p = "int"; 7369 break; 7370 #define _P_ 0 7371 #else 7372 #define _P_ 1 7373 #endif 7374 case 2 - _P_: 7375 p = "uint32_t"; 7376 break; 7377 case 3 - _P_: 7378 p = "uint32_t"; 7379 break; 7380 default: 7381 break; 7382 }; 7383 #undef _P_ 7384 7385 break; 7386 /* thr_kill2 */ 7387 case 481: 7388 switch (ndx) { 7389 case 0: 7390 p = "pid_t"; 7391 break; 7392 case 1: 7393 p = "int32_t"; 7394 break; 7395 case 2: 7396 p = "int"; 7397 break; 7398 default: 7399 break; 7400 }; 7401 break; 7402 /* shm_unlink */ 7403 case 483: 7404 switch (ndx) { 7405 case 0: 7406 p = "userland const char *"; 7407 break; 7408 default: 7409 break; 7410 }; 7411 break; 7412 /* cpuset */ 7413 case 484: 7414 switch (ndx) { 7415 case 0: 7416 p = "userland cpusetid_t *"; 7417 break; 7418 default: 7419 break; 7420 }; 7421 break; 7422 /* freebsd32_cpuset_setid */ 7423 case 485: 7424 switch (ndx) { 7425 case 0: 7426 p = "cpuwhich_t"; 7427 break; 7428 #ifdef PAD64_REQUIRED 7429 case 1: 7430 p = "int"; 7431 break; 7432 #define _P_ 0 7433 #else 7434 #define _P_ 1 7435 #endif 7436 case 2 - _P_: 7437 p = "uint32_t"; 7438 break; 7439 case 3 - _P_: 7440 p = "uint32_t"; 7441 break; 7442 case 4 - _P_: 7443 p = "cpusetid_t"; 7444 break; 7445 default: 7446 break; 7447 }; 7448 #undef _P_ 7449 7450 break; 7451 /* freebsd32_cpuset_getid */ 7452 case 486: 7453 switch (ndx) { 7454 case 0: 7455 p = "cpulevel_t"; 7456 break; 7457 case 1: 7458 p = "cpuwhich_t"; 7459 break; 7460 case 2: 7461 p = "uint32_t"; 7462 break; 7463 case 3: 7464 p = "uint32_t"; 7465 break; 7466 case 4: 7467 p = "userland cpusetid_t *"; 7468 break; 7469 default: 7470 break; 7471 }; 7472 break; 7473 /* freebsd32_cpuset_getaffinity */ 7474 case 487: 7475 switch (ndx) { 7476 case 0: 7477 p = "cpulevel_t"; 7478 break; 7479 case 1: 7480 p = "cpuwhich_t"; 7481 break; 7482 case 2: 7483 p = "uint32_t"; 7484 break; 7485 case 3: 7486 p = "uint32_t"; 7487 break; 7488 case 4: 7489 p = "size_t"; 7490 break; 7491 case 5: 7492 p = "userland cpuset_t *"; 7493 break; 7494 default: 7495 break; 7496 }; 7497 break; 7498 /* freebsd32_cpuset_setaffinity */ 7499 case 488: 7500 switch (ndx) { 7501 case 0: 7502 p = "cpulevel_t"; 7503 break; 7504 case 1: 7505 p = "cpuwhich_t"; 7506 break; 7507 case 2: 7508 p = "uint32_t"; 7509 break; 7510 case 3: 7511 p = "uint32_t"; 7512 break; 7513 case 4: 7514 p = "size_t"; 7515 break; 7516 case 5: 7517 p = "userland const cpuset_t *"; 7518 break; 7519 default: 7520 break; 7521 }; 7522 break; 7523 /* faccessat */ 7524 case 489: 7525 switch (ndx) { 7526 case 0: 7527 p = "int"; 7528 break; 7529 case 1: 7530 p = "userland const char *"; 7531 break; 7532 case 2: 7533 p = "int"; 7534 break; 7535 case 3: 7536 p = "int"; 7537 break; 7538 default: 7539 break; 7540 }; 7541 break; 7542 /* fchmodat */ 7543 case 490: 7544 switch (ndx) { 7545 case 0: 7546 p = "int"; 7547 break; 7548 case 1: 7549 p = "userland const char *"; 7550 break; 7551 case 2: 7552 p = "mode_t"; 7553 break; 7554 case 3: 7555 p = "int"; 7556 break; 7557 default: 7558 break; 7559 }; 7560 break; 7561 /* fchownat */ 7562 case 491: 7563 switch (ndx) { 7564 case 0: 7565 p = "int"; 7566 break; 7567 case 1: 7568 p = "userland const char *"; 7569 break; 7570 case 2: 7571 p = "uid_t"; 7572 break; 7573 case 3: 7574 p = "gid_t"; 7575 break; 7576 case 4: 7577 p = "int"; 7578 break; 7579 default: 7580 break; 7581 }; 7582 break; 7583 /* freebsd32_fexecve */ 7584 case 492: 7585 switch (ndx) { 7586 case 0: 7587 p = "int"; 7588 break; 7589 case 1: 7590 p = "userland uint32_t *"; 7591 break; 7592 case 2: 7593 p = "userland uint32_t *"; 7594 break; 7595 default: 7596 break; 7597 }; 7598 break; 7599 /* freebsd32_futimesat */ 7600 case 494: 7601 switch (ndx) { 7602 case 0: 7603 p = "int"; 7604 break; 7605 case 1: 7606 p = "userland const char *"; 7607 break; 7608 case 2: 7609 p = "userland const struct timeval32 *"; 7610 break; 7611 default: 7612 break; 7613 }; 7614 break; 7615 /* linkat */ 7616 case 495: 7617 switch (ndx) { 7618 case 0: 7619 p = "int"; 7620 break; 7621 case 1: 7622 p = "userland const char *"; 7623 break; 7624 case 2: 7625 p = "int"; 7626 break; 7627 case 3: 7628 p = "userland const char *"; 7629 break; 7630 case 4: 7631 p = "int"; 7632 break; 7633 default: 7634 break; 7635 }; 7636 break; 7637 /* mkdirat */ 7638 case 496: 7639 switch (ndx) { 7640 case 0: 7641 p = "int"; 7642 break; 7643 case 1: 7644 p = "userland const char *"; 7645 break; 7646 case 2: 7647 p = "mode_t"; 7648 break; 7649 default: 7650 break; 7651 }; 7652 break; 7653 /* mkfifoat */ 7654 case 497: 7655 switch (ndx) { 7656 case 0: 7657 p = "int"; 7658 break; 7659 case 1: 7660 p = "userland const char *"; 7661 break; 7662 case 2: 7663 p = "mode_t"; 7664 break; 7665 default: 7666 break; 7667 }; 7668 break; 7669 /* openat */ 7670 case 499: 7671 switch (ndx) { 7672 case 0: 7673 p = "int"; 7674 break; 7675 case 1: 7676 p = "userland const char *"; 7677 break; 7678 case 2: 7679 p = "int"; 7680 break; 7681 case 3: 7682 p = "mode_t"; 7683 break; 7684 default: 7685 break; 7686 }; 7687 break; 7688 /* readlinkat */ 7689 case 500: 7690 switch (ndx) { 7691 case 0: 7692 p = "int"; 7693 break; 7694 case 1: 7695 p = "userland const char *"; 7696 break; 7697 case 2: 7698 p = "userland char *"; 7699 break; 7700 case 3: 7701 p = "size_t"; 7702 break; 7703 default: 7704 break; 7705 }; 7706 break; 7707 /* renameat */ 7708 case 501: 7709 switch (ndx) { 7710 case 0: 7711 p = "int"; 7712 break; 7713 case 1: 7714 p = "userland const char *"; 7715 break; 7716 case 2: 7717 p = "int"; 7718 break; 7719 case 3: 7720 p = "userland const char *"; 7721 break; 7722 default: 7723 break; 7724 }; 7725 break; 7726 /* symlinkat */ 7727 case 502: 7728 switch (ndx) { 7729 case 0: 7730 p = "userland const char *"; 7731 break; 7732 case 1: 7733 p = "int"; 7734 break; 7735 case 2: 7736 p = "userland const char *"; 7737 break; 7738 default: 7739 break; 7740 }; 7741 break; 7742 /* unlinkat */ 7743 case 503: 7744 switch (ndx) { 7745 case 0: 7746 p = "int"; 7747 break; 7748 case 1: 7749 p = "userland const char *"; 7750 break; 7751 case 2: 7752 p = "int"; 7753 break; 7754 default: 7755 break; 7756 }; 7757 break; 7758 /* posix_openpt */ 7759 case 504: 7760 switch (ndx) { 7761 case 0: 7762 p = "int"; 7763 break; 7764 default: 7765 break; 7766 }; 7767 break; 7768 /* gssd_syscall */ 7769 case 505: 7770 switch (ndx) { 7771 case 0: 7772 p = "userland const char *"; 7773 break; 7774 default: 7775 break; 7776 }; 7777 break; 7778 /* freebsd32_jail_get */ 7779 case 506: 7780 switch (ndx) { 7781 case 0: 7782 p = "userland struct iovec32 *"; 7783 break; 7784 case 1: 7785 p = "unsigned int"; 7786 break; 7787 case 2: 7788 p = "int"; 7789 break; 7790 default: 7791 break; 7792 }; 7793 break; 7794 /* freebsd32_jail_set */ 7795 case 507: 7796 switch (ndx) { 7797 case 0: 7798 p = "userland struct iovec32 *"; 7799 break; 7800 case 1: 7801 p = "unsigned int"; 7802 break; 7803 case 2: 7804 p = "int"; 7805 break; 7806 default: 7807 break; 7808 }; 7809 break; 7810 /* jail_remove */ 7811 case 508: 7812 switch (ndx) { 7813 case 0: 7814 p = "int"; 7815 break; 7816 default: 7817 break; 7818 }; 7819 break; 7820 /* freebsd32___semctl */ 7821 case 510: 7822 switch (ndx) { 7823 case 0: 7824 p = "int"; 7825 break; 7826 case 1: 7827 p = "int"; 7828 break; 7829 case 2: 7830 p = "int"; 7831 break; 7832 case 3: 7833 p = "userland union semun32 *"; 7834 break; 7835 default: 7836 break; 7837 }; 7838 break; 7839 /* freebsd32_msgctl */ 7840 case 511: 7841 switch (ndx) { 7842 case 0: 7843 p = "int"; 7844 break; 7845 case 1: 7846 p = "int"; 7847 break; 7848 case 2: 7849 p = "userland struct msqid_ds32 *"; 7850 break; 7851 default: 7852 break; 7853 }; 7854 break; 7855 /* freebsd32_shmctl */ 7856 case 512: 7857 switch (ndx) { 7858 case 0: 7859 p = "int"; 7860 break; 7861 case 1: 7862 p = "int"; 7863 break; 7864 case 2: 7865 p = "userland struct shmid_ds32 *"; 7866 break; 7867 default: 7868 break; 7869 }; 7870 break; 7871 /* lpathconf */ 7872 case 513: 7873 switch (ndx) { 7874 case 0: 7875 p = "userland const char *"; 7876 break; 7877 case 1: 7878 p = "int"; 7879 break; 7880 default: 7881 break; 7882 }; 7883 break; 7884 /* __cap_rights_get */ 7885 case 515: 7886 switch (ndx) { 7887 case 0: 7888 p = "int"; 7889 break; 7890 case 1: 7891 p = "int"; 7892 break; 7893 case 2: 7894 p = "userland cap_rights_t *"; 7895 break; 7896 default: 7897 break; 7898 }; 7899 break; 7900 /* cap_enter */ 7901 case 516: 7902 break; 7903 /* cap_getmode */ 7904 case 517: 7905 switch (ndx) { 7906 case 0: 7907 p = "userland u_int *"; 7908 break; 7909 default: 7910 break; 7911 }; 7912 break; 7913 /* pdfork */ 7914 case 518: 7915 switch (ndx) { 7916 case 0: 7917 p = "userland int *"; 7918 break; 7919 case 1: 7920 p = "int"; 7921 break; 7922 default: 7923 break; 7924 }; 7925 break; 7926 /* pdkill */ 7927 case 519: 7928 switch (ndx) { 7929 case 0: 7930 p = "int"; 7931 break; 7932 case 1: 7933 p = "int"; 7934 break; 7935 default: 7936 break; 7937 }; 7938 break; 7939 /* pdgetpid */ 7940 case 520: 7941 switch (ndx) { 7942 case 0: 7943 p = "int"; 7944 break; 7945 case 1: 7946 p = "userland pid_t *"; 7947 break; 7948 default: 7949 break; 7950 }; 7951 break; 7952 /* freebsd32_pselect */ 7953 case 522: 7954 switch (ndx) { 7955 case 0: 7956 p = "int"; 7957 break; 7958 case 1: 7959 p = "userland fd_set *"; 7960 break; 7961 case 2: 7962 p = "userland fd_set *"; 7963 break; 7964 case 3: 7965 p = "userland fd_set *"; 7966 break; 7967 case 4: 7968 p = "userland const struct timespec32 *"; 7969 break; 7970 case 5: 7971 p = "userland const sigset_t *"; 7972 break; 7973 default: 7974 break; 7975 }; 7976 break; 7977 /* getloginclass */ 7978 case 523: 7979 switch (ndx) { 7980 case 0: 7981 p = "userland char *"; 7982 break; 7983 case 1: 7984 p = "size_t"; 7985 break; 7986 default: 7987 break; 7988 }; 7989 break; 7990 /* setloginclass */ 7991 case 524: 7992 switch (ndx) { 7993 case 0: 7994 p = "userland const char *"; 7995 break; 7996 default: 7997 break; 7998 }; 7999 break; 8000 /* rctl_get_racct */ 8001 case 525: 8002 switch (ndx) { 8003 case 0: 8004 p = "userland const void *"; 8005 break; 8006 case 1: 8007 p = "size_t"; 8008 break; 8009 case 2: 8010 p = "userland void *"; 8011 break; 8012 case 3: 8013 p = "size_t"; 8014 break; 8015 default: 8016 break; 8017 }; 8018 break; 8019 /* rctl_get_rules */ 8020 case 526: 8021 switch (ndx) { 8022 case 0: 8023 p = "userland const void *"; 8024 break; 8025 case 1: 8026 p = "size_t"; 8027 break; 8028 case 2: 8029 p = "userland void *"; 8030 break; 8031 case 3: 8032 p = "size_t"; 8033 break; 8034 default: 8035 break; 8036 }; 8037 break; 8038 /* rctl_get_limits */ 8039 case 527: 8040 switch (ndx) { 8041 case 0: 8042 p = "userland const void *"; 8043 break; 8044 case 1: 8045 p = "size_t"; 8046 break; 8047 case 2: 8048 p = "userland void *"; 8049 break; 8050 case 3: 8051 p = "size_t"; 8052 break; 8053 default: 8054 break; 8055 }; 8056 break; 8057 /* rctl_add_rule */ 8058 case 528: 8059 switch (ndx) { 8060 case 0: 8061 p = "userland const void *"; 8062 break; 8063 case 1: 8064 p = "size_t"; 8065 break; 8066 case 2: 8067 p = "userland void *"; 8068 break; 8069 case 3: 8070 p = "size_t"; 8071 break; 8072 default: 8073 break; 8074 }; 8075 break; 8076 /* rctl_remove_rule */ 8077 case 529: 8078 switch (ndx) { 8079 case 0: 8080 p = "userland const void *"; 8081 break; 8082 case 1: 8083 p = "size_t"; 8084 break; 8085 case 2: 8086 p = "userland void *"; 8087 break; 8088 case 3: 8089 p = "size_t"; 8090 break; 8091 default: 8092 break; 8093 }; 8094 break; 8095 /* freebsd32_posix_fallocate */ 8096 case 530: 8097 switch (ndx) { 8098 case 0: 8099 p = "int"; 8100 break; 8101 #ifdef PAD64_REQUIRED 8102 case 1: 8103 p = "int"; 8104 break; 8105 #define _P_ 0 8106 #else 8107 #define _P_ 1 8108 #endif 8109 case 2 - _P_: 8110 p = "uint32_t"; 8111 break; 8112 case 3 - _P_: 8113 p = "uint32_t"; 8114 break; 8115 case 4 - _P_: 8116 p = "uint32_t"; 8117 break; 8118 case 5 - _P_: 8119 p = "uint32_t"; 8120 break; 8121 default: 8122 break; 8123 }; 8124 #undef _P_ 8125 8126 break; 8127 /* freebsd32_posix_fadvise */ 8128 case 531: 8129 switch (ndx) { 8130 case 0: 8131 p = "int"; 8132 break; 8133 #ifdef PAD64_REQUIRED 8134 case 1: 8135 p = "int"; 8136 break; 8137 #define _P_ 0 8138 #else 8139 #define _P_ 1 8140 #endif 8141 case 2 - _P_: 8142 p = "uint32_t"; 8143 break; 8144 case 3 - _P_: 8145 p = "uint32_t"; 8146 break; 8147 case 4 - _P_: 8148 p = "uint32_t"; 8149 break; 8150 case 5 - _P_: 8151 p = "uint32_t"; 8152 break; 8153 case 6 - _P_: 8154 p = "int"; 8155 break; 8156 default: 8157 break; 8158 }; 8159 #undef _P_ 8160 8161 break; 8162 /* freebsd32_wait6 */ 8163 case 532: 8164 switch (ndx) { 8165 case 0: 8166 p = "idtype_t"; 8167 break; 8168 #ifdef PAD64_REQUIRED 8169 case 1: 8170 p = "int"; 8171 break; 8172 #define _P_ 0 8173 #else 8174 #define _P_ 1 8175 #endif 8176 case 2 - _P_: 8177 p = "uint32_t"; 8178 break; 8179 case 3 - _P_: 8180 p = "uint32_t"; 8181 break; 8182 case 4 - _P_: 8183 p = "userland int *"; 8184 break; 8185 case 5 - _P_: 8186 p = "int"; 8187 break; 8188 case 6 - _P_: 8189 p = "userland struct __wrusage32 *"; 8190 break; 8191 case 7 - _P_: 8192 p = "userland struct __siginfo32 *"; 8193 break; 8194 default: 8195 break; 8196 }; 8197 #undef _P_ 8198 8199 break; 8200 /* cap_rights_limit */ 8201 case 533: 8202 switch (ndx) { 8203 case 0: 8204 p = "int"; 8205 break; 8206 case 1: 8207 p = "userland cap_rights_t *"; 8208 break; 8209 default: 8210 break; 8211 }; 8212 break; 8213 /* freebsd32_cap_ioctls_limit */ 8214 case 534: 8215 switch (ndx) { 8216 case 0: 8217 p = "int"; 8218 break; 8219 case 1: 8220 p = "userland const uint32_t *"; 8221 break; 8222 case 2: 8223 p = "size_t"; 8224 break; 8225 default: 8226 break; 8227 }; 8228 break; 8229 /* freebsd32_cap_ioctls_get */ 8230 case 535: 8231 switch (ndx) { 8232 case 0: 8233 p = "int"; 8234 break; 8235 case 1: 8236 p = "userland uint32_t *"; 8237 break; 8238 case 2: 8239 p = "size_t"; 8240 break; 8241 default: 8242 break; 8243 }; 8244 break; 8245 /* cap_fcntls_limit */ 8246 case 536: 8247 switch (ndx) { 8248 case 0: 8249 p = "int"; 8250 break; 8251 case 1: 8252 p = "uint32_t"; 8253 break; 8254 default: 8255 break; 8256 }; 8257 break; 8258 /* cap_fcntls_get */ 8259 case 537: 8260 switch (ndx) { 8261 case 0: 8262 p = "int"; 8263 break; 8264 case 1: 8265 p = "userland uint32_t *"; 8266 break; 8267 default: 8268 break; 8269 }; 8270 break; 8271 /* bindat */ 8272 case 538: 8273 switch (ndx) { 8274 case 0: 8275 p = "int"; 8276 break; 8277 case 1: 8278 p = "int"; 8279 break; 8280 case 2: 8281 p = "userland const struct sockaddr *"; 8282 break; 8283 case 3: 8284 p = "__socklen_t"; 8285 break; 8286 default: 8287 break; 8288 }; 8289 break; 8290 /* connectat */ 8291 case 539: 8292 switch (ndx) { 8293 case 0: 8294 p = "int"; 8295 break; 8296 case 1: 8297 p = "int"; 8298 break; 8299 case 2: 8300 p = "userland const struct sockaddr *"; 8301 break; 8302 case 3: 8303 p = "__socklen_t"; 8304 break; 8305 default: 8306 break; 8307 }; 8308 break; 8309 /* chflagsat */ 8310 case 540: 8311 switch (ndx) { 8312 case 0: 8313 p = "int"; 8314 break; 8315 case 1: 8316 p = "userland const char *"; 8317 break; 8318 case 2: 8319 p = "u_long"; 8320 break; 8321 case 3: 8322 p = "int"; 8323 break; 8324 default: 8325 break; 8326 }; 8327 break; 8328 /* accept4 */ 8329 case 541: 8330 switch (ndx) { 8331 case 0: 8332 p = "int"; 8333 break; 8334 case 1: 8335 p = "userland struct sockaddr *"; 8336 break; 8337 case 2: 8338 p = "userland __socklen_t *"; 8339 break; 8340 case 3: 8341 p = "int"; 8342 break; 8343 default: 8344 break; 8345 }; 8346 break; 8347 /* pipe2 */ 8348 case 542: 8349 switch (ndx) { 8350 case 0: 8351 p = "userland int *"; 8352 break; 8353 case 1: 8354 p = "int"; 8355 break; 8356 default: 8357 break; 8358 }; 8359 break; 8360 /* freebsd32_aio_mlock */ 8361 case 543: 8362 switch (ndx) { 8363 case 0: 8364 p = "userland struct aiocb32 *"; 8365 break; 8366 default: 8367 break; 8368 }; 8369 break; 8370 /* freebsd32_procctl */ 8371 case 544: 8372 switch (ndx) { 8373 case 0: 8374 p = "idtype_t"; 8375 break; 8376 #ifdef PAD64_REQUIRED 8377 case 1: 8378 p = "int"; 8379 break; 8380 #define _P_ 0 8381 #else 8382 #define _P_ 1 8383 #endif 8384 case 2 - _P_: 8385 p = "uint32_t"; 8386 break; 8387 case 3 - _P_: 8388 p = "uint32_t"; 8389 break; 8390 case 4 - _P_: 8391 p = "int"; 8392 break; 8393 case 5 - _P_: 8394 p = "userland void *"; 8395 break; 8396 default: 8397 break; 8398 }; 8399 #undef _P_ 8400 8401 break; 8402 /* freebsd32_ppoll */ 8403 case 545: 8404 switch (ndx) { 8405 case 0: 8406 p = "userland struct pollfd *"; 8407 break; 8408 case 1: 8409 p = "u_int"; 8410 break; 8411 case 2: 8412 p = "userland const struct timespec32 *"; 8413 break; 8414 case 3: 8415 p = "userland const sigset_t *"; 8416 break; 8417 default: 8418 break; 8419 }; 8420 break; 8421 /* freebsd32_futimens */ 8422 case 546: 8423 switch (ndx) { 8424 case 0: 8425 p = "int"; 8426 break; 8427 case 1: 8428 p = "userland const struct timespec32 *"; 8429 break; 8430 default: 8431 break; 8432 }; 8433 break; 8434 /* freebsd32_utimensat */ 8435 case 547: 8436 switch (ndx) { 8437 case 0: 8438 p = "int"; 8439 break; 8440 case 1: 8441 p = "userland const char *"; 8442 break; 8443 case 2: 8444 p = "userland const struct timespec32 *"; 8445 break; 8446 case 3: 8447 p = "int"; 8448 break; 8449 default: 8450 break; 8451 }; 8452 break; 8453 /* fdatasync */ 8454 case 550: 8455 switch (ndx) { 8456 case 0: 8457 p = "int"; 8458 break; 8459 default: 8460 break; 8461 }; 8462 break; 8463 /* freebsd32_fstat */ 8464 case 551: 8465 switch (ndx) { 8466 case 0: 8467 p = "int"; 8468 break; 8469 case 1: 8470 p = "userland struct stat32 *"; 8471 break; 8472 default: 8473 break; 8474 }; 8475 break; 8476 /* freebsd32_fstatat */ 8477 case 552: 8478 switch (ndx) { 8479 case 0: 8480 p = "int"; 8481 break; 8482 case 1: 8483 p = "userland const char *"; 8484 break; 8485 case 2: 8486 p = "userland struct stat32 *"; 8487 break; 8488 case 3: 8489 p = "int"; 8490 break; 8491 default: 8492 break; 8493 }; 8494 break; 8495 /* freebsd32_fhstat */ 8496 case 553: 8497 switch (ndx) { 8498 case 0: 8499 p = "userland const struct fhandle *"; 8500 break; 8501 case 1: 8502 p = "userland struct stat32 *"; 8503 break; 8504 default: 8505 break; 8506 }; 8507 break; 8508 /* getdirentries */ 8509 case 554: 8510 switch (ndx) { 8511 case 0: 8512 p = "int"; 8513 break; 8514 case 1: 8515 p = "userland char *"; 8516 break; 8517 case 2: 8518 p = "size_t"; 8519 break; 8520 case 3: 8521 p = "userland off_t *"; 8522 break; 8523 default: 8524 break; 8525 }; 8526 break; 8527 /* statfs */ 8528 case 555: 8529 switch (ndx) { 8530 case 0: 8531 p = "userland const char *"; 8532 break; 8533 case 1: 8534 p = "userland struct statfs *"; 8535 break; 8536 default: 8537 break; 8538 }; 8539 break; 8540 /* fstatfs */ 8541 case 556: 8542 switch (ndx) { 8543 case 0: 8544 p = "int"; 8545 break; 8546 case 1: 8547 p = "userland struct statfs *"; 8548 break; 8549 default: 8550 break; 8551 }; 8552 break; 8553 /* freebsd32_getfsstat */ 8554 case 557: 8555 switch (ndx) { 8556 case 0: 8557 p = "userland struct statfs *"; 8558 break; 8559 case 1: 8560 p = "int32_t"; 8561 break; 8562 case 2: 8563 p = "int"; 8564 break; 8565 default: 8566 break; 8567 }; 8568 break; 8569 /* fhstatfs */ 8570 case 558: 8571 switch (ndx) { 8572 case 0: 8573 p = "userland const struct fhandle *"; 8574 break; 8575 case 1: 8576 p = "userland struct statfs *"; 8577 break; 8578 default: 8579 break; 8580 }; 8581 break; 8582 /* freebsd32_mknodat */ 8583 case 559: 8584 switch (ndx) { 8585 case 0: 8586 p = "int"; 8587 break; 8588 case 1: 8589 p = "userland const char *"; 8590 break; 8591 case 2: 8592 p = "mode_t"; 8593 break; 8594 #ifdef PAD64_REQUIRED 8595 case 3: 8596 p = "int"; 8597 break; 8598 #define _P_ 0 8599 #else 8600 #define _P_ 1 8601 #endif 8602 case 4 - _P_: 8603 p = "uint32_t"; 8604 break; 8605 case 5 - _P_: 8606 p = "uint32_t"; 8607 break; 8608 default: 8609 break; 8610 }; 8611 #undef _P_ 8612 8613 break; 8614 /* freebsd32_kevent */ 8615 case 560: 8616 switch (ndx) { 8617 case 0: 8618 p = "int"; 8619 break; 8620 case 1: 8621 p = "userland const struct kevent32 *"; 8622 break; 8623 case 2: 8624 p = "int"; 8625 break; 8626 case 3: 8627 p = "userland struct kevent32 *"; 8628 break; 8629 case 4: 8630 p = "int"; 8631 break; 8632 case 5: 8633 p = "userland const struct timespec32 *"; 8634 break; 8635 default: 8636 break; 8637 }; 8638 break; 8639 /* freebsd32_cpuset_getdomain */ 8640 case 561: 8641 switch (ndx) { 8642 case 0: 8643 p = "cpulevel_t"; 8644 break; 8645 case 1: 8646 p = "cpuwhich_t"; 8647 break; 8648 case 2: 8649 p = "uint32_t"; 8650 break; 8651 case 3: 8652 p = "uint32_t"; 8653 break; 8654 case 4: 8655 p = "size_t"; 8656 break; 8657 case 5: 8658 p = "userland domainset_t *"; 8659 break; 8660 case 6: 8661 p = "userland int *"; 8662 break; 8663 default: 8664 break; 8665 }; 8666 break; 8667 /* freebsd32_cpuset_setdomain */ 8668 case 562: 8669 switch (ndx) { 8670 case 0: 8671 p = "cpulevel_t"; 8672 break; 8673 case 1: 8674 p = "cpuwhich_t"; 8675 break; 8676 case 2: 8677 p = "uint32_t"; 8678 break; 8679 case 3: 8680 p = "uint32_t"; 8681 break; 8682 case 4: 8683 p = "size_t"; 8684 break; 8685 case 5: 8686 p = "userland domainset_t *"; 8687 break; 8688 case 6: 8689 p = "int"; 8690 break; 8691 default: 8692 break; 8693 }; 8694 break; 8695 /* getrandom */ 8696 case 563: 8697 switch (ndx) { 8698 case 0: 8699 p = "userland void *"; 8700 break; 8701 case 1: 8702 p = "size_t"; 8703 break; 8704 case 2: 8705 p = "unsigned int"; 8706 break; 8707 default: 8708 break; 8709 }; 8710 break; 8711 /* getfhat */ 8712 case 564: 8713 switch (ndx) { 8714 case 0: 8715 p = "int"; 8716 break; 8717 case 1: 8718 p = "userland char *"; 8719 break; 8720 case 2: 8721 p = "userland struct fhandle *"; 8722 break; 8723 case 3: 8724 p = "int"; 8725 break; 8726 default: 8727 break; 8728 }; 8729 break; 8730 /* fhlink */ 8731 case 565: 8732 switch (ndx) { 8733 case 0: 8734 p = "userland struct fhandle *"; 8735 break; 8736 case 1: 8737 p = "userland const char *"; 8738 break; 8739 default: 8740 break; 8741 }; 8742 break; 8743 /* fhlinkat */ 8744 case 566: 8745 switch (ndx) { 8746 case 0: 8747 p = "userland struct fhandle *"; 8748 break; 8749 case 1: 8750 p = "int"; 8751 break; 8752 case 2: 8753 p = "userland const char *"; 8754 break; 8755 default: 8756 break; 8757 }; 8758 break; 8759 /* fhreadlink */ 8760 case 567: 8761 switch (ndx) { 8762 case 0: 8763 p = "userland struct fhandle *"; 8764 break; 8765 case 1: 8766 p = "userland char *"; 8767 break; 8768 case 2: 8769 p = "size_t"; 8770 break; 8771 default: 8772 break; 8773 }; 8774 break; 8775 /* funlinkat */ 8776 case 568: 8777 switch (ndx) { 8778 case 0: 8779 p = "int"; 8780 break; 8781 case 1: 8782 p = "userland const char *"; 8783 break; 8784 case 2: 8785 p = "int"; 8786 break; 8787 case 3: 8788 p = "int"; 8789 break; 8790 default: 8791 break; 8792 }; 8793 break; 8794 /* copy_file_range */ 8795 case 569: 8796 switch (ndx) { 8797 case 0: 8798 p = "int"; 8799 break; 8800 case 1: 8801 p = "userland off_t *"; 8802 break; 8803 case 2: 8804 p = "int"; 8805 break; 8806 case 3: 8807 p = "userland off_t *"; 8808 break; 8809 case 4: 8810 p = "size_t"; 8811 break; 8812 case 5: 8813 p = "unsigned int"; 8814 break; 8815 default: 8816 break; 8817 }; 8818 break; 8819 /* freebsd32___sysctlbyname */ 8820 case 570: 8821 switch (ndx) { 8822 case 0: 8823 p = "userland const char *"; 8824 break; 8825 case 1: 8826 p = "size_t"; 8827 break; 8828 case 2: 8829 p = "userland void *"; 8830 break; 8831 case 3: 8832 p = "userland uint32_t *"; 8833 break; 8834 case 4: 8835 p = "userland void *"; 8836 break; 8837 case 5: 8838 p = "size_t"; 8839 break; 8840 default: 8841 break; 8842 }; 8843 break; 8844 /* shm_open2 */ 8845 case 571: 8846 switch (ndx) { 8847 case 0: 8848 p = "userland const char *"; 8849 break; 8850 case 1: 8851 p = "int"; 8852 break; 8853 case 2: 8854 p = "mode_t"; 8855 break; 8856 case 3: 8857 p = "int"; 8858 break; 8859 case 4: 8860 p = "userland const char *"; 8861 break; 8862 default: 8863 break; 8864 }; 8865 break; 8866 /* shm_rename */ 8867 case 572: 8868 switch (ndx) { 8869 case 0: 8870 p = "userland const char *"; 8871 break; 8872 case 1: 8873 p = "userland const char *"; 8874 break; 8875 case 2: 8876 p = "int"; 8877 break; 8878 default: 8879 break; 8880 }; 8881 break; 8882 /* sigfastblock */ 8883 case 573: 8884 switch (ndx) { 8885 case 0: 8886 p = "int"; 8887 break; 8888 case 1: 8889 p = "userland void *"; 8890 break; 8891 default: 8892 break; 8893 }; 8894 break; 8895 /* __realpathat */ 8896 case 574: 8897 switch (ndx) { 8898 case 0: 8899 p = "int"; 8900 break; 8901 case 1: 8902 p = "userland const char *"; 8903 break; 8904 case 2: 8905 p = "userland char *"; 8906 break; 8907 case 3: 8908 p = "size_t"; 8909 break; 8910 case 4: 8911 p = "int"; 8912 break; 8913 default: 8914 break; 8915 }; 8916 break; 8917 /* close_range */ 8918 case 575: 8919 switch (ndx) { 8920 case 0: 8921 p = "u_int"; 8922 break; 8923 case 1: 8924 p = "u_int"; 8925 break; 8926 case 2: 8927 p = "int"; 8928 break; 8929 default: 8930 break; 8931 }; 8932 break; 8933 /* rpctls_syscall */ 8934 case 576: 8935 switch (ndx) { 8936 case 0: 8937 p = "int"; 8938 break; 8939 case 1: 8940 p = "userland const char *"; 8941 break; 8942 default: 8943 break; 8944 }; 8945 break; 8946 /* __specialfd */ 8947 case 577: 8948 switch (ndx) { 8949 case 0: 8950 p = "int"; 8951 break; 8952 case 1: 8953 p = "userland const void *"; 8954 break; 8955 case 2: 8956 p = "size_t"; 8957 break; 8958 default: 8959 break; 8960 }; 8961 break; 8962 /* freebsd32_aio_writev */ 8963 case 578: 8964 switch (ndx) { 8965 case 0: 8966 p = "userland struct aiocb32 *"; 8967 break; 8968 default: 8969 break; 8970 }; 8971 break; 8972 /* freebsd32_aio_readv */ 8973 case 579: 8974 switch (ndx) { 8975 case 0: 8976 p = "userland struct aiocb32 *"; 8977 break; 8978 default: 8979 break; 8980 }; 8981 break; 8982 /* fspacectl */ 8983 case 580: 8984 switch (ndx) { 8985 case 0: 8986 p = "int"; 8987 break; 8988 case 1: 8989 p = "int"; 8990 break; 8991 case 2: 8992 p = "userland const struct spacectl_range *"; 8993 break; 8994 case 3: 8995 p = "int"; 8996 break; 8997 case 4: 8998 p = "userland struct spacectl_range *"; 8999 break; 9000 default: 9001 break; 9002 }; 9003 break; 9004 /* sched_getcpu */ 9005 case 581: 9006 break; 9007 /* swapoff */ 9008 case 582: 9009 switch (ndx) { 9010 case 0: 9011 p = "userland const char *"; 9012 break; 9013 case 1: 9014 p = "u_int"; 9015 break; 9016 default: 9017 break; 9018 }; 9019 break; 9020 /* kqueuex */ 9021 case 583: 9022 switch (ndx) { 9023 case 0: 9024 p = "u_int"; 9025 break; 9026 default: 9027 break; 9028 }; 9029 break; 9030 /* membarrier */ 9031 case 584: 9032 switch (ndx) { 9033 case 0: 9034 p = "int"; 9035 break; 9036 case 1: 9037 p = "unsigned"; 9038 break; 9039 case 2: 9040 p = "int"; 9041 break; 9042 default: 9043 break; 9044 }; 9045 break; 9046 /* timerfd_create */ 9047 case 585: 9048 switch (ndx) { 9049 case 0: 9050 p = "int"; 9051 break; 9052 case 1: 9053 p = "int"; 9054 break; 9055 default: 9056 break; 9057 }; 9058 break; 9059 /* freebsd32_timerfd_gettime */ 9060 case 586: 9061 switch (ndx) { 9062 case 0: 9063 p = "int"; 9064 break; 9065 case 1: 9066 p = "userland struct itimerspec32 *"; 9067 break; 9068 default: 9069 break; 9070 }; 9071 break; 9072 /* freebsd32_timerfd_settime */ 9073 case 587: 9074 switch (ndx) { 9075 case 0: 9076 p = "int"; 9077 break; 9078 case 1: 9079 p = "int"; 9080 break; 9081 case 2: 9082 p = "userland const struct itimerspec32 *"; 9083 break; 9084 case 3: 9085 p = "userland struct itimerspec32 *"; 9086 break; 9087 default: 9088 break; 9089 }; 9090 break; 9091 /* kcmp */ 9092 case 588: 9093 switch (ndx) { 9094 case 0: 9095 p = "pid_t"; 9096 break; 9097 case 1: 9098 p = "pid_t"; 9099 break; 9100 case 2: 9101 p = "int"; 9102 break; 9103 case 3: 9104 p = "uintptr_t"; 9105 break; 9106 case 4: 9107 p = "uintptr_t"; 9108 break; 9109 default: 9110 break; 9111 }; 9112 break; 9113 /* getrlimitusage */ 9114 case 589: 9115 switch (ndx) { 9116 case 0: 9117 p = "u_int"; 9118 break; 9119 case 1: 9120 p = "int"; 9121 break; 9122 case 2: 9123 p = "userland rlim_t *"; 9124 break; 9125 default: 9126 break; 9127 }; 9128 break; 9129 default: 9130 break; 9131 }; 9132 if (p != NULL) 9133 strlcpy(desc, p, descsz); 9134 } 9135 static void 9136 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 9137 { 9138 const char *p = NULL; 9139 switch (sysnum) { 9140 /* syscall */ 9141 case 0: 9142 /* exit */ 9143 case 1: 9144 if (ndx == 0 || ndx == 1) 9145 p = "void"; 9146 break; 9147 /* fork */ 9148 case 2: 9149 /* read */ 9150 case 3: 9151 if (ndx == 0 || ndx == 1) 9152 p = "ssize_t"; 9153 break; 9154 /* write */ 9155 case 4: 9156 if (ndx == 0 || ndx == 1) 9157 p = "ssize_t"; 9158 break; 9159 /* open */ 9160 case 5: 9161 if (ndx == 0 || ndx == 1) 9162 p = "int"; 9163 break; 9164 /* close */ 9165 case 6: 9166 if (ndx == 0 || ndx == 1) 9167 p = "int"; 9168 break; 9169 /* freebsd32_wait4 */ 9170 case 7: 9171 if (ndx == 0 || ndx == 1) 9172 p = "int"; 9173 break; 9174 /* link */ 9175 case 9: 9176 if (ndx == 0 || ndx == 1) 9177 p = "int"; 9178 break; 9179 /* unlink */ 9180 case 10: 9181 if (ndx == 0 || ndx == 1) 9182 p = "int"; 9183 break; 9184 /* chdir */ 9185 case 12: 9186 if (ndx == 0 || ndx == 1) 9187 p = "int"; 9188 break; 9189 /* fchdir */ 9190 case 13: 9191 if (ndx == 0 || ndx == 1) 9192 p = "int"; 9193 break; 9194 /* chmod */ 9195 case 15: 9196 if (ndx == 0 || ndx == 1) 9197 p = "int"; 9198 break; 9199 /* chown */ 9200 case 16: 9201 if (ndx == 0 || ndx == 1) 9202 p = "int"; 9203 break; 9204 /* break */ 9205 case 17: 9206 if (ndx == 0 || ndx == 1) 9207 p = "void *"; 9208 break; 9209 /* getpid */ 9210 case 20: 9211 /* mount */ 9212 case 21: 9213 if (ndx == 0 || ndx == 1) 9214 p = "int"; 9215 break; 9216 /* unmount */ 9217 case 22: 9218 if (ndx == 0 || ndx == 1) 9219 p = "int"; 9220 break; 9221 /* setuid */ 9222 case 23: 9223 if (ndx == 0 || ndx == 1) 9224 p = "int"; 9225 break; 9226 /* getuid */ 9227 case 24: 9228 /* geteuid */ 9229 case 25: 9230 /* freebsd32_ptrace */ 9231 case 26: 9232 if (ndx == 0 || ndx == 1) 9233 p = "int"; 9234 break; 9235 /* freebsd32_recvmsg */ 9236 case 27: 9237 if (ndx == 0 || ndx == 1) 9238 p = "ssize_t"; 9239 break; 9240 /* freebsd32_sendmsg */ 9241 case 28: 9242 if (ndx == 0 || ndx == 1) 9243 p = "ssize_t"; 9244 break; 9245 /* recvfrom */ 9246 case 29: 9247 if (ndx == 0 || ndx == 1) 9248 p = "ssize_t"; 9249 break; 9250 /* accept */ 9251 case 30: 9252 if (ndx == 0 || ndx == 1) 9253 p = "int"; 9254 break; 9255 /* getpeername */ 9256 case 31: 9257 if (ndx == 0 || ndx == 1) 9258 p = "int"; 9259 break; 9260 /* getsockname */ 9261 case 32: 9262 if (ndx == 0 || ndx == 1) 9263 p = "int"; 9264 break; 9265 /* access */ 9266 case 33: 9267 if (ndx == 0 || ndx == 1) 9268 p = "int"; 9269 break; 9270 /* chflags */ 9271 case 34: 9272 if (ndx == 0 || ndx == 1) 9273 p = "int"; 9274 break; 9275 /* fchflags */ 9276 case 35: 9277 if (ndx == 0 || ndx == 1) 9278 p = "int"; 9279 break; 9280 /* sync */ 9281 case 36: 9282 /* kill */ 9283 case 37: 9284 if (ndx == 0 || ndx == 1) 9285 p = "int"; 9286 break; 9287 /* getppid */ 9288 case 39: 9289 /* dup */ 9290 case 41: 9291 if (ndx == 0 || ndx == 1) 9292 p = "int"; 9293 break; 9294 /* getegid */ 9295 case 43: 9296 /* profil */ 9297 case 44: 9298 if (ndx == 0 || ndx == 1) 9299 p = "int"; 9300 break; 9301 /* ktrace */ 9302 case 45: 9303 if (ndx == 0 || ndx == 1) 9304 p = "int"; 9305 break; 9306 /* getgid */ 9307 case 47: 9308 /* getlogin */ 9309 case 49: 9310 if (ndx == 0 || ndx == 1) 9311 p = "int"; 9312 break; 9313 /* setlogin */ 9314 case 50: 9315 if (ndx == 0 || ndx == 1) 9316 p = "int"; 9317 break; 9318 /* acct */ 9319 case 51: 9320 if (ndx == 0 || ndx == 1) 9321 p = "int"; 9322 break; 9323 /* freebsd32_sigaltstack */ 9324 case 53: 9325 if (ndx == 0 || ndx == 1) 9326 p = "int"; 9327 break; 9328 /* freebsd32_ioctl */ 9329 case 54: 9330 if (ndx == 0 || ndx == 1) 9331 p = "int"; 9332 break; 9333 /* reboot */ 9334 case 55: 9335 if (ndx == 0 || ndx == 1) 9336 p = "int"; 9337 break; 9338 /* revoke */ 9339 case 56: 9340 if (ndx == 0 || ndx == 1) 9341 p = "int"; 9342 break; 9343 /* symlink */ 9344 case 57: 9345 if (ndx == 0 || ndx == 1) 9346 p = "int"; 9347 break; 9348 /* readlink */ 9349 case 58: 9350 if (ndx == 0 || ndx == 1) 9351 p = "ssize_t"; 9352 break; 9353 /* freebsd32_execve */ 9354 case 59: 9355 if (ndx == 0 || ndx == 1) 9356 p = "int"; 9357 break; 9358 /* umask */ 9359 case 60: 9360 if (ndx == 0 || ndx == 1) 9361 p = "mode_t"; 9362 break; 9363 /* chroot */ 9364 case 61: 9365 if (ndx == 0 || ndx == 1) 9366 p = "int"; 9367 break; 9368 /* msync */ 9369 case 65: 9370 if (ndx == 0 || ndx == 1) 9371 p = "int"; 9372 break; 9373 /* vfork */ 9374 case 66: 9375 /* munmap */ 9376 case 73: 9377 if (ndx == 0 || ndx == 1) 9378 p = "int"; 9379 break; 9380 /* freebsd32_mprotect */ 9381 case 74: 9382 if (ndx == 0 || ndx == 1) 9383 p = "int"; 9384 break; 9385 /* madvise */ 9386 case 75: 9387 if (ndx == 0 || ndx == 1) 9388 p = "int"; 9389 break; 9390 /* mincore */ 9391 case 78: 9392 if (ndx == 0 || ndx == 1) 9393 p = "int"; 9394 break; 9395 /* getgroups */ 9396 case 79: 9397 if (ndx == 0 || ndx == 1) 9398 p = "int"; 9399 break; 9400 /* setgroups */ 9401 case 80: 9402 if (ndx == 0 || ndx == 1) 9403 p = "int"; 9404 break; 9405 /* getpgrp */ 9406 case 81: 9407 /* setpgid */ 9408 case 82: 9409 if (ndx == 0 || ndx == 1) 9410 p = "int"; 9411 break; 9412 /* freebsd32_setitimer */ 9413 case 83: 9414 if (ndx == 0 || ndx == 1) 9415 p = "int"; 9416 break; 9417 /* swapon */ 9418 case 85: 9419 if (ndx == 0 || ndx == 1) 9420 p = "int"; 9421 break; 9422 /* freebsd32_getitimer */ 9423 case 86: 9424 if (ndx == 0 || ndx == 1) 9425 p = "int"; 9426 break; 9427 /* getdtablesize */ 9428 case 89: 9429 /* dup2 */ 9430 case 90: 9431 if (ndx == 0 || ndx == 1) 9432 p = "int"; 9433 break; 9434 /* freebsd32_fcntl */ 9435 case 92: 9436 if (ndx == 0 || ndx == 1) 9437 p = "int"; 9438 break; 9439 /* freebsd32_select */ 9440 case 93: 9441 if (ndx == 0 || ndx == 1) 9442 p = "int"; 9443 break; 9444 /* fsync */ 9445 case 95: 9446 if (ndx == 0 || ndx == 1) 9447 p = "int"; 9448 break; 9449 /* setpriority */ 9450 case 96: 9451 if (ndx == 0 || ndx == 1) 9452 p = "int"; 9453 break; 9454 /* socket */ 9455 case 97: 9456 if (ndx == 0 || ndx == 1) 9457 p = "int"; 9458 break; 9459 /* connect */ 9460 case 98: 9461 if (ndx == 0 || ndx == 1) 9462 p = "int"; 9463 break; 9464 /* getpriority */ 9465 case 100: 9466 if (ndx == 0 || ndx == 1) 9467 p = "int"; 9468 break; 9469 /* bind */ 9470 case 104: 9471 if (ndx == 0 || ndx == 1) 9472 p = "int"; 9473 break; 9474 /* setsockopt */ 9475 case 105: 9476 if (ndx == 0 || ndx == 1) 9477 p = "int"; 9478 break; 9479 /* listen */ 9480 case 106: 9481 if (ndx == 0 || ndx == 1) 9482 p = "int"; 9483 break; 9484 /* freebsd32_gettimeofday */ 9485 case 116: 9486 if (ndx == 0 || ndx == 1) 9487 p = "int"; 9488 break; 9489 /* freebsd32_getrusage */ 9490 case 117: 9491 if (ndx == 0 || ndx == 1) 9492 p = "int"; 9493 break; 9494 /* getsockopt */ 9495 case 118: 9496 if (ndx == 0 || ndx == 1) 9497 p = "int"; 9498 break; 9499 /* freebsd32_readv */ 9500 case 120: 9501 if (ndx == 0 || ndx == 1) 9502 p = "ssize_t"; 9503 break; 9504 /* freebsd32_writev */ 9505 case 121: 9506 if (ndx == 0 || ndx == 1) 9507 p = "ssize_t"; 9508 break; 9509 /* freebsd32_settimeofday */ 9510 case 122: 9511 if (ndx == 0 || ndx == 1) 9512 p = "int"; 9513 break; 9514 /* fchown */ 9515 case 123: 9516 if (ndx == 0 || ndx == 1) 9517 p = "int"; 9518 break; 9519 /* fchmod */ 9520 case 124: 9521 if (ndx == 0 || ndx == 1) 9522 p = "int"; 9523 break; 9524 /* setreuid */ 9525 case 126: 9526 if (ndx == 0 || ndx == 1) 9527 p = "int"; 9528 break; 9529 /* setregid */ 9530 case 127: 9531 if (ndx == 0 || ndx == 1) 9532 p = "int"; 9533 break; 9534 /* rename */ 9535 case 128: 9536 if (ndx == 0 || ndx == 1) 9537 p = "int"; 9538 break; 9539 /* flock */ 9540 case 131: 9541 if (ndx == 0 || ndx == 1) 9542 p = "int"; 9543 break; 9544 /* mkfifo */ 9545 case 132: 9546 if (ndx == 0 || ndx == 1) 9547 p = "int"; 9548 break; 9549 /* sendto */ 9550 case 133: 9551 if (ndx == 0 || ndx == 1) 9552 p = "ssize_t"; 9553 break; 9554 /* shutdown */ 9555 case 134: 9556 if (ndx == 0 || ndx == 1) 9557 p = "int"; 9558 break; 9559 /* socketpair */ 9560 case 135: 9561 if (ndx == 0 || ndx == 1) 9562 p = "int"; 9563 break; 9564 /* mkdir */ 9565 case 136: 9566 if (ndx == 0 || ndx == 1) 9567 p = "int"; 9568 break; 9569 /* rmdir */ 9570 case 137: 9571 if (ndx == 0 || ndx == 1) 9572 p = "int"; 9573 break; 9574 /* freebsd32_utimes */ 9575 case 138: 9576 if (ndx == 0 || ndx == 1) 9577 p = "int"; 9578 break; 9579 /* freebsd32_adjtime */ 9580 case 140: 9581 if (ndx == 0 || ndx == 1) 9582 p = "int"; 9583 break; 9584 /* setsid */ 9585 case 147: 9586 /* quotactl */ 9587 case 148: 9588 if (ndx == 0 || ndx == 1) 9589 p = "int"; 9590 break; 9591 /* getfh */ 9592 case 161: 9593 if (ndx == 0 || ndx == 1) 9594 p = "int"; 9595 break; 9596 /* freebsd32_sysarch */ 9597 case 165: 9598 if (ndx == 0 || ndx == 1) 9599 p = "int"; 9600 break; 9601 /* rtprio */ 9602 case 166: 9603 if (ndx == 0 || ndx == 1) 9604 p = "int"; 9605 break; 9606 /* freebsd32_semsys */ 9607 case 169: 9608 if (ndx == 0 || ndx == 1) 9609 p = "int"; 9610 break; 9611 /* freebsd32_msgsys */ 9612 case 170: 9613 if (ndx == 0 || ndx == 1) 9614 p = "int"; 9615 break; 9616 /* freebsd32_shmsys */ 9617 case 171: 9618 if (ndx == 0 || ndx == 1) 9619 p = "int"; 9620 break; 9621 /* setfib */ 9622 case 175: 9623 if (ndx == 0 || ndx == 1) 9624 p = "int"; 9625 break; 9626 /* freebsd32_ntp_adjtime */ 9627 case 176: 9628 if (ndx == 0 || ndx == 1) 9629 p = "int"; 9630 break; 9631 /* setgid */ 9632 case 181: 9633 if (ndx == 0 || ndx == 1) 9634 p = "int"; 9635 break; 9636 /* setegid */ 9637 case 182: 9638 if (ndx == 0 || ndx == 1) 9639 p = "int"; 9640 break; 9641 /* seteuid */ 9642 case 183: 9643 if (ndx == 0 || ndx == 1) 9644 p = "int"; 9645 break; 9646 /* pathconf */ 9647 case 191: 9648 if (ndx == 0 || ndx == 1) 9649 p = "int"; 9650 break; 9651 /* fpathconf */ 9652 case 192: 9653 if (ndx == 0 || ndx == 1) 9654 p = "int"; 9655 break; 9656 /* getrlimit */ 9657 case 194: 9658 if (ndx == 0 || ndx == 1) 9659 p = "int"; 9660 break; 9661 /* setrlimit */ 9662 case 195: 9663 if (ndx == 0 || ndx == 1) 9664 p = "int"; 9665 break; 9666 /* __syscall */ 9667 case 198: 9668 /* freebsd32___sysctl */ 9669 case 202: 9670 if (ndx == 0 || ndx == 1) 9671 p = "int"; 9672 break; 9673 /* mlock */ 9674 case 203: 9675 if (ndx == 0 || ndx == 1) 9676 p = "int"; 9677 break; 9678 /* munlock */ 9679 case 204: 9680 if (ndx == 0 || ndx == 1) 9681 p = "int"; 9682 break; 9683 /* undelete */ 9684 case 205: 9685 if (ndx == 0 || ndx == 1) 9686 p = "int"; 9687 break; 9688 /* freebsd32_futimes */ 9689 case 206: 9690 if (ndx == 0 || ndx == 1) 9691 p = "int"; 9692 break; 9693 /* getpgid */ 9694 case 207: 9695 if (ndx == 0 || ndx == 1) 9696 p = "int"; 9697 break; 9698 /* poll */ 9699 case 209: 9700 if (ndx == 0 || ndx == 1) 9701 p = "int"; 9702 break; 9703 /* lkmnosys */ 9704 case 210: 9705 /* lkmnosys */ 9706 case 211: 9707 /* lkmnosys */ 9708 case 212: 9709 /* lkmnosys */ 9710 case 213: 9711 /* lkmnosys */ 9712 case 214: 9713 /* lkmnosys */ 9714 case 215: 9715 /* lkmnosys */ 9716 case 216: 9717 /* lkmnosys */ 9718 case 217: 9719 /* lkmnosys */ 9720 case 218: 9721 /* lkmnosys */ 9722 case 219: 9723 /* semget */ 9724 case 221: 9725 if (ndx == 0 || ndx == 1) 9726 p = "int"; 9727 break; 9728 /* semop */ 9729 case 222: 9730 if (ndx == 0 || ndx == 1) 9731 p = "int"; 9732 break; 9733 /* msgget */ 9734 case 225: 9735 if (ndx == 0 || ndx == 1) 9736 p = "int"; 9737 break; 9738 /* freebsd32_msgsnd */ 9739 case 226: 9740 if (ndx == 0 || ndx == 1) 9741 p = "int"; 9742 break; 9743 /* freebsd32_msgrcv */ 9744 case 227: 9745 if (ndx == 0 || ndx == 1) 9746 p = "ssize_t"; 9747 break; 9748 /* shmat */ 9749 case 228: 9750 if (ndx == 0 || ndx == 1) 9751 p = "void *"; 9752 break; 9753 /* shmdt */ 9754 case 230: 9755 if (ndx == 0 || ndx == 1) 9756 p = "int"; 9757 break; 9758 /* shmget */ 9759 case 231: 9760 if (ndx == 0 || ndx == 1) 9761 p = "int"; 9762 break; 9763 /* freebsd32_clock_gettime */ 9764 case 232: 9765 if (ndx == 0 || ndx == 1) 9766 p = "int"; 9767 break; 9768 /* freebsd32_clock_settime */ 9769 case 233: 9770 if (ndx == 0 || ndx == 1) 9771 p = "int"; 9772 break; 9773 /* freebsd32_clock_getres */ 9774 case 234: 9775 if (ndx == 0 || ndx == 1) 9776 p = "int"; 9777 break; 9778 /* freebsd32_ktimer_create */ 9779 case 235: 9780 if (ndx == 0 || ndx == 1) 9781 p = "int"; 9782 break; 9783 /* ktimer_delete */ 9784 case 236: 9785 if (ndx == 0 || ndx == 1) 9786 p = "int"; 9787 break; 9788 /* freebsd32_ktimer_settime */ 9789 case 237: 9790 if (ndx == 0 || ndx == 1) 9791 p = "int"; 9792 break; 9793 /* freebsd32_ktimer_gettime */ 9794 case 238: 9795 if (ndx == 0 || ndx == 1) 9796 p = "int"; 9797 break; 9798 /* ktimer_getoverrun */ 9799 case 239: 9800 if (ndx == 0 || ndx == 1) 9801 p = "int"; 9802 break; 9803 /* freebsd32_nanosleep */ 9804 case 240: 9805 if (ndx == 0 || ndx == 1) 9806 p = "int"; 9807 break; 9808 /* ffclock_getcounter */ 9809 case 241: 9810 if (ndx == 0 || ndx == 1) 9811 p = "int"; 9812 break; 9813 /* freebsd32_ffclock_setestimate */ 9814 case 242: 9815 if (ndx == 0 || ndx == 1) 9816 p = "int"; 9817 break; 9818 /* freebsd32_ffclock_getestimate */ 9819 case 243: 9820 if (ndx == 0 || ndx == 1) 9821 p = "int"; 9822 break; 9823 /* freebsd32_clock_nanosleep */ 9824 case 244: 9825 if (ndx == 0 || ndx == 1) 9826 p = "int"; 9827 break; 9828 /* freebsd32_clock_getcpuclockid2 */ 9829 case 247: 9830 if (ndx == 0 || ndx == 1) 9831 p = "int"; 9832 break; 9833 /* minherit */ 9834 case 250: 9835 if (ndx == 0 || ndx == 1) 9836 p = "int"; 9837 break; 9838 /* rfork */ 9839 case 251: 9840 if (ndx == 0 || ndx == 1) 9841 p = "int"; 9842 break; 9843 /* issetugid */ 9844 case 253: 9845 /* lchown */ 9846 case 254: 9847 if (ndx == 0 || ndx == 1) 9848 p = "int"; 9849 break; 9850 /* freebsd32_aio_read */ 9851 case 255: 9852 if (ndx == 0 || ndx == 1) 9853 p = "int"; 9854 break; 9855 /* freebsd32_aio_write */ 9856 case 256: 9857 if (ndx == 0 || ndx == 1) 9858 p = "int"; 9859 break; 9860 /* freebsd32_lio_listio */ 9861 case 257: 9862 if (ndx == 0 || ndx == 1) 9863 p = "int"; 9864 break; 9865 /* lchmod */ 9866 case 274: 9867 if (ndx == 0 || ndx == 1) 9868 p = "int"; 9869 break; 9870 /* freebsd32_lutimes */ 9871 case 276: 9872 if (ndx == 0 || ndx == 1) 9873 p = "int"; 9874 break; 9875 /* freebsd32_preadv */ 9876 case 289: 9877 if (ndx == 0 || ndx == 1) 9878 p = "ssize_t"; 9879 break; 9880 /* freebsd32_pwritev */ 9881 case 290: 9882 if (ndx == 0 || ndx == 1) 9883 p = "ssize_t"; 9884 break; 9885 /* fhopen */ 9886 case 298: 9887 if (ndx == 0 || ndx == 1) 9888 p = "int"; 9889 break; 9890 /* modnext */ 9891 case 300: 9892 if (ndx == 0 || ndx == 1) 9893 p = "int"; 9894 break; 9895 /* freebsd32_modstat */ 9896 case 301: 9897 if (ndx == 0 || ndx == 1) 9898 p = "int"; 9899 break; 9900 /* modfnext */ 9901 case 302: 9902 if (ndx == 0 || ndx == 1) 9903 p = "int"; 9904 break; 9905 /* modfind */ 9906 case 303: 9907 if (ndx == 0 || ndx == 1) 9908 p = "int"; 9909 break; 9910 /* kldload */ 9911 case 304: 9912 if (ndx == 0 || ndx == 1) 9913 p = "int"; 9914 break; 9915 /* kldunload */ 9916 case 305: 9917 if (ndx == 0 || ndx == 1) 9918 p = "int"; 9919 break; 9920 /* kldfind */ 9921 case 306: 9922 if (ndx == 0 || ndx == 1) 9923 p = "int"; 9924 break; 9925 /* kldnext */ 9926 case 307: 9927 if (ndx == 0 || ndx == 1) 9928 p = "int"; 9929 break; 9930 /* freebsd32_kldstat */ 9931 case 308: 9932 if (ndx == 0 || ndx == 1) 9933 p = "int"; 9934 break; 9935 /* kldfirstmod */ 9936 case 309: 9937 if (ndx == 0 || ndx == 1) 9938 p = "int"; 9939 break; 9940 /* getsid */ 9941 case 310: 9942 if (ndx == 0 || ndx == 1) 9943 p = "int"; 9944 break; 9945 /* setresuid */ 9946 case 311: 9947 if (ndx == 0 || ndx == 1) 9948 p = "int"; 9949 break; 9950 /* setresgid */ 9951 case 312: 9952 if (ndx == 0 || ndx == 1) 9953 p = "int"; 9954 break; 9955 /* freebsd32_aio_return */ 9956 case 314: 9957 if (ndx == 0 || ndx == 1) 9958 p = "ssize_t"; 9959 break; 9960 /* freebsd32_aio_suspend */ 9961 case 315: 9962 if (ndx == 0 || ndx == 1) 9963 p = "int"; 9964 break; 9965 /* aio_cancel */ 9966 case 316: 9967 if (ndx == 0 || ndx == 1) 9968 p = "int"; 9969 break; 9970 /* freebsd32_aio_error */ 9971 case 317: 9972 if (ndx == 0 || ndx == 1) 9973 p = "int"; 9974 break; 9975 /* yield */ 9976 case 321: 9977 /* mlockall */ 9978 case 324: 9979 if (ndx == 0 || ndx == 1) 9980 p = "int"; 9981 break; 9982 /* munlockall */ 9983 case 325: 9984 /* __getcwd */ 9985 case 326: 9986 if (ndx == 0 || ndx == 1) 9987 p = "int"; 9988 break; 9989 /* sched_setparam */ 9990 case 327: 9991 if (ndx == 0 || ndx == 1) 9992 p = "int"; 9993 break; 9994 /* sched_getparam */ 9995 case 328: 9996 if (ndx == 0 || ndx == 1) 9997 p = "int"; 9998 break; 9999 /* sched_setscheduler */ 10000 case 329: 10001 if (ndx == 0 || ndx == 1) 10002 p = "int"; 10003 break; 10004 /* sched_getscheduler */ 10005 case 330: 10006 if (ndx == 0 || ndx == 1) 10007 p = "int"; 10008 break; 10009 /* sched_yield */ 10010 case 331: 10011 /* sched_get_priority_max */ 10012 case 332: 10013 if (ndx == 0 || ndx == 1) 10014 p = "int"; 10015 break; 10016 /* sched_get_priority_min */ 10017 case 333: 10018 if (ndx == 0 || ndx == 1) 10019 p = "int"; 10020 break; 10021 /* freebsd32_sched_rr_get_interval */ 10022 case 334: 10023 if (ndx == 0 || ndx == 1) 10024 p = "int"; 10025 break; 10026 /* utrace */ 10027 case 335: 10028 if (ndx == 0 || ndx == 1) 10029 p = "int"; 10030 break; 10031 /* freebsd32_jail */ 10032 case 338: 10033 if (ndx == 0 || ndx == 1) 10034 p = "int"; 10035 break; 10036 /* sigprocmask */ 10037 case 340: 10038 if (ndx == 0 || ndx == 1) 10039 p = "int"; 10040 break; 10041 /* sigsuspend */ 10042 case 341: 10043 if (ndx == 0 || ndx == 1) 10044 p = "int"; 10045 break; 10046 /* sigpending */ 10047 case 343: 10048 if (ndx == 0 || ndx == 1) 10049 p = "int"; 10050 break; 10051 /* freebsd32_sigtimedwait */ 10052 case 345: 10053 if (ndx == 0 || ndx == 1) 10054 p = "int"; 10055 break; 10056 /* freebsd32_sigwaitinfo */ 10057 case 346: 10058 if (ndx == 0 || ndx == 1) 10059 p = "int"; 10060 break; 10061 /* __acl_get_file */ 10062 case 347: 10063 if (ndx == 0 || ndx == 1) 10064 p = "int"; 10065 break; 10066 /* __acl_set_file */ 10067 case 348: 10068 if (ndx == 0 || ndx == 1) 10069 p = "int"; 10070 break; 10071 /* __acl_get_fd */ 10072 case 349: 10073 if (ndx == 0 || ndx == 1) 10074 p = "int"; 10075 break; 10076 /* __acl_set_fd */ 10077 case 350: 10078 if (ndx == 0 || ndx == 1) 10079 p = "int"; 10080 break; 10081 /* __acl_delete_file */ 10082 case 351: 10083 if (ndx == 0 || ndx == 1) 10084 p = "int"; 10085 break; 10086 /* __acl_delete_fd */ 10087 case 352: 10088 if (ndx == 0 || ndx == 1) 10089 p = "int"; 10090 break; 10091 /* __acl_aclcheck_file */ 10092 case 353: 10093 if (ndx == 0 || ndx == 1) 10094 p = "int"; 10095 break; 10096 /* __acl_aclcheck_fd */ 10097 case 354: 10098 if (ndx == 0 || ndx == 1) 10099 p = "int"; 10100 break; 10101 /* extattrctl */ 10102 case 355: 10103 if (ndx == 0 || ndx == 1) 10104 p = "int"; 10105 break; 10106 /* extattr_set_file */ 10107 case 356: 10108 if (ndx == 0 || ndx == 1) 10109 p = "ssize_t"; 10110 break; 10111 /* extattr_get_file */ 10112 case 357: 10113 if (ndx == 0 || ndx == 1) 10114 p = "ssize_t"; 10115 break; 10116 /* extattr_delete_file */ 10117 case 358: 10118 if (ndx == 0 || ndx == 1) 10119 p = "int"; 10120 break; 10121 /* freebsd32_aio_waitcomplete */ 10122 case 359: 10123 if (ndx == 0 || ndx == 1) 10124 p = "ssize_t"; 10125 break; 10126 /* getresuid */ 10127 case 360: 10128 if (ndx == 0 || ndx == 1) 10129 p = "int"; 10130 break; 10131 /* getresgid */ 10132 case 361: 10133 if (ndx == 0 || ndx == 1) 10134 p = "int"; 10135 break; 10136 /* kqueue */ 10137 case 362: 10138 /* extattr_set_fd */ 10139 case 371: 10140 if (ndx == 0 || ndx == 1) 10141 p = "ssize_t"; 10142 break; 10143 /* extattr_get_fd */ 10144 case 372: 10145 if (ndx == 0 || ndx == 1) 10146 p = "ssize_t"; 10147 break; 10148 /* extattr_delete_fd */ 10149 case 373: 10150 if (ndx == 0 || ndx == 1) 10151 p = "int"; 10152 break; 10153 /* __setugid */ 10154 case 374: 10155 if (ndx == 0 || ndx == 1) 10156 p = "int"; 10157 break; 10158 /* eaccess */ 10159 case 376: 10160 if (ndx == 0 || ndx == 1) 10161 p = "int"; 10162 break; 10163 /* freebsd32_nmount */ 10164 case 378: 10165 if (ndx == 0 || ndx == 1) 10166 p = "int"; 10167 break; 10168 /* kenv */ 10169 case 390: 10170 if (ndx == 0 || ndx == 1) 10171 p = "int"; 10172 break; 10173 /* lchflags */ 10174 case 391: 10175 if (ndx == 0 || ndx == 1) 10176 p = "int"; 10177 break; 10178 /* uuidgen */ 10179 case 392: 10180 if (ndx == 0 || ndx == 1) 10181 p = "int"; 10182 break; 10183 /* freebsd32_sendfile */ 10184 case 393: 10185 if (ndx == 0 || ndx == 1) 10186 p = "int"; 10187 break; 10188 /* mac_syscall */ 10189 case 394: 10190 if (ndx == 0 || ndx == 1) 10191 p = "int"; 10192 break; 10193 /* ksem_close */ 10194 case 400: 10195 if (ndx == 0 || ndx == 1) 10196 p = "int"; 10197 break; 10198 /* ksem_post */ 10199 case 401: 10200 if (ndx == 0 || ndx == 1) 10201 p = "int"; 10202 break; 10203 /* ksem_wait */ 10204 case 402: 10205 if (ndx == 0 || ndx == 1) 10206 p = "int"; 10207 break; 10208 /* ksem_trywait */ 10209 case 403: 10210 if (ndx == 0 || ndx == 1) 10211 p = "int"; 10212 break; 10213 /* freebsd32_ksem_init */ 10214 case 404: 10215 if (ndx == 0 || ndx == 1) 10216 p = "int"; 10217 break; 10218 /* freebsd32_ksem_open */ 10219 case 405: 10220 if (ndx == 0 || ndx == 1) 10221 p = "int"; 10222 break; 10223 /* ksem_unlink */ 10224 case 406: 10225 if (ndx == 0 || ndx == 1) 10226 p = "int"; 10227 break; 10228 /* ksem_getvalue */ 10229 case 407: 10230 if (ndx == 0 || ndx == 1) 10231 p = "int"; 10232 break; 10233 /* ksem_destroy */ 10234 case 408: 10235 if (ndx == 0 || ndx == 1) 10236 p = "int"; 10237 break; 10238 /* extattr_set_link */ 10239 case 412: 10240 if (ndx == 0 || ndx == 1) 10241 p = "ssize_t"; 10242 break; 10243 /* extattr_get_link */ 10244 case 413: 10245 if (ndx == 0 || ndx == 1) 10246 p = "ssize_t"; 10247 break; 10248 /* extattr_delete_link */ 10249 case 414: 10250 if (ndx == 0 || ndx == 1) 10251 p = "int"; 10252 break; 10253 /* freebsd32_sigaction */ 10254 case 416: 10255 if (ndx == 0 || ndx == 1) 10256 p = "int"; 10257 break; 10258 /* freebsd32_sigreturn */ 10259 case 417: 10260 if (ndx == 0 || ndx == 1) 10261 p = "int"; 10262 break; 10263 /* freebsd32_getcontext */ 10264 case 421: 10265 if (ndx == 0 || ndx == 1) 10266 p = "int"; 10267 break; 10268 /* freebsd32_setcontext */ 10269 case 422: 10270 if (ndx == 0 || ndx == 1) 10271 p = "int"; 10272 break; 10273 /* freebsd32_swapcontext */ 10274 case 423: 10275 if (ndx == 0 || ndx == 1) 10276 p = "int"; 10277 break; 10278 /* __acl_get_link */ 10279 case 425: 10280 if (ndx == 0 || ndx == 1) 10281 p = "int"; 10282 break; 10283 /* __acl_set_link */ 10284 case 426: 10285 if (ndx == 0 || ndx == 1) 10286 p = "int"; 10287 break; 10288 /* __acl_delete_link */ 10289 case 427: 10290 if (ndx == 0 || ndx == 1) 10291 p = "int"; 10292 break; 10293 /* __acl_aclcheck_link */ 10294 case 428: 10295 if (ndx == 0 || ndx == 1) 10296 p = "int"; 10297 break; 10298 /* sigwait */ 10299 case 429: 10300 if (ndx == 0 || ndx == 1) 10301 p = "int"; 10302 break; 10303 /* thr_exit */ 10304 case 431: 10305 if (ndx == 0 || ndx == 1) 10306 p = "void"; 10307 break; 10308 /* thr_self */ 10309 case 432: 10310 if (ndx == 0 || ndx == 1) 10311 p = "int"; 10312 break; 10313 /* thr_kill */ 10314 case 433: 10315 if (ndx == 0 || ndx == 1) 10316 p = "int"; 10317 break; 10318 /* jail_attach */ 10319 case 436: 10320 if (ndx == 0 || ndx == 1) 10321 p = "int"; 10322 break; 10323 /* extattr_list_fd */ 10324 case 437: 10325 if (ndx == 0 || ndx == 1) 10326 p = "ssize_t"; 10327 break; 10328 /* extattr_list_file */ 10329 case 438: 10330 if (ndx == 0 || ndx == 1) 10331 p = "ssize_t"; 10332 break; 10333 /* extattr_list_link */ 10334 case 439: 10335 if (ndx == 0 || ndx == 1) 10336 p = "ssize_t"; 10337 break; 10338 /* freebsd32_ksem_timedwait */ 10339 case 441: 10340 if (ndx == 0 || ndx == 1) 10341 p = "int"; 10342 break; 10343 /* freebsd32_thr_suspend */ 10344 case 442: 10345 if (ndx == 0 || ndx == 1) 10346 p = "int"; 10347 break; 10348 /* thr_wake */ 10349 case 443: 10350 if (ndx == 0 || ndx == 1) 10351 p = "int"; 10352 break; 10353 /* kldunloadf */ 10354 case 444: 10355 if (ndx == 0 || ndx == 1) 10356 p = "int"; 10357 break; 10358 /* audit */ 10359 case 445: 10360 if (ndx == 0 || ndx == 1) 10361 p = "int"; 10362 break; 10363 /* auditon */ 10364 case 446: 10365 if (ndx == 0 || ndx == 1) 10366 p = "int"; 10367 break; 10368 /* getauid */ 10369 case 447: 10370 if (ndx == 0 || ndx == 1) 10371 p = "int"; 10372 break; 10373 /* setauid */ 10374 case 448: 10375 if (ndx == 0 || ndx == 1) 10376 p = "int"; 10377 break; 10378 /* getaudit */ 10379 case 449: 10380 if (ndx == 0 || ndx == 1) 10381 p = "int"; 10382 break; 10383 /* setaudit */ 10384 case 450: 10385 if (ndx == 0 || ndx == 1) 10386 p = "int"; 10387 break; 10388 /* getaudit_addr */ 10389 case 451: 10390 if (ndx == 0 || ndx == 1) 10391 p = "int"; 10392 break; 10393 /* setaudit_addr */ 10394 case 452: 10395 if (ndx == 0 || ndx == 1) 10396 p = "int"; 10397 break; 10398 /* auditctl */ 10399 case 453: 10400 if (ndx == 0 || ndx == 1) 10401 p = "int"; 10402 break; 10403 /* freebsd32__umtx_op */ 10404 case 454: 10405 if (ndx == 0 || ndx == 1) 10406 p = "int"; 10407 break; 10408 /* freebsd32_thr_new */ 10409 case 455: 10410 if (ndx == 0 || ndx == 1) 10411 p = "int"; 10412 break; 10413 /* freebsd32_sigqueue */ 10414 case 456: 10415 if (ndx == 0 || ndx == 1) 10416 p = "int"; 10417 break; 10418 /* freebsd32_kmq_open */ 10419 case 457: 10420 if (ndx == 0 || ndx == 1) 10421 p = "int"; 10422 break; 10423 /* freebsd32_kmq_setattr */ 10424 case 458: 10425 if (ndx == 0 || ndx == 1) 10426 p = "int"; 10427 break; 10428 /* freebsd32_kmq_timedreceive */ 10429 case 459: 10430 if (ndx == 0 || ndx == 1) 10431 p = "int"; 10432 break; 10433 /* freebsd32_kmq_timedsend */ 10434 case 460: 10435 if (ndx == 0 || ndx == 1) 10436 p = "int"; 10437 break; 10438 /* freebsd32_kmq_notify */ 10439 case 461: 10440 if (ndx == 0 || ndx == 1) 10441 p = "int"; 10442 break; 10443 /* kmq_unlink */ 10444 case 462: 10445 if (ndx == 0 || ndx == 1) 10446 p = "int"; 10447 break; 10448 /* freebsd32_abort2 */ 10449 case 463: 10450 if (ndx == 0 || ndx == 1) 10451 p = "void"; 10452 break; 10453 /* thr_set_name */ 10454 case 464: 10455 if (ndx == 0 || ndx == 1) 10456 p = "int"; 10457 break; 10458 /* freebsd32_aio_fsync */ 10459 case 465: 10460 if (ndx == 0 || ndx == 1) 10461 p = "int"; 10462 break; 10463 /* rtprio_thread */ 10464 case 466: 10465 if (ndx == 0 || ndx == 1) 10466 p = "int"; 10467 break; 10468 /* sctp_peeloff */ 10469 case 471: 10470 if (ndx == 0 || ndx == 1) 10471 p = "int"; 10472 break; 10473 /* sctp_generic_sendmsg */ 10474 case 472: 10475 if (ndx == 0 || ndx == 1) 10476 p = "int"; 10477 break; 10478 /* sctp_generic_sendmsg_iov */ 10479 case 473: 10480 if (ndx == 0 || ndx == 1) 10481 p = "int"; 10482 break; 10483 /* sctp_generic_recvmsg */ 10484 case 474: 10485 if (ndx == 0 || ndx == 1) 10486 p = "int"; 10487 break; 10488 /* freebsd32_pread */ 10489 case 475: 10490 if (ndx == 0 || ndx == 1) 10491 p = "ssize_t"; 10492 break; 10493 /* freebsd32_pwrite */ 10494 case 476: 10495 if (ndx == 0 || ndx == 1) 10496 p = "ssize_t"; 10497 break; 10498 /* freebsd32_mmap */ 10499 case 477: 10500 if (ndx == 0 || ndx == 1) 10501 p = "void *"; 10502 break; 10503 /* freebsd32_lseek */ 10504 case 478: 10505 if (ndx == 0 || ndx == 1) 10506 p = "off_t"; 10507 break; 10508 /* freebsd32_truncate */ 10509 case 479: 10510 if (ndx == 0 || ndx == 1) 10511 p = "int"; 10512 break; 10513 /* freebsd32_ftruncate */ 10514 case 480: 10515 if (ndx == 0 || ndx == 1) 10516 p = "int"; 10517 break; 10518 /* thr_kill2 */ 10519 case 481: 10520 if (ndx == 0 || ndx == 1) 10521 p = "int"; 10522 break; 10523 /* shm_unlink */ 10524 case 483: 10525 if (ndx == 0 || ndx == 1) 10526 p = "int"; 10527 break; 10528 /* cpuset */ 10529 case 484: 10530 if (ndx == 0 || ndx == 1) 10531 p = "int"; 10532 break; 10533 /* freebsd32_cpuset_setid */ 10534 case 485: 10535 if (ndx == 0 || ndx == 1) 10536 p = "int"; 10537 break; 10538 /* freebsd32_cpuset_getid */ 10539 case 486: 10540 if (ndx == 0 || ndx == 1) 10541 p = "int"; 10542 break; 10543 /* freebsd32_cpuset_getaffinity */ 10544 case 487: 10545 if (ndx == 0 || ndx == 1) 10546 p = "int"; 10547 break; 10548 /* freebsd32_cpuset_setaffinity */ 10549 case 488: 10550 if (ndx == 0 || ndx == 1) 10551 p = "int"; 10552 break; 10553 /* faccessat */ 10554 case 489: 10555 if (ndx == 0 || ndx == 1) 10556 p = "int"; 10557 break; 10558 /* fchmodat */ 10559 case 490: 10560 if (ndx == 0 || ndx == 1) 10561 p = "int"; 10562 break; 10563 /* fchownat */ 10564 case 491: 10565 if (ndx == 0 || ndx == 1) 10566 p = "int"; 10567 break; 10568 /* freebsd32_fexecve */ 10569 case 492: 10570 if (ndx == 0 || ndx == 1) 10571 p = "int"; 10572 break; 10573 /* freebsd32_futimesat */ 10574 case 494: 10575 if (ndx == 0 || ndx == 1) 10576 p = "int"; 10577 break; 10578 /* linkat */ 10579 case 495: 10580 if (ndx == 0 || ndx == 1) 10581 p = "int"; 10582 break; 10583 /* mkdirat */ 10584 case 496: 10585 if (ndx == 0 || ndx == 1) 10586 p = "int"; 10587 break; 10588 /* mkfifoat */ 10589 case 497: 10590 if (ndx == 0 || ndx == 1) 10591 p = "int"; 10592 break; 10593 /* openat */ 10594 case 499: 10595 if (ndx == 0 || ndx == 1) 10596 p = "int"; 10597 break; 10598 /* readlinkat */ 10599 case 500: 10600 if (ndx == 0 || ndx == 1) 10601 p = "ssize_t"; 10602 break; 10603 /* renameat */ 10604 case 501: 10605 if (ndx == 0 || ndx == 1) 10606 p = "int"; 10607 break; 10608 /* symlinkat */ 10609 case 502: 10610 if (ndx == 0 || ndx == 1) 10611 p = "int"; 10612 break; 10613 /* unlinkat */ 10614 case 503: 10615 if (ndx == 0 || ndx == 1) 10616 p = "int"; 10617 break; 10618 /* posix_openpt */ 10619 case 504: 10620 if (ndx == 0 || ndx == 1) 10621 p = "int"; 10622 break; 10623 /* gssd_syscall */ 10624 case 505: 10625 if (ndx == 0 || ndx == 1) 10626 p = "int"; 10627 break; 10628 /* freebsd32_jail_get */ 10629 case 506: 10630 if (ndx == 0 || ndx == 1) 10631 p = "int"; 10632 break; 10633 /* freebsd32_jail_set */ 10634 case 507: 10635 if (ndx == 0 || ndx == 1) 10636 p = "int"; 10637 break; 10638 /* jail_remove */ 10639 case 508: 10640 if (ndx == 0 || ndx == 1) 10641 p = "int"; 10642 break; 10643 /* freebsd32___semctl */ 10644 case 510: 10645 if (ndx == 0 || ndx == 1) 10646 p = "int"; 10647 break; 10648 /* freebsd32_msgctl */ 10649 case 511: 10650 if (ndx == 0 || ndx == 1) 10651 p = "int"; 10652 break; 10653 /* freebsd32_shmctl */ 10654 case 512: 10655 if (ndx == 0 || ndx == 1) 10656 p = "int"; 10657 break; 10658 /* lpathconf */ 10659 case 513: 10660 if (ndx == 0 || ndx == 1) 10661 p = "int"; 10662 break; 10663 /* __cap_rights_get */ 10664 case 515: 10665 if (ndx == 0 || ndx == 1) 10666 p = "int"; 10667 break; 10668 /* cap_enter */ 10669 case 516: 10670 /* cap_getmode */ 10671 case 517: 10672 if (ndx == 0 || ndx == 1) 10673 p = "int"; 10674 break; 10675 /* pdfork */ 10676 case 518: 10677 if (ndx == 0 || ndx == 1) 10678 p = "int"; 10679 break; 10680 /* pdkill */ 10681 case 519: 10682 if (ndx == 0 || ndx == 1) 10683 p = "int"; 10684 break; 10685 /* pdgetpid */ 10686 case 520: 10687 if (ndx == 0 || ndx == 1) 10688 p = "int"; 10689 break; 10690 /* freebsd32_pselect */ 10691 case 522: 10692 if (ndx == 0 || ndx == 1) 10693 p = "int"; 10694 break; 10695 /* getloginclass */ 10696 case 523: 10697 if (ndx == 0 || ndx == 1) 10698 p = "int"; 10699 break; 10700 /* setloginclass */ 10701 case 524: 10702 if (ndx == 0 || ndx == 1) 10703 p = "int"; 10704 break; 10705 /* rctl_get_racct */ 10706 case 525: 10707 if (ndx == 0 || ndx == 1) 10708 p = "int"; 10709 break; 10710 /* rctl_get_rules */ 10711 case 526: 10712 if (ndx == 0 || ndx == 1) 10713 p = "int"; 10714 break; 10715 /* rctl_get_limits */ 10716 case 527: 10717 if (ndx == 0 || ndx == 1) 10718 p = "int"; 10719 break; 10720 /* rctl_add_rule */ 10721 case 528: 10722 if (ndx == 0 || ndx == 1) 10723 p = "int"; 10724 break; 10725 /* rctl_remove_rule */ 10726 case 529: 10727 if (ndx == 0 || ndx == 1) 10728 p = "int"; 10729 break; 10730 /* freebsd32_posix_fallocate */ 10731 case 530: 10732 if (ndx == 0 || ndx == 1) 10733 p = "int"; 10734 break; 10735 /* freebsd32_posix_fadvise */ 10736 case 531: 10737 if (ndx == 0 || ndx == 1) 10738 p = "int"; 10739 break; 10740 /* freebsd32_wait6 */ 10741 case 532: 10742 if (ndx == 0 || ndx == 1) 10743 p = "int"; 10744 break; 10745 /* cap_rights_limit */ 10746 case 533: 10747 if (ndx == 0 || ndx == 1) 10748 p = "int"; 10749 break; 10750 /* freebsd32_cap_ioctls_limit */ 10751 case 534: 10752 if (ndx == 0 || ndx == 1) 10753 p = "int"; 10754 break; 10755 /* freebsd32_cap_ioctls_get */ 10756 case 535: 10757 if (ndx == 0 || ndx == 1) 10758 p = "ssize_t"; 10759 break; 10760 /* cap_fcntls_limit */ 10761 case 536: 10762 if (ndx == 0 || ndx == 1) 10763 p = "int"; 10764 break; 10765 /* cap_fcntls_get */ 10766 case 537: 10767 if (ndx == 0 || ndx == 1) 10768 p = "int"; 10769 break; 10770 /* bindat */ 10771 case 538: 10772 if (ndx == 0 || ndx == 1) 10773 p = "int"; 10774 break; 10775 /* connectat */ 10776 case 539: 10777 if (ndx == 0 || ndx == 1) 10778 p = "int"; 10779 break; 10780 /* chflagsat */ 10781 case 540: 10782 if (ndx == 0 || ndx == 1) 10783 p = "int"; 10784 break; 10785 /* accept4 */ 10786 case 541: 10787 if (ndx == 0 || ndx == 1) 10788 p = "int"; 10789 break; 10790 /* pipe2 */ 10791 case 542: 10792 if (ndx == 0 || ndx == 1) 10793 p = "int"; 10794 break; 10795 /* freebsd32_aio_mlock */ 10796 case 543: 10797 if (ndx == 0 || ndx == 1) 10798 p = "int"; 10799 break; 10800 /* freebsd32_procctl */ 10801 case 544: 10802 if (ndx == 0 || ndx == 1) 10803 p = "int"; 10804 break; 10805 /* freebsd32_ppoll */ 10806 case 545: 10807 if (ndx == 0 || ndx == 1) 10808 p = "int"; 10809 break; 10810 /* freebsd32_futimens */ 10811 case 546: 10812 if (ndx == 0 || ndx == 1) 10813 p = "int"; 10814 break; 10815 /* freebsd32_utimensat */ 10816 case 547: 10817 if (ndx == 0 || ndx == 1) 10818 p = "int"; 10819 break; 10820 /* fdatasync */ 10821 case 550: 10822 if (ndx == 0 || ndx == 1) 10823 p = "int"; 10824 break; 10825 /* freebsd32_fstat */ 10826 case 551: 10827 if (ndx == 0 || ndx == 1) 10828 p = "int"; 10829 break; 10830 /* freebsd32_fstatat */ 10831 case 552: 10832 if (ndx == 0 || ndx == 1) 10833 p = "int"; 10834 break; 10835 /* freebsd32_fhstat */ 10836 case 553: 10837 if (ndx == 0 || ndx == 1) 10838 p = "int"; 10839 break; 10840 /* getdirentries */ 10841 case 554: 10842 if (ndx == 0 || ndx == 1) 10843 p = "ssize_t"; 10844 break; 10845 /* statfs */ 10846 case 555: 10847 if (ndx == 0 || ndx == 1) 10848 p = "int"; 10849 break; 10850 /* fstatfs */ 10851 case 556: 10852 if (ndx == 0 || ndx == 1) 10853 p = "int"; 10854 break; 10855 /* freebsd32_getfsstat */ 10856 case 557: 10857 if (ndx == 0 || ndx == 1) 10858 p = "int"; 10859 break; 10860 /* fhstatfs */ 10861 case 558: 10862 if (ndx == 0 || ndx == 1) 10863 p = "int"; 10864 break; 10865 /* freebsd32_mknodat */ 10866 case 559: 10867 if (ndx == 0 || ndx == 1) 10868 p = "int"; 10869 break; 10870 /* freebsd32_kevent */ 10871 case 560: 10872 if (ndx == 0 || ndx == 1) 10873 p = "int"; 10874 break; 10875 /* freebsd32_cpuset_getdomain */ 10876 case 561: 10877 if (ndx == 0 || ndx == 1) 10878 p = "int"; 10879 break; 10880 /* freebsd32_cpuset_setdomain */ 10881 case 562: 10882 if (ndx == 0 || ndx == 1) 10883 p = "int"; 10884 break; 10885 /* getrandom */ 10886 case 563: 10887 if (ndx == 0 || ndx == 1) 10888 p = "int"; 10889 break; 10890 /* getfhat */ 10891 case 564: 10892 if (ndx == 0 || ndx == 1) 10893 p = "int"; 10894 break; 10895 /* fhlink */ 10896 case 565: 10897 if (ndx == 0 || ndx == 1) 10898 p = "int"; 10899 break; 10900 /* fhlinkat */ 10901 case 566: 10902 if (ndx == 0 || ndx == 1) 10903 p = "int"; 10904 break; 10905 /* fhreadlink */ 10906 case 567: 10907 if (ndx == 0 || ndx == 1) 10908 p = "int"; 10909 break; 10910 /* funlinkat */ 10911 case 568: 10912 if (ndx == 0 || ndx == 1) 10913 p = "int"; 10914 break; 10915 /* copy_file_range */ 10916 case 569: 10917 if (ndx == 0 || ndx == 1) 10918 p = "ssize_t"; 10919 break; 10920 /* freebsd32___sysctlbyname */ 10921 case 570: 10922 if (ndx == 0 || ndx == 1) 10923 p = "int"; 10924 break; 10925 /* shm_open2 */ 10926 case 571: 10927 if (ndx == 0 || ndx == 1) 10928 p = "int"; 10929 break; 10930 /* shm_rename */ 10931 case 572: 10932 if (ndx == 0 || ndx == 1) 10933 p = "int"; 10934 break; 10935 /* sigfastblock */ 10936 case 573: 10937 if (ndx == 0 || ndx == 1) 10938 p = "int"; 10939 break; 10940 /* __realpathat */ 10941 case 574: 10942 if (ndx == 0 || ndx == 1) 10943 p = "int"; 10944 break; 10945 /* close_range */ 10946 case 575: 10947 if (ndx == 0 || ndx == 1) 10948 p = "int"; 10949 break; 10950 /* rpctls_syscall */ 10951 case 576: 10952 if (ndx == 0 || ndx == 1) 10953 p = "int"; 10954 break; 10955 /* __specialfd */ 10956 case 577: 10957 if (ndx == 0 || ndx == 1) 10958 p = "int"; 10959 break; 10960 /* freebsd32_aio_writev */ 10961 case 578: 10962 if (ndx == 0 || ndx == 1) 10963 p = "int"; 10964 break; 10965 /* freebsd32_aio_readv */ 10966 case 579: 10967 if (ndx == 0 || ndx == 1) 10968 p = "int"; 10969 break; 10970 /* fspacectl */ 10971 case 580: 10972 if (ndx == 0 || ndx == 1) 10973 p = "int"; 10974 break; 10975 /* sched_getcpu */ 10976 case 581: 10977 /* swapoff */ 10978 case 582: 10979 if (ndx == 0 || ndx == 1) 10980 p = "int"; 10981 break; 10982 /* kqueuex */ 10983 case 583: 10984 if (ndx == 0 || ndx == 1) 10985 p = "int"; 10986 break; 10987 /* membarrier */ 10988 case 584: 10989 if (ndx == 0 || ndx == 1) 10990 p = "int"; 10991 break; 10992 /* timerfd_create */ 10993 case 585: 10994 if (ndx == 0 || ndx == 1) 10995 p = "int"; 10996 break; 10997 /* freebsd32_timerfd_gettime */ 10998 case 586: 10999 if (ndx == 0 || ndx == 1) 11000 p = "int"; 11001 break; 11002 /* freebsd32_timerfd_settime */ 11003 case 587: 11004 if (ndx == 0 || ndx == 1) 11005 p = "int"; 11006 break; 11007 /* kcmp */ 11008 case 588: 11009 if (ndx == 0 || ndx == 1) 11010 p = "int"; 11011 break; 11012 /* getrlimitusage */ 11013 case 589: 11014 if (ndx == 0 || ndx == 1) 11015 p = "int"; 11016 break; 11017 default: 11018 break; 11019 }; 11020 if (p != NULL) 11021 strlcpy(desc, p, descsz); 11022 } 11023