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