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