2 * System call argument to DTrace register array converstion.
4 * DO NOT EDIT-- this file is automatically generated.
6 * This file is part of the DTrace syscall provider.
10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
12 int64_t *iarg = (int64_t *) uarg;
21 struct sys_exit_args *p = params;
22 iarg[0] = p->rval; /* int */
33 struct read_args *p = params;
34 iarg[0] = p->fd; /* int */
35 uarg[1] = (intptr_t) p->buf; /* void * */
36 uarg[2] = p->nbyte; /* size_t */
42 struct write_args *p = params;
43 iarg[0] = p->fd; /* int */
44 uarg[1] = (intptr_t) p->buf; /* const void * */
45 uarg[2] = p->nbyte; /* size_t */
51 struct open_args *p = params;
52 uarg[0] = (intptr_t) p->path; /* char * */
53 iarg[1] = p->flags; /* int */
54 iarg[2] = p->mode; /* int */
60 struct close_args *p = params;
61 iarg[0] = p->fd; /* int */
67 struct wait4_args *p = params;
68 iarg[0] = p->pid; /* int */
69 uarg[1] = (intptr_t) p->status; /* int * */
70 iarg[2] = p->options; /* int */
71 uarg[3] = (intptr_t) p->rusage; /* struct rusage * */
77 struct link_args *p = params;
78 uarg[0] = (intptr_t) p->path; /* char * */
79 uarg[1] = (intptr_t) p->link; /* char * */
85 struct unlink_args *p = params;
86 uarg[0] = (intptr_t) p->path; /* char * */
92 struct chdir_args *p = params;
93 uarg[0] = (intptr_t) p->path; /* char * */
99 struct fchdir_args *p = params;
100 iarg[0] = p->fd; /* int */
106 struct mknod_args *p = params;
107 uarg[0] = (intptr_t) p->path; /* char * */
108 iarg[1] = p->mode; /* int */
109 iarg[2] = p->dev; /* int */
115 struct chmod_args *p = params;
116 uarg[0] = (intptr_t) p->path; /* char * */
117 iarg[1] = p->mode; /* int */
123 struct chown_args *p = params;
124 uarg[0] = (intptr_t) p->path; /* char * */
125 iarg[1] = p->uid; /* int */
126 iarg[2] = p->gid; /* int */
132 struct obreak_args *p = params;
133 uarg[0] = (intptr_t) p->nsize; /* char * */
144 struct mount_args *p = params;
145 uarg[0] = (intptr_t) p->type; /* char * */
146 uarg[1] = (intptr_t) p->path; /* char * */
147 iarg[2] = p->flags; /* int */
148 uarg[3] = (intptr_t) p->data; /* caddr_t */
154 struct unmount_args *p = params;
155 uarg[0] = (intptr_t) p->path; /* char * */
156 iarg[1] = p->flags; /* int */
162 struct setuid_args *p = params;
163 uarg[0] = p->uid; /* uid_t */
179 struct ptrace_args *p = params;
180 iarg[0] = p->req; /* int */
181 iarg[1] = p->pid; /* pid_t */
182 uarg[2] = (intptr_t) p->addr; /* caddr_t */
183 iarg[3] = p->data; /* int */
189 struct recvmsg_args *p = params;
190 iarg[0] = p->s; /* int */
191 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
192 iarg[2] = p->flags; /* int */
198 struct sendmsg_args *p = params;
199 iarg[0] = p->s; /* int */
200 uarg[1] = (intptr_t) p->msg; /* struct msghdr * */
201 iarg[2] = p->flags; /* int */
207 struct recvfrom_args *p = params;
208 iarg[0] = p->s; /* int */
209 uarg[1] = (intptr_t) p->buf; /* caddr_t */
210 uarg[2] = p->len; /* size_t */
211 iarg[3] = p->flags; /* int */
212 uarg[4] = (intptr_t) p->from; /* struct sockaddr * */
213 uarg[5] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
219 struct accept_args *p = params;
220 iarg[0] = p->s; /* int */
221 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */
222 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */
228 struct getpeername_args *p = params;
229 iarg[0] = p->fdes; /* int */
230 uarg[1] = (intptr_t) p->asa; /* struct sockaddr * */
231 uarg[2] = (intptr_t) p->alen; /* __socklen_t * */
237 struct getsockname_args *p = params;
238 iarg[0] = p->fdes; /* int */
239 uarg[1] = (intptr_t) p->asa; /* struct sockaddr * */
240 uarg[2] = (intptr_t) p->alen; /* __socklen_t * */
246 struct access_args *p = params;
247 uarg[0] = (intptr_t) p->path; /* char * */
248 iarg[1] = p->amode; /* int */
254 struct chflags_args *p = params;
255 uarg[0] = (intptr_t) p->path; /* const char * */
256 uarg[1] = p->flags; /* u_long */
262 struct fchflags_args *p = params;
263 iarg[0] = p->fd; /* int */
264 uarg[1] = p->flags; /* u_long */
275 struct kill_args *p = params;
276 iarg[0] = p->pid; /* int */
277 iarg[1] = p->signum; /* int */
288 struct dup_args *p = params;
289 uarg[0] = p->fd; /* u_int */
305 struct profil_args *p = params;
306 uarg[0] = (intptr_t) p->samples; /* caddr_t */
307 uarg[1] = p->size; /* size_t */
308 uarg[2] = p->offset; /* size_t */
309 uarg[3] = p->scale; /* u_int */
315 struct ktrace_args *p = params;
316 uarg[0] = (intptr_t) p->fname; /* const char * */
317 iarg[1] = p->ops; /* int */
318 iarg[2] = p->facs; /* int */
319 iarg[3] = p->pid; /* int */
330 struct getlogin_args *p = params;
331 uarg[0] = (intptr_t) p->namebuf; /* char * */
332 uarg[1] = p->namelen; /* u_int */
338 struct setlogin_args *p = params;
339 uarg[0] = (intptr_t) p->namebuf; /* char * */
345 struct acct_args *p = params;
346 uarg[0] = (intptr_t) p->path; /* char * */
352 struct sigaltstack_args *p = params;
353 uarg[0] = (intptr_t) p->ss; /* stack_t * */
354 uarg[1] = (intptr_t) p->oss; /* stack_t * */
360 struct ioctl_args *p = params;
361 iarg[0] = p->fd; /* int */
362 uarg[1] = p->com; /* u_long */
363 uarg[2] = (intptr_t) p->data; /* caddr_t */
369 struct reboot_args *p = params;
370 iarg[0] = p->opt; /* int */
376 struct revoke_args *p = params;
377 uarg[0] = (intptr_t) p->path; /* char * */
383 struct symlink_args *p = params;
384 uarg[0] = (intptr_t) p->path; /* char * */
385 uarg[1] = (intptr_t) p->link; /* char * */
391 struct readlink_args *p = params;
392 uarg[0] = (intptr_t) p->path; /* char * */
393 uarg[1] = (intptr_t) p->buf; /* char * */
394 uarg[2] = p->count; /* size_t */
400 struct execve_args *p = params;
401 uarg[0] = (intptr_t) p->fname; /* char * */
402 uarg[1] = (intptr_t) p->argv; /* char ** */
403 uarg[2] = (intptr_t) p->envv; /* char ** */
409 struct umask_args *p = params;
410 iarg[0] = p->newmask; /* int */
416 struct chroot_args *p = params;
417 uarg[0] = (intptr_t) p->path; /* char * */
423 struct msync_args *p = params;
424 uarg[0] = (intptr_t) p->addr; /* void * */
425 uarg[1] = p->len; /* size_t */
426 iarg[2] = p->flags; /* int */
437 struct sbrk_args *p = params;
438 iarg[0] = p->incr; /* int */
444 struct sstk_args *p = params;
445 iarg[0] = p->incr; /* int */
451 struct ovadvise_args *p = params;
452 iarg[0] = p->anom; /* int */
458 struct munmap_args *p = params;
459 uarg[0] = (intptr_t) p->addr; /* void * */
460 uarg[1] = p->len; /* size_t */
466 struct mprotect_args *p = params;
467 uarg[0] = (intptr_t) p->addr; /* const void * */
468 uarg[1] = p->len; /* size_t */
469 iarg[2] = p->prot; /* int */
475 struct madvise_args *p = params;
476 uarg[0] = (intptr_t) p->addr; /* void * */
477 uarg[1] = p->len; /* size_t */
478 iarg[2] = p->behav; /* int */
484 struct mincore_args *p = params;
485 uarg[0] = (intptr_t) p->addr; /* const void * */
486 uarg[1] = p->len; /* size_t */
487 uarg[2] = (intptr_t) p->vec; /* char * */
493 struct getgroups_args *p = params;
494 uarg[0] = p->gidsetsize; /* u_int */
495 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
501 struct setgroups_args *p = params;
502 uarg[0] = p->gidsetsize; /* u_int */
503 uarg[1] = (intptr_t) p->gidset; /* gid_t * */
514 struct setpgid_args *p = params;
515 iarg[0] = p->pid; /* int */
516 iarg[1] = p->pgid; /* int */
522 struct setitimer_args *p = params;
523 uarg[0] = p->which; /* u_int */
524 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
525 uarg[2] = (intptr_t) p->oitv; /* struct itimerval * */
531 struct swapon_args *p = params;
532 uarg[0] = (intptr_t) p->name; /* char * */
538 struct getitimer_args *p = params;
539 uarg[0] = p->which; /* u_int */
540 uarg[1] = (intptr_t) p->itv; /* struct itimerval * */
551 struct dup2_args *p = params;
552 uarg[0] = p->from; /* u_int */
553 uarg[1] = p->to; /* u_int */
559 struct fcntl_args *p = params;
560 iarg[0] = p->fd; /* int */
561 iarg[1] = p->cmd; /* int */
562 iarg[2] = p->arg; /* long */
568 struct select_args *p = params;
569 iarg[0] = p->nd; /* int */
570 uarg[1] = (intptr_t) p->in; /* fd_set * */
571 uarg[2] = (intptr_t) p->ou; /* fd_set * */
572 uarg[3] = (intptr_t) p->ex; /* fd_set * */
573 uarg[4] = (intptr_t) p->tv; /* struct timeval * */
579 struct fsync_args *p = params;
580 iarg[0] = p->fd; /* int */
586 struct setpriority_args *p = params;
587 iarg[0] = p->which; /* int */
588 iarg[1] = p->who; /* int */
589 iarg[2] = p->prio; /* int */
595 struct socket_args *p = params;
596 iarg[0] = p->domain; /* int */
597 iarg[1] = p->type; /* int */
598 iarg[2] = p->protocol; /* int */
604 struct connect_args *p = params;
605 iarg[0] = p->s; /* int */
606 uarg[1] = (intptr_t) p->name; /* caddr_t */
607 iarg[2] = p->namelen; /* int */
613 struct getpriority_args *p = params;
614 iarg[0] = p->which; /* int */
615 iarg[1] = p->who; /* int */
621 struct bind_args *p = params;
622 iarg[0] = p->s; /* int */
623 uarg[1] = (intptr_t) p->name; /* caddr_t */
624 iarg[2] = p->namelen; /* int */
630 struct setsockopt_args *p = params;
631 iarg[0] = p->s; /* int */
632 iarg[1] = p->level; /* int */
633 iarg[2] = p->name; /* int */
634 uarg[3] = (intptr_t) p->val; /* caddr_t */
635 iarg[4] = p->valsize; /* int */
641 struct listen_args *p = params;
642 iarg[0] = p->s; /* int */
643 iarg[1] = p->backlog; /* int */
649 struct gettimeofday_args *p = params;
650 uarg[0] = (intptr_t) p->tp; /* struct timeval * */
651 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
657 struct getrusage_args *p = params;
658 iarg[0] = p->who; /* int */
659 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */
665 struct getsockopt_args *p = params;
666 iarg[0] = p->s; /* int */
667 iarg[1] = p->level; /* int */
668 iarg[2] = p->name; /* int */
669 uarg[3] = (intptr_t) p->val; /* caddr_t */
670 uarg[4] = (intptr_t) p->avalsize; /* int * */
676 struct readv_args *p = params;
677 iarg[0] = p->fd; /* int */
678 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
679 uarg[2] = p->iovcnt; /* u_int */
685 struct writev_args *p = params;
686 iarg[0] = p->fd; /* int */
687 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
688 uarg[2] = p->iovcnt; /* u_int */
694 struct settimeofday_args *p = params;
695 uarg[0] = (intptr_t) p->tv; /* struct timeval * */
696 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
702 struct fchown_args *p = params;
703 iarg[0] = p->fd; /* int */
704 iarg[1] = p->uid; /* int */
705 iarg[2] = p->gid; /* int */
711 struct fchmod_args *p = params;
712 iarg[0] = p->fd; /* int */
713 iarg[1] = p->mode; /* int */
719 struct setreuid_args *p = params;
720 iarg[0] = p->ruid; /* int */
721 iarg[1] = p->euid; /* int */
727 struct setregid_args *p = params;
728 iarg[0] = p->rgid; /* int */
729 iarg[1] = p->egid; /* int */
735 struct rename_args *p = params;
736 uarg[0] = (intptr_t) p->from; /* char * */
737 uarg[1] = (intptr_t) p->to; /* char * */
743 struct flock_args *p = params;
744 iarg[0] = p->fd; /* int */
745 iarg[1] = p->how; /* int */
751 struct mkfifo_args *p = params;
752 uarg[0] = (intptr_t) p->path; /* char * */
753 iarg[1] = p->mode; /* int */
759 struct sendto_args *p = params;
760 iarg[0] = p->s; /* int */
761 uarg[1] = (intptr_t) p->buf; /* caddr_t */
762 uarg[2] = p->len; /* size_t */
763 iarg[3] = p->flags; /* int */
764 uarg[4] = (intptr_t) p->to; /* caddr_t */
765 iarg[5] = p->tolen; /* int */
771 struct shutdown_args *p = params;
772 iarg[0] = p->s; /* int */
773 iarg[1] = p->how; /* int */
779 struct socketpair_args *p = params;
780 iarg[0] = p->domain; /* int */
781 iarg[1] = p->type; /* int */
782 iarg[2] = p->protocol; /* int */
783 uarg[3] = (intptr_t) p->rsv; /* int * */
789 struct mkdir_args *p = params;
790 uarg[0] = (intptr_t) p->path; /* char * */
791 iarg[1] = p->mode; /* int */
797 struct rmdir_args *p = params;
798 uarg[0] = (intptr_t) p->path; /* char * */
804 struct utimes_args *p = params;
805 uarg[0] = (intptr_t) p->path; /* char * */
806 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
812 struct adjtime_args *p = params;
813 uarg[0] = (intptr_t) p->delta; /* struct timeval * */
814 uarg[1] = (intptr_t) p->olddelta; /* struct timeval * */
825 struct quotactl_args *p = params;
826 uarg[0] = (intptr_t) p->path; /* char * */
827 iarg[1] = p->cmd; /* int */
828 iarg[2] = p->uid; /* int */
829 uarg[3] = (intptr_t) p->arg; /* caddr_t */
835 struct nlm_syscall_args *p = params;
836 iarg[0] = p->debug_level; /* int */
837 iarg[1] = p->grace_period; /* int */
838 iarg[2] = p->addr_count; /* int */
839 uarg[3] = (intptr_t) p->addrs; /* char ** */
845 struct nfssvc_args *p = params;
846 iarg[0] = p->flag; /* int */
847 uarg[1] = (intptr_t) p->argp; /* caddr_t */
853 struct lgetfh_args *p = params;
854 uarg[0] = (intptr_t) p->fname; /* char * */
855 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
861 struct getfh_args *p = params;
862 uarg[0] = (intptr_t) p->fname; /* char * */
863 uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */
869 struct sysarch_args *p = params;
870 iarg[0] = p->op; /* int */
871 uarg[1] = (intptr_t) p->parms; /* char * */
877 struct rtprio_args *p = params;
878 iarg[0] = p->function; /* int */
879 iarg[1] = p->pid; /* pid_t */
880 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
886 struct semsys_args *p = params;
887 iarg[0] = p->which; /* int */
888 iarg[1] = p->a2; /* int */
889 iarg[2] = p->a3; /* int */
890 iarg[3] = p->a4; /* int */
891 iarg[4] = p->a5; /* int */
897 struct msgsys_args *p = params;
898 iarg[0] = p->which; /* int */
899 iarg[1] = p->a2; /* int */
900 iarg[2] = p->a3; /* int */
901 iarg[3] = p->a4; /* int */
902 iarg[4] = p->a5; /* int */
903 iarg[5] = p->a6; /* int */
909 struct shmsys_args *p = params;
910 iarg[0] = p->which; /* int */
911 iarg[1] = p->a2; /* int */
912 iarg[2] = p->a3; /* int */
913 iarg[3] = p->a4; /* int */
919 struct freebsd6_pread_args *p = params;
920 iarg[0] = p->fd; /* int */
921 uarg[1] = (intptr_t) p->buf; /* void * */
922 uarg[2] = p->nbyte; /* size_t */
923 iarg[3] = p->pad; /* int */
924 iarg[4] = p->offset; /* off_t */
928 /* freebsd6_pwrite */
930 struct freebsd6_pwrite_args *p = params;
931 iarg[0] = p->fd; /* int */
932 uarg[1] = (intptr_t) p->buf; /* const void * */
933 uarg[2] = p->nbyte; /* size_t */
934 iarg[3] = p->pad; /* int */
935 iarg[4] = p->offset; /* off_t */
941 struct setfib_args *p = params;
942 iarg[0] = p->fibnum; /* int */
948 struct ntp_adjtime_args *p = params;
949 uarg[0] = (intptr_t) p->tp; /* struct timex * */
955 struct setgid_args *p = params;
956 iarg[0] = p->gid; /* gid_t */
962 struct setegid_args *p = params;
963 iarg[0] = p->egid; /* gid_t */
969 struct seteuid_args *p = params;
970 uarg[0] = p->euid; /* uid_t */
976 struct stat_args *p = params;
977 uarg[0] = (intptr_t) p->path; /* char * */
978 uarg[1] = (intptr_t) p->ub; /* struct stat * */
984 struct fstat_args *p = params;
985 iarg[0] = p->fd; /* int */
986 uarg[1] = (intptr_t) p->sb; /* struct stat * */
992 struct lstat_args *p = params;
993 uarg[0] = (intptr_t) p->path; /* char * */
994 uarg[1] = (intptr_t) p->ub; /* struct stat * */
1000 struct pathconf_args *p = params;
1001 uarg[0] = (intptr_t) p->path; /* char * */
1002 iarg[1] = p->name; /* int */
1008 struct fpathconf_args *p = params;
1009 iarg[0] = p->fd; /* int */
1010 iarg[1] = p->name; /* int */
1016 struct __getrlimit_args *p = params;
1017 uarg[0] = p->which; /* u_int */
1018 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
1024 struct __setrlimit_args *p = params;
1025 uarg[0] = p->which; /* u_int */
1026 uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */
1032 struct getdirentries_args *p = params;
1033 iarg[0] = p->fd; /* int */
1034 uarg[1] = (intptr_t) p->buf; /* char * */
1035 uarg[2] = p->count; /* u_int */
1036 uarg[3] = (intptr_t) p->basep; /* long * */
1042 struct freebsd6_mmap_args *p = params;
1043 uarg[0] = (intptr_t) p->addr; /* caddr_t */
1044 uarg[1] = p->len; /* size_t */
1045 iarg[2] = p->prot; /* int */
1046 iarg[3] = p->flags; /* int */
1047 iarg[4] = p->fd; /* int */
1048 iarg[5] = p->pad; /* int */
1049 iarg[6] = p->pos; /* off_t */
1058 /* freebsd6_lseek */
1060 struct freebsd6_lseek_args *p = params;
1061 iarg[0] = p->fd; /* int */
1062 iarg[1] = p->pad; /* int */
1063 iarg[2] = p->offset; /* off_t */
1064 iarg[3] = p->whence; /* int */
1068 /* freebsd6_truncate */
1070 struct freebsd6_truncate_args *p = params;
1071 uarg[0] = (intptr_t) p->path; /* char * */
1072 iarg[1] = p->pad; /* int */
1073 iarg[2] = p->length; /* off_t */
1077 /* freebsd6_ftruncate */
1079 struct freebsd6_ftruncate_args *p = params;
1080 iarg[0] = p->fd; /* int */
1081 iarg[1] = p->pad; /* int */
1082 iarg[2] = p->length; /* off_t */
1088 struct sysctl_args *p = params;
1089 uarg[0] = (intptr_t) p->name; /* int * */
1090 uarg[1] = p->namelen; /* u_int */
1091 uarg[2] = (intptr_t) p->old; /* void * */
1092 uarg[3] = (intptr_t) p->oldlenp; /* size_t * */
1093 uarg[4] = (intptr_t) p->new; /* void * */
1094 uarg[5] = p->newlen; /* size_t */
1100 struct mlock_args *p = params;
1101 uarg[0] = (intptr_t) p->addr; /* const void * */
1102 uarg[1] = p->len; /* size_t */
1108 struct munlock_args *p = params;
1109 uarg[0] = (intptr_t) p->addr; /* const void * */
1110 uarg[1] = p->len; /* size_t */
1116 struct undelete_args *p = params;
1117 uarg[0] = (intptr_t) p->path; /* char * */
1123 struct futimes_args *p = params;
1124 iarg[0] = p->fd; /* int */
1125 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1131 struct getpgid_args *p = params;
1132 iarg[0] = p->pid; /* pid_t */
1138 struct poll_args *p = params;
1139 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1140 uarg[1] = p->nfds; /* u_int */
1141 iarg[2] = p->timeout; /* int */
1197 struct semget_args *p = params;
1198 iarg[0] = p->key; /* key_t */
1199 iarg[1] = p->nsems; /* int */
1200 iarg[2] = p->semflg; /* int */
1206 struct semop_args *p = params;
1207 iarg[0] = p->semid; /* int */
1208 uarg[1] = (intptr_t) p->sops; /* struct sembuf * */
1209 uarg[2] = p->nsops; /* size_t */
1215 struct msgget_args *p = params;
1216 iarg[0] = p->key; /* key_t */
1217 iarg[1] = p->msgflg; /* int */
1223 struct msgsnd_args *p = params;
1224 iarg[0] = p->msqid; /* int */
1225 uarg[1] = (intptr_t) p->msgp; /* const void * */
1226 uarg[2] = p->msgsz; /* size_t */
1227 iarg[3] = p->msgflg; /* int */
1233 struct msgrcv_args *p = params;
1234 iarg[0] = p->msqid; /* int */
1235 uarg[1] = (intptr_t) p->msgp; /* void * */
1236 uarg[2] = p->msgsz; /* size_t */
1237 iarg[3] = p->msgtyp; /* long */
1238 iarg[4] = p->msgflg; /* int */
1244 struct shmat_args *p = params;
1245 iarg[0] = p->shmid; /* int */
1246 uarg[1] = (intptr_t) p->shmaddr; /* const void * */
1247 iarg[2] = p->shmflg; /* int */
1253 struct shmdt_args *p = params;
1254 uarg[0] = (intptr_t) p->shmaddr; /* const void * */
1260 struct shmget_args *p = params;
1261 iarg[0] = p->key; /* key_t */
1262 uarg[1] = p->size; /* size_t */
1263 iarg[2] = p->shmflg; /* int */
1269 struct clock_gettime_args *p = params;
1270 iarg[0] = p->clock_id; /* clockid_t */
1271 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1277 struct clock_settime_args *p = params;
1278 iarg[0] = p->clock_id; /* clockid_t */
1279 uarg[1] = (intptr_t) p->tp; /* const struct timespec * */
1285 struct clock_getres_args *p = params;
1286 iarg[0] = p->clock_id; /* clockid_t */
1287 uarg[1] = (intptr_t) p->tp; /* struct timespec * */
1293 struct ktimer_create_args *p = params;
1294 iarg[0] = p->clock_id; /* clockid_t */
1295 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */
1296 uarg[2] = (intptr_t) p->timerid; /* int * */
1302 struct ktimer_delete_args *p = params;
1303 iarg[0] = p->timerid; /* int */
1307 /* ktimer_settime */
1309 struct ktimer_settime_args *p = params;
1310 iarg[0] = p->timerid; /* int */
1311 iarg[1] = p->flags; /* int */
1312 uarg[2] = (intptr_t) p->value; /* const struct itimerspec * */
1313 uarg[3] = (intptr_t) p->ovalue; /* struct itimerspec * */
1317 /* ktimer_gettime */
1319 struct ktimer_gettime_args *p = params;
1320 iarg[0] = p->timerid; /* int */
1321 uarg[1] = (intptr_t) p->value; /* struct itimerspec * */
1325 /* ktimer_getoverrun */
1327 struct ktimer_getoverrun_args *p = params;
1328 iarg[0] = p->timerid; /* int */
1334 struct nanosleep_args *p = params;
1335 uarg[0] = (intptr_t) p->rqtp; /* const struct timespec * */
1336 uarg[1] = (intptr_t) p->rmtp; /* struct timespec * */
1340 /* ffclock_getcounter */
1342 struct ffclock_getcounter_args *p = params;
1343 uarg[0] = (intptr_t) p->ffcount; /* ffcounter * */
1347 /* ffclock_setestimate */
1349 struct ffclock_setestimate_args *p = params;
1350 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1354 /* ffclock_getestimate */
1356 struct ffclock_getestimate_args *p = params;
1357 uarg[0] = (intptr_t) p->cest; /* struct ffclock_estimate * */
1361 /* clock_getcpuclockid2 */
1363 struct clock_getcpuclockid2_args *p = params;
1364 iarg[0] = p->id; /* id_t */
1365 iarg[1] = p->which; /* int */
1366 uarg[2] = (intptr_t) p->clock_id; /* clockid_t * */
1372 struct ntp_gettime_args *p = params;
1373 uarg[0] = (intptr_t) p->ntvp; /* struct ntptimeval * */
1379 struct minherit_args *p = params;
1380 uarg[0] = (intptr_t) p->addr; /* void * */
1381 uarg[1] = p->len; /* size_t */
1382 iarg[2] = p->inherit; /* int */
1388 struct rfork_args *p = params;
1389 iarg[0] = p->flags; /* int */
1395 struct openbsd_poll_args *p = params;
1396 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
1397 uarg[1] = p->nfds; /* u_int */
1398 iarg[2] = p->timeout; /* int */
1409 struct lchown_args *p = params;
1410 uarg[0] = (intptr_t) p->path; /* char * */
1411 iarg[1] = p->uid; /* int */
1412 iarg[2] = p->gid; /* int */
1418 struct aio_read_args *p = params;
1419 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1425 struct aio_write_args *p = params;
1426 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1432 struct lio_listio_args *p = params;
1433 iarg[0] = p->mode; /* int */
1434 uarg[1] = (intptr_t) p->acb_list; /* struct aiocb *const * */
1435 iarg[2] = p->nent; /* int */
1436 uarg[3] = (intptr_t) p->sig; /* struct sigevent * */
1442 struct getdents_args *p = params;
1443 iarg[0] = p->fd; /* int */
1444 uarg[1] = (intptr_t) p->buf; /* char * */
1445 uarg[2] = p->count; /* size_t */
1451 struct lchmod_args *p = params;
1452 uarg[0] = (intptr_t) p->path; /* char * */
1453 iarg[1] = p->mode; /* mode_t */
1459 struct lchown_args *p = params;
1460 uarg[0] = (intptr_t) p->path; /* char * */
1461 uarg[1] = p->uid; /* uid_t */
1462 iarg[2] = p->gid; /* gid_t */
1468 struct lutimes_args *p = params;
1469 uarg[0] = (intptr_t) p->path; /* char * */
1470 uarg[1] = (intptr_t) p->tptr; /* struct timeval * */
1476 struct msync_args *p = params;
1477 uarg[0] = (intptr_t) p->addr; /* void * */
1478 uarg[1] = p->len; /* size_t */
1479 iarg[2] = p->flags; /* int */
1485 struct nstat_args *p = params;
1486 uarg[0] = (intptr_t) p->path; /* char * */
1487 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1493 struct nfstat_args *p = params;
1494 iarg[0] = p->fd; /* int */
1495 uarg[1] = (intptr_t) p->sb; /* struct nstat * */
1501 struct nlstat_args *p = params;
1502 uarg[0] = (intptr_t) p->path; /* char * */
1503 uarg[1] = (intptr_t) p->ub; /* struct nstat * */
1509 struct preadv_args *p = params;
1510 iarg[0] = p->fd; /* int */
1511 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1512 uarg[2] = p->iovcnt; /* u_int */
1513 iarg[3] = p->offset; /* off_t */
1519 struct pwritev_args *p = params;
1520 iarg[0] = p->fd; /* int */
1521 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */
1522 uarg[2] = p->iovcnt; /* u_int */
1523 iarg[3] = p->offset; /* off_t */
1529 struct fhopen_args *p = params;
1530 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1531 iarg[1] = p->flags; /* int */
1537 struct fhstat_args *p = params;
1538 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
1539 uarg[1] = (intptr_t) p->sb; /* struct stat * */
1545 struct modnext_args *p = params;
1546 iarg[0] = p->modid; /* int */
1552 struct modstat_args *p = params;
1553 iarg[0] = p->modid; /* int */
1554 uarg[1] = (intptr_t) p->stat; /* struct module_stat * */
1560 struct modfnext_args *p = params;
1561 iarg[0] = p->modid; /* int */
1567 struct modfind_args *p = params;
1568 uarg[0] = (intptr_t) p->name; /* const char * */
1574 struct kldload_args *p = params;
1575 uarg[0] = (intptr_t) p->file; /* const char * */
1581 struct kldunload_args *p = params;
1582 iarg[0] = p->fileid; /* int */
1588 struct kldfind_args *p = params;
1589 uarg[0] = (intptr_t) p->file; /* const char * */
1595 struct kldnext_args *p = params;
1596 iarg[0] = p->fileid; /* int */
1602 struct kldstat_args *p = params;
1603 iarg[0] = p->fileid; /* int */
1604 uarg[1] = (intptr_t) p->stat; /* struct kld_file_stat * */
1610 struct kldfirstmod_args *p = params;
1611 iarg[0] = p->fileid; /* int */
1617 struct getsid_args *p = params;
1618 iarg[0] = p->pid; /* pid_t */
1624 struct setresuid_args *p = params;
1625 uarg[0] = p->ruid; /* uid_t */
1626 uarg[1] = p->euid; /* uid_t */
1627 uarg[2] = p->suid; /* uid_t */
1633 struct setresgid_args *p = params;
1634 iarg[0] = p->rgid; /* gid_t */
1635 iarg[1] = p->egid; /* gid_t */
1636 iarg[2] = p->sgid; /* gid_t */
1642 struct aio_return_args *p = params;
1643 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1649 struct aio_suspend_args *p = params;
1650 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb *const * */
1651 iarg[1] = p->nent; /* int */
1652 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1658 struct aio_cancel_args *p = params;
1659 iarg[0] = p->fd; /* int */
1660 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
1666 struct aio_error_args *p = params;
1667 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
1673 struct oaio_read_args *p = params;
1674 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */
1680 struct oaio_write_args *p = params;
1681 uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */
1687 struct olio_listio_args *p = params;
1688 iarg[0] = p->mode; /* int */
1689 uarg[1] = (intptr_t) p->acb_list; /* struct oaiocb *const * */
1690 iarg[2] = p->nent; /* int */
1691 uarg[3] = (intptr_t) p->sig; /* struct osigevent * */
1702 struct mlockall_args *p = params;
1703 iarg[0] = p->how; /* int */
1714 struct __getcwd_args *p = params;
1715 uarg[0] = (intptr_t) p->buf; /* u_char * */
1716 uarg[1] = p->buflen; /* u_int */
1720 /* sched_setparam */
1722 struct sched_setparam_args *p = params;
1723 iarg[0] = p->pid; /* pid_t */
1724 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */
1728 /* sched_getparam */
1730 struct sched_getparam_args *p = params;
1731 iarg[0] = p->pid; /* pid_t */
1732 uarg[1] = (intptr_t) p->param; /* struct sched_param * */
1736 /* sched_setscheduler */
1738 struct sched_setscheduler_args *p = params;
1739 iarg[0] = p->pid; /* pid_t */
1740 iarg[1] = p->policy; /* int */
1741 uarg[2] = (intptr_t) p->param; /* const struct sched_param * */
1745 /* sched_getscheduler */
1747 struct sched_getscheduler_args *p = params;
1748 iarg[0] = p->pid; /* pid_t */
1757 /* sched_get_priority_max */
1759 struct sched_get_priority_max_args *p = params;
1760 iarg[0] = p->policy; /* int */
1764 /* sched_get_priority_min */
1766 struct sched_get_priority_min_args *p = params;
1767 iarg[0] = p->policy; /* int */
1771 /* sched_rr_get_interval */
1773 struct sched_rr_get_interval_args *p = params;
1774 iarg[0] = p->pid; /* pid_t */
1775 uarg[1] = (intptr_t) p->interval; /* struct timespec * */
1781 struct utrace_args *p = params;
1782 uarg[0] = (intptr_t) p->addr; /* const void * */
1783 uarg[1] = p->len; /* size_t */
1789 struct kldsym_args *p = params;
1790 iarg[0] = p->fileid; /* int */
1791 iarg[1] = p->cmd; /* int */
1792 uarg[2] = (intptr_t) p->data; /* void * */
1798 struct jail_args *p = params;
1799 uarg[0] = (intptr_t) p->jail; /* struct jail * */
1805 struct nnpfs_syscall_args *p = params;
1806 iarg[0] = p->operation; /* int */
1807 uarg[1] = (intptr_t) p->a_pathP; /* char * */
1808 iarg[2] = p->a_opcode; /* int */
1809 uarg[3] = (intptr_t) p->a_paramsP; /* void * */
1810 iarg[4] = p->a_followSymlinks; /* int */
1816 struct sigprocmask_args *p = params;
1817 iarg[0] = p->how; /* int */
1818 uarg[1] = (intptr_t) p->set; /* const sigset_t * */
1819 uarg[2] = (intptr_t) p->oset; /* sigset_t * */
1825 struct sigsuspend_args *p = params;
1826 uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */
1832 struct sigpending_args *p = params;
1833 uarg[0] = (intptr_t) p->set; /* sigset_t * */
1839 struct sigtimedwait_args *p = params;
1840 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1841 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1842 uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */
1848 struct sigwaitinfo_args *p = params;
1849 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
1850 uarg[1] = (intptr_t) p->info; /* siginfo_t * */
1854 /* __acl_get_file */
1856 struct __acl_get_file_args *p = params;
1857 uarg[0] = (intptr_t) p->path; /* const char * */
1858 iarg[1] = p->type; /* acl_type_t */
1859 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1863 /* __acl_set_file */
1865 struct __acl_set_file_args *p = params;
1866 uarg[0] = (intptr_t) p->path; /* const char * */
1867 iarg[1] = p->type; /* acl_type_t */
1868 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1874 struct __acl_get_fd_args *p = params;
1875 iarg[0] = p->filedes; /* int */
1876 iarg[1] = p->type; /* acl_type_t */
1877 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1883 struct __acl_set_fd_args *p = params;
1884 iarg[0] = p->filedes; /* int */
1885 iarg[1] = p->type; /* acl_type_t */
1886 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1890 /* __acl_delete_file */
1892 struct __acl_delete_file_args *p = params;
1893 uarg[0] = (intptr_t) p->path; /* const char * */
1894 iarg[1] = p->type; /* acl_type_t */
1898 /* __acl_delete_fd */
1900 struct __acl_delete_fd_args *p = params;
1901 iarg[0] = p->filedes; /* int */
1902 iarg[1] = p->type; /* acl_type_t */
1906 /* __acl_aclcheck_file */
1908 struct __acl_aclcheck_file_args *p = params;
1909 uarg[0] = (intptr_t) p->path; /* const char * */
1910 iarg[1] = p->type; /* acl_type_t */
1911 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1915 /* __acl_aclcheck_fd */
1917 struct __acl_aclcheck_fd_args *p = params;
1918 iarg[0] = p->filedes; /* int */
1919 iarg[1] = p->type; /* acl_type_t */
1920 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
1926 struct extattrctl_args *p = params;
1927 uarg[0] = (intptr_t) p->path; /* const char * */
1928 iarg[1] = p->cmd; /* int */
1929 uarg[2] = (intptr_t) p->filename; /* const char * */
1930 iarg[3] = p->attrnamespace; /* int */
1931 uarg[4] = (intptr_t) p->attrname; /* const char * */
1935 /* extattr_set_file */
1937 struct extattr_set_file_args *p = params;
1938 uarg[0] = (intptr_t) p->path; /* const char * */
1939 iarg[1] = p->attrnamespace; /* int */
1940 uarg[2] = (intptr_t) p->attrname; /* const char * */
1941 uarg[3] = (intptr_t) p->data; /* void * */
1942 uarg[4] = p->nbytes; /* size_t */
1946 /* extattr_get_file */
1948 struct extattr_get_file_args *p = params;
1949 uarg[0] = (intptr_t) p->path; /* const char * */
1950 iarg[1] = p->attrnamespace; /* int */
1951 uarg[2] = (intptr_t) p->attrname; /* const char * */
1952 uarg[3] = (intptr_t) p->data; /* void * */
1953 uarg[4] = p->nbytes; /* size_t */
1957 /* extattr_delete_file */
1959 struct extattr_delete_file_args *p = params;
1960 uarg[0] = (intptr_t) p->path; /* const char * */
1961 iarg[1] = p->attrnamespace; /* int */
1962 uarg[2] = (intptr_t) p->attrname; /* const char * */
1966 /* aio_waitcomplete */
1968 struct aio_waitcomplete_args *p = params;
1969 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */
1970 uarg[1] = (intptr_t) p->timeout; /* struct timespec * */
1976 struct getresuid_args *p = params;
1977 uarg[0] = (intptr_t) p->ruid; /* uid_t * */
1978 uarg[1] = (intptr_t) p->euid; /* uid_t * */
1979 uarg[2] = (intptr_t) p->suid; /* uid_t * */
1985 struct getresgid_args *p = params;
1986 uarg[0] = (intptr_t) p->rgid; /* gid_t * */
1987 uarg[1] = (intptr_t) p->egid; /* gid_t * */
1988 uarg[2] = (intptr_t) p->sgid; /* gid_t * */
1999 struct kevent_args *p = params;
2000 iarg[0] = p->fd; /* int */
2001 uarg[1] = (intptr_t) p->changelist; /* struct kevent * */
2002 iarg[2] = p->nchanges; /* int */
2003 uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */
2004 iarg[4] = p->nevents; /* int */
2005 uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */
2009 /* extattr_set_fd */
2011 struct extattr_set_fd_args *p = params;
2012 iarg[0] = p->fd; /* int */
2013 iarg[1] = p->attrnamespace; /* int */
2014 uarg[2] = (intptr_t) p->attrname; /* const char * */
2015 uarg[3] = (intptr_t) p->data; /* void * */
2016 uarg[4] = p->nbytes; /* size_t */
2020 /* extattr_get_fd */
2022 struct extattr_get_fd_args *p = params;
2023 iarg[0] = p->fd; /* int */
2024 iarg[1] = p->attrnamespace; /* int */
2025 uarg[2] = (intptr_t) p->attrname; /* const char * */
2026 uarg[3] = (intptr_t) p->data; /* void * */
2027 uarg[4] = p->nbytes; /* size_t */
2031 /* extattr_delete_fd */
2033 struct extattr_delete_fd_args *p = params;
2034 iarg[0] = p->fd; /* int */
2035 iarg[1] = p->attrnamespace; /* int */
2036 uarg[2] = (intptr_t) p->attrname; /* const char * */
2042 struct __setugid_args *p = params;
2043 iarg[0] = p->flag; /* int */
2049 struct eaccess_args *p = params;
2050 uarg[0] = (intptr_t) p->path; /* char * */
2051 iarg[1] = p->amode; /* int */
2057 struct afs3_syscall_args *p = params;
2058 iarg[0] = p->syscall; /* long */
2059 iarg[1] = p->parm1; /* long */
2060 iarg[2] = p->parm2; /* long */
2061 iarg[3] = p->parm3; /* long */
2062 iarg[4] = p->parm4; /* long */
2063 iarg[5] = p->parm5; /* long */
2064 iarg[6] = p->parm6; /* long */
2070 struct nmount_args *p = params;
2071 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
2072 uarg[1] = p->iovcnt; /* unsigned int */
2073 iarg[2] = p->flags; /* int */
2077 /* __mac_get_proc */
2079 struct __mac_get_proc_args *p = params;
2080 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2084 /* __mac_set_proc */
2086 struct __mac_set_proc_args *p = params;
2087 uarg[0] = (intptr_t) p->mac_p; /* struct mac * */
2093 struct __mac_get_fd_args *p = params;
2094 iarg[0] = p->fd; /* int */
2095 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2099 /* __mac_get_file */
2101 struct __mac_get_file_args *p = params;
2102 uarg[0] = (intptr_t) p->path_p; /* const char * */
2103 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2109 struct __mac_set_fd_args *p = params;
2110 iarg[0] = p->fd; /* int */
2111 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2115 /* __mac_set_file */
2117 struct __mac_set_file_args *p = params;
2118 uarg[0] = (intptr_t) p->path_p; /* const char * */
2119 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2125 struct kenv_args *p = params;
2126 iarg[0] = p->what; /* int */
2127 uarg[1] = (intptr_t) p->name; /* const char * */
2128 uarg[2] = (intptr_t) p->value; /* char * */
2129 iarg[3] = p->len; /* int */
2135 struct lchflags_args *p = params;
2136 uarg[0] = (intptr_t) p->path; /* const char * */
2137 uarg[1] = p->flags; /* u_long */
2143 struct uuidgen_args *p = params;
2144 uarg[0] = (intptr_t) p->store; /* struct uuid * */
2145 iarg[1] = p->count; /* int */
2151 struct sendfile_args *p = params;
2152 iarg[0] = p->fd; /* int */
2153 iarg[1] = p->s; /* int */
2154 iarg[2] = p->offset; /* off_t */
2155 uarg[3] = p->nbytes; /* size_t */
2156 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */
2157 uarg[5] = (intptr_t) p->sbytes; /* off_t * */
2158 iarg[6] = p->flags; /* int */
2164 struct mac_syscall_args *p = params;
2165 uarg[0] = (intptr_t) p->policy; /* const char * */
2166 iarg[1] = p->call; /* int */
2167 uarg[2] = (intptr_t) p->arg; /* void * */
2173 struct getfsstat_args *p = params;
2174 uarg[0] = (intptr_t) p->buf; /* struct statfs * */
2175 iarg[1] = p->bufsize; /* long */
2176 iarg[2] = p->flags; /* int */
2182 struct statfs_args *p = params;
2183 uarg[0] = (intptr_t) p->path; /* char * */
2184 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2190 struct fstatfs_args *p = params;
2191 iarg[0] = p->fd; /* int */
2192 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2198 struct fhstatfs_args *p = params;
2199 uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
2200 uarg[1] = (intptr_t) p->buf; /* struct statfs * */
2206 struct ksem_close_args *p = params;
2207 iarg[0] = p->id; /* semid_t */
2213 struct ksem_post_args *p = params;
2214 iarg[0] = p->id; /* semid_t */
2220 struct ksem_wait_args *p = params;
2221 iarg[0] = p->id; /* semid_t */
2227 struct ksem_trywait_args *p = params;
2228 iarg[0] = p->id; /* semid_t */
2234 struct ksem_init_args *p = params;
2235 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2236 uarg[1] = p->value; /* unsigned int */
2242 struct ksem_open_args *p = params;
2243 uarg[0] = (intptr_t) p->idp; /* semid_t * */
2244 uarg[1] = (intptr_t) p->name; /* const char * */
2245 iarg[2] = p->oflag; /* int */
2246 iarg[3] = p->mode; /* mode_t */
2247 uarg[4] = p->value; /* unsigned int */
2253 struct ksem_unlink_args *p = params;
2254 uarg[0] = (intptr_t) p->name; /* const char * */
2260 struct ksem_getvalue_args *p = params;
2261 iarg[0] = p->id; /* semid_t */
2262 uarg[1] = (intptr_t) p->val; /* int * */
2268 struct ksem_destroy_args *p = params;
2269 iarg[0] = p->id; /* semid_t */
2275 struct __mac_get_pid_args *p = params;
2276 iarg[0] = p->pid; /* pid_t */
2277 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2281 /* __mac_get_link */
2283 struct __mac_get_link_args *p = params;
2284 uarg[0] = (intptr_t) p->path_p; /* const char * */
2285 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2289 /* __mac_set_link */
2291 struct __mac_set_link_args *p = params;
2292 uarg[0] = (intptr_t) p->path_p; /* const char * */
2293 uarg[1] = (intptr_t) p->mac_p; /* struct mac * */
2297 /* extattr_set_link */
2299 struct extattr_set_link_args *p = params;
2300 uarg[0] = (intptr_t) p->path; /* const char * */
2301 iarg[1] = p->attrnamespace; /* int */
2302 uarg[2] = (intptr_t) p->attrname; /* const char * */
2303 uarg[3] = (intptr_t) p->data; /* void * */
2304 uarg[4] = p->nbytes; /* size_t */
2308 /* extattr_get_link */
2310 struct extattr_get_link_args *p = params;
2311 uarg[0] = (intptr_t) p->path; /* const char * */
2312 iarg[1] = p->attrnamespace; /* int */
2313 uarg[2] = (intptr_t) p->attrname; /* const char * */
2314 uarg[3] = (intptr_t) p->data; /* void * */
2315 uarg[4] = p->nbytes; /* size_t */
2319 /* extattr_delete_link */
2321 struct extattr_delete_link_args *p = params;
2322 uarg[0] = (intptr_t) p->path; /* const char * */
2323 iarg[1] = p->attrnamespace; /* int */
2324 uarg[2] = (intptr_t) p->attrname; /* const char * */
2330 struct __mac_execve_args *p = params;
2331 uarg[0] = (intptr_t) p->fname; /* char * */
2332 uarg[1] = (intptr_t) p->argv; /* char ** */
2333 uarg[2] = (intptr_t) p->envv; /* char ** */
2334 uarg[3] = (intptr_t) p->mac_p; /* struct mac * */
2340 struct sigaction_args *p = params;
2341 iarg[0] = p->sig; /* int */
2342 uarg[1] = (intptr_t) p->act; /* const struct sigaction * */
2343 uarg[2] = (intptr_t) p->oact; /* struct sigaction * */
2349 struct sigreturn_args *p = params;
2350 uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */
2356 struct getcontext_args *p = params;
2357 uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */
2363 struct setcontext_args *p = params;
2364 uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */
2370 struct swapcontext_args *p = params;
2371 uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */
2372 uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */
2378 struct swapoff_args *p = params;
2379 uarg[0] = (intptr_t) p->name; /* const char * */
2383 /* __acl_get_link */
2385 struct __acl_get_link_args *p = params;
2386 uarg[0] = (intptr_t) p->path; /* const char * */
2387 iarg[1] = p->type; /* acl_type_t */
2388 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2392 /* __acl_set_link */
2394 struct __acl_set_link_args *p = params;
2395 uarg[0] = (intptr_t) p->path; /* const char * */
2396 iarg[1] = p->type; /* acl_type_t */
2397 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2401 /* __acl_delete_link */
2403 struct __acl_delete_link_args *p = params;
2404 uarg[0] = (intptr_t) p->path; /* const char * */
2405 iarg[1] = p->type; /* acl_type_t */
2409 /* __acl_aclcheck_link */
2411 struct __acl_aclcheck_link_args *p = params;
2412 uarg[0] = (intptr_t) p->path; /* const char * */
2413 iarg[1] = p->type; /* acl_type_t */
2414 uarg[2] = (intptr_t) p->aclp; /* struct acl * */
2420 struct sigwait_args *p = params;
2421 uarg[0] = (intptr_t) p->set; /* const sigset_t * */
2422 uarg[1] = (intptr_t) p->sig; /* int * */
2428 struct thr_create_args *p = params;
2429 uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */
2430 uarg[1] = (intptr_t) p->id; /* long * */
2431 iarg[2] = p->flags; /* int */
2437 struct thr_exit_args *p = params;
2438 uarg[0] = (intptr_t) p->state; /* long * */
2444 struct thr_self_args *p = params;
2445 uarg[0] = (intptr_t) p->id; /* long * */
2451 struct thr_kill_args *p = params;
2452 iarg[0] = p->id; /* long */
2453 iarg[1] = p->sig; /* int */
2459 struct jail_attach_args *p = params;
2460 iarg[0] = p->jid; /* int */
2464 /* extattr_list_fd */
2466 struct extattr_list_fd_args *p = params;
2467 iarg[0] = p->fd; /* int */
2468 iarg[1] = p->attrnamespace; /* int */
2469 uarg[2] = (intptr_t) p->data; /* void * */
2470 uarg[3] = p->nbytes; /* size_t */
2474 /* extattr_list_file */
2476 struct extattr_list_file_args *p = params;
2477 uarg[0] = (intptr_t) p->path; /* const char * */
2478 iarg[1] = p->attrnamespace; /* int */
2479 uarg[2] = (intptr_t) p->data; /* void * */
2480 uarg[3] = p->nbytes; /* size_t */
2484 /* extattr_list_link */
2486 struct extattr_list_link_args *p = params;
2487 uarg[0] = (intptr_t) p->path; /* const char * */
2488 iarg[1] = p->attrnamespace; /* int */
2489 uarg[2] = (intptr_t) p->data; /* void * */
2490 uarg[3] = p->nbytes; /* size_t */
2494 /* ksem_timedwait */
2496 struct ksem_timedwait_args *p = params;
2497 iarg[0] = p->id; /* semid_t */
2498 uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */
2504 struct thr_suspend_args *p = params;
2505 uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */
2511 struct thr_wake_args *p = params;
2512 iarg[0] = p->id; /* long */
2518 struct kldunloadf_args *p = params;
2519 iarg[0] = p->fileid; /* int */
2520 iarg[1] = p->flags; /* int */
2526 struct audit_args *p = params;
2527 uarg[0] = (intptr_t) p->record; /* const void * */
2528 uarg[1] = p->length; /* u_int */
2534 struct auditon_args *p = params;
2535 iarg[0] = p->cmd; /* int */
2536 uarg[1] = (intptr_t) p->data; /* void * */
2537 uarg[2] = p->length; /* u_int */
2543 struct getauid_args *p = params;
2544 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2550 struct setauid_args *p = params;
2551 uarg[0] = (intptr_t) p->auid; /* uid_t * */
2557 struct getaudit_args *p = params;
2558 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2564 struct setaudit_args *p = params;
2565 uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */
2571 struct getaudit_addr_args *p = params;
2572 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2573 uarg[1] = p->length; /* u_int */
2579 struct setaudit_addr_args *p = params;
2580 uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */
2581 uarg[1] = p->length; /* u_int */
2587 struct auditctl_args *p = params;
2588 uarg[0] = (intptr_t) p->path; /* char * */
2594 struct _umtx_op_args *p = params;
2595 uarg[0] = (intptr_t) p->obj; /* void * */
2596 iarg[1] = p->op; /* int */
2597 uarg[2] = p->val; /* u_long */
2598 uarg[3] = (intptr_t) p->uaddr1; /* void * */
2599 uarg[4] = (intptr_t) p->uaddr2; /* void * */
2605 struct thr_new_args *p = params;
2606 uarg[0] = (intptr_t) p->param; /* struct thr_param * */
2607 iarg[1] = p->param_size; /* int */
2613 struct sigqueue_args *p = params;
2614 iarg[0] = p->pid; /* pid_t */
2615 iarg[1] = p->signum; /* int */
2616 uarg[2] = (intptr_t) p->value; /* void * */
2622 struct kmq_open_args *p = params;
2623 uarg[0] = (intptr_t) p->path; /* const char * */
2624 iarg[1] = p->flags; /* int */
2625 iarg[2] = p->mode; /* mode_t */
2626 uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */
2632 struct kmq_setattr_args *p = params;
2633 iarg[0] = p->mqd; /* int */
2634 uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */
2635 uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */
2639 /* kmq_timedreceive */
2641 struct kmq_timedreceive_args *p = params;
2642 iarg[0] = p->mqd; /* int */
2643 uarg[1] = (intptr_t) p->msg_ptr; /* char * */
2644 uarg[2] = p->msg_len; /* size_t */
2645 uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */
2646 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2652 struct kmq_timedsend_args *p = params;
2653 iarg[0] = p->mqd; /* int */
2654 uarg[1] = (intptr_t) p->msg_ptr; /* const char * */
2655 uarg[2] = p->msg_len; /* size_t */
2656 uarg[3] = p->msg_prio; /* unsigned */
2657 uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */
2663 struct kmq_notify_args *p = params;
2664 iarg[0] = p->mqd; /* int */
2665 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
2671 struct kmq_unlink_args *p = params;
2672 uarg[0] = (intptr_t) p->path; /* const char * */
2678 struct abort2_args *p = params;
2679 uarg[0] = (intptr_t) p->why; /* const char * */
2680 iarg[1] = p->nargs; /* int */
2681 uarg[2] = (intptr_t) p->args; /* void ** */
2687 struct thr_set_name_args *p = params;
2688 iarg[0] = p->id; /* long */
2689 uarg[1] = (intptr_t) p->name; /* const char * */
2695 struct aio_fsync_args *p = params;
2696 iarg[0] = p->op; /* int */
2697 uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */
2703 struct rtprio_thread_args *p = params;
2704 iarg[0] = p->function; /* int */
2705 iarg[1] = p->lwpid; /* lwpid_t */
2706 uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */
2712 struct sctp_peeloff_args *p = params;
2713 iarg[0] = p->sd; /* int */
2714 uarg[1] = p->name; /* uint32_t */
2718 /* sctp_generic_sendmsg */
2720 struct sctp_generic_sendmsg_args *p = params;
2721 iarg[0] = p->sd; /* int */
2722 uarg[1] = (intptr_t) p->msg; /* caddr_t */
2723 iarg[2] = p->mlen; /* int */
2724 uarg[3] = (intptr_t) p->to; /* caddr_t */
2725 iarg[4] = p->tolen; /* __socklen_t */
2726 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2727 iarg[6] = p->flags; /* int */
2731 /* sctp_generic_sendmsg_iov */
2733 struct sctp_generic_sendmsg_iov_args *p = params;
2734 iarg[0] = p->sd; /* int */
2735 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2736 iarg[2] = p->iovlen; /* int */
2737 uarg[3] = (intptr_t) p->to; /* caddr_t */
2738 iarg[4] = p->tolen; /* __socklen_t */
2739 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2740 iarg[6] = p->flags; /* int */
2744 /* sctp_generic_recvmsg */
2746 struct sctp_generic_recvmsg_args *p = params;
2747 iarg[0] = p->sd; /* int */
2748 uarg[1] = (intptr_t) p->iov; /* struct iovec * */
2749 iarg[2] = p->iovlen; /* int */
2750 uarg[3] = (intptr_t) p->from; /* struct sockaddr * */
2751 uarg[4] = (intptr_t) p->fromlenaddr; /* __socklen_t * */
2752 uarg[5] = (intptr_t) p->sinfo; /* struct sctp_sndrcvinfo * */
2753 uarg[6] = (intptr_t) p->msg_flags; /* int * */
2759 struct pread_args *p = params;
2760 iarg[0] = p->fd; /* int */
2761 uarg[1] = (intptr_t) p->buf; /* void * */
2762 uarg[2] = p->nbyte; /* size_t */
2763 iarg[3] = p->offset; /* off_t */
2769 struct pwrite_args *p = params;
2770 iarg[0] = p->fd; /* int */
2771 uarg[1] = (intptr_t) p->buf; /* const void * */
2772 uarg[2] = p->nbyte; /* size_t */
2773 iarg[3] = p->offset; /* off_t */
2779 struct mmap_args *p = params;
2780 uarg[0] = (intptr_t) p->addr; /* caddr_t */
2781 uarg[1] = p->len; /* size_t */
2782 iarg[2] = p->prot; /* int */
2783 iarg[3] = p->flags; /* int */
2784 iarg[4] = p->fd; /* int */
2785 iarg[5] = p->pos; /* off_t */
2791 struct lseek_args *p = params;
2792 iarg[0] = p->fd; /* int */
2793 iarg[1] = p->offset; /* off_t */
2794 iarg[2] = p->whence; /* int */
2800 struct truncate_args *p = params;
2801 uarg[0] = (intptr_t) p->path; /* char * */
2802 iarg[1] = p->length; /* off_t */
2808 struct ftruncate_args *p = params;
2809 iarg[0] = p->fd; /* int */
2810 iarg[1] = p->length; /* off_t */
2816 struct thr_kill2_args *p = params;
2817 iarg[0] = p->pid; /* pid_t */
2818 iarg[1] = p->id; /* long */
2819 iarg[2] = p->sig; /* int */
2825 struct shm_open_args *p = params;
2826 uarg[0] = (intptr_t) p->path; /* const char * */
2827 iarg[1] = p->flags; /* int */
2828 iarg[2] = p->mode; /* mode_t */
2834 struct shm_unlink_args *p = params;
2835 uarg[0] = (intptr_t) p->path; /* const char * */
2841 struct cpuset_args *p = params;
2842 uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
2848 struct cpuset_setid_args *p = params;
2849 iarg[0] = p->which; /* cpuwhich_t */
2850 iarg[1] = p->id; /* id_t */
2851 iarg[2] = p->setid; /* cpusetid_t */
2857 struct cpuset_getid_args *p = params;
2858 iarg[0] = p->level; /* cpulevel_t */
2859 iarg[1] = p->which; /* cpuwhich_t */
2860 iarg[2] = p->id; /* id_t */
2861 uarg[3] = (intptr_t) p->setid; /* cpusetid_t * */
2865 /* cpuset_getaffinity */
2867 struct cpuset_getaffinity_args *p = params;
2868 iarg[0] = p->level; /* cpulevel_t */
2869 iarg[1] = p->which; /* cpuwhich_t */
2870 iarg[2] = p->id; /* id_t */
2871 uarg[3] = p->cpusetsize; /* size_t */
2872 uarg[4] = (intptr_t) p->mask; /* cpuset_t * */
2876 /* cpuset_setaffinity */
2878 struct cpuset_setaffinity_args *p = params;
2879 iarg[0] = p->level; /* cpulevel_t */
2880 iarg[1] = p->which; /* cpuwhich_t */
2881 iarg[2] = p->id; /* id_t */
2882 uarg[3] = p->cpusetsize; /* size_t */
2883 uarg[4] = (intptr_t) p->mask; /* const cpuset_t * */
2889 struct faccessat_args *p = params;
2890 iarg[0] = p->fd; /* int */
2891 uarg[1] = (intptr_t) p->path; /* char * */
2892 iarg[2] = p->amode; /* int */
2893 iarg[3] = p->flag; /* int */
2899 struct fchmodat_args *p = params;
2900 iarg[0] = p->fd; /* int */
2901 uarg[1] = (intptr_t) p->path; /* char * */
2902 iarg[2] = p->mode; /* mode_t */
2903 iarg[3] = p->flag; /* int */
2909 struct fchownat_args *p = params;
2910 iarg[0] = p->fd; /* int */
2911 uarg[1] = (intptr_t) p->path; /* char * */
2912 uarg[2] = p->uid; /* uid_t */
2913 iarg[3] = p->gid; /* gid_t */
2914 iarg[4] = p->flag; /* int */
2920 struct fexecve_args *p = params;
2921 iarg[0] = p->fd; /* int */
2922 uarg[1] = (intptr_t) p->argv; /* char ** */
2923 uarg[2] = (intptr_t) p->envv; /* char ** */
2929 struct fstatat_args *p = params;
2930 iarg[0] = p->fd; /* int */
2931 uarg[1] = (intptr_t) p->path; /* char * */
2932 uarg[2] = (intptr_t) p->buf; /* struct stat * */
2933 iarg[3] = p->flag; /* int */
2939 struct futimesat_args *p = params;
2940 iarg[0] = p->fd; /* int */
2941 uarg[1] = (intptr_t) p->path; /* char * */
2942 uarg[2] = (intptr_t) p->times; /* struct timeval * */
2948 struct linkat_args *p = params;
2949 iarg[0] = p->fd1; /* int */
2950 uarg[1] = (intptr_t) p->path1; /* char * */
2951 iarg[2] = p->fd2; /* int */
2952 uarg[3] = (intptr_t) p->path2; /* char * */
2953 iarg[4] = p->flag; /* int */
2959 struct mkdirat_args *p = params;
2960 iarg[0] = p->fd; /* int */
2961 uarg[1] = (intptr_t) p->path; /* char * */
2962 iarg[2] = p->mode; /* mode_t */
2968 struct mkfifoat_args *p = params;
2969 iarg[0] = p->fd; /* int */
2970 uarg[1] = (intptr_t) p->path; /* char * */
2971 iarg[2] = p->mode; /* mode_t */
2977 struct mknodat_args *p = params;
2978 iarg[0] = p->fd; /* int */
2979 uarg[1] = (intptr_t) p->path; /* char * */
2980 iarg[2] = p->mode; /* mode_t */
2981 iarg[3] = p->dev; /* dev_t */
2987 struct openat_args *p = params;
2988 iarg[0] = p->fd; /* int */
2989 uarg[1] = (intptr_t) p->path; /* char * */
2990 iarg[2] = p->flag; /* int */
2991 iarg[3] = p->mode; /* mode_t */
2997 struct readlinkat_args *p = params;
2998 iarg[0] = p->fd; /* int */
2999 uarg[1] = (intptr_t) p->path; /* char * */
3000 uarg[2] = (intptr_t) p->buf; /* char * */
3001 uarg[3] = p->bufsize; /* size_t */
3007 struct renameat_args *p = params;
3008 iarg[0] = p->oldfd; /* int */
3009 uarg[1] = (intptr_t) p->old; /* char * */
3010 iarg[2] = p->newfd; /* int */
3011 uarg[3] = (intptr_t) p->new; /* char * */
3017 struct symlinkat_args *p = params;
3018 uarg[0] = (intptr_t) p->path1; /* char * */
3019 iarg[1] = p->fd; /* int */
3020 uarg[2] = (intptr_t) p->path2; /* char * */
3026 struct unlinkat_args *p = params;
3027 iarg[0] = p->fd; /* int */
3028 uarg[1] = (intptr_t) p->path; /* char * */
3029 iarg[2] = p->flag; /* int */
3035 struct posix_openpt_args *p = params;
3036 iarg[0] = p->flags; /* int */
3042 struct gssd_syscall_args *p = params;
3043 uarg[0] = (intptr_t) p->path; /* char * */
3049 struct jail_get_args *p = params;
3050 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
3051 uarg[1] = p->iovcnt; /* unsigned int */
3052 iarg[2] = p->flags; /* int */
3058 struct jail_set_args *p = params;
3059 uarg[0] = (intptr_t) p->iovp; /* struct iovec * */
3060 uarg[1] = p->iovcnt; /* unsigned int */
3061 iarg[2] = p->flags; /* int */
3067 struct jail_remove_args *p = params;
3068 iarg[0] = p->jid; /* int */
3074 struct closefrom_args *p = params;
3075 iarg[0] = p->lowfd; /* int */
3081 struct __semctl_args *p = params;
3082 iarg[0] = p->semid; /* int */
3083 iarg[1] = p->semnum; /* int */
3084 iarg[2] = p->cmd; /* int */
3085 uarg[3] = (intptr_t) p->arg; /* union semun * */
3091 struct msgctl_args *p = params;
3092 iarg[0] = p->msqid; /* int */
3093 iarg[1] = p->cmd; /* int */
3094 uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */
3100 struct shmctl_args *p = params;
3101 iarg[0] = p->shmid; /* int */
3102 iarg[1] = p->cmd; /* int */
3103 uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */
3109 struct lpathconf_args *p = params;
3110 uarg[0] = (intptr_t) p->path; /* char * */
3111 iarg[1] = p->name; /* int */
3115 /* __cap_rights_get */
3117 struct __cap_rights_get_args *p = params;
3118 iarg[0] = p->version; /* int */
3119 iarg[1] = p->fd; /* int */
3120 uarg[2] = (intptr_t) p->rightsp; /* cap_rights_t * */
3131 struct cap_getmode_args *p = params;
3132 uarg[0] = (intptr_t) p->modep; /* u_int * */
3138 struct pdfork_args *p = params;
3139 uarg[0] = (intptr_t) p->fdp; /* int * */
3140 iarg[1] = p->flags; /* int */
3146 struct pdkill_args *p = params;
3147 iarg[0] = p->fd; /* int */
3148 iarg[1] = p->signum; /* int */
3154 struct pdgetpid_args *p = params;
3155 iarg[0] = p->fd; /* int */
3156 uarg[1] = (intptr_t) p->pidp; /* pid_t * */
3162 struct pselect_args *p = params;
3163 iarg[0] = p->nd; /* int */
3164 uarg[1] = (intptr_t) p->in; /* fd_set * */
3165 uarg[2] = (intptr_t) p->ou; /* fd_set * */
3166 uarg[3] = (intptr_t) p->ex; /* fd_set * */
3167 uarg[4] = (intptr_t) p->ts; /* const struct timespec * */
3168 uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
3174 struct getloginclass_args *p = params;
3175 uarg[0] = (intptr_t) p->namebuf; /* char * */
3176 uarg[1] = p->namelen; /* size_t */
3182 struct setloginclass_args *p = params;
3183 uarg[0] = (intptr_t) p->namebuf; /* const char * */
3187 /* rctl_get_racct */
3189 struct rctl_get_racct_args *p = params;
3190 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3191 uarg[1] = p->inbuflen; /* size_t */
3192 uarg[2] = (intptr_t) p->outbufp; /* void * */
3193 uarg[3] = p->outbuflen; /* size_t */
3197 /* rctl_get_rules */
3199 struct rctl_get_rules_args *p = params;
3200 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3201 uarg[1] = p->inbuflen; /* size_t */
3202 uarg[2] = (intptr_t) p->outbufp; /* void * */
3203 uarg[3] = p->outbuflen; /* size_t */
3207 /* rctl_get_limits */
3209 struct rctl_get_limits_args *p = params;
3210 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3211 uarg[1] = p->inbuflen; /* size_t */
3212 uarg[2] = (intptr_t) p->outbufp; /* void * */
3213 uarg[3] = p->outbuflen; /* size_t */
3219 struct rctl_add_rule_args *p = params;
3220 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3221 uarg[1] = p->inbuflen; /* size_t */
3222 uarg[2] = (intptr_t) p->outbufp; /* void * */
3223 uarg[3] = p->outbuflen; /* size_t */
3227 /* rctl_remove_rule */
3229 struct rctl_remove_rule_args *p = params;
3230 uarg[0] = (intptr_t) p->inbufp; /* const void * */
3231 uarg[1] = p->inbuflen; /* size_t */
3232 uarg[2] = (intptr_t) p->outbufp; /* void * */
3233 uarg[3] = p->outbuflen; /* size_t */
3237 /* posix_fallocate */
3239 struct posix_fallocate_args *p = params;
3240 iarg[0] = p->fd; /* int */
3241 iarg[1] = p->offset; /* off_t */
3242 iarg[2] = p->len; /* off_t */
3248 struct posix_fadvise_args *p = params;
3249 iarg[0] = p->fd; /* int */
3250 iarg[1] = p->offset; /* off_t */
3251 iarg[2] = p->len; /* off_t */
3252 iarg[3] = p->advice; /* int */
3258 struct wait6_args *p = params;
3259 iarg[0] = p->idtype; /* idtype_t */
3260 iarg[1] = p->id; /* id_t */
3261 uarg[2] = (intptr_t) p->status; /* int * */
3262 iarg[3] = p->options; /* int */
3263 uarg[4] = (intptr_t) p->wrusage; /* struct __wrusage * */
3264 uarg[5] = (intptr_t) p->info; /* siginfo_t * */
3268 /* cap_rights_limit */
3270 struct cap_rights_limit_args *p = params;
3271 iarg[0] = p->fd; /* int */
3272 uarg[1] = (intptr_t) p->rightsp; /* cap_rights_t * */
3276 /* cap_ioctls_limit */
3278 struct cap_ioctls_limit_args *p = params;
3279 iarg[0] = p->fd; /* int */
3280 uarg[1] = (intptr_t) p->cmds; /* const u_long * */
3281 uarg[2] = p->ncmds; /* size_t */
3285 /* cap_ioctls_get */
3287 struct cap_ioctls_get_args *p = params;
3288 iarg[0] = p->fd; /* int */
3289 uarg[1] = (intptr_t) p->cmds; /* u_long * */
3290 uarg[2] = p->maxcmds; /* size_t */
3294 /* cap_fcntls_limit */
3296 struct cap_fcntls_limit_args *p = params;
3297 iarg[0] = p->fd; /* int */
3298 uarg[1] = p->fcntlrights; /* uint32_t */
3302 /* cap_fcntls_get */
3304 struct cap_fcntls_get_args *p = params;
3305 iarg[0] = p->fd; /* int */
3306 uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */
3312 struct bindat_args *p = params;
3313 iarg[0] = p->fd; /* int */
3314 iarg[1] = p->s; /* int */
3315 uarg[2] = (intptr_t) p->name; /* caddr_t */
3316 iarg[3] = p->namelen; /* int */
3322 struct connectat_args *p = params;
3323 iarg[0] = p->fd; /* int */
3324 iarg[1] = p->s; /* int */
3325 uarg[2] = (intptr_t) p->name; /* caddr_t */
3326 iarg[3] = p->namelen; /* int */
3332 struct chflagsat_args *p = params;
3333 iarg[0] = p->fd; /* int */
3334 uarg[1] = (intptr_t) p->path; /* const char * */
3335 uarg[2] = p->flags; /* u_long */
3336 iarg[3] = p->atflag; /* int */
3342 struct accept4_args *p = params;
3343 iarg[0] = p->s; /* int */
3344 uarg[1] = (intptr_t) p->name; /* struct sockaddr * */
3345 uarg[2] = (intptr_t) p->anamelen; /* __socklen_t * */
3346 iarg[3] = p->flags; /* int */
3352 struct pipe2_args *p = params;
3353 uarg[0] = (intptr_t) p->fildes; /* int * */
3354 iarg[1] = p->flags; /* int */
3360 struct aio_mlock_args *p = params;
3361 uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */
3367 struct procctl_args *p = params;
3368 iarg[0] = p->idtype; /* idtype_t */
3369 iarg[1] = p->id; /* id_t */
3370 iarg[2] = p->com; /* int */
3371 uarg[3] = (intptr_t) p->data; /* void * */
3381 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
3383 const char *p = NULL;
3472 p = "struct rusage *";
3653 p = "struct msghdr *";
3669 p = "struct msghdr *";
3694 p = "struct sockaddr *";
3697 p = "__socklen_t *";
3710 p = "struct sockaddr *";
3713 p = "__socklen_t *";
3726 p = "struct sockaddr *";
3729 p = "__socklen_t *";
3742 p = "struct sockaddr *";
3745 p = "__socklen_t *";
4172 p = "struct itimerval *";
4175 p = "struct itimerval *";
4198 p = "struct itimerval *";
4252 p = "struct timeval *";
4384 p = "struct timeval *";
4387 p = "struct timezone *";
4400 p = "struct rusage *";
4435 p = "struct iovec *";
4451 p = "struct iovec *";
4464 p = "struct timeval *";
4467 p = "struct timezone *";
4654 p = "struct timeval *";
4664 p = "struct timeval *";
4667 p = "struct timeval *";
4734 p = "struct fhandle *";
4747 p = "struct fhandle *";
4776 p = "struct rtprio *";
4848 /* freebsd6_pread */
4870 /* freebsd6_pwrite */
4906 p = "struct timex *";
4949 p = "struct stat *";
4962 p = "struct stat *";
4975 p = "struct stat *";
5014 p = "struct rlimit *";
5027 p = "struct rlimit *";
5083 /* freebsd6_lseek */
5102 /* freebsd6_truncate */
5118 /* freebsd6_ftruncate */
5202 p = "struct timeval *";
5222 p = "struct pollfd *";
5287 p = "struct sembuf *";
5399 p = "struct timespec *";
5412 p = "const struct timespec *";
5425 p = "struct timespec *";
5438 p = "struct sigevent *";
5457 /* ktimer_settime */
5467 p = "const struct itimerspec *";
5470 p = "struct itimerspec *";
5476 /* ktimer_gettime */
5483 p = "struct itimerspec *";
5489 /* ktimer_getoverrun */
5503 p = "const struct timespec *";
5506 p = "struct timespec *";
5512 /* ffclock_getcounter */
5522 /* ffclock_setestimate */
5526 p = "struct ffclock_estimate *";
5532 /* ffclock_getestimate */
5536 p = "struct ffclock_estimate *";
5542 /* clock_getcpuclockid2 */
5562 p = "struct ntptimeval *";
5598 p = "struct pollfd *";
5633 p = "struct aiocb *";
5643 p = "struct aiocb *";
5656 p = "struct aiocb *const *";
5662 p = "struct sigevent *";
5720 p = "struct timeval *";
5749 p = "struct nstat *";
5762 p = "struct nstat *";
5775 p = "struct nstat *";
5788 p = "struct iovec *";
5807 p = "struct iovec *";
5823 p = "const struct fhandle *";
5836 p = "const struct fhandle *";
5839 p = "struct stat *";
5862 p = "struct module_stat *";
5935 p = "struct kld_file_stat *";
5997 p = "struct aiocb *";
6007 p = "struct aiocb *const *";
6013 p = "const struct timespec *";
6026 p = "struct aiocb *";
6036 p = "struct aiocb *";
6046 p = "struct oaiocb *";
6056 p = "struct oaiocb *";
6069 p = "struct oaiocb *const *";
6075 p = "struct osigevent *";
6110 /* sched_setparam */
6117 p = "const struct sched_param *";
6123 /* sched_getparam */
6130 p = "struct sched_param *";
6136 /* sched_setscheduler */
6146 p = "const struct sched_param *";
6152 /* sched_getscheduler */
6165 /* sched_get_priority_max */
6175 /* sched_get_priority_min */
6185 /* sched_rr_get_interval */
6192 p = "struct timespec *";
6231 p = "struct jail *";
6266 p = "const sigset_t *";
6279 p = "const sigset_t *";
6299 p = "const sigset_t *";
6305 p = "const struct timespec *";
6315 p = "const sigset_t *";
6324 /* __acl_get_file */
6340 /* __acl_set_file */
6388 /* __acl_delete_file */
6401 /* __acl_delete_fd */
6414 /* __acl_aclcheck_file */
6430 /* __acl_aclcheck_fd */
6468 /* extattr_set_file */
6490 /* extattr_get_file */
6512 /* extattr_delete_file */
6528 /* aio_waitcomplete */
6532 p = "struct aiocb **";
6535 p = "struct timespec *";
6583 p = "struct kevent *";
6589 p = "struct kevent *";
6595 p = "const struct timespec *";
6601 /* extattr_set_fd */
6623 /* extattr_get_fd */
6645 /* extattr_delete_fd */
6716 p = "struct iovec *";
6728 /* __mac_get_proc */
6738 /* __mac_set_proc */
6761 /* __mac_get_file */
6787 /* __mac_set_file */
6836 p = "struct uuid *";
6861 p = "struct sf_hdtr *";
6893 p = "struct statfs *";
6912 p = "struct statfs *";
6925 p = "struct statfs *";
6935 p = "const struct fhandle *";
6938 p = "struct statfs *";
7065 /* __mac_get_link */
7078 /* __mac_set_link */
7091 /* extattr_set_link */
7113 /* extattr_get_link */
7135 /* extattr_delete_link */
7177 p = "const struct sigaction *";
7180 p = "struct sigaction *";
7190 p = "const struct __ucontext *";
7200 p = "struct __ucontext *";
7210 p = "const struct __ucontext *";
7220 p = "struct __ucontext *";
7223 p = "const struct __ucontext *";
7239 /* __acl_get_link */
7255 /* __acl_set_link */
7271 /* __acl_delete_link */
7284 /* __acl_aclcheck_link */
7304 p = "const sigset_t *";
7372 /* extattr_list_fd */
7391 /* extattr_list_file */
7410 /* extattr_list_link */
7429 /* ksem_timedwait */
7436 p = "const struct timespec *";
7446 p = "const struct timespec *";
7528 p = "struct auditinfo *";
7538 p = "struct auditinfo *";
7548 p = "struct auditinfo_addr *";
7561 p = "struct auditinfo_addr *";
7606 p = "struct thr_param *";
7644 p = "const struct mq_attr *";
7657 p = "const struct mq_attr *";
7660 p = "struct mq_attr *";
7666 /* kmq_timedreceive */
7682 p = "const struct timespec *";
7704 p = "const struct timespec *";
7717 p = "const struct sigevent *";
7769 p = "struct aiocb *";
7785 p = "struct rtprio *";
7804 /* sctp_generic_sendmsg */
7823 p = "struct sctp_sndrcvinfo *";
7832 /* sctp_generic_sendmsg_iov */
7839 p = "struct iovec *";
7851 p = "struct sctp_sndrcvinfo *";
7860 /* sctp_generic_recvmsg */
7867 p = "struct iovec *";
7873 p = "struct sockaddr *";
7876 p = "__socklen_t *";
7879 p = "struct sctp_sndrcvinfo *";
8080 /* cpuset_getaffinity */
8102 /* cpuset_setaffinity */
8118 p = "const cpuset_t *";
8210 p = "struct stat *";
8229 p = "struct timeval *";
8421 p = "struct iovec *";
8437 p = "struct iovec *";
8482 p = "union semun *";
8498 p = "struct msqid_ds *";
8514 p = "struct shmid_ds *";
8533 /* __cap_rights_get */
8543 p = "cap_rights_t *";
8617 p = "const struct timespec *";
8620 p = "const sigset_t *";
8649 /* rctl_get_racct */
8668 /* rctl_get_rules */
8687 /* rctl_get_limits */
8725 /* rctl_remove_rule */
8744 /* posix_fallocate */
8795 p = "struct __wrusage *";
8804 /* cap_rights_limit */
8811 p = "cap_rights_t *";
8817 /* cap_ioctls_limit */
8824 p = "const u_long *";
8833 /* cap_ioctls_get */
8849 /* cap_fcntls_limit */
8862 /* cap_fcntls_get */
8939 p = "struct sockaddr *";
8942 p = "__socklen_t *";
8968 p = "struct aiocb *";
8997 strlcpy(desc, p, descsz);
9000 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
9002 const char *p = NULL;
9008 if (ndx == 0 || ndx == 1)
9015 if (ndx == 0 || ndx == 1)
9020 if (ndx == 0 || ndx == 1)
9025 if (ndx == 0 || ndx == 1)
9030 if (ndx == 0 || ndx == 1)
9035 if (ndx == 0 || ndx == 1)
9040 if (ndx == 0 || ndx == 1)
9045 if (ndx == 0 || ndx == 1)
9050 if (ndx == 0 || ndx == 1)
9055 if (ndx == 0 || ndx == 1)
9060 if (ndx == 0 || ndx == 1)
9065 if (ndx == 0 || ndx == 1)
9070 if (ndx == 0 || ndx == 1)
9075 if (ndx == 0 || ndx == 1)
9082 if (ndx == 0 || ndx == 1)
9087 if (ndx == 0 || ndx == 1)
9092 if (ndx == 0 || ndx == 1)
9101 if (ndx == 0 || ndx == 1)
9106 if (ndx == 0 || ndx == 1)
9111 if (ndx == 0 || ndx == 1)
9116 if (ndx == 0 || ndx == 1)
9121 if (ndx == 0 || ndx == 1)
9126 if (ndx == 0 || ndx == 1)
9131 if (ndx == 0 || ndx == 1)
9136 if (ndx == 0 || ndx == 1)
9141 if (ndx == 0 || ndx == 1)
9146 if (ndx == 0 || ndx == 1)
9153 if (ndx == 0 || ndx == 1)
9160 if (ndx == 0 || ndx == 1)
9169 if (ndx == 0 || ndx == 1)
9174 if (ndx == 0 || ndx == 1)
9181 if (ndx == 0 || ndx == 1)
9186 if (ndx == 0 || ndx == 1)
9191 if (ndx == 0 || ndx == 1)
9196 if (ndx == 0 || ndx == 1)
9201 if (ndx == 0 || ndx == 1)
9206 if (ndx == 0 || ndx == 1)
9211 if (ndx == 0 || ndx == 1)
9216 if (ndx == 0 || ndx == 1)
9221 if (ndx == 0 || ndx == 1)
9226 if (ndx == 0 || ndx == 1)
9231 if (ndx == 0 || ndx == 1)
9236 if (ndx == 0 || ndx == 1)
9241 if (ndx == 0 || ndx == 1)
9248 if (ndx == 0 || ndx == 1)
9253 if (ndx == 0 || ndx == 1)
9258 if (ndx == 0 || ndx == 1)
9263 if (ndx == 0 || ndx == 1)
9268 if (ndx == 0 || ndx == 1)
9273 if (ndx == 0 || ndx == 1)
9278 if (ndx == 0 || ndx == 1)
9283 if (ndx == 0 || ndx == 1)
9288 if (ndx == 0 || ndx == 1)
9295 if (ndx == 0 || ndx == 1)
9300 if (ndx == 0 || ndx == 1)
9305 if (ndx == 0 || ndx == 1)
9310 if (ndx == 0 || ndx == 1)
9317 if (ndx == 0 || ndx == 1)
9322 if (ndx == 0 || ndx == 1)
9327 if (ndx == 0 || ndx == 1)
9332 if (ndx == 0 || ndx == 1)
9337 if (ndx == 0 || ndx == 1)
9342 if (ndx == 0 || ndx == 1)
9347 if (ndx == 0 || ndx == 1)
9352 if (ndx == 0 || ndx == 1)
9357 if (ndx == 0 || ndx == 1)
9362 if (ndx == 0 || ndx == 1)
9367 if (ndx == 0 || ndx == 1)
9372 if (ndx == 0 || ndx == 1)
9377 if (ndx == 0 || ndx == 1)
9382 if (ndx == 0 || ndx == 1)
9387 if (ndx == 0 || ndx == 1)
9392 if (ndx == 0 || ndx == 1)
9397 if (ndx == 0 || ndx == 1)
9402 if (ndx == 0 || ndx == 1)
9407 if (ndx == 0 || ndx == 1)
9412 if (ndx == 0 || ndx == 1)
9417 if (ndx == 0 || ndx == 1)
9422 if (ndx == 0 || ndx == 1)
9427 if (ndx == 0 || ndx == 1)
9432 if (ndx == 0 || ndx == 1)
9437 if (ndx == 0 || ndx == 1)
9442 if (ndx == 0 || ndx == 1)
9447 if (ndx == 0 || ndx == 1)
9452 if (ndx == 0 || ndx == 1)
9457 if (ndx == 0 || ndx == 1)
9462 if (ndx == 0 || ndx == 1)
9467 if (ndx == 0 || ndx == 1)
9474 if (ndx == 0 || ndx == 1)
9479 if (ndx == 0 || ndx == 1)
9484 if (ndx == 0 || ndx == 1)
9489 if (ndx == 0 || ndx == 1)
9494 if (ndx == 0 || ndx == 1)
9499 if (ndx == 0 || ndx == 1)
9504 if (ndx == 0 || ndx == 1)
9509 if (ndx == 0 || ndx == 1)
9514 if (ndx == 0 || ndx == 1)
9519 if (ndx == 0 || ndx == 1)
9522 /* freebsd6_pread */
9524 if (ndx == 0 || ndx == 1)
9527 /* freebsd6_pwrite */
9529 if (ndx == 0 || ndx == 1)
9534 if (ndx == 0 || ndx == 1)
9539 if (ndx == 0 || ndx == 1)
9544 if (ndx == 0 || ndx == 1)
9549 if (ndx == 0 || ndx == 1)
9554 if (ndx == 0 || ndx == 1)
9559 if (ndx == 0 || ndx == 1)
9564 if (ndx == 0 || ndx == 1)
9569 if (ndx == 0 || ndx == 1)
9574 if (ndx == 0 || ndx == 1)
9579 if (ndx == 0 || ndx == 1)
9584 if (ndx == 0 || ndx == 1)
9589 if (ndx == 0 || ndx == 1)
9594 if (ndx == 0 || ndx == 1)
9599 if (ndx == 0 || ndx == 1)
9604 /* freebsd6_lseek */
9606 if (ndx == 0 || ndx == 1)
9609 /* freebsd6_truncate */
9611 if (ndx == 0 || ndx == 1)
9614 /* freebsd6_ftruncate */
9616 if (ndx == 0 || ndx == 1)
9621 if (ndx == 0 || ndx == 1)
9626 if (ndx == 0 || ndx == 1)
9631 if (ndx == 0 || ndx == 1)
9636 if (ndx == 0 || ndx == 1)
9641 if (ndx == 0 || ndx == 1)
9646 if (ndx == 0 || ndx == 1)
9651 if (ndx == 0 || ndx == 1)
9676 if (ndx == 0 || ndx == 1)
9681 if (ndx == 0 || ndx == 1)
9686 if (ndx == 0 || ndx == 1)
9691 if (ndx == 0 || ndx == 1)
9696 if (ndx == 0 || ndx == 1)
9701 if (ndx == 0 || ndx == 1)
9706 if (ndx == 0 || ndx == 1)
9711 if (ndx == 0 || ndx == 1)
9716 if (ndx == 0 || ndx == 1)
9721 if (ndx == 0 || ndx == 1)
9726 if (ndx == 0 || ndx == 1)
9731 if (ndx == 0 || ndx == 1)
9736 if (ndx == 0 || ndx == 1)
9739 /* ktimer_settime */
9741 if (ndx == 0 || ndx == 1)
9744 /* ktimer_gettime */
9746 if (ndx == 0 || ndx == 1)
9749 /* ktimer_getoverrun */
9751 if (ndx == 0 || ndx == 1)
9756 if (ndx == 0 || ndx == 1)
9759 /* ffclock_getcounter */
9761 if (ndx == 0 || ndx == 1)
9764 /* ffclock_setestimate */
9766 if (ndx == 0 || ndx == 1)
9769 /* ffclock_getestimate */
9771 if (ndx == 0 || ndx == 1)
9774 /* clock_getcpuclockid2 */
9776 if (ndx == 0 || ndx == 1)
9781 if (ndx == 0 || ndx == 1)
9786 if (ndx == 0 || ndx == 1)
9791 if (ndx == 0 || ndx == 1)
9796 if (ndx == 0 || ndx == 1)
9803 if (ndx == 0 || ndx == 1)
9808 if (ndx == 0 || ndx == 1)
9813 if (ndx == 0 || ndx == 1)
9818 if (ndx == 0 || ndx == 1)
9823 if (ndx == 0 || ndx == 1)
9828 if (ndx == 0 || ndx == 1)
9833 if (ndx == 0 || ndx == 1)
9838 if (ndx == 0 || ndx == 1)
9843 if (ndx == 0 || ndx == 1)
9848 if (ndx == 0 || ndx == 1)
9853 if (ndx == 0 || ndx == 1)
9858 if (ndx == 0 || ndx == 1)
9863 if (ndx == 0 || ndx == 1)
9868 if (ndx == 0 || ndx == 1)
9873 if (ndx == 0 || ndx == 1)
9878 if (ndx == 0 || ndx == 1)
9883 if (ndx == 0 || ndx == 1)
9888 if (ndx == 0 || ndx == 1)
9893 if (ndx == 0 || ndx == 1)
9898 if (ndx == 0 || ndx == 1)
9903 if (ndx == 0 || ndx == 1)
9908 if (ndx == 0 || ndx == 1)
9913 if (ndx == 0 || ndx == 1)
9918 if (ndx == 0 || ndx == 1)
9923 if (ndx == 0 || ndx == 1)
9928 if (ndx == 0 || ndx == 1)
9933 if (ndx == 0 || ndx == 1)
9938 if (ndx == 0 || ndx == 1)
9943 if (ndx == 0 || ndx == 1)
9948 if (ndx == 0 || ndx == 1)
9953 if (ndx == 0 || ndx == 1)
9958 if (ndx == 0 || ndx == 1)
9963 if (ndx == 0 || ndx == 1)
9968 if (ndx == 0 || ndx == 1)
9973 if (ndx == 0 || ndx == 1)
9978 if (ndx == 0 || ndx == 1)
9985 if (ndx == 0 || ndx == 1)
9992 if (ndx == 0 || ndx == 1)
9995 /* sched_setparam */
9997 if (ndx == 0 || ndx == 1)
10000 /* sched_getparam */
10002 if (ndx == 0 || ndx == 1)
10005 /* sched_setscheduler */
10007 if (ndx == 0 || ndx == 1)
10010 /* sched_getscheduler */
10012 if (ndx == 0 || ndx == 1)
10017 /* sched_get_priority_max */
10019 if (ndx == 0 || ndx == 1)
10022 /* sched_get_priority_min */
10024 if (ndx == 0 || ndx == 1)
10027 /* sched_rr_get_interval */
10029 if (ndx == 0 || ndx == 1)
10034 if (ndx == 0 || ndx == 1)
10039 if (ndx == 0 || ndx == 1)
10044 if (ndx == 0 || ndx == 1)
10047 /* nnpfs_syscall */
10049 if (ndx == 0 || ndx == 1)
10054 if (ndx == 0 || ndx == 1)
10059 if (ndx == 0 || ndx == 1)
10064 if (ndx == 0 || ndx == 1)
10069 if (ndx == 0 || ndx == 1)
10074 if (ndx == 0 || ndx == 1)
10077 /* __acl_get_file */
10079 if (ndx == 0 || ndx == 1)
10082 /* __acl_set_file */
10084 if (ndx == 0 || ndx == 1)
10089 if (ndx == 0 || ndx == 1)
10094 if (ndx == 0 || ndx == 1)
10097 /* __acl_delete_file */
10099 if (ndx == 0 || ndx == 1)
10102 /* __acl_delete_fd */
10104 if (ndx == 0 || ndx == 1)
10107 /* __acl_aclcheck_file */
10109 if (ndx == 0 || ndx == 1)
10112 /* __acl_aclcheck_fd */
10114 if (ndx == 0 || ndx == 1)
10119 if (ndx == 0 || ndx == 1)
10122 /* extattr_set_file */
10124 if (ndx == 0 || ndx == 1)
10127 /* extattr_get_file */
10129 if (ndx == 0 || ndx == 1)
10132 /* extattr_delete_file */
10134 if (ndx == 0 || ndx == 1)
10137 /* aio_waitcomplete */
10139 if (ndx == 0 || ndx == 1)
10144 if (ndx == 0 || ndx == 1)
10149 if (ndx == 0 || ndx == 1)
10156 if (ndx == 0 || ndx == 1)
10159 /* extattr_set_fd */
10161 if (ndx == 0 || ndx == 1)
10164 /* extattr_get_fd */
10166 if (ndx == 0 || ndx == 1)
10169 /* extattr_delete_fd */
10171 if (ndx == 0 || ndx == 1)
10176 if (ndx == 0 || ndx == 1)
10181 if (ndx == 0 || ndx == 1)
10186 if (ndx == 0 || ndx == 1)
10191 if (ndx == 0 || ndx == 1)
10194 /* __mac_get_proc */
10196 if (ndx == 0 || ndx == 1)
10199 /* __mac_set_proc */
10201 if (ndx == 0 || ndx == 1)
10206 if (ndx == 0 || ndx == 1)
10209 /* __mac_get_file */
10211 if (ndx == 0 || ndx == 1)
10216 if (ndx == 0 || ndx == 1)
10219 /* __mac_set_file */
10221 if (ndx == 0 || ndx == 1)
10226 if (ndx == 0 || ndx == 1)
10231 if (ndx == 0 || ndx == 1)
10236 if (ndx == 0 || ndx == 1)
10241 if (ndx == 0 || ndx == 1)
10246 if (ndx == 0 || ndx == 1)
10251 if (ndx == 0 || ndx == 1)
10256 if (ndx == 0 || ndx == 1)
10261 if (ndx == 0 || ndx == 1)
10266 if (ndx == 0 || ndx == 1)
10271 if (ndx == 0 || ndx == 1)
10276 if (ndx == 0 || ndx == 1)
10281 if (ndx == 0 || ndx == 1)
10286 if (ndx == 0 || ndx == 1)
10291 if (ndx == 0 || ndx == 1)
10296 if (ndx == 0 || ndx == 1)
10301 if (ndx == 0 || ndx == 1)
10304 /* ksem_getvalue */
10306 if (ndx == 0 || ndx == 1)
10311 if (ndx == 0 || ndx == 1)
10314 /* __mac_get_pid */
10316 if (ndx == 0 || ndx == 1)
10319 /* __mac_get_link */
10321 if (ndx == 0 || ndx == 1)
10324 /* __mac_set_link */
10326 if (ndx == 0 || ndx == 1)
10329 /* extattr_set_link */
10331 if (ndx == 0 || ndx == 1)
10334 /* extattr_get_link */
10336 if (ndx == 0 || ndx == 1)
10339 /* extattr_delete_link */
10341 if (ndx == 0 || ndx == 1)
10346 if (ndx == 0 || ndx == 1)
10351 if (ndx == 0 || ndx == 1)
10356 if (ndx == 0 || ndx == 1)
10361 if (ndx == 0 || ndx == 1)
10366 if (ndx == 0 || ndx == 1)
10371 if (ndx == 0 || ndx == 1)
10376 if (ndx == 0 || ndx == 1)
10379 /* __acl_get_link */
10381 if (ndx == 0 || ndx == 1)
10384 /* __acl_set_link */
10386 if (ndx == 0 || ndx == 1)
10389 /* __acl_delete_link */
10391 if (ndx == 0 || ndx == 1)
10394 /* __acl_aclcheck_link */
10396 if (ndx == 0 || ndx == 1)
10401 if (ndx == 0 || ndx == 1)
10406 if (ndx == 0 || ndx == 1)
10411 if (ndx == 0 || ndx == 1)
10416 if (ndx == 0 || ndx == 1)
10421 if (ndx == 0 || ndx == 1)
10426 if (ndx == 0 || ndx == 1)
10429 /* extattr_list_fd */
10431 if (ndx == 0 || ndx == 1)
10434 /* extattr_list_file */
10436 if (ndx == 0 || ndx == 1)
10439 /* extattr_list_link */
10441 if (ndx == 0 || ndx == 1)
10444 /* ksem_timedwait */
10446 if (ndx == 0 || ndx == 1)
10451 if (ndx == 0 || ndx == 1)
10456 if (ndx == 0 || ndx == 1)
10461 if (ndx == 0 || ndx == 1)
10466 if (ndx == 0 || ndx == 1)
10471 if (ndx == 0 || ndx == 1)
10476 if (ndx == 0 || ndx == 1)
10481 if (ndx == 0 || ndx == 1)
10486 if (ndx == 0 || ndx == 1)
10491 if (ndx == 0 || ndx == 1)
10494 /* getaudit_addr */
10496 if (ndx == 0 || ndx == 1)
10499 /* setaudit_addr */
10501 if (ndx == 0 || ndx == 1)
10506 if (ndx == 0 || ndx == 1)
10511 if (ndx == 0 || ndx == 1)
10516 if (ndx == 0 || ndx == 1)
10521 if (ndx == 0 || ndx == 1)
10526 if (ndx == 0 || ndx == 1)
10531 if (ndx == 0 || ndx == 1)
10534 /* kmq_timedreceive */
10536 if (ndx == 0 || ndx == 1)
10539 /* kmq_timedsend */
10541 if (ndx == 0 || ndx == 1)
10546 if (ndx == 0 || ndx == 1)
10551 if (ndx == 0 || ndx == 1)
10556 if (ndx == 0 || ndx == 1)
10561 if (ndx == 0 || ndx == 1)
10566 if (ndx == 0 || ndx == 1)
10569 /* rtprio_thread */
10571 if (ndx == 0 || ndx == 1)
10576 if (ndx == 0 || ndx == 1)
10579 /* sctp_generic_sendmsg */
10581 if (ndx == 0 || ndx == 1)
10584 /* sctp_generic_sendmsg_iov */
10586 if (ndx == 0 || ndx == 1)
10589 /* sctp_generic_recvmsg */
10591 if (ndx == 0 || ndx == 1)
10596 if (ndx == 0 || ndx == 1)
10601 if (ndx == 0 || ndx == 1)
10606 if (ndx == 0 || ndx == 1)
10611 if (ndx == 0 || ndx == 1)
10616 if (ndx == 0 || ndx == 1)
10621 if (ndx == 0 || ndx == 1)
10626 if (ndx == 0 || ndx == 1)
10631 if (ndx == 0 || ndx == 1)
10636 if (ndx == 0 || ndx == 1)
10641 if (ndx == 0 || ndx == 1)
10646 if (ndx == 0 || ndx == 1)
10651 if (ndx == 0 || ndx == 1)
10654 /* cpuset_getaffinity */
10656 if (ndx == 0 || ndx == 1)
10659 /* cpuset_setaffinity */
10661 if (ndx == 0 || ndx == 1)
10666 if (ndx == 0 || ndx == 1)
10671 if (ndx == 0 || ndx == 1)
10676 if (ndx == 0 || ndx == 1)
10681 if (ndx == 0 || ndx == 1)
10686 if (ndx == 0 || ndx == 1)
10691 if (ndx == 0 || ndx == 1)
10696 if (ndx == 0 || ndx == 1)
10701 if (ndx == 0 || ndx == 1)
10706 if (ndx == 0 || ndx == 1)
10711 if (ndx == 0 || ndx == 1)
10716 if (ndx == 0 || ndx == 1)
10721 if (ndx == 0 || ndx == 1)
10726 if (ndx == 0 || ndx == 1)
10731 if (ndx == 0 || ndx == 1)
10736 if (ndx == 0 || ndx == 1)
10741 if (ndx == 0 || ndx == 1)
10746 if (ndx == 0 || ndx == 1)
10751 if (ndx == 0 || ndx == 1)
10756 if (ndx == 0 || ndx == 1)
10761 if (ndx == 0 || ndx == 1)
10766 if (ndx == 0 || ndx == 1)
10771 if (ndx == 0 || ndx == 1)
10776 if (ndx == 0 || ndx == 1)
10781 if (ndx == 0 || ndx == 1)
10786 if (ndx == 0 || ndx == 1)
10789 /* __cap_rights_get */
10791 if (ndx == 0 || ndx == 1)
10798 if (ndx == 0 || ndx == 1)
10803 if (ndx == 0 || ndx == 1)
10808 if (ndx == 0 || ndx == 1)
10813 if (ndx == 0 || ndx == 1)
10818 if (ndx == 0 || ndx == 1)
10821 /* getloginclass */
10823 if (ndx == 0 || ndx == 1)
10826 /* setloginclass */
10828 if (ndx == 0 || ndx == 1)
10831 /* rctl_get_racct */
10833 if (ndx == 0 || ndx == 1)
10836 /* rctl_get_rules */
10838 if (ndx == 0 || ndx == 1)
10841 /* rctl_get_limits */
10843 if (ndx == 0 || ndx == 1)
10846 /* rctl_add_rule */
10848 if (ndx == 0 || ndx == 1)
10851 /* rctl_remove_rule */
10853 if (ndx == 0 || ndx == 1)
10856 /* posix_fallocate */
10858 if (ndx == 0 || ndx == 1)
10861 /* posix_fadvise */
10863 if (ndx == 0 || ndx == 1)
10868 if (ndx == 0 || ndx == 1)
10871 /* cap_rights_limit */
10873 if (ndx == 0 || ndx == 1)
10876 /* cap_ioctls_limit */
10878 if (ndx == 0 || ndx == 1)
10881 /* cap_ioctls_get */
10883 if (ndx == 0 || ndx == 1)
10886 /* cap_fcntls_limit */
10888 if (ndx == 0 || ndx == 1)
10891 /* cap_fcntls_get */
10893 if (ndx == 0 || ndx == 1)
10898 if (ndx == 0 || ndx == 1)
10903 if (ndx == 0 || ndx == 1)
10908 if (ndx == 0 || ndx == 1)
10913 if (ndx == 0 || ndx == 1)
10918 if (ndx == 0 || ndx == 1)
10923 if (ndx == 0 || ndx == 1)
10928 if (ndx == 0 || ndx == 1)
10935 strlcpy(desc, p, descsz);