]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/compat/svr4/svr4_proto.h
Regen post r302096 and implement svr4_pipe().
[FreeBSD/FreeBSD.git] / sys / compat / svr4 / svr4_proto.h
1 /*
2  * System call prototypes.
3  *
4  * DO NOT EDIT-- this file is automatically generated.
5  * $FreeBSD$
6  * created from FreeBSD: head/sys/compat/svr4/syscalls.master 302096 2016-06-23 00:29:03Z brooks 
7  */
8
9 #ifndef _SVR4_SYSPROTO_H_
10 #define _SVR4_SYSPROTO_H_
11
12 #include <sys/signal.h>
13 #include <sys/acl.h>
14 #include <sys/cpuset.h>
15 #include <sys/_ffcounter.h>
16 #include <sys/_semaphore.h>
17 #include <sys/ucontext.h>
18 #include <sys/wait.h>
19
20 #include <bsm/audit_kevents.h>
21
22 struct proc;
23
24 struct thread;
25
26 #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
27                 0 : sizeof(register_t) - sizeof(t))
28
29 #if BYTE_ORDER == LITTLE_ENDIAN
30 #define PADL_(t)        0
31 #define PADR_(t)        PAD_(t)
32 #else
33 #define PADL_(t)        PAD_(t)
34 #define PADR_(t)        0
35 #endif
36
37 struct svr4_sys_open_args {
38         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
39         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
40         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
41 };
42 struct svr4_sys_wait_args {
43         char status_l_[PADL_(int *)]; int * status; char status_r_[PADR_(int *)];
44 };
45 struct svr4_sys_creat_args {
46         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
47         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
48 };
49 struct svr4_sys_execv_args {
50         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
51         char argp_l_[PADL_(char **)]; char ** argp; char argp_r_[PADR_(char **)];
52 };
53 struct svr4_sys_time_args {
54         char t_l_[PADL_(time_t *)]; time_t * t; char t_r_[PADR_(time_t *)];
55 };
56 struct svr4_sys_mknod_args {
57         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
58         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
59         char dev_l_[PADL_(int)]; int dev; char dev_r_[PADR_(int)];
60 };
61 struct svr4_sys_break_args {
62         char nsize_l_[PADL_(caddr_t)]; caddr_t nsize; char nsize_r_[PADR_(caddr_t)];
63 };
64 struct svr4_sys_stat_args {
65         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
66         char ub_l_[PADL_(struct svr4_stat *)]; struct svr4_stat * ub; char ub_r_[PADR_(struct svr4_stat *)];
67 };
68 struct svr4_sys_alarm_args {
69         char sec_l_[PADL_(unsigned)]; unsigned sec; char sec_r_[PADR_(unsigned)];
70 };
71 struct svr4_sys_fstat_args {
72         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
73         char sb_l_[PADL_(struct svr4_stat *)]; struct svr4_stat * sb; char sb_r_[PADR_(struct svr4_stat *)];
74 };
75 struct svr4_sys_pause_args {
76         register_t dummy;
77 };
78 struct svr4_sys_utime_args {
79         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
80         char ubuf_l_[PADL_(struct svr4_utimbuf *)]; struct svr4_utimbuf * ubuf; char ubuf_r_[PADR_(struct svr4_utimbuf *)];
81 };
82 struct svr4_sys_access_args {
83         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
84         char amode_l_[PADL_(int)]; int amode; char amode_r_[PADR_(int)];
85 };
86 struct svr4_sys_nice_args {
87         char prio_l_[PADL_(int)]; int prio; char prio_r_[PADR_(int)];
88 };
89 struct svr4_sys_kill_args {
90         char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)];
91         char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
92 };
93 struct svr4_sys_pgrpsys_args {
94         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
95         char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)];
96         char pgid_l_[PADL_(int)]; int pgid; char pgid_r_[PADR_(int)];
97 };
98 struct svr4_pipe_args {
99         register_t dummy;
100 };
101 struct svr4_sys_times_args {
102         char tp_l_[PADL_(struct tms *)]; struct tms * tp; char tp_r_[PADR_(struct tms *)];
103 };
104 struct svr4_sys_signal_args {
105         char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
106         char handler_l_[PADL_(svr4_sig_t)]; svr4_sig_t handler; char handler_r_[PADR_(svr4_sig_t)];
107 };
108 struct svr4_sys_msgsys_args {
109         char what_l_[PADL_(int)]; int what; char what_r_[PADR_(int)];
110         char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
111         char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
112         char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
113         char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)];
114 };
115 struct svr4_sys_sysarch_args {
116         char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)];
117         char a1_l_[PADL_(void *)]; void * a1; char a1_r_[PADR_(void *)];
118 };
119 struct svr4_sys_shmsys_args {
120         char what_l_[PADL_(int)]; int what; char what_r_[PADR_(int)];
121         char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
122         char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
123         char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
124         char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)];
125 };
126 struct svr4_sys_semsys_args {
127         char what_l_[PADL_(int)]; int what; char what_r_[PADR_(int)];
128         char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
129         char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
130         char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
131         char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)];
132 };
133 struct svr4_sys_ioctl_args {
134         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
135         char com_l_[PADL_(u_long)]; u_long com; char com_r_[PADR_(u_long)];
136         char data_l_[PADL_(caddr_t)]; caddr_t data; char data_r_[PADR_(caddr_t)];
137 };
138 struct svr4_sys_utssys_args {
139         char a1_l_[PADL_(void *)]; void * a1; char a1_r_[PADR_(void *)];
140         char a2_l_[PADL_(void *)]; void * a2; char a2_r_[PADR_(void *)];
141         char sel_l_[PADL_(int)]; int sel; char sel_r_[PADR_(int)];
142         char a3_l_[PADL_(void *)]; void * a3; char a3_r_[PADR_(void *)];
143 };
144 struct svr4_sys_execve_args {
145         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
146         char argp_l_[PADL_(char **)]; char ** argp; char argp_r_[PADR_(char **)];
147         char envp_l_[PADL_(char **)]; char ** envp; char envp_r_[PADR_(char **)];
148 };
149 struct svr4_sys_fcntl_args {
150         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
151         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
152         char arg_l_[PADL_(char *)]; char * arg; char arg_r_[PADR_(char *)];
153 };
154 struct svr4_sys_ulimit_args {
155         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
156         char newlimit_l_[PADL_(long)]; long newlimit; char newlimit_r_[PADR_(long)];
157 };
158 struct svr4_sys_getdents_args {
159         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
160         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
161         char nbytes_l_[PADL_(int)]; int nbytes; char nbytes_r_[PADR_(int)];
162 };
163 struct svr4_sys_getmsg_args {
164         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
165         char ctl_l_[PADL_(struct svr4_strbuf *)]; struct svr4_strbuf * ctl; char ctl_r_[PADR_(struct svr4_strbuf *)];
166         char dat_l_[PADL_(struct svr4_strbuf *)]; struct svr4_strbuf * dat; char dat_r_[PADR_(struct svr4_strbuf *)];
167         char flags_l_[PADL_(int *)]; int * flags; char flags_r_[PADR_(int *)];
168 };
169 struct svr4_sys_putmsg_args {
170         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
171         char ctl_l_[PADL_(struct svr4_strbuf *)]; struct svr4_strbuf * ctl; char ctl_r_[PADR_(struct svr4_strbuf *)];
172         char dat_l_[PADL_(struct svr4_strbuf *)]; struct svr4_strbuf * dat; char dat_r_[PADR_(struct svr4_strbuf *)];
173         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
174 };
175 struct svr4_sys_poll_args {
176         char fds_l_[PADL_(struct pollfd *)]; struct pollfd * fds; char fds_r_[PADR_(struct pollfd *)];
177         char nfds_l_[PADL_(unsigned int)]; unsigned int nfds; char nfds_r_[PADR_(unsigned int)];
178         char timeout_l_[PADL_(int)]; int timeout; char timeout_r_[PADR_(int)];
179 };
180 struct svr4_sys_lstat_args {
181         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
182         char ub_l_[PADL_(struct svr4_stat *)]; struct svr4_stat * ub; char ub_r_[PADR_(struct svr4_stat *)];
183 };
184 struct svr4_sys_sigprocmask_args {
185         char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)];
186         char set_l_[PADL_(svr4_sigset_t *)]; svr4_sigset_t * set; char set_r_[PADR_(svr4_sigset_t *)];
187         char oset_l_[PADL_(svr4_sigset_t *)]; svr4_sigset_t * oset; char oset_r_[PADR_(svr4_sigset_t *)];
188 };
189 struct svr4_sys_sigsuspend_args {
190         char ss_l_[PADL_(svr4_sigset_t *)]; svr4_sigset_t * ss; char ss_r_[PADR_(svr4_sigset_t *)];
191 };
192 struct svr4_sys_sigaltstack_args {
193         char nss_l_[PADL_(struct svr4_sigaltstack *)]; struct svr4_sigaltstack * nss; char nss_r_[PADR_(struct svr4_sigaltstack *)];
194         char oss_l_[PADL_(struct svr4_sigaltstack *)]; struct svr4_sigaltstack * oss; char oss_r_[PADR_(struct svr4_sigaltstack *)];
195 };
196 struct svr4_sys_sigaction_args {
197         char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
198         char nsa_l_[PADL_(struct svr4_sigaction *)]; struct svr4_sigaction * nsa; char nsa_r_[PADR_(struct svr4_sigaction *)];
199         char osa_l_[PADL_(struct svr4_sigaction *)]; struct svr4_sigaction * osa; char osa_r_[PADR_(struct svr4_sigaction *)];
200 };
201 struct svr4_sys_sigpending_args {
202         char what_l_[PADL_(int)]; int what; char what_r_[PADR_(int)];
203         char mask_l_[PADL_(svr4_sigset_t *)]; svr4_sigset_t * mask; char mask_r_[PADR_(svr4_sigset_t *)];
204 };
205 struct svr4_sys_context_args {
206         char func_l_[PADL_(int)]; int func; char func_r_[PADR_(int)];
207         char uc_l_[PADL_(struct svr4_ucontext *)]; struct svr4_ucontext * uc; char uc_r_[PADR_(struct svr4_ucontext *)];
208 };
209 struct svr4_sys_statvfs_args {
210         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
211         char fs_l_[PADL_(struct svr4_statvfs *)]; struct svr4_statvfs * fs; char fs_r_[PADR_(struct svr4_statvfs *)];
212 };
213 struct svr4_sys_fstatvfs_args {
214         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
215         char fs_l_[PADL_(struct svr4_statvfs *)]; struct svr4_statvfs * fs; char fs_r_[PADR_(struct svr4_statvfs *)];
216 };
217 struct svr4_sys_waitsys_args {
218         char grp_l_[PADL_(int)]; int grp; char grp_r_[PADR_(int)];
219         char id_l_[PADL_(int)]; int id; char id_r_[PADR_(int)];
220         char info_l_[PADL_(union svr4_siginfo *)]; union svr4_siginfo * info; char info_r_[PADR_(union svr4_siginfo *)];
221         char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)];
222 };
223 struct svr4_sys_hrtsys_args {
224         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
225         char fun_l_[PADL_(int)]; int fun; char fun_r_[PADR_(int)];
226         char sub_l_[PADL_(int)]; int sub; char sub_r_[PADR_(int)];
227         char rv1_l_[PADL_(void *)]; void * rv1; char rv1_r_[PADR_(void *)];
228         char rv2_l_[PADL_(void *)]; void * rv2; char rv2_r_[PADR_(void *)];
229 };
230 struct svr4_sys_pathconf_args {
231         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
232         char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)];
233 };
234 struct svr4_sys_mmap_args {
235         char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)];
236         char len_l_[PADL_(svr4_size_t)]; svr4_size_t len; char len_r_[PADR_(svr4_size_t)];
237         char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
238         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
239         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
240         char pos_l_[PADL_(svr4_off_t)]; svr4_off_t pos; char pos_r_[PADR_(svr4_off_t)];
241 };
242 struct svr4_sys_fpathconf_args {
243         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
244         char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)];
245 };
246 struct svr4_sys_xstat_args {
247         char two_l_[PADL_(int)]; int two; char two_r_[PADR_(int)];
248         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
249         char ub_l_[PADL_(struct svr4_xstat *)]; struct svr4_xstat * ub; char ub_r_[PADR_(struct svr4_xstat *)];
250 };
251 struct svr4_sys_lxstat_args {
252         char two_l_[PADL_(int)]; int two; char two_r_[PADR_(int)];
253         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
254         char ub_l_[PADL_(struct svr4_xstat *)]; struct svr4_xstat * ub; char ub_r_[PADR_(struct svr4_xstat *)];
255 };
256 struct svr4_sys_fxstat_args {
257         char two_l_[PADL_(int)]; int two; char two_r_[PADR_(int)];
258         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
259         char sb_l_[PADL_(struct svr4_xstat *)]; struct svr4_xstat * sb; char sb_r_[PADR_(struct svr4_xstat *)];
260 };
261 struct svr4_sys_xmknod_args {
262         char two_l_[PADL_(int)]; int two; char two_r_[PADR_(int)];
263         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
264         char mode_l_[PADL_(svr4_mode_t)]; svr4_mode_t mode; char mode_r_[PADR_(svr4_mode_t)];
265         char dev_l_[PADL_(svr4_dev_t)]; svr4_dev_t dev; char dev_r_[PADR_(svr4_dev_t)];
266 };
267 struct svr4_sys_setrlimit_args {
268         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
269         char rlp_l_[PADL_(const struct svr4_rlimit *)]; const struct svr4_rlimit * rlp; char rlp_r_[PADR_(const struct svr4_rlimit *)];
270 };
271 struct svr4_sys_getrlimit_args {
272         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
273         char rlp_l_[PADL_(struct svr4_rlimit *)]; struct svr4_rlimit * rlp; char rlp_r_[PADR_(struct svr4_rlimit *)];
274 };
275 struct svr4_sys_memcntl_args {
276         char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)];
277         char len_l_[PADL_(svr4_size_t)]; svr4_size_t len; char len_r_[PADR_(svr4_size_t)];
278         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
279         char arg_l_[PADL_(void *)]; void * arg; char arg_r_[PADR_(void *)];
280         char attr_l_[PADL_(int)]; int attr; char attr_r_[PADR_(int)];
281         char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)];
282 };
283 struct svr4_sys_uname_args {
284         char name_l_[PADL_(struct svr4_utsname *)]; struct svr4_utsname * name; char name_r_[PADR_(struct svr4_utsname *)];
285         char dummy_l_[PADL_(int)]; int dummy; char dummy_r_[PADR_(int)];
286 };
287 struct svr4_sys_sysconfig_args {
288         char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)];
289 };
290 struct svr4_sys_systeminfo_args {
291         char what_l_[PADL_(int)]; int what; char what_r_[PADR_(int)];
292         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
293         char len_l_[PADL_(long)]; long len; char len_r_[PADR_(long)];
294 };
295 struct svr4_sys_fchroot_args {
296         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
297 };
298 struct svr4_sys_utimes_args {
299         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
300         char tptr_l_[PADL_(struct timeval *)]; struct timeval * tptr; char tptr_r_[PADR_(struct timeval *)];
301 };
302 struct svr4_sys_vhangup_args {
303         register_t dummy;
304 };
305 struct svr4_sys_gettimeofday_args {
306         char tp_l_[PADL_(struct timeval *)]; struct timeval * tp; char tp_r_[PADR_(struct timeval *)];
307 };
308 struct svr4_sys_llseek_args {
309         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
310         char offset1_l_[PADL_(long)]; long offset1; char offset1_r_[PADR_(long)];
311         char offset2_l_[PADL_(long)]; long offset2; char offset2_r_[PADR_(long)];
312         char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)];
313 };
314 struct svr4_sys_acl_args {
315         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
316         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
317         char num_l_[PADL_(int)]; int num; char num_r_[PADR_(int)];
318         char buf_l_[PADL_(struct svr4_aclent *)]; struct svr4_aclent * buf; char buf_r_[PADR_(struct svr4_aclent *)];
319 };
320 struct svr4_sys_auditsys_args {
321         char code_l_[PADL_(int)]; int code; char code_r_[PADR_(int)];
322         char a1_l_[PADL_(int)]; int a1; char a1_r_[PADR_(int)];
323         char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
324         char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
325         char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
326         char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)];
327 };
328 struct svr4_sys_facl_args {
329         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
330         char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
331         char num_l_[PADL_(int)]; int num; char num_r_[PADR_(int)];
332         char buf_l_[PADL_(struct svr4_aclent *)]; struct svr4_aclent * buf; char buf_r_[PADR_(struct svr4_aclent *)];
333 };
334 struct svr4_sys_resolvepath_args {
335         char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
336         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
337         char bufsiz_l_[PADL_(size_t)]; size_t bufsiz; char bufsiz_r_[PADR_(size_t)];
338 };
339 struct svr4_sys_getdents64_args {
340         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
341         char dp_l_[PADL_(struct svr4_dirent64 *)]; struct svr4_dirent64 * dp; char dp_r_[PADR_(struct svr4_dirent64 *)];
342         char nbytes_l_[PADL_(int)]; int nbytes; char nbytes_r_[PADR_(int)];
343 };
344 struct svr4_sys_mmap64_args {
345         char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)];
346         char len_l_[PADL_(svr4_size_t)]; svr4_size_t len; char len_r_[PADR_(svr4_size_t)];
347         char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
348         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
349         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
350         char pos_l_[PADL_(svr4_off64_t)]; svr4_off64_t pos; char pos_r_[PADR_(svr4_off64_t)];
351 };
352 struct svr4_sys_stat64_args {
353         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
354         char sb_l_[PADL_(struct svr4_stat64 *)]; struct svr4_stat64 * sb; char sb_r_[PADR_(struct svr4_stat64 *)];
355 };
356 struct svr4_sys_lstat64_args {
357         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
358         char sb_l_[PADL_(struct svr4_stat64 *)]; struct svr4_stat64 * sb; char sb_r_[PADR_(struct svr4_stat64 *)];
359 };
360 struct svr4_sys_fstat64_args {
361         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
362         char sb_l_[PADL_(struct svr4_stat64 *)]; struct svr4_stat64 * sb; char sb_r_[PADR_(struct svr4_stat64 *)];
363 };
364 struct svr4_sys_statvfs64_args {
365         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
366         char fs_l_[PADL_(struct svr4_statvfs64 *)]; struct svr4_statvfs64 * fs; char fs_r_[PADR_(struct svr4_statvfs64 *)];
367 };
368 struct svr4_sys_fstatvfs64_args {
369         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
370         char fs_l_[PADL_(struct svr4_statvfs64 *)]; struct svr4_statvfs64 * fs; char fs_r_[PADR_(struct svr4_statvfs64 *)];
371 };
372 struct svr4_sys_setrlimit64_args {
373         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
374         char rlp_l_[PADL_(const struct svr4_rlimit64 *)]; const struct svr4_rlimit64 * rlp; char rlp_r_[PADR_(const struct svr4_rlimit64 *)];
375 };
376 struct svr4_sys_getrlimit64_args {
377         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
378         char rlp_l_[PADL_(struct svr4_rlimit64 *)]; struct svr4_rlimit64 * rlp; char rlp_r_[PADR_(struct svr4_rlimit64 *)];
379 };
380 struct svr4_sys_creat64_args {
381         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
382         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
383 };
384 struct svr4_sys_open64_args {
385         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
386         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
387         char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
388 };
389 struct svr4_sys_socket_args {
390         char domain_l_[PADL_(int)]; int domain; char domain_r_[PADR_(int)];
391         char type_l_[PADL_(int)]; int type; char type_r_[PADR_(int)];
392         char protocol_l_[PADL_(int)]; int protocol; char protocol_r_[PADR_(int)];
393 };
394 struct svr4_sys_recv_args {
395         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
396         char buf_l_[PADL_(caddr_t)]; caddr_t buf; char buf_r_[PADR_(caddr_t)];
397         char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
398         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
399 };
400 struct svr4_sys_send_args {
401         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
402         char buf_l_[PADL_(caddr_t)]; caddr_t buf; char buf_r_[PADR_(caddr_t)];
403         char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
404         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
405 };
406 struct svr4_sys_sendto_args {
407         char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
408         char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)];
409         char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
410         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
411         char to_l_[PADL_(struct sockaddr *)]; struct sockaddr * to; char to_r_[PADR_(struct sockaddr *)];
412         char tolen_l_[PADL_(int)]; int tolen; char tolen_r_[PADR_(int)];
413 };
414 int     svr4_sys_open(struct thread *, struct svr4_sys_open_args *);
415 int     svr4_sys_wait(struct thread *, struct svr4_sys_wait_args *);
416 int     svr4_sys_creat(struct thread *, struct svr4_sys_creat_args *);
417 int     svr4_sys_execv(struct thread *, struct svr4_sys_execv_args *);
418 int     svr4_sys_time(struct thread *, struct svr4_sys_time_args *);
419 int     svr4_sys_mknod(struct thread *, struct svr4_sys_mknod_args *);
420 int     svr4_sys_break(struct thread *, struct svr4_sys_break_args *);
421 int     svr4_sys_stat(struct thread *, struct svr4_sys_stat_args *);
422 int     svr4_sys_alarm(struct thread *, struct svr4_sys_alarm_args *);
423 int     svr4_sys_fstat(struct thread *, struct svr4_sys_fstat_args *);
424 int     svr4_sys_pause(struct thread *, struct svr4_sys_pause_args *);
425 int     svr4_sys_utime(struct thread *, struct svr4_sys_utime_args *);
426 int     svr4_sys_access(struct thread *, struct svr4_sys_access_args *);
427 int     svr4_sys_nice(struct thread *, struct svr4_sys_nice_args *);
428 int     svr4_sys_kill(struct thread *, struct svr4_sys_kill_args *);
429 int     svr4_sys_pgrpsys(struct thread *, struct svr4_sys_pgrpsys_args *);
430 int     svr4_pipe(struct thread *, struct svr4_pipe_args *);
431 int     svr4_sys_times(struct thread *, struct svr4_sys_times_args *);
432 int     svr4_sys_signal(struct thread *, struct svr4_sys_signal_args *);
433 int     svr4_sys_msgsys(struct thread *, struct svr4_sys_msgsys_args *);
434 int     svr4_sys_sysarch(struct thread *, struct svr4_sys_sysarch_args *);
435 int     svr4_sys_shmsys(struct thread *, struct svr4_sys_shmsys_args *);
436 int     svr4_sys_semsys(struct thread *, struct svr4_sys_semsys_args *);
437 int     svr4_sys_ioctl(struct thread *, struct svr4_sys_ioctl_args *);
438 int     svr4_sys_utssys(struct thread *, struct svr4_sys_utssys_args *);
439 int     svr4_sys_execve(struct thread *, struct svr4_sys_execve_args *);
440 int     svr4_sys_fcntl(struct thread *, struct svr4_sys_fcntl_args *);
441 int     svr4_sys_ulimit(struct thread *, struct svr4_sys_ulimit_args *);
442 int     svr4_sys_getdents(struct thread *, struct svr4_sys_getdents_args *);
443 int     svr4_sys_getmsg(struct thread *, struct svr4_sys_getmsg_args *);
444 int     svr4_sys_putmsg(struct thread *, struct svr4_sys_putmsg_args *);
445 int     svr4_sys_poll(struct thread *, struct svr4_sys_poll_args *);
446 int     svr4_sys_lstat(struct thread *, struct svr4_sys_lstat_args *);
447 int     svr4_sys_sigprocmask(struct thread *, struct svr4_sys_sigprocmask_args *);
448 int     svr4_sys_sigsuspend(struct thread *, struct svr4_sys_sigsuspend_args *);
449 int     svr4_sys_sigaltstack(struct thread *, struct svr4_sys_sigaltstack_args *);
450 int     svr4_sys_sigaction(struct thread *, struct svr4_sys_sigaction_args *);
451 int     svr4_sys_sigpending(struct thread *, struct svr4_sys_sigpending_args *);
452 int     svr4_sys_context(struct thread *, struct svr4_sys_context_args *);
453 int     svr4_sys_statvfs(struct thread *, struct svr4_sys_statvfs_args *);
454 int     svr4_sys_fstatvfs(struct thread *, struct svr4_sys_fstatvfs_args *);
455 int     svr4_sys_waitsys(struct thread *, struct svr4_sys_waitsys_args *);
456 int     svr4_sys_hrtsys(struct thread *, struct svr4_sys_hrtsys_args *);
457 int     svr4_sys_pathconf(struct thread *, struct svr4_sys_pathconf_args *);
458 int     svr4_sys_mmap(struct thread *, struct svr4_sys_mmap_args *);
459 int     svr4_sys_fpathconf(struct thread *, struct svr4_sys_fpathconf_args *);
460 int     svr4_sys_xstat(struct thread *, struct svr4_sys_xstat_args *);
461 int     svr4_sys_lxstat(struct thread *, struct svr4_sys_lxstat_args *);
462 int     svr4_sys_fxstat(struct thread *, struct svr4_sys_fxstat_args *);
463 int     svr4_sys_xmknod(struct thread *, struct svr4_sys_xmknod_args *);
464 int     svr4_sys_setrlimit(struct thread *, struct svr4_sys_setrlimit_args *);
465 int     svr4_sys_getrlimit(struct thread *, struct svr4_sys_getrlimit_args *);
466 int     svr4_sys_memcntl(struct thread *, struct svr4_sys_memcntl_args *);
467 int     svr4_sys_uname(struct thread *, struct svr4_sys_uname_args *);
468 int     svr4_sys_sysconfig(struct thread *, struct svr4_sys_sysconfig_args *);
469 int     svr4_sys_systeminfo(struct thread *, struct svr4_sys_systeminfo_args *);
470 int     svr4_sys_fchroot(struct thread *, struct svr4_sys_fchroot_args *);
471 int     svr4_sys_utimes(struct thread *, struct svr4_sys_utimes_args *);
472 int     svr4_sys_vhangup(struct thread *, struct svr4_sys_vhangup_args *);
473 int     svr4_sys_gettimeofday(struct thread *, struct svr4_sys_gettimeofday_args *);
474 int     svr4_sys_llseek(struct thread *, struct svr4_sys_llseek_args *);
475 int     svr4_sys_acl(struct thread *, struct svr4_sys_acl_args *);
476 int     svr4_sys_auditsys(struct thread *, struct svr4_sys_auditsys_args *);
477 int     svr4_sys_facl(struct thread *, struct svr4_sys_facl_args *);
478 int     svr4_sys_resolvepath(struct thread *, struct svr4_sys_resolvepath_args *);
479 int     svr4_sys_getdents64(struct thread *, struct svr4_sys_getdents64_args *);
480 int     svr4_sys_mmap64(struct thread *, struct svr4_sys_mmap64_args *);
481 int     svr4_sys_stat64(struct thread *, struct svr4_sys_stat64_args *);
482 int     svr4_sys_lstat64(struct thread *, struct svr4_sys_lstat64_args *);
483 int     svr4_sys_fstat64(struct thread *, struct svr4_sys_fstat64_args *);
484 int     svr4_sys_statvfs64(struct thread *, struct svr4_sys_statvfs64_args *);
485 int     svr4_sys_fstatvfs64(struct thread *, struct svr4_sys_fstatvfs64_args *);
486 int     svr4_sys_setrlimit64(struct thread *, struct svr4_sys_setrlimit64_args *);
487 int     svr4_sys_getrlimit64(struct thread *, struct svr4_sys_getrlimit64_args *);
488 int     svr4_sys_creat64(struct thread *, struct svr4_sys_creat64_args *);
489 int     svr4_sys_open64(struct thread *, struct svr4_sys_open64_args *);
490 int     svr4_sys_socket(struct thread *, struct svr4_sys_socket_args *);
491 int     svr4_sys_recv(struct thread *, struct svr4_sys_recv_args *);
492 int     svr4_sys_send(struct thread *, struct svr4_sys_send_args *);
493 int     svr4_sys_sendto(struct thread *, struct svr4_sys_sendto_args *);
494
495 #ifdef COMPAT_43
496
497
498 #endif /* COMPAT_43 */
499
500
501 #ifdef COMPAT_FREEBSD4
502
503
504 #endif /* COMPAT_FREEBSD4 */
505
506
507 #ifdef COMPAT_FREEBSD6
508
509
510 #endif /* COMPAT_FREEBSD6 */
511
512
513 #ifdef COMPAT_FREEBSD7
514
515
516 #endif /* COMPAT_FREEBSD7 */
517
518
519 #ifdef COMPAT_FREEBSD10
520
521
522 #endif /* COMPAT_FREEBSD10 */
523
524 #define SVR4_SYS_AUE_svr4_sys_open      AUE_NULL
525 #define SVR4_SYS_AUE_svr4_sys_wait      AUE_NULL
526 #define SVR4_SYS_AUE_svr4_sys_creat     AUE_NULL
527 #define SVR4_SYS_AUE_svr4_sys_execv     AUE_NULL
528 #define SVR4_SYS_AUE_svr4_sys_time      AUE_NULL
529 #define SVR4_SYS_AUE_svr4_sys_mknod     AUE_NULL
530 #define SVR4_SYS_AUE_svr4_sys_break     AUE_NULL
531 #define SVR4_SYS_AUE_svr4_sys_stat      AUE_NULL
532 #define SVR4_SYS_AUE_svr4_sys_alarm     AUE_NULL
533 #define SVR4_SYS_AUE_svr4_sys_fstat     AUE_NULL
534 #define SVR4_SYS_AUE_svr4_sys_pause     AUE_NULL
535 #define SVR4_SYS_AUE_svr4_sys_utime     AUE_NULL
536 #define SVR4_SYS_AUE_svr4_sys_access    AUE_NULL
537 #define SVR4_SYS_AUE_svr4_sys_nice      AUE_NULL
538 #define SVR4_SYS_AUE_svr4_sys_kill      AUE_NULL
539 #define SVR4_SYS_AUE_svr4_sys_pgrpsys   AUE_NULL
540 #define SVR4_SYS_AUE_svr4_pipe  AUE_NULL
541 #define SVR4_SYS_AUE_svr4_sys_times     AUE_NULL
542 #define SVR4_SYS_AUE_svr4_sys_signal    AUE_NULL
543 #define SVR4_SYS_AUE_svr4_sys_msgsys    AUE_NULL
544 #define SVR4_SYS_AUE_svr4_sys_sysarch   AUE_NULL
545 #define SVR4_SYS_AUE_svr4_sys_shmsys    AUE_NULL
546 #define SVR4_SYS_AUE_svr4_sys_semsys    AUE_NULL
547 #define SVR4_SYS_AUE_svr4_sys_ioctl     AUE_NULL
548 #define SVR4_SYS_AUE_svr4_sys_utssys    AUE_NULL
549 #define SVR4_SYS_AUE_svr4_sys_execve    AUE_NULL
550 #define SVR4_SYS_AUE_svr4_sys_fcntl     AUE_NULL
551 #define SVR4_SYS_AUE_svr4_sys_ulimit    AUE_NULL
552 #define SVR4_SYS_AUE_svr4_sys_getdents  AUE_NULL
553 #define SVR4_SYS_AUE_svr4_sys_getmsg    AUE_NULL
554 #define SVR4_SYS_AUE_svr4_sys_putmsg    AUE_NULL
555 #define SVR4_SYS_AUE_svr4_sys_poll      AUE_NULL
556 #define SVR4_SYS_AUE_svr4_sys_lstat     AUE_NULL
557 #define SVR4_SYS_AUE_svr4_sys_sigprocmask       AUE_NULL
558 #define SVR4_SYS_AUE_svr4_sys_sigsuspend        AUE_NULL
559 #define SVR4_SYS_AUE_svr4_sys_sigaltstack       AUE_NULL
560 #define SVR4_SYS_AUE_svr4_sys_sigaction AUE_NULL
561 #define SVR4_SYS_AUE_svr4_sys_sigpending        AUE_NULL
562 #define SVR4_SYS_AUE_svr4_sys_context   AUE_NULL
563 #define SVR4_SYS_AUE_svr4_sys_statvfs   AUE_NULL
564 #define SVR4_SYS_AUE_svr4_sys_fstatvfs  AUE_NULL
565 #define SVR4_SYS_AUE_svr4_sys_waitsys   AUE_NULL
566 #define SVR4_SYS_AUE_svr4_sys_hrtsys    AUE_NULL
567 #define SVR4_SYS_AUE_svr4_sys_pathconf  AUE_NULL
568 #define SVR4_SYS_AUE_svr4_sys_mmap      AUE_NULL
569 #define SVR4_SYS_AUE_svr4_sys_fpathconf AUE_NULL
570 #define SVR4_SYS_AUE_svr4_sys_xstat     AUE_NULL
571 #define SVR4_SYS_AUE_svr4_sys_lxstat    AUE_NULL
572 #define SVR4_SYS_AUE_svr4_sys_fxstat    AUE_NULL
573 #define SVR4_SYS_AUE_svr4_sys_xmknod    AUE_NULL
574 #define SVR4_SYS_AUE_svr4_sys_setrlimit AUE_NULL
575 #define SVR4_SYS_AUE_svr4_sys_getrlimit AUE_NULL
576 #define SVR4_SYS_AUE_svr4_sys_memcntl   AUE_NULL
577 #define SVR4_SYS_AUE_svr4_sys_uname     AUE_NULL
578 #define SVR4_SYS_AUE_svr4_sys_sysconfig AUE_NULL
579 #define SVR4_SYS_AUE_svr4_sys_systeminfo        AUE_NULL
580 #define SVR4_SYS_AUE_svr4_sys_fchroot   AUE_NULL
581 #define SVR4_SYS_AUE_svr4_sys_utimes    AUE_NULL
582 #define SVR4_SYS_AUE_svr4_sys_vhangup   AUE_NULL
583 #define SVR4_SYS_AUE_svr4_sys_gettimeofday      AUE_NULL
584 #define SVR4_SYS_AUE_svr4_sys_llseek    AUE_NULL
585 #define SVR4_SYS_AUE_svr4_sys_acl       AUE_NULL
586 #define SVR4_SYS_AUE_svr4_sys_auditsys  AUE_NULL
587 #define SVR4_SYS_AUE_svr4_sys_facl      AUE_NULL
588 #define SVR4_SYS_AUE_svr4_sys_resolvepath       AUE_NULL
589 #define SVR4_SYS_AUE_svr4_sys_getdents64        AUE_NULL
590 #define SVR4_SYS_AUE_svr4_sys_mmap64    AUE_NULL
591 #define SVR4_SYS_AUE_svr4_sys_stat64    AUE_NULL
592 #define SVR4_SYS_AUE_svr4_sys_lstat64   AUE_NULL
593 #define SVR4_SYS_AUE_svr4_sys_fstat64   AUE_NULL
594 #define SVR4_SYS_AUE_svr4_sys_statvfs64 AUE_NULL
595 #define SVR4_SYS_AUE_svr4_sys_fstatvfs64        AUE_NULL
596 #define SVR4_SYS_AUE_svr4_sys_setrlimit64       AUE_NULL
597 #define SVR4_SYS_AUE_svr4_sys_getrlimit64       AUE_NULL
598 #define SVR4_SYS_AUE_svr4_sys_creat64   AUE_NULL
599 #define SVR4_SYS_AUE_svr4_sys_open64    AUE_NULL
600 #define SVR4_SYS_AUE_svr4_sys_socket    AUE_NULL
601 #define SVR4_SYS_AUE_svr4_sys_recv      AUE_NULL
602 #define SVR4_SYS_AUE_svr4_sys_send      AUE_NULL
603 #define SVR4_SYS_AUE_svr4_sys_sendto    AUE_NULL
604
605 #undef PAD_
606 #undef PADL_
607 #undef PADR_
608
609 #endif /* !_SVR4_SYSPROTO_H_ */