The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/sys/sysproto.h

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  * System call prototypes.
    3  *
    4  * DO NOT EDIT-- this file is automatically generated.
    5  * $FreeBSD: releng/5.1/sys/sys/sysproto.h 113276 2003-04-09 02:57:29Z mike $
    6  * created from FreeBSD: src/sys/kern/syscalls.master,v 1.149 2003/04/09 02:55:18 mike Exp 
    7  */
    8 
    9 #ifndef _SYS_SYSPROTO_H_
   10 #define _SYS_SYSPROTO_H_
   11 
   12 #include <sys/signal.h>
   13 #include <sys/acl.h>
   14 #include <sys/thr.h>
   15 #include <sys/umtx.h>
   16 #include <posix4/_semaphore.h>
   17 
   18 #include <sys/ucontext.h>
   19 
   20 struct proc;
   21 
   22 struct thread;
   23 
   24 #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
   25                 0 : sizeof(register_t) - sizeof(t))
   26 
   27 #if BYTE_ORDER == LITTLE_ENDIAN
   28 #define PADL_(t)        0
   29 #define PADR_(t)        PAD_(t)
   30 #else
   31 #define PADL_(t)        PAD_(t)
   32 #define PADR_(t)        0
   33 #endif
   34 
   35 struct nosys_args {
   36         register_t dummy;
   37 };
   38 struct sys_exit_args {
   39         char rval_l_[PADL_(int)]; int rval; char rval_r_[PADR_(int)];
   40 };
   41 struct fork_args {
   42         register_t dummy;
   43 };
   44 struct read_args {
   45         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
   46         char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)];
   47         char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
   48 };
   49 struct write_args {
   50         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
   51         char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)];
   52         char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
   53 };
   54 struct open_args {
   55         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   56         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
   57         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
   58 };
   59 struct close_args {
   60         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
   61 };
   62 struct wait_args {
   63         char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)];
   64         char status_l_[PADL_(int *)]; int * status; char status_r_[PADR_(int *)];
   65         char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)];
   66         char rusage_l_[PADL_(struct rusage *)]; struct rusage * rusage; char rusage_r_[PADR_(struct rusage *)];
   67 };
   68 struct link_args {
   69         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   70         char link_l_[PADL_(char *)]; char * link; char link_r_[PADR_(char *)];
   71 };
   72 struct unlink_args {
   73         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   74 };
   75 struct chdir_args {
   76         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   77 };
   78 struct fchdir_args {
   79         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
   80 };
   81 struct mknod_args {
   82         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   83         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
   84         char dev_l_[PADL_(int)]; int dev; char dev_r_[PADR_(int)];
   85 };
   86 struct chmod_args {
   87         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   88         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
   89 };
   90 struct chown_args {
   91         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   92         char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)];
   93         char gid_l_[PADL_(int)]; int gid; char gid_r_[PADR_(int)];
   94 };
   95 struct obreak_args {
   96         char nsize_l_[PADL_(char *)]; char * nsize; char nsize_r_[PADR_(char *)];
   97 };
   98 struct getfsstat_args {
   99         char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)];
  100         char bufsize_l_[PADL_(long)]; long bufsize; char bufsize_r_[PADR_(long)];
  101         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  102 };
  103 struct getpid_args {
  104         register_t dummy;
  105 };
  106 struct mount_args {
  107         char type_l_[PADL_(char *)]; char * type; char type_r_[PADR_(char *)];
  108         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  109         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  110         char data_l_[PADL_(caddr_t)]; caddr_t data; char data_r_[PADR_(caddr_t)];
  111 };
  112 struct unmount_args {
  113         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  114         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  115 };
  116 struct setuid_args {
  117         char uid_l_[PADL_(uid_t)]; uid_t uid; char uid_r_[PADR_(uid_t)];
  118 };
  119 struct getuid_args {
  120         register_t dummy;
  121 };
  122 struct geteuid_args {
  123         register_t dummy;
  124 };
  125 struct ptrace_args {
  126         char req_l_[PADL_(int)]; int req; char req_r_[PADR_(int)];
  127         char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
  128         char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)];
  129         char data_l_[PADL_(int)]; int data; char data_r_[PADR_(int)];
  130 };
  131 struct recvmsg_args {
  132         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  133         char msg_l_[PADL_(struct msghdr *)]; struct msghdr * msg; char msg_r_[PADR_(struct msghdr *)];
  134         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  135 };
  136 struct sendmsg_args {
  137         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  138         char msg_l_[PADL_(caddr_t)]; caddr_t msg; char msg_r_[PADR_(caddr_t)];
  139         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  140 };
  141 struct recvfrom_args {
  142         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  143         char buf_l_[PADL_(caddr_t)]; caddr_t buf; char buf_r_[PADR_(caddr_t)];
  144         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  145         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  146         char from_l_[PADL_(caddr_t)]; caddr_t from; char from_r_[PADR_(caddr_t)];
  147         char fromlenaddr_l_[PADL_(int *)]; int * fromlenaddr; char fromlenaddr_r_[PADR_(int *)];
  148 };
  149 struct accept_args {
  150         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  151         char name_l_[PADL_(caddr_t)]; caddr_t name; char name_r_[PADR_(caddr_t)];
  152         char anamelen_l_[PADL_(int *)]; int * anamelen; char anamelen_r_[PADR_(int *)];
  153 };
  154 struct getpeername_args {
  155         char fdes_l_[PADL_(int)]; int fdes; char fdes_r_[PADR_(int)];
  156         char asa_l_[PADL_(caddr_t)]; caddr_t asa; char asa_r_[PADR_(caddr_t)];
  157         char alen_l_[PADL_(int *)]; int * alen; char alen_r_[PADR_(int *)];
  158 };
  159 struct getsockname_args {
  160         char fdes_l_[PADL_(int)]; int fdes; char fdes_r_[PADR_(int)];
  161         char asa_l_[PADL_(caddr_t)]; caddr_t asa; char asa_r_[PADR_(caddr_t)];
  162         char alen_l_[PADL_(int *)]; int * alen; char alen_r_[PADR_(int *)];
  163 };
  164 struct access_args {
  165         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  166         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  167 };
  168 struct chflags_args {
  169         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  170         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  171 };
  172 struct fchflags_args {
  173         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  174         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  175 };
  176 struct sync_args {
  177         register_t dummy;
  178 };
  179 struct kill_args {
  180         char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)];
  181         char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
  182 };
  183 struct getppid_args {
  184         register_t dummy;
  185 };
  186 struct dup_args {
  187         char fd_l_[PADL_(u_int)]; u_int fd; char fd_r_[PADR_(u_int)];
  188 };
  189 struct pipe_args {
  190         register_t dummy;
  191 };
  192 struct getegid_args {
  193         register_t dummy;
  194 };
  195 struct profil_args {
  196         char samples_l_[PADL_(caddr_t)]; caddr_t samples; char samples_r_[PADR_(caddr_t)];
  197         char size_l_[PADL_(size_t)]; size_t size; char size_r_[PADR_(size_t)];
  198         char offset_l_[PADL_(size_t)]; size_t offset; char offset_r_[PADR_(size_t)];
  199         char scale_l_[PADL_(u_int)]; u_int scale; char scale_r_[PADR_(u_int)];
  200 };
  201 struct ktrace_args {
  202         char fname_l_[PADL_(const char *)]; const char * fname; char fname_r_[PADR_(const char *)];
  203         char ops_l_[PADL_(int)]; int ops; char ops_r_[PADR_(int)];
  204         char facs_l_[PADL_(int)]; int facs; char facs_r_[PADR_(int)];
  205         char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)];
  206 };
  207 struct getgid_args {
  208         register_t dummy;
  209 };
  210 struct getlogin_args {
  211         char namebuf_l_[PADL_(char *)]; char * namebuf; char namebuf_r_[PADR_(char *)];
  212         char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)];
  213 };
  214 struct setlogin_args {
  215         char namebuf_l_[PADL_(char *)]; char * namebuf; char namebuf_r_[PADR_(char *)];
  216 };
  217 struct acct_args {
  218         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  219 };
  220 struct osigpending_args {
  221         register_t dummy;
  222 };
  223 struct sigaltstack_args {
  224         char ss_l_[PADL_(stack_t *)]; stack_t * ss; char ss_r_[PADR_(stack_t *)];
  225         char oss_l_[PADL_(stack_t *)]; stack_t * oss; char oss_r_[PADR_(stack_t *)];
  226 };
  227 struct ioctl_args {
  228         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  229         char com_l_[PADL_(u_long)]; u_long com; char com_r_[PADR_(u_long)];
  230         char data_l_[PADL_(caddr_t)]; caddr_t data; char data_r_[PADR_(caddr_t)];
  231 };
  232 struct reboot_args {
  233         char opt_l_[PADL_(int)]; int opt; char opt_r_[PADR_(int)];
  234 };
  235 struct revoke_args {
  236         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  237 };
  238 struct symlink_args {
  239         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  240         char link_l_[PADL_(char *)]; char * link; char link_r_[PADR_(char *)];
  241 };
  242 struct readlink_args {
  243         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  244         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
  245         char count_l_[PADL_(int)]; int count; char count_r_[PADR_(int)];
  246 };
  247 struct execve_args {
  248         char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)];
  249         char argv_l_[PADL_(char **)]; char ** argv; char argv_r_[PADR_(char **)];
  250         char envv_l_[PADL_(char **)]; char ** envv; char envv_r_[PADR_(char **)];
  251 };
  252 struct umask_args {
  253         char newmask_l_[PADL_(int)]; int newmask; char newmask_r_[PADR_(int)];
  254 };
  255 struct chroot_args {
  256         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  257 };
  258 struct getpagesize_args {
  259         register_t dummy;
  260 };
  261 struct msync_args {
  262         char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)];
  263         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  264         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  265 };
  266 struct vfork_args {
  267         register_t dummy;
  268 };
  269 struct sbrk_args {
  270         char incr_l_[PADL_(int)]; int incr; char incr_r_[PADR_(int)];
  271 };
  272 struct sstk_args {
  273         char incr_l_[PADL_(int)]; int incr; char incr_r_[PADR_(int)];
  274 };
  275 struct ovadvise_args {
  276         char anom_l_[PADL_(int)]; int anom; char anom_r_[PADR_(int)];
  277 };
  278 struct munmap_args {
  279         char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)];
  280         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  281 };
  282 struct mprotect_args {
  283         char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)];
  284         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  285         char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
  286 };
  287 struct madvise_args {
  288         char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)];
  289         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  290         char behav_l_[PADL_(int)]; int behav; char behav_r_[PADR_(int)];
  291 };
  292 struct mincore_args {
  293         char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)];
  294         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  295         char vec_l_[PADL_(char *)]; char * vec; char vec_r_[PADR_(char *)];
  296 };
  297 struct getgroups_args {
  298         char gidsetsize_l_[PADL_(u_int)]; u_int gidsetsize; char gidsetsize_r_[PADR_(u_int)];
  299         char gidset_l_[PADL_(gid_t *)]; gid_t * gidset; char gidset_r_[PADR_(gid_t *)];
  300 };
  301 struct setgroups_args {
  302         char gidsetsize_l_[PADL_(u_int)]; u_int gidsetsize; char gidsetsize_r_[PADR_(u_int)];
  303         char gidset_l_[PADL_(gid_t *)]; gid_t * gidset; char gidset_r_[PADR_(gid_t *)];
  304 };
  305 struct getpgrp_args {
  306         register_t dummy;
  307 };
  308 struct setpgid_args {
  309         char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)];
  310         char pgid_l_[PADL_(int)]; int pgid; char pgid_r_[PADR_(int)];
  311 };
  312 struct setitimer_args {
  313         char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
  314         char itv_l_[PADL_(struct itimerval *)]; struct itimerval * itv; char itv_r_[PADR_(struct itimerval *)];
  315         char oitv_l_[PADL_(struct itimerval *)]; struct itimerval * oitv; char oitv_r_[PADR_(struct itimerval *)];
  316 };
  317 struct owait_args {
  318         register_t dummy;
  319 };
  320 struct swapon_args {
  321         char name_l_[PADL_(char *)]; char * name; char name_r_[PADR_(char *)];
  322 };
  323 struct getitimer_args {
  324         char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
  325         char itv_l_[PADL_(struct itimerval *)]; struct itimerval * itv; char itv_r_[PADR_(struct itimerval *)];
  326 };
  327 struct getdtablesize_args {
  328         register_t dummy;
  329 };
  330 struct dup2_args {
  331         char from_l_[PADL_(u_int)]; u_int from; char from_r_[PADR_(u_int)];
  332         char to_l_[PADL_(u_int)]; u_int to; char to_r_[PADR_(u_int)];
  333 };
  334 struct fcntl_args {
  335         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  336         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
  337         char arg_l_[PADL_(long)]; long arg; char arg_r_[PADR_(long)];
  338 };
  339 struct select_args {
  340         char nd_l_[PADL_(int)]; int nd; char nd_r_[PADR_(int)];
  341         char in_l_[PADL_(fd_set *)]; fd_set * in; char in_r_[PADR_(fd_set *)];
  342         char ou_l_[PADL_(fd_set *)]; fd_set * ou; char ou_r_[PADR_(fd_set *)];
  343         char ex_l_[PADL_(fd_set *)]; fd_set * ex; char ex_r_[PADR_(fd_set *)];
  344         char tv_l_[PADL_(struct timeval *)]; struct timeval * tv; char tv_r_[PADR_(struct timeval *)];
  345 };
  346 struct fsync_args {
  347         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  348 };
  349 struct setpriority_args {
  350         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
  351         char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)];
  352         char prio_l_[PADL_(int)]; int prio; char prio_r_[PADR_(int)];
  353 };
  354 struct socket_args {
  355         char domain_l_[PADL_(int)]; int domain; char domain_r_[PADR_(int)];
  356         char type_l_[PADL_(int)]; int type; char type_r_[PADR_(int)];
  357         char protocol_l_[PADL_(int)]; int protocol; char protocol_r_[PADR_(int)];
  358 };
  359 struct connect_args {
  360         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  361         char name_l_[PADL_(caddr_t)]; caddr_t name; char name_r_[PADR_(caddr_t)];
  362         char namelen_l_[PADL_(int)]; int namelen; char namelen_r_[PADR_(int)];
  363 };
  364 struct getpriority_args {
  365         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
  366         char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)];
  367 };
  368 struct bind_args {
  369         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  370         char name_l_[PADL_(caddr_t)]; caddr_t name; char name_r_[PADR_(caddr_t)];
  371         char namelen_l_[PADL_(int)]; int namelen; char namelen_r_[PADR_(int)];
  372 };
  373 struct setsockopt_args {
  374         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  375         char level_l_[PADL_(int)]; int level; char level_r_[PADR_(int)];
  376         char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)];
  377         char val_l_[PADL_(caddr_t)]; caddr_t val; char val_r_[PADR_(caddr_t)];
  378         char valsize_l_[PADL_(int)]; int valsize; char valsize_r_[PADR_(int)];
  379 };
  380 struct listen_args {
  381         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  382         char backlog_l_[PADL_(int)]; int backlog; char backlog_r_[PADR_(int)];
  383 };
  384 struct gettimeofday_args {
  385         char tp_l_[PADL_(struct timeval *)]; struct timeval * tp; char tp_r_[PADR_(struct timeval *)];
  386         char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
  387 };
  388 struct getrusage_args {
  389         char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)];
  390         char rusage_l_[PADL_(struct rusage *)]; struct rusage * rusage; char rusage_r_[PADR_(struct rusage *)];
  391 };
  392 struct getsockopt_args {
  393         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  394         char level_l_[PADL_(int)]; int level; char level_r_[PADR_(int)];
  395         char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)];
  396         char val_l_[PADL_(caddr_t)]; caddr_t val; char val_r_[PADR_(caddr_t)];
  397         char avalsize_l_[PADL_(int *)]; int * avalsize; char avalsize_r_[PADR_(int *)];
  398 };
  399 struct readv_args {
  400         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  401         char iovp_l_[PADL_(struct iovec *)]; struct iovec * iovp; char iovp_r_[PADR_(struct iovec *)];
  402         char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
  403 };
  404 struct writev_args {
  405         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  406         char iovp_l_[PADL_(struct iovec *)]; struct iovec * iovp; char iovp_r_[PADR_(struct iovec *)];
  407         char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
  408 };
  409 struct settimeofday_args {
  410         char tv_l_[PADL_(struct timeval *)]; struct timeval * tv; char tv_r_[PADR_(struct timeval *)];
  411         char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
  412 };
  413 struct fchown_args {
  414         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  415         char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)];
  416         char gid_l_[PADL_(int)]; int gid; char gid_r_[PADR_(int)];
  417 };
  418 struct fchmod_args {
  419         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  420         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
  421 };
  422 struct setreuid_args {
  423         char ruid_l_[PADL_(int)]; int ruid; char ruid_r_[PADR_(int)];
  424         char euid_l_[PADL_(int)]; int euid; char euid_r_[PADR_(int)];
  425 };
  426 struct setregid_args {
  427         char rgid_l_[PADL_(int)]; int rgid; char rgid_r_[PADR_(int)];
  428         char egid_l_[PADL_(int)]; int egid; char egid_r_[PADR_(int)];
  429 };
  430 struct rename_args {
  431         char from_l_[PADL_(char *)]; char * from; char from_r_[PADR_(char *)];
  432         char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)];
  433 };
  434 struct flock_args {
  435         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  436         char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)];
  437 };
  438 struct mkfifo_args {
  439         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  440         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
  441 };
  442 struct sendto_args {
  443         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  444         char buf_l_[PADL_(caddr_t)]; caddr_t buf; char buf_r_[PADR_(caddr_t)];
  445         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  446         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  447         char to_l_[PADL_(caddr_t)]; caddr_t to; char to_r_[PADR_(caddr_t)];
  448         char tolen_l_[PADL_(int)]; int tolen; char tolen_r_[PADR_(int)];
  449 };
  450 struct shutdown_args {
  451         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
  452         char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)];
  453 };
  454 struct socketpair_args {
  455         char domain_l_[PADL_(int)]; int domain; char domain_r_[PADR_(int)];
  456         char type_l_[PADL_(int)]; int type; char type_r_[PADR_(int)];
  457         char protocol_l_[PADL_(int)]; int protocol; char protocol_r_[PADR_(int)];
  458         char rsv_l_[PADL_(int *)]; int * rsv; char rsv_r_[PADR_(int *)];
  459 };
  460 struct mkdir_args {
  461         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  462         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
  463 };
  464 struct rmdir_args {
  465         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  466 };
  467 struct utimes_args {
  468         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  469         char tptr_l_[PADL_(struct timeval *)]; struct timeval * tptr; char tptr_r_[PADR_(struct timeval *)];
  470 };
  471 struct adjtime_args {
  472         char delta_l_[PADL_(struct timeval *)]; struct timeval * delta; char delta_r_[PADR_(struct timeval *)];
  473         char olddelta_l_[PADL_(struct timeval *)]; struct timeval * olddelta; char olddelta_r_[PADR_(struct timeval *)];
  474 };
  475 struct ogethostid_args {
  476         register_t dummy;
  477 };
  478 struct setsid_args {
  479         register_t dummy;
  480 };
  481 struct quotactl_args {
  482         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  483         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
  484         char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)];
  485         char arg_l_[PADL_(caddr_t)]; caddr_t arg; char arg_r_[PADR_(caddr_t)];
  486 };
  487 struct oquota_args {
  488         register_t dummy;
  489 };
  490 struct nfssvc_args {
  491         char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
  492         char argp_l_[PADL_(caddr_t)]; caddr_t argp; char argp_r_[PADR_(caddr_t)];
  493 };
  494 struct statfs_args {
  495         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  496         char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)];
  497 };
  498 struct fstatfs_args {
  499         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  500         char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)];
  501 };
  502 struct getfh_args {
  503         char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)];
  504         char fhp_l_[PADL_(struct fhandle *)]; struct fhandle * fhp; char fhp_r_[PADR_(struct fhandle *)];
  505 };
  506 struct getdomainname_args {
  507         char domainname_l_[PADL_(char *)]; char * domainname; char domainname_r_[PADR_(char *)];
  508         char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
  509 };
  510 struct setdomainname_args {
  511         char domainname_l_[PADL_(char *)]; char * domainname; char domainname_r_[PADR_(char *)];
  512         char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
  513 };
  514 struct uname_args {
  515         char name_l_[PADL_(struct utsname *)]; struct utsname * name; char name_r_[PADR_(struct utsname *)];
  516 };
  517 struct sysarch_args {
  518         char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)];
  519         char parms_l_[PADL_(char *)]; char * parms; char parms_r_[PADR_(char *)];
  520 };
  521 struct rtprio_args {
  522         char function_l_[PADL_(int)]; int function; char function_r_[PADR_(int)];
  523         char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
  524         char rtp_l_[PADL_(struct rtprio *)]; struct rtprio * rtp; char rtp_r_[PADR_(struct rtprio *)];
  525 };
  526 struct semsys_args {
  527         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
  528         char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
  529         char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
  530         char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
  531         char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)];
  532 };
  533 struct msgsys_args {
  534         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
  535         char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
  536         char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
  537         char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
  538         char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)];
  539         char a6_l_[PADL_(int)]; int a6; char a6_r_[PADR_(int)];
  540 };
  541 struct shmsys_args {
  542         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
  543         char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
  544         char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
  545         char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
  546 };
  547 struct pread_args {
  548         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  549         char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)];
  550         char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
  551         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  552         char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
  553 };
  554 struct pwrite_args {
  555         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  556         char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)];
  557         char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
  558         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  559         char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
  560 };
  561 struct ntp_adjtime_args {
  562         char tp_l_[PADL_(struct timex *)]; struct timex * tp; char tp_r_[PADR_(struct timex *)];
  563 };
  564 struct setgid_args {
  565         char gid_l_[PADL_(gid_t)]; gid_t gid; char gid_r_[PADR_(gid_t)];
  566 };
  567 struct setegid_args {
  568         char egid_l_[PADL_(gid_t)]; gid_t egid; char egid_r_[PADR_(gid_t)];
  569 };
  570 struct seteuid_args {
  571         char euid_l_[PADL_(uid_t)]; uid_t euid; char euid_r_[PADR_(uid_t)];
  572 };
  573 struct stat_args {
  574         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  575         char ub_l_[PADL_(struct stat *)]; struct stat * ub; char ub_r_[PADR_(struct stat *)];
  576 };
  577 struct fstat_args {
  578         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  579         char sb_l_[PADL_(struct stat *)]; struct stat * sb; char sb_r_[PADR_(struct stat *)];
  580 };
  581 struct lstat_args {
  582         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  583         char ub_l_[PADL_(struct stat *)]; struct stat * ub; char ub_r_[PADR_(struct stat *)];
  584 };
  585 struct pathconf_args {
  586         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  587         char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)];
  588 };
  589 struct fpathconf_args {
  590         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  591         char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)];
  592 };
  593 struct __getrlimit_args {
  594         char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
  595         char rlp_l_[PADL_(struct rlimit *)]; struct rlimit * rlp; char rlp_r_[PADR_(struct rlimit *)];
  596 };
  597 struct __setrlimit_args {
  598         char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
  599         char rlp_l_[PADL_(struct rlimit *)]; struct rlimit * rlp; char rlp_r_[PADR_(struct rlimit *)];
  600 };
  601 struct getdirentries_args {
  602         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  603         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
  604         char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)];
  605         char basep_l_[PADL_(long *)]; long * basep; char basep_r_[PADR_(long *)];
  606 };
  607 struct mmap_args {
  608         char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)];
  609         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  610         char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
  611         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  612         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  613         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  614         char pos_l_[PADL_(off_t)]; off_t pos; char pos_r_[PADR_(off_t)];
  615 };
  616 struct lseek_args {
  617         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  618         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  619         char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
  620         char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)];
  621 };
  622 struct truncate_args {
  623         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  624         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  625         char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)];
  626 };
  627 struct ftruncate_args {
  628         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  629         char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
  630         char length_l_[PADL_(off_t)]; off_t length; char length_r_[PADR_(off_t)];
  631 };
  632 struct sysctl_args {
  633         char name_l_[PADL_(int *)]; int * name; char name_r_[PADR_(int *)];
  634         char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)];
  635         char old_l_[PADL_(void *)]; void * old; char old_r_[PADR_(void *)];
  636         char oldlenp_l_[PADL_(size_t *)]; size_t * oldlenp; char oldlenp_r_[PADR_(size_t *)];
  637         char new_l_[PADL_(void *)]; void * new; char new_r_[PADR_(void *)];
  638         char newlen_l_[PADL_(size_t)]; size_t newlen; char newlen_r_[PADR_(size_t)];
  639 };
  640 struct mlock_args {
  641         char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)];
  642         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  643 };
  644 struct munlock_args {
  645         char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)];
  646         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  647 };
  648 struct undelete_args {
  649         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  650 };
  651 struct futimes_args {
  652         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  653         char tptr_l_[PADL_(struct timeval *)]; struct timeval * tptr; char tptr_r_[PADR_(struct timeval *)];
  654 };
  655 struct getpgid_args {
  656         char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
  657 };
  658 struct poll_args {
  659         char fds_l_[PADL_(struct pollfd *)]; struct pollfd * fds; char fds_r_[PADR_(struct pollfd *)];
  660         char nfds_l_[PADL_(u_int)]; u_int nfds; char nfds_r_[PADR_(u_int)];
  661         char timeout_l_[PADL_(int)]; int timeout; char timeout_r_[PADR_(int)];
  662 };
  663 struct __semctl_args {
  664         char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)];
  665         char semnum_l_[PADL_(int)]; int semnum; char semnum_r_[PADR_(int)];
  666         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
  667         char arg_l_[PADL_(union semun *)]; union semun * arg; char arg_r_[PADR_(union semun *)];
  668 };
  669 struct semget_args {
  670         char key_l_[PADL_(key_t)]; key_t key; char key_r_[PADR_(key_t)];
  671         char nsems_l_[PADL_(int)]; int nsems; char nsems_r_[PADR_(int)];
  672         char semflg_l_[PADL_(int)]; int semflg; char semflg_r_[PADR_(int)];
  673 };
  674 struct semop_args {
  675         char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)];
  676         char sops_l_[PADL_(struct sembuf *)]; struct sembuf * sops; char sops_r_[PADR_(struct sembuf *)];
  677         char nsops_l_[PADL_(size_t)]; size_t nsops; char nsops_r_[PADR_(size_t)];
  678 };
  679 struct msgctl_args {
  680         char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
  681         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
  682         char buf_l_[PADL_(struct msqid_ds *)]; struct msqid_ds * buf; char buf_r_[PADR_(struct msqid_ds *)];
  683 };
  684 struct msgget_args {
  685         char key_l_[PADL_(key_t)]; key_t key; char key_r_[PADR_(key_t)];
  686         char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)];
  687 };
  688 struct msgsnd_args {
  689         char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
  690         char msgp_l_[PADL_(const void *)]; const void * msgp; char msgp_r_[PADR_(const void *)];
  691         char msgsz_l_[PADL_(size_t)]; size_t msgsz; char msgsz_r_[PADR_(size_t)];
  692         char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)];
  693 };
  694 struct msgrcv_args {
  695         char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
  696         char msgp_l_[PADL_(void *)]; void * msgp; char msgp_r_[PADR_(void *)];
  697         char msgsz_l_[PADL_(size_t)]; size_t msgsz; char msgsz_r_[PADR_(size_t)];
  698         char msgtyp_l_[PADL_(long)]; long msgtyp; char msgtyp_r_[PADR_(long)];
  699         char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)];
  700 };
  701 struct shmat_args {
  702         char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)];
  703         char shmaddr_l_[PADL_(const void *)]; const void * shmaddr; char shmaddr_r_[PADR_(const void *)];
  704         char shmflg_l_[PADL_(int)]; int shmflg; char shmflg_r_[PADR_(int)];
  705 };
  706 struct shmctl_args {
  707         char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)];
  708         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
  709         char buf_l_[PADL_(struct shmid_ds *)]; struct shmid_ds * buf; char buf_r_[PADR_(struct shmid_ds *)];
  710 };
  711 struct shmdt_args {
  712         char shmaddr_l_[PADL_(const void *)]; const void * shmaddr; char shmaddr_r_[PADR_(const void *)];
  713 };
  714 struct shmget_args {
  715         char key_l_[PADL_(key_t)]; key_t key; char key_r_[PADR_(key_t)];
  716         char size_l_[PADL_(size_t)]; size_t size; char size_r_[PADR_(size_t)];
  717         char shmflg_l_[PADL_(int)]; int shmflg; char shmflg_r_[PADR_(int)];
  718 };
  719 struct clock_gettime_args {
  720         char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
  721         char tp_l_[PADL_(struct timespec *)]; struct timespec * tp; char tp_r_[PADR_(struct timespec *)];
  722 };
  723 struct clock_settime_args {
  724         char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
  725         char tp_l_[PADL_(const struct timespec *)]; const struct timespec * tp; char tp_r_[PADR_(const struct timespec *)];
  726 };
  727 struct clock_getres_args {
  728         char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
  729         char tp_l_[PADL_(struct timespec *)]; struct timespec * tp; char tp_r_[PADR_(struct timespec *)];
  730 };
  731 struct nanosleep_args {
  732         char rqtp_l_[PADL_(const struct timespec *)]; const struct timespec * rqtp; char rqtp_r_[PADR_(const struct timespec *)];
  733         char rmtp_l_[PADL_(struct timespec *)]; struct timespec * rmtp; char rmtp_r_[PADR_(struct timespec *)];
  734 };
  735 struct minherit_args {
  736         char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)];
  737         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  738         char inherit_l_[PADL_(int)]; int inherit; char inherit_r_[PADR_(int)];
  739 };
  740 struct rfork_args {
  741         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  742 };
  743 struct openbsd_poll_args {
  744         char fds_l_[PADL_(struct pollfd *)]; struct pollfd * fds; char fds_r_[PADR_(struct pollfd *)];
  745         char nfds_l_[PADL_(u_int)]; u_int nfds; char nfds_r_[PADR_(u_int)];
  746         char timeout_l_[PADL_(int)]; int timeout; char timeout_r_[PADR_(int)];
  747 };
  748 struct issetugid_args {
  749         register_t dummy;
  750 };
  751 struct lchown_args {
  752         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  753         char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)];
  754         char gid_l_[PADL_(int)]; int gid; char gid_r_[PADR_(int)];
  755 };
  756 struct getdents_args {
  757         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  758         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
  759         char count_l_[PADL_(size_t)]; size_t count; char count_r_[PADR_(size_t)];
  760 };
  761 struct lchmod_args {
  762         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  763         char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)];
  764 };
  765 struct lutimes_args {
  766         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  767         char tptr_l_[PADL_(struct timeval *)]; struct timeval * tptr; char tptr_r_[PADR_(struct timeval *)];
  768 };
  769 struct nstat_args {
  770         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  771         char ub_l_[PADL_(struct nstat *)]; struct nstat * ub; char ub_r_[PADR_(struct nstat *)];
  772 };
  773 struct nfstat_args {
  774         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  775         char sb_l_[PADL_(struct nstat *)]; struct nstat * sb; char sb_r_[PADR_(struct nstat *)];
  776 };
  777 struct nlstat_args {
  778         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  779         char ub_l_[PADL_(struct nstat *)]; struct nstat * ub; char ub_r_[PADR_(struct nstat *)];
  780 };
  781 struct fhstatfs_args {
  782         char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
  783         char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)];
  784 };
  785 struct fhopen_args {
  786         char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
  787         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  788 };
  789 struct fhstat_args {
  790         char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
  791         char sb_l_[PADL_(struct stat *)]; struct stat * sb; char sb_r_[PADR_(struct stat *)];
  792 };
  793 struct modnext_args {
  794         char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)];
  795 };
  796 struct modstat_args {
  797         char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)];
  798         char stat_l_[PADL_(struct module_stat *)]; struct module_stat * stat; char stat_r_[PADR_(struct module_stat *)];
  799 };
  800 struct modfnext_args {
  801         char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)];
  802 };
  803 struct modfind_args {
  804         char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)];
  805 };
  806 struct kldload_args {
  807         char file_l_[PADL_(const char *)]; const char * file; char file_r_[PADR_(const char *)];
  808 };
  809 struct kldunload_args {
  810         char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)];
  811 };
  812 struct kldfind_args {
  813         char file_l_[PADL_(const char *)]; const char * file; char file_r_[PADR_(const char *)];
  814 };
  815 struct kldnext_args {
  816         char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)];
  817 };
  818 struct kldstat_args {
  819         char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)];
  820         char stat_l_[PADL_(struct kld_file_stat *)]; struct kld_file_stat * stat; char stat_r_[PADR_(struct kld_file_stat *)];
  821 };
  822 struct kldfirstmod_args {
  823         char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)];
  824 };
  825 struct getsid_args {
  826         char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
  827 };
  828 struct setresuid_args {
  829         char ruid_l_[PADL_(uid_t)]; uid_t ruid; char ruid_r_[PADR_(uid_t)];
  830         char euid_l_[PADL_(uid_t)]; uid_t euid; char euid_r_[PADR_(uid_t)];
  831         char suid_l_[PADL_(uid_t)]; uid_t suid; char suid_r_[PADR_(uid_t)];
  832 };
  833 struct setresgid_args {
  834         char rgid_l_[PADL_(gid_t)]; gid_t rgid; char rgid_r_[PADR_(gid_t)];
  835         char egid_l_[PADL_(gid_t)]; gid_t egid; char egid_r_[PADR_(gid_t)];
  836         char sgid_l_[PADL_(gid_t)]; gid_t sgid; char sgid_r_[PADR_(gid_t)];
  837 };
  838 struct aio_return_args {
  839         char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)];
  840 };
  841 struct aio_suspend_args {
  842         char aiocbp_l_[PADL_(struct aiocb *const *)]; struct aiocb *const * aiocbp; char aiocbp_r_[PADR_(struct aiocb *const *)];
  843         char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)];
  844         char timeout_l_[PADL_(const struct timespec *)]; const struct timespec * timeout; char timeout_r_[PADR_(const struct timespec *)];
  845 };
  846 struct aio_cancel_args {
  847         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  848         char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)];
  849 };
  850 struct aio_error_args {
  851         char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)];
  852 };
  853 struct aio_read_args {
  854         char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)];
  855 };
  856 struct aio_write_args {
  857         char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)];
  858 };
  859 struct lio_listio_args {
  860         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
  861         char acb_list_l_[PADL_(struct aiocb *const *)]; struct aiocb *const * acb_list; char acb_list_r_[PADR_(struct aiocb *const *)];
  862         char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)];
  863         char sig_l_[PADL_(struct sigevent *)]; struct sigevent * sig; char sig_r_[PADR_(struct sigevent *)];
  864 };
  865 struct yield_args {
  866         register_t dummy;
  867 };
  868 struct mlockall_args {
  869         char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)];
  870 };
  871 struct munlockall_args {
  872         register_t dummy;
  873 };
  874 struct __getcwd_args {
  875         char buf_l_[PADL_(u_char *)]; u_char * buf; char buf_r_[PADR_(u_char *)];
  876         char buflen_l_[PADL_(u_int)]; u_int buflen; char buflen_r_[PADR_(u_int)];
  877 };
  878 struct sched_setparam_args {
  879         char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
  880         char param_l_[PADL_(const struct sched_param *)]; const struct sched_param * param; char param_r_[PADR_(const struct sched_param *)];
  881 };
  882 struct sched_getparam_args {
  883         char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
  884         char param_l_[PADL_(struct sched_param *)]; struct sched_param * param; char param_r_[PADR_(struct sched_param *)];
  885 };
  886 struct sched_setscheduler_args {
  887         char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
  888         char policy_l_[PADL_(int)]; int policy; char policy_r_[PADR_(int)];
  889         char param_l_[PADL_(const struct sched_param *)]; const struct sched_param * param; char param_r_[PADR_(const struct sched_param *)];
  890 };
  891 struct sched_getscheduler_args {
  892         char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
  893 };
  894 struct sched_yield_args {
  895         register_t dummy;
  896 };
  897 struct sched_get_priority_max_args {
  898         char policy_l_[PADL_(int)]; int policy; char policy_r_[PADR_(int)];
  899 };
  900 struct sched_get_priority_min_args {
  901         char policy_l_[PADL_(int)]; int policy; char policy_r_[PADR_(int)];
  902 };
  903 struct sched_rr_get_interval_args {
  904         char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
  905         char interval_l_[PADL_(struct timespec *)]; struct timespec * interval; char interval_r_[PADR_(struct timespec *)];
  906 };
  907 struct utrace_args {
  908         char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)];
  909         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
  910 };
  911 struct kldsym_args {
  912         char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)];
  913         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
  914         char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
  915 };
  916 struct jail_args {
  917         char jail_l_[PADL_(struct jail *)]; struct jail * jail; char jail_r_[PADR_(struct jail *)];
  918 };
  919 struct sigprocmask_args {
  920         char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)];
  921         char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)];
  922         char oset_l_[PADL_(sigset_t *)]; sigset_t * oset; char oset_r_[PADR_(sigset_t *)];
  923 };
  924 struct sigsuspend_args {
  925         char sigmask_l_[PADL_(const sigset_t *)]; const sigset_t * sigmask; char sigmask_r_[PADR_(const sigset_t *)];
  926 };
  927 struct sigpending_args {
  928         char set_l_[PADL_(sigset_t *)]; sigset_t * set; char set_r_[PADR_(sigset_t *)];
  929 };
  930 struct sigtimedwait_args {
  931         char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)];
  932         char info_l_[PADL_(siginfo_t *)]; siginfo_t * info; char info_r_[PADR_(siginfo_t *)];
  933         char timeout_l_[PADL_(const struct timespec *)]; const struct timespec * timeout; char timeout_r_[PADR_(const struct timespec *)];
  934 };
  935 struct sigwaitinfo_args {
  936         char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)];
  937         char info_l_[PADL_(siginfo_t *)]; siginfo_t * info; char info_r_[PADR_(siginfo_t *)];
  938 };
  939 struct __acl_get_file_args {
  940         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
  941         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
  942         char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
  943 };
  944 struct __acl_set_file_args {
  945         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
  946         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
  947         char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
  948 };
  949 struct __acl_get_fd_args {
  950         char filedes_l_[PADL_(int)]; int filedes; char filedes_r_[PADR_(int)];
  951         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
  952         char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
  953 };
  954 struct __acl_set_fd_args {
  955         char filedes_l_[PADL_(int)]; int filedes; char filedes_r_[PADR_(int)];
  956         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
  957         char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
  958 };
  959 struct __acl_delete_file_args {
  960         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
  961         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
  962 };
  963 struct __acl_delete_fd_args {
  964         char filedes_l_[PADL_(int)]; int filedes; char filedes_r_[PADR_(int)];
  965         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
  966 };
  967 struct __acl_aclcheck_file_args {
  968         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
  969         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
  970         char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
  971 };
  972 struct __acl_aclcheck_fd_args {
  973         char filedes_l_[PADL_(int)]; int filedes; char filedes_r_[PADR_(int)];
  974         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
  975         char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
  976 };
  977 struct extattrctl_args {
  978         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
  979         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
  980         char filename_l_[PADL_(const char *)]; const char * filename; char filename_r_[PADR_(const char *)];
  981         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
  982         char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)];
  983 };
  984 struct extattr_set_file_args {
  985         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
  986         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
  987         char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)];
  988         char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
  989         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
  990 };
  991 struct extattr_get_file_args {
  992         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
  993         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
  994         char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)];
  995         char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
  996         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
  997 };
  998 struct extattr_delete_file_args {
  999         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 1000         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
 1001         char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)];
 1002 };
 1003 struct aio_waitcomplete_args {
 1004         char aiocbp_l_[PADL_(struct aiocb **)]; struct aiocb ** aiocbp; char aiocbp_r_[PADR_(struct aiocb **)];
 1005         char timeout_l_[PADL_(struct timespec *)]; struct timespec * timeout; char timeout_r_[PADR_(struct timespec *)];
 1006 };
 1007 struct getresuid_args {
 1008         char ruid_l_[PADL_(uid_t *)]; uid_t * ruid; char ruid_r_[PADR_(uid_t *)];
 1009         char euid_l_[PADL_(uid_t *)]; uid_t * euid; char euid_r_[PADR_(uid_t *)];
 1010         char suid_l_[PADL_(uid_t *)]; uid_t * suid; char suid_r_[PADR_(uid_t *)];
 1011 };
 1012 struct getresgid_args {
 1013         char rgid_l_[PADL_(gid_t *)]; gid_t * rgid; char rgid_r_[PADR_(gid_t *)];
 1014         char egid_l_[PADL_(gid_t *)]; gid_t * egid; char egid_r_[PADR_(gid_t *)];
 1015         char sgid_l_[PADL_(gid_t *)]; gid_t * sgid; char sgid_r_[PADR_(gid_t *)];
 1016 };
 1017 struct kqueue_args {
 1018         register_t dummy;
 1019 };
 1020 struct kevent_args {
 1021         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1022         char changelist_l_[PADL_(const struct kevent *)]; const struct kevent * changelist; char changelist_r_[PADR_(const struct kevent *)];
 1023         char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)];
 1024         char eventlist_l_[PADL_(struct kevent *)]; struct kevent * eventlist; char eventlist_r_[PADR_(struct kevent *)];
 1025         char nevents_l_[PADL_(int)]; int nevents; char nevents_r_[PADR_(int)];
 1026         char timeout_l_[PADL_(const struct timespec *)]; const struct timespec * timeout; char timeout_r_[PADR_(const struct timespec *)];
 1027 };
 1028 struct extattr_set_fd_args {
 1029         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1030         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
 1031         char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)];
 1032         char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
 1033         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
 1034 };
 1035 struct extattr_get_fd_args {
 1036         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1037         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
 1038         char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)];
 1039         char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
 1040         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
 1041 };
 1042 struct extattr_delete_fd_args {
 1043         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1044         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
 1045         char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)];
 1046 };
 1047 struct __setugid_args {
 1048         char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
 1049 };
 1050 struct nfsclnt_args {
 1051         char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
 1052         char argp_l_[PADL_(caddr_t)]; caddr_t argp; char argp_r_[PADR_(caddr_t)];
 1053 };
 1054 struct eaccess_args {
 1055         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
 1056         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1057 };
 1058 struct nmount_args {
 1059         char iovp_l_[PADL_(struct iovec *)]; struct iovec * iovp; char iovp_r_[PADR_(struct iovec *)];
 1060         char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)];
 1061         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1062 };
 1063 struct kse_exit_args {
 1064         register_t dummy;
 1065 };
 1066 struct kse_wakeup_args {
 1067         char mbx_l_[PADL_(struct kse_mailbox *)]; struct kse_mailbox * mbx; char mbx_r_[PADR_(struct kse_mailbox *)];
 1068 };
 1069 struct kse_create_args {
 1070         char mbx_l_[PADL_(struct kse_mailbox *)]; struct kse_mailbox * mbx; char mbx_r_[PADR_(struct kse_mailbox *)];
 1071         char newgroup_l_[PADL_(int)]; int newgroup; char newgroup_r_[PADR_(int)];
 1072 };
 1073 struct kse_thr_interrupt_args {
 1074         char tmbx_l_[PADL_(struct kse_thr_mailbox *)]; struct kse_thr_mailbox * tmbx; char tmbx_r_[PADR_(struct kse_thr_mailbox *)];
 1075 };
 1076 struct kse_release_args {
 1077         char timeout_l_[PADL_(struct timespec *)]; struct timespec * timeout; char timeout_r_[PADR_(struct timespec *)];
 1078 };
 1079 struct __mac_get_proc_args {
 1080         char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
 1081 };
 1082 struct __mac_set_proc_args {
 1083         char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
 1084 };
 1085 struct __mac_get_fd_args {
 1086         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1087         char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
 1088 };
 1089 struct __mac_get_file_args {
 1090         char path_p_l_[PADL_(const char *)]; const char * path_p; char path_p_r_[PADR_(const char *)];
 1091         char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
 1092 };
 1093 struct __mac_set_fd_args {
 1094         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1095         char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
 1096 };
 1097 struct __mac_set_file_args {
 1098         char path_p_l_[PADL_(const char *)]; const char * path_p; char path_p_r_[PADR_(const char *)];
 1099         char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
 1100 };
 1101 struct kenv_args {
 1102         char what_l_[PADL_(int)]; int what; char what_r_[PADR_(int)];
 1103         char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)];
 1104         char value_l_[PADL_(char *)]; char * value; char value_r_[PADR_(char *)];
 1105         char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
 1106 };
 1107 struct lchflags_args {
 1108         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 1109         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1110 };
 1111 struct uuidgen_args {
 1112         char store_l_[PADL_(struct uuid *)]; struct uuid * store; char store_r_[PADR_(struct uuid *)];
 1113         char count_l_[PADL_(int)]; int count; char count_r_[PADR_(int)];
 1114 };
 1115 struct sendfile_args {
 1116         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1117         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
 1118         char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
 1119         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
 1120         char hdtr_l_[PADL_(struct sf_hdtr *)]; struct sf_hdtr * hdtr; char hdtr_r_[PADR_(struct sf_hdtr *)];
 1121         char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
 1122         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1123 };
 1124 struct mac_syscall_args {
 1125         char policy_l_[PADL_(const char *)]; const char * policy; char policy_r_[PADR_(const char *)];
 1126         char call_l_[PADL_(int)]; int call; char call_r_[PADR_(int)];
 1127         char arg_l_[PADL_(void *)]; void * arg; char arg_r_[PADR_(void *)];
 1128 };
 1129 struct ksem_close_args {
 1130         char id_l_[PADL_(semid_t)]; semid_t id; char id_r_[PADR_(semid_t)];
 1131 };
 1132 struct ksem_post_args {
 1133         char id_l_[PADL_(semid_t)]; semid_t id; char id_r_[PADR_(semid_t)];
 1134 };
 1135 struct ksem_wait_args {
 1136         char id_l_[PADL_(semid_t)]; semid_t id; char id_r_[PADR_(semid_t)];
 1137 };
 1138 struct ksem_trywait_args {
 1139         char id_l_[PADL_(semid_t)]; semid_t id; char id_r_[PADR_(semid_t)];
 1140 };
 1141 struct ksem_init_args {
 1142         char idp_l_[PADL_(semid_t *)]; semid_t * idp; char idp_r_[PADR_(semid_t *)];
 1143         char value_l_[PADL_(unsigned int)]; unsigned int value; char value_r_[PADR_(unsigned int)];
 1144 };
 1145 struct ksem_open_args {
 1146         char idp_l_[PADL_(semid_t *)]; semid_t * idp; char idp_r_[PADR_(semid_t *)];
 1147         char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)];
 1148         char oflag_l_[PADL_(int)]; int oflag; char oflag_r_[PADR_(int)];
 1149         char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)];
 1150         char value_l_[PADL_(unsigned int)]; unsigned int value; char value_r_[PADR_(unsigned int)];
 1151 };
 1152 struct ksem_unlink_args {
 1153         char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)];
 1154 };
 1155 struct ksem_getvalue_args {
 1156         char id_l_[PADL_(semid_t)]; semid_t id; char id_r_[PADR_(semid_t)];
 1157         char val_l_[PADL_(int *)]; int * val; char val_r_[PADR_(int *)];
 1158 };
 1159 struct ksem_destroy_args {
 1160         char id_l_[PADL_(semid_t)]; semid_t id; char id_r_[PADR_(semid_t)];
 1161 };
 1162 struct __mac_get_pid_args {
 1163         char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)];
 1164         char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
 1165 };
 1166 struct __mac_get_link_args {
 1167         char path_p_l_[PADL_(const char *)]; const char * path_p; char path_p_r_[PADR_(const char *)];
 1168         char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
 1169 };
 1170 struct __mac_set_link_args {
 1171         char path_p_l_[PADL_(const char *)]; const char * path_p; char path_p_r_[PADR_(const char *)];
 1172         char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
 1173 };
 1174 struct extattr_set_link_args {
 1175         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 1176         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
 1177         char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)];
 1178         char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
 1179         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
 1180 };
 1181 struct extattr_get_link_args {
 1182         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 1183         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
 1184         char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)];
 1185         char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
 1186         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
 1187 };
 1188 struct extattr_delete_link_args {
 1189         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 1190         char attrnamespace_l_[PADL_(int)]; int attrnamespace; char attrnamespace_r_[PADR_(int)];
 1191         char attrname_l_[PADL_(const char *)]; const char * attrname; char attrname_r_[PADR_(const char *)];
 1192 };
 1193 struct __mac_execve_args {
 1194         char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)];
 1195         char argv_l_[PADL_(char **)]; char ** argv; char argv_r_[PADR_(char **)];
 1196         char envv_l_[PADL_(char **)]; char ** envv; char envv_r_[PADR_(char **)];
 1197         char mac_p_l_[PADL_(struct mac *)]; struct mac * mac_p; char mac_p_r_[PADR_(struct mac *)];
 1198 };
 1199 struct sigaction_args {
 1200         char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
 1201         char act_l_[PADL_(const struct sigaction *)]; const struct sigaction * act; char act_r_[PADR_(const struct sigaction *)];
 1202         char oact_l_[PADL_(struct sigaction *)]; struct sigaction * oact; char oact_r_[PADR_(struct sigaction *)];
 1203 };
 1204 struct sigreturn_args {
 1205         char sigcntxp_l_[PADL_(const struct __ucontext *)]; const struct __ucontext * sigcntxp; char sigcntxp_r_[PADR_(const struct __ucontext *)];
 1206 };
 1207 struct getcontext_args {
 1208         char ucp_l_[PADL_(struct __ucontext *)]; struct __ucontext * ucp; char ucp_r_[PADR_(struct __ucontext *)];
 1209 };
 1210 struct setcontext_args {
 1211         char ucp_l_[PADL_(const struct __ucontext *)]; const struct __ucontext * ucp; char ucp_r_[PADR_(const struct __ucontext *)];
 1212 };
 1213 struct swapcontext_args {
 1214         char oucp_l_[PADL_(struct __ucontext *)]; struct __ucontext * oucp; char oucp_r_[PADR_(struct __ucontext *)];
 1215         char ucp_l_[PADL_(const struct __ucontext *)]; const struct __ucontext * ucp; char ucp_r_[PADR_(const struct __ucontext *)];
 1216 };
 1217 struct swapoff_args {
 1218         char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)];
 1219 };
 1220 struct __acl_get_link_args {
 1221         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 1222         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
 1223         char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
 1224 };
 1225 struct __acl_set_link_args {
 1226         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 1227         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
 1228         char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
 1229 };
 1230 struct __acl_delete_link_args {
 1231         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 1232         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
 1233 };
 1234 struct __acl_aclcheck_link_args {
 1235         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 1236         char type_l_[PADL_(acl_type_t)]; acl_type_t type; char type_r_[PADR_(acl_type_t)];
 1237         char aclp_l_[PADL_(struct acl *)]; struct acl * aclp; char aclp_r_[PADR_(struct acl *)];
 1238 };
 1239 struct sigwait_args {
 1240         char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)];
 1241         char sig_l_[PADL_(int *)]; int * sig; char sig_r_[PADR_(int *)];
 1242 };
 1243 struct thr_create_args {
 1244         char ctx_l_[PADL_(ucontext_t *)]; ucontext_t * ctx; char ctx_r_[PADR_(ucontext_t *)];
 1245         char id_l_[PADL_(thr_id_t *)]; thr_id_t * id; char id_r_[PADR_(thr_id_t *)];
 1246         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1247 };
 1248 struct thr_exit_args {
 1249         register_t dummy;
 1250 };
 1251 struct thr_self_args {
 1252         char id_l_[PADL_(thr_id_t *)]; thr_id_t * id; char id_r_[PADR_(thr_id_t *)];
 1253 };
 1254 struct thr_kill_args {
 1255         char id_l_[PADL_(thr_id_t)]; thr_id_t id; char id_r_[PADR_(thr_id_t)];
 1256         char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
 1257 };
 1258 struct _umtx_lock_args {
 1259         char umtx_l_[PADL_(struct umtx *)]; struct umtx * umtx; char umtx_r_[PADR_(struct umtx *)];
 1260 };
 1261 struct _umtx_unlock_args {
 1262         char umtx_l_[PADL_(struct umtx *)]; struct umtx * umtx; char umtx_r_[PADR_(struct umtx *)];
 1263 };
 1264 struct jail_attach_args {
 1265         char jid_l_[PADL_(int)]; int jid; char jid_r_[PADR_(int)];
 1266 };
 1267 int     nosys(struct thread *, struct nosys_args *);
 1268 void    sys_exit(struct thread *, struct sys_exit_args *);
 1269 int     fork(struct thread *, struct fork_args *);
 1270 int     read(struct thread *, struct read_args *);
 1271 int     write(struct thread *, struct write_args *);
 1272 int     open(struct thread *, struct open_args *);
 1273 int     close(struct thread *, struct close_args *);
 1274 int     wait4(struct thread *, struct wait_args *);
 1275 int     link(struct thread *, struct link_args *);
 1276 int     unlink(struct thread *, struct unlink_args *);
 1277 int     chdir(struct thread *, struct chdir_args *);
 1278 int     fchdir(struct thread *, struct fchdir_args *);
 1279 int     mknod(struct thread *, struct mknod_args *);
 1280 int     chmod(struct thread *, struct chmod_args *);
 1281 int     chown(struct thread *, struct chown_args *);
 1282 int     obreak(struct thread *, struct obreak_args *);
 1283 int     getfsstat(struct thread *, struct getfsstat_args *);
 1284 int     getpid(struct thread *, struct getpid_args *);
 1285 int     mount(struct thread *, struct mount_args *);
 1286 int     unmount(struct thread *, struct unmount_args *);
 1287 int     setuid(struct thread *, struct setuid_args *);
 1288 int     getuid(struct thread *, struct getuid_args *);
 1289 int     geteuid(struct thread *, struct geteuid_args *);
 1290 int     ptrace(struct thread *, struct ptrace_args *);
 1291 int     recvmsg(struct thread *, struct recvmsg_args *);
 1292 int     sendmsg(struct thread *, struct sendmsg_args *);
 1293 int     recvfrom(struct thread *, struct recvfrom_args *);
 1294 int     accept(struct thread *, struct accept_args *);
 1295 int     getpeername(struct thread *, struct getpeername_args *);
 1296 int     getsockname(struct thread *, struct getsockname_args *);
 1297 int     access(struct thread *, struct access_args *);
 1298 int     chflags(struct thread *, struct chflags_args *);
 1299 int     fchflags(struct thread *, struct fchflags_args *);
 1300 int     sync(struct thread *, struct sync_args *);
 1301 int     kill(struct thread *, struct kill_args *);
 1302 int     getppid(struct thread *, struct getppid_args *);
 1303 int     dup(struct thread *, struct dup_args *);
 1304 int     pipe(struct thread *, struct pipe_args *);
 1305 int     getegid(struct thread *, struct getegid_args *);
 1306 int     profil(struct thread *, struct profil_args *);
 1307 int     ktrace(struct thread *, struct ktrace_args *);
 1308 int     getgid(struct thread *, struct getgid_args *);
 1309 int     getlogin(struct thread *, struct getlogin_args *);
 1310 int     setlogin(struct thread *, struct setlogin_args *);
 1311 int     acct(struct thread *, struct acct_args *);
 1312 int     sigaltstack(struct thread *, struct sigaltstack_args *);
 1313 int     ioctl(struct thread *, struct ioctl_args *);
 1314 int     reboot(struct thread *, struct reboot_args *);
 1315 int     revoke(struct thread *, struct revoke_args *);
 1316 int     symlink(struct thread *, struct symlink_args *);
 1317 int     readlink(struct thread *, struct readlink_args *);
 1318 int     execve(struct thread *, struct execve_args *);
 1319 int     umask(struct thread *, struct umask_args *);
 1320 int     chroot(struct thread *, struct chroot_args *);
 1321 int     msync(struct thread *, struct msync_args *);
 1322 int     vfork(struct thread *, struct vfork_args *);
 1323 int     sbrk(struct thread *, struct sbrk_args *);
 1324 int     sstk(struct thread *, struct sstk_args *);
 1325 int     ovadvise(struct thread *, struct ovadvise_args *);
 1326 int     munmap(struct thread *, struct munmap_args *);
 1327 int     mprotect(struct thread *, struct mprotect_args *);
 1328 int     madvise(struct thread *, struct madvise_args *);
 1329 int     mincore(struct thread *, struct mincore_args *);
 1330 int     getgroups(struct thread *, struct getgroups_args *);
 1331 int     setgroups(struct thread *, struct setgroups_args *);
 1332 int     getpgrp(struct thread *, struct getpgrp_args *);
 1333 int     setpgid(struct thread *, struct setpgid_args *);
 1334 int     setitimer(struct thread *, struct setitimer_args *);
 1335 int     swapon(struct thread *, struct swapon_args *);
 1336 int     getitimer(struct thread *, struct getitimer_args *);
 1337 int     getdtablesize(struct thread *, struct getdtablesize_args *);
 1338 int     dup2(struct thread *, struct dup2_args *);
 1339 int     fcntl(struct thread *, struct fcntl_args *);
 1340 int     select(struct thread *, struct select_args *);
 1341 int     fsync(struct thread *, struct fsync_args *);
 1342 int     setpriority(struct thread *, struct setpriority_args *);
 1343 int     socket(struct thread *, struct socket_args *);
 1344 int     connect(struct thread *, struct connect_args *);
 1345 int     getpriority(struct thread *, struct getpriority_args *);
 1346 int     bind(struct thread *, struct bind_args *);
 1347 int     setsockopt(struct thread *, struct setsockopt_args *);
 1348 int     listen(struct thread *, struct listen_args *);
 1349 int     gettimeofday(struct thread *, struct gettimeofday_args *);
 1350 int     getrusage(struct thread *, struct getrusage_args *);
 1351 int     getsockopt(struct thread *, struct getsockopt_args *);
 1352 int     readv(struct thread *, struct readv_args *);
 1353 int     writev(struct thread *, struct writev_args *);
 1354 int     settimeofday(struct thread *, struct settimeofday_args *);
 1355 int     fchown(struct thread *, struct fchown_args *);
 1356 int     fchmod(struct thread *, struct fchmod_args *);
 1357 int     setreuid(struct thread *, struct setreuid_args *);
 1358 int     setregid(struct thread *, struct setregid_args *);
 1359 int     rename(struct thread *, struct rename_args *);
 1360 int     flock(struct thread *, struct flock_args *);
 1361 int     mkfifo(struct thread *, struct mkfifo_args *);
 1362 int     sendto(struct thread *, struct sendto_args *);
 1363 int     shutdown(struct thread *, struct shutdown_args *);
 1364 int     socketpair(struct thread *, struct socketpair_args *);
 1365 int     mkdir(struct thread *, struct mkdir_args *);
 1366 int     rmdir(struct thread *, struct rmdir_args *);
 1367 int     utimes(struct thread *, struct utimes_args *);
 1368 int     adjtime(struct thread *, struct adjtime_args *);
 1369 int     setsid(struct thread *, struct setsid_args *);
 1370 int     quotactl(struct thread *, struct quotactl_args *);
 1371 int     nfssvc(struct thread *, struct nfssvc_args *);
 1372 int     statfs(struct thread *, struct statfs_args *);
 1373 int     fstatfs(struct thread *, struct fstatfs_args *);
 1374 int     getfh(struct thread *, struct getfh_args *);
 1375 int     getdomainname(struct thread *, struct getdomainname_args *);
 1376 int     setdomainname(struct thread *, struct setdomainname_args *);
 1377 int     uname(struct thread *, struct uname_args *);
 1378 int     sysarch(struct thread *, struct sysarch_args *);
 1379 int     rtprio(struct thread *, struct rtprio_args *);
 1380 int     semsys(struct thread *, struct semsys_args *);
 1381 int     msgsys(struct thread *, struct msgsys_args *);
 1382 int     shmsys(struct thread *, struct shmsys_args *);
 1383 int     pread(struct thread *, struct pread_args *);
 1384 int     pwrite(struct thread *, struct pwrite_args *);
 1385 int     ntp_adjtime(struct thread *, struct ntp_adjtime_args *);
 1386 int     setgid(struct thread *, struct setgid_args *);
 1387 int     setegid(struct thread *, struct setegid_args *);
 1388 int     seteuid(struct thread *, struct seteuid_args *);
 1389 int     stat(struct thread *, struct stat_args *);
 1390 int     fstat(struct thread *, struct fstat_args *);
 1391 int     lstat(struct thread *, struct lstat_args *);
 1392 int     pathconf(struct thread *, struct pathconf_args *);
 1393 int     fpathconf(struct thread *, struct fpathconf_args *);
 1394 int     getrlimit(struct thread *, struct __getrlimit_args *);
 1395 int     setrlimit(struct thread *, struct __setrlimit_args *);
 1396 int     getdirentries(struct thread *, struct getdirentries_args *);
 1397 int     mmap(struct thread *, struct mmap_args *);
 1398 int     lseek(struct thread *, struct lseek_args *);
 1399 int     truncate(struct thread *, struct truncate_args *);
 1400 int     ftruncate(struct thread *, struct ftruncate_args *);
 1401 int     __sysctl(struct thread *, struct sysctl_args *);
 1402 int     mlock(struct thread *, struct mlock_args *);
 1403 int     munlock(struct thread *, struct munlock_args *);
 1404 int     undelete(struct thread *, struct undelete_args *);
 1405 int     futimes(struct thread *, struct futimes_args *);
 1406 int     getpgid(struct thread *, struct getpgid_args *);
 1407 int     poll(struct thread *, struct poll_args *);
 1408 int     lkmnosys(struct thread *, struct nosys_args *);
 1409 int     __semctl(struct thread *, struct __semctl_args *);
 1410 int     semget(struct thread *, struct semget_args *);
 1411 int     semop(struct thread *, struct semop_args *);
 1412 int     msgctl(struct thread *, struct msgctl_args *);
 1413 int     msgget(struct thread *, struct msgget_args *);
 1414 int     msgsnd(struct thread *, struct msgsnd_args *);
 1415 int     msgrcv(struct thread *, struct msgrcv_args *);
 1416 int     shmat(struct thread *, struct shmat_args *);
 1417 int     shmctl(struct thread *, struct shmctl_args *);
 1418 int     shmdt(struct thread *, struct shmdt_args *);
 1419 int     shmget(struct thread *, struct shmget_args *);
 1420 int     clock_gettime(struct thread *, struct clock_gettime_args *);
 1421 int     clock_settime(struct thread *, struct clock_settime_args *);
 1422 int     clock_getres(struct thread *, struct clock_getres_args *);
 1423 int     nanosleep(struct thread *, struct nanosleep_args *);
 1424 int     minherit(struct thread *, struct minherit_args *);
 1425 int     rfork(struct thread *, struct rfork_args *);
 1426 int     openbsd_poll(struct thread *, struct openbsd_poll_args *);
 1427 int     issetugid(struct thread *, struct issetugid_args *);
 1428 int     lchown(struct thread *, struct lchown_args *);
 1429 int     getdents(struct thread *, struct getdents_args *);
 1430 int     lchmod(struct thread *, struct lchmod_args *);
 1431 int     lutimes(struct thread *, struct lutimes_args *);
 1432 int     nstat(struct thread *, struct nstat_args *);
 1433 int     nfstat(struct thread *, struct nfstat_args *);
 1434 int     nlstat(struct thread *, struct nlstat_args *);
 1435 int     fhstatfs(struct thread *, struct fhstatfs_args *);
 1436 int     fhopen(struct thread *, struct fhopen_args *);
 1437 int     fhstat(struct thread *, struct fhstat_args *);
 1438 int     modnext(struct thread *, struct modnext_args *);
 1439 int     modstat(struct thread *, struct modstat_args *);
 1440 int     modfnext(struct thread *, struct modfnext_args *);
 1441 int     modfind(struct thread *, struct modfind_args *);
 1442 int     kldload(struct thread *, struct kldload_args *);
 1443 int     kldunload(struct thread *, struct kldunload_args *);
 1444 int     kldfind(struct thread *, struct kldfind_args *);
 1445 int     kldnext(struct thread *, struct kldnext_args *);
 1446 int     kldstat(struct thread *, struct kldstat_args *);
 1447 int     kldfirstmod(struct thread *, struct kldfirstmod_args *);
 1448 int     getsid(struct thread *, struct getsid_args *);
 1449 int     setresuid(struct thread *, struct setresuid_args *);
 1450 int     setresgid(struct thread *, struct setresgid_args *);
 1451 int     aio_return(struct thread *, struct aio_return_args *);
 1452 int     aio_suspend(struct thread *, struct aio_suspend_args *);
 1453 int     aio_cancel(struct thread *, struct aio_cancel_args *);
 1454 int     aio_error(struct thread *, struct aio_error_args *);
 1455 int     aio_read(struct thread *, struct aio_read_args *);
 1456 int     aio_write(struct thread *, struct aio_write_args *);
 1457 int     lio_listio(struct thread *, struct lio_listio_args *);
 1458 int     yield(struct thread *, struct yield_args *);
 1459 int     mlockall(struct thread *, struct mlockall_args *);
 1460 int     munlockall(struct thread *, struct munlockall_args *);
 1461 int     __getcwd(struct thread *, struct __getcwd_args *);
 1462 int     sched_setparam(struct thread *, struct sched_setparam_args *);
 1463 int     sched_getparam(struct thread *, struct sched_getparam_args *);
 1464 int     sched_setscheduler(struct thread *, struct sched_setscheduler_args *);
 1465 int     sched_getscheduler(struct thread *, struct sched_getscheduler_args *);
 1466 int     sched_yield(struct thread *, struct sched_yield_args *);
 1467 int     sched_get_priority_max(struct thread *, struct sched_get_priority_max_args *);
 1468 int     sched_get_priority_min(struct thread *, struct sched_get_priority_min_args *);
 1469 int     sched_rr_get_interval(struct thread *, struct sched_rr_get_interval_args *);
 1470 int     utrace(struct thread *, struct utrace_args *);
 1471 int     kldsym(struct thread *, struct kldsym_args *);
 1472 int     jail(struct thread *, struct jail_args *);
 1473 int     sigprocmask(struct thread *, struct sigprocmask_args *);
 1474 int     sigsuspend(struct thread *, struct sigsuspend_args *);
 1475 int     sigpending(struct thread *, struct sigpending_args *);
 1476 int     sigtimedwait(struct thread *, struct sigtimedwait_args *);
 1477 int     sigwaitinfo(struct thread *, struct sigwaitinfo_args *);
 1478 int     __acl_get_file(struct thread *, struct __acl_get_file_args *);
 1479 int     __acl_set_file(struct thread *, struct __acl_set_file_args *);
 1480 int     __acl_get_fd(struct thread *, struct __acl_get_fd_args *);
 1481 int     __acl_set_fd(struct thread *, struct __acl_set_fd_args *);
 1482 int     __acl_delete_file(struct thread *, struct __acl_delete_file_args *);
 1483 int     __acl_delete_fd(struct thread *, struct __acl_delete_fd_args *);
 1484 int     __acl_aclcheck_file(struct thread *, struct __acl_aclcheck_file_args *);
 1485 int     __acl_aclcheck_fd(struct thread *, struct __acl_aclcheck_fd_args *);
 1486 int     extattrctl(struct thread *, struct extattrctl_args *);
 1487 int     extattr_set_file(struct thread *, struct extattr_set_file_args *);
 1488 int     extattr_get_file(struct thread *, struct extattr_get_file_args *);
 1489 int     extattr_delete_file(struct thread *, struct extattr_delete_file_args *);
 1490 int     aio_waitcomplete(struct thread *, struct aio_waitcomplete_args *);
 1491 int     getresuid(struct thread *, struct getresuid_args *);
 1492 int     getresgid(struct thread *, struct getresgid_args *);
 1493 int     kqueue(struct thread *, struct kqueue_args *);
 1494 int     kevent(struct thread *, struct kevent_args *);
 1495 int     lkmressys(struct thread *, struct nosys_args *);
 1496 int     extattr_set_fd(struct thread *, struct extattr_set_fd_args *);
 1497 int     extattr_get_fd(struct thread *, struct extattr_get_fd_args *);
 1498 int     extattr_delete_fd(struct thread *, struct extattr_delete_fd_args *);
 1499 int     __setugid(struct thread *, struct __setugid_args *);
 1500 int     nfsclnt(struct thread *, struct nfsclnt_args *);
 1501 int     eaccess(struct thread *, struct eaccess_args *);
 1502 int     nmount(struct thread *, struct nmount_args *);
 1503 int     kse_exit(struct thread *, struct kse_exit_args *);
 1504 int     kse_wakeup(struct thread *, struct kse_wakeup_args *);
 1505 int     kse_create(struct thread *, struct kse_create_args *);
 1506 int     kse_thr_interrupt(struct thread *, struct kse_thr_interrupt_args *);
 1507 int     kse_release(struct thread *, struct kse_release_args *);
 1508 int     __mac_get_proc(struct thread *, struct __mac_get_proc_args *);
 1509 int     __mac_set_proc(struct thread *, struct __mac_set_proc_args *);
 1510 int     __mac_get_fd(struct thread *, struct __mac_get_fd_args *);
 1511 int     __mac_get_file(struct thread *, struct __mac_get_file_args *);
 1512 int     __mac_set_fd(struct thread *, struct __mac_set_fd_args *);
 1513 int     __mac_set_file(struct thread *, struct __mac_set_file_args *);
 1514 int     kenv(struct thread *, struct kenv_args *);
 1515 int     lchflags(struct thread *, struct lchflags_args *);
 1516 int     uuidgen(struct thread *, struct uuidgen_args *);
 1517 int     sendfile(struct thread *, struct sendfile_args *);
 1518 int     mac_syscall(struct thread *, struct mac_syscall_args *);
 1519 int     ksem_close(struct thread *, struct ksem_close_args *);
 1520 int     ksem_post(struct thread *, struct ksem_post_args *);
 1521 int     ksem_wait(struct thread *, struct ksem_wait_args *);
 1522 int     ksem_trywait(struct thread *, struct ksem_trywait_args *);
 1523 int     ksem_init(struct thread *, struct ksem_init_args *);
 1524 int     ksem_open(struct thread *, struct ksem_open_args *);
 1525 int     ksem_unlink(struct thread *, struct ksem_unlink_args *);
 1526 int     ksem_getvalue(struct thread *, struct ksem_getvalue_args *);
 1527 int     ksem_destroy(struct thread *, struct ksem_destroy_args *);
 1528 int     __mac_get_pid(struct thread *, struct __mac_get_pid_args *);
 1529 int     __mac_get_link(struct thread *, struct __mac_get_link_args *);
 1530 int     __mac_set_link(struct thread *, struct __mac_set_link_args *);
 1531 int     extattr_set_link(struct thread *, struct extattr_set_link_args *);
 1532 int     extattr_get_link(struct thread *, struct extattr_get_link_args *);
 1533 int     extattr_delete_link(struct thread *, struct extattr_delete_link_args *);
 1534 int     __mac_execve(struct thread *, struct __mac_execve_args *);
 1535 int     sigaction(struct thread *, struct sigaction_args *);
 1536 int     sigreturn(struct thread *, struct sigreturn_args *);
 1537 int     getcontext(struct thread *, struct getcontext_args *);
 1538 int     setcontext(struct thread *, struct setcontext_args *);
 1539 int     swapcontext(struct thread *, struct swapcontext_args *);
 1540 int     swapoff(struct thread *, struct swapoff_args *);
 1541 int     __acl_get_link(struct thread *, struct __acl_get_link_args *);
 1542 int     __acl_set_link(struct thread *, struct __acl_set_link_args *);
 1543 int     __acl_delete_link(struct thread *, struct __acl_delete_link_args *);
 1544 int     __acl_aclcheck_link(struct thread *, struct __acl_aclcheck_link_args *);
 1545 int     sigwait(struct thread *, struct sigwait_args *);
 1546 int     thr_create(struct thread *, struct thr_create_args *);
 1547 int     thr_exit(struct thread *, struct thr_exit_args *);
 1548 int     thr_self(struct thread *, struct thr_self_args *);
 1549 int     thr_kill(struct thread *, struct thr_kill_args *);
 1550 int     _umtx_lock(struct thread *, struct _umtx_lock_args *);
 1551 int     _umtx_unlock(struct thread *, struct _umtx_unlock_args *);
 1552 int     jail_attach(struct thread *, struct jail_attach_args *);
 1553 
 1554 #ifdef COMPAT_43
 1555 
 1556 struct ocreat_args {
 1557         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
 1558         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
 1559 };
 1560 struct olseek_args {
 1561         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1562         char offset_l_[PADL_(long)]; long offset; char offset_r_[PADR_(long)];
 1563         char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)];
 1564 };
 1565 struct ostat_args {
 1566         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
 1567         char ub_l_[PADL_(struct ostat *)]; struct ostat * ub; char ub_r_[PADR_(struct ostat *)];
 1568 };
 1569 struct olstat_args {
 1570         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
 1571         char ub_l_[PADL_(struct ostat *)]; struct ostat * ub; char ub_r_[PADR_(struct ostat *)];
 1572 };
 1573 struct osigaction_args {
 1574         char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
 1575         char nsa_l_[PADL_(struct osigaction *)]; struct osigaction * nsa; char nsa_r_[PADR_(struct osigaction *)];
 1576         char osa_l_[PADL_(struct osigaction *)]; struct osigaction * osa; char osa_r_[PADR_(struct osigaction *)];
 1577 };
 1578 struct osigprocmask_args {
 1579         char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)];
 1580         char mask_l_[PADL_(osigset_t)]; osigset_t mask; char mask_r_[PADR_(osigset_t)];
 1581 };
 1582 struct ofstat_args {
 1583         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1584         char sb_l_[PADL_(struct ostat *)]; struct ostat * sb; char sb_r_[PADR_(struct ostat *)];
 1585 };
 1586 struct getkerninfo_args {
 1587         char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)];
 1588         char where_l_[PADL_(char *)]; char * where; char where_r_[PADR_(char *)];
 1589         char size_l_[PADL_(size_t *)]; size_t * size; char size_r_[PADR_(size_t *)];
 1590         char arg_l_[PADL_(int)]; int arg; char arg_r_[PADR_(int)];
 1591 };
 1592 struct ommap_args {
 1593         char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)];
 1594         char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
 1595         char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
 1596         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1597         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1598         char pos_l_[PADL_(long)]; long pos; char pos_r_[PADR_(long)];
 1599 };
 1600 struct gethostname_args {
 1601         char hostname_l_[PADL_(char *)]; char * hostname; char hostname_r_[PADR_(char *)];
 1602         char len_l_[PADL_(u_int)]; u_int len; char len_r_[PADR_(u_int)];
 1603 };
 1604 struct sethostname_args {
 1605         char hostname_l_[PADL_(char *)]; char * hostname; char hostname_r_[PADR_(char *)];
 1606         char len_l_[PADL_(u_int)]; u_int len; char len_r_[PADR_(u_int)];
 1607 };
 1608 struct osend_args {
 1609         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
 1610         char buf_l_[PADL_(caddr_t)]; caddr_t buf; char buf_r_[PADR_(caddr_t)];
 1611         char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
 1612         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1613 };
 1614 struct orecv_args {
 1615         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
 1616         char buf_l_[PADL_(caddr_t)]; caddr_t buf; char buf_r_[PADR_(caddr_t)];
 1617         char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
 1618         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1619 };
 1620 struct osigreturn_args {
 1621         char sigcntxp_l_[PADL_(struct osigcontext *)]; struct osigcontext * sigcntxp; char sigcntxp_r_[PADR_(struct osigcontext *)];
 1622 };
 1623 struct osigvec_args {
 1624         char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
 1625         char nsv_l_[PADL_(struct sigvec *)]; struct sigvec * nsv; char nsv_r_[PADR_(struct sigvec *)];
 1626         char osv_l_[PADL_(struct sigvec *)]; struct sigvec * osv; char osv_r_[PADR_(struct sigvec *)];
 1627 };
 1628 struct osigblock_args {
 1629         char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)];
 1630 };
 1631 struct osigsetmask_args {
 1632         char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)];
 1633 };
 1634 struct osigsuspend_args {
 1635         char mask_l_[PADL_(osigset_t)]; osigset_t mask; char mask_r_[PADR_(osigset_t)];
 1636 };
 1637 struct osigstack_args {
 1638         char nss_l_[PADL_(struct sigstack *)]; struct sigstack * nss; char nss_r_[PADR_(struct sigstack *)];
 1639         char oss_l_[PADL_(struct sigstack *)]; struct sigstack * oss; char oss_r_[PADR_(struct sigstack *)];
 1640 };
 1641 struct orecvmsg_args {
 1642         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
 1643         char msg_l_[PADL_(struct omsghdr *)]; struct omsghdr * msg; char msg_r_[PADR_(struct omsghdr *)];
 1644         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1645 };
 1646 struct osendmsg_args {
 1647         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
 1648         char msg_l_[PADL_(caddr_t)]; caddr_t msg; char msg_r_[PADR_(caddr_t)];
 1649         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1650 };
 1651 struct otruncate_args {
 1652         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
 1653         char length_l_[PADL_(long)]; long length; char length_r_[PADR_(long)];
 1654 };
 1655 struct oftruncate_args {
 1656         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1657         char length_l_[PADL_(long)]; long length; char length_r_[PADR_(long)];
 1658 };
 1659 struct ogetpeername_args {
 1660         char fdes_l_[PADL_(int)]; int fdes; char fdes_r_[PADR_(int)];
 1661         char asa_l_[PADL_(caddr_t)]; caddr_t asa; char asa_r_[PADR_(caddr_t)];
 1662         char alen_l_[PADL_(int *)]; int * alen; char alen_r_[PADR_(int *)];
 1663 };
 1664 struct osethostid_args {
 1665         char hostid_l_[PADL_(long)]; long hostid; char hostid_r_[PADR_(long)];
 1666 };
 1667 struct ogetrlimit_args {
 1668         char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
 1669         char rlp_l_[PADL_(struct orlimit *)]; struct orlimit * rlp; char rlp_r_[PADR_(struct orlimit *)];
 1670 };
 1671 struct osetrlimit_args {
 1672         char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
 1673         char rlp_l_[PADL_(struct orlimit *)]; struct orlimit * rlp; char rlp_r_[PADR_(struct orlimit *)];
 1674 };
 1675 struct okillpg_args {
 1676         char pgid_l_[PADL_(int)]; int pgid; char pgid_r_[PADR_(int)];
 1677         char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
 1678 };
 1679 struct ogetdirentries_args {
 1680         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1681         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
 1682         char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)];
 1683         char basep_l_[PADL_(long *)]; long * basep; char basep_r_[PADR_(long *)];
 1684 };
 1685 int     ocreat(struct thread *, struct ocreat_args *);
 1686 int     olseek(struct thread *, struct olseek_args *);
 1687 int     ostat(struct thread *, struct ostat_args *);
 1688 int     olstat(struct thread *, struct olstat_args *);
 1689 int     osigaction(struct thread *, struct osigaction_args *);
 1690 int     osigprocmask(struct thread *, struct osigprocmask_args *);
 1691 int     osigpending(struct thread *, struct osigpending_args *);
 1692 int     ofstat(struct thread *, struct ofstat_args *);
 1693 int     ogetkerninfo(struct thread *, struct getkerninfo_args *);
 1694 int     ogetpagesize(struct thread *, struct getpagesize_args *);
 1695 int     ommap(struct thread *, struct ommap_args *);
 1696 int     owait(struct thread *, struct owait_args *);
 1697 int     ogethostname(struct thread *, struct gethostname_args *);
 1698 int     osethostname(struct thread *, struct sethostname_args *);
 1699 int     oaccept(struct thread *, struct accept_args *);
 1700 int     osend(struct thread *, struct osend_args *);
 1701 int     orecv(struct thread *, struct orecv_args *);
 1702 int     osigreturn(struct thread *, struct osigreturn_args *);
 1703 int     osigvec(struct thread *, struct osigvec_args *);
 1704 int     osigblock(struct thread *, struct osigblock_args *);
 1705 int     osigsetmask(struct thread *, struct osigsetmask_args *);
 1706 int     osigsuspend(struct thread *, struct osigsuspend_args *);
 1707 int     osigstack(struct thread *, struct osigstack_args *);
 1708 int     orecvmsg(struct thread *, struct orecvmsg_args *);
 1709 int     osendmsg(struct thread *, struct osendmsg_args *);
 1710 int     orecvfrom(struct thread *, struct recvfrom_args *);
 1711 int     otruncate(struct thread *, struct otruncate_args *);
 1712 int     oftruncate(struct thread *, struct oftruncate_args *);
 1713 int     ogetpeername(struct thread *, struct ogetpeername_args *);
 1714 int     ogethostid(struct thread *, struct ogethostid_args *);
 1715 int     osethostid(struct thread *, struct osethostid_args *);
 1716 int     ogetrlimit(struct thread *, struct ogetrlimit_args *);
 1717 int     osetrlimit(struct thread *, struct osetrlimit_args *);
 1718 int     okillpg(struct thread *, struct okillpg_args *);
 1719 int     oquota(struct thread *, struct oquota_args *);
 1720 int     ogetsockname(struct thread *, struct getsockname_args *);
 1721 int     ogetdirentries(struct thread *, struct ogetdirentries_args *);
 1722 
 1723 #endif /* COMPAT_43 */
 1724 
 1725 
 1726 #ifdef COMPAT_FREEBSD4
 1727 
 1728 struct freebsd4_sendfile_args {
 1729         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
 1730         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
 1731         char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
 1732         char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
 1733         char hdtr_l_[PADL_(struct sf_hdtr *)]; struct sf_hdtr * hdtr; char hdtr_r_[PADR_(struct sf_hdtr *)];
 1734         char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
 1735         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 1736 };
 1737 struct freebsd4_sigaction_args {
 1738         char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
 1739         char act_l_[PADL_(const struct sigaction *)]; const struct sigaction * act; char act_r_[PADR_(const struct sigaction *)];
 1740         char oact_l_[PADL_(struct sigaction *)]; struct sigaction * oact; char oact_r_[PADR_(struct sigaction *)];
 1741 };
 1742 struct freebsd4_sigreturn_args {
 1743         char sigcntxp_l_[PADL_(const struct ucontext4 *)]; const struct ucontext4 * sigcntxp; char sigcntxp_r_[PADR_(const struct ucontext4 *)];
 1744 };
 1745 int     freebsd4_sendfile(struct thread *, struct freebsd4_sendfile_args *);
 1746 int     freebsd4_sigaction(struct thread *, struct freebsd4_sigaction_args *);
 1747 int     freebsd4_sigreturn(struct thread *, struct freebsd4_sigreturn_args *);
 1748 
 1749 #endif /* COMPAT_FREEBSD4 */
 1750 
 1751 #undef PAD_
 1752 #undef PADL_
 1753 #undef PADR_
 1754 
 1755 #endif /* !_SYS_SYSPROTO_H_ */

Cache object: 6e42cb681de9abf405f03d37197bb854


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.