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

Cache object: 4c90b2eadf6217fea4008ac7d215b27d


[ 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.