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