xref: /freebsd/sys/amd64/linux32/linux32_proto.h (revision 9336e0699bda8a301cd2bfa37106b6ec5e32012e)
1 /*
2  * System call prototypes.
3  *
4  * DO NOT EDIT-- this file is automatically generated.
5  * $FreeBSD$
6  * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.29 2007/08/28 12:26:34 kib Exp
7  */
8 
9 #ifndef _LINUX_SYSPROTO_H_
10 #define	_LINUX_SYSPROTO_H_
11 
12 #include <sys/signal.h>
13 #include <sys/acl.h>
14 #include <sys/_semaphore.h>
15 #include <sys/ucontext.h>
16 
17 #include <bsm/audit_kevents.h>
18 
19 struct proc;
20 
21 struct thread;
22 
23 #define	PAD_(t)	(sizeof(register_t) <= sizeof(t) ? \
24 		0 : sizeof(register_t) - sizeof(t))
25 
26 #if BYTE_ORDER == LITTLE_ENDIAN
27 #define	PADL_(t)	0
28 #define	PADR_(t)	PAD_(t)
29 #else
30 #define	PADL_(t)	PAD_(t)
31 #define	PADR_(t)	0
32 #endif
33 
34 #define	nosys	linux_nosys
35 struct linux_fork_args {
36 	register_t dummy;
37 };
38 struct linux_open_args {
39 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
40 	char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
41 	char mode_l_[PADL_(l_int)]; l_int mode; char mode_r_[PADR_(l_int)];
42 };
43 struct linux_waitpid_args {
44 	char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
45 	char status_l_[PADL_(l_int *)]; l_int * status; char status_r_[PADR_(l_int *)];
46 	char options_l_[PADL_(l_int)]; l_int options; char options_r_[PADR_(l_int)];
47 };
48 struct linux_creat_args {
49 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
50 	char mode_l_[PADL_(l_int)]; l_int mode; char mode_r_[PADR_(l_int)];
51 };
52 struct linux_link_args {
53 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
54 	char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)];
55 };
56 struct linux_unlink_args {
57 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
58 };
59 struct linux_execve_args {
60 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
61 	char argp_l_[PADL_(char **)]; char ** argp; char argp_r_[PADR_(char **)];
62 	char envp_l_[PADL_(char **)]; char ** envp; char envp_r_[PADR_(char **)];
63 };
64 struct linux_chdir_args {
65 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
66 };
67 struct linux_time_args {
68 	char tm_l_[PADL_(l_time_t *)]; l_time_t * tm; char tm_r_[PADR_(l_time_t *)];
69 };
70 struct linux_mknod_args {
71 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
72 	char mode_l_[PADL_(l_int)]; l_int mode; char mode_r_[PADR_(l_int)];
73 	char dev_l_[PADL_(l_dev_t)]; l_dev_t dev; char dev_r_[PADR_(l_dev_t)];
74 };
75 struct linux_chmod_args {
76 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
77 	char mode_l_[PADL_(l_mode_t)]; l_mode_t mode; char mode_r_[PADR_(l_mode_t)];
78 };
79 struct linux_lchown16_args {
80 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
81 	char uid_l_[PADL_(l_uid16_t)]; l_uid16_t uid; char uid_r_[PADR_(l_uid16_t)];
82 	char gid_l_[PADL_(l_gid16_t)]; l_gid16_t gid; char gid_r_[PADR_(l_gid16_t)];
83 };
84 struct linux_stat_args {
85 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
86 	char up_l_[PADL_(struct linux_stat *)]; struct linux_stat * up; char up_r_[PADR_(struct linux_stat *)];
87 };
88 struct linux_lseek_args {
89 	char fdes_l_[PADL_(l_uint)]; l_uint fdes; char fdes_r_[PADR_(l_uint)];
90 	char off_l_[PADL_(l_off_t)]; l_off_t off; char off_r_[PADR_(l_off_t)];
91 	char whence_l_[PADL_(l_int)]; l_int whence; char whence_r_[PADR_(l_int)];
92 };
93 struct linux_getpid_args {
94 	register_t dummy;
95 };
96 struct linux_mount_args {
97 	char specialfile_l_[PADL_(char *)]; char * specialfile; char specialfile_r_[PADR_(char *)];
98 	char dir_l_[PADL_(char *)]; char * dir; char dir_r_[PADR_(char *)];
99 	char filesystemtype_l_[PADL_(char *)]; char * filesystemtype; char filesystemtype_r_[PADR_(char *)];
100 	char rwflag_l_[PADL_(l_ulong)]; l_ulong rwflag; char rwflag_r_[PADR_(l_ulong)];
101 	char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
102 };
103 struct linux_oldumount_args {
104 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
105 };
106 struct linux_setuid16_args {
107 	char uid_l_[PADL_(l_uid16_t)]; l_uid16_t uid; char uid_r_[PADR_(l_uid16_t)];
108 };
109 struct linux_getuid16_args {
110 	register_t dummy;
111 };
112 struct linux_stime_args {
113 	register_t dummy;
114 };
115 struct linux_ptrace_args {
116 	char req_l_[PADL_(l_long)]; l_long req; char req_r_[PADR_(l_long)];
117 	char pid_l_[PADL_(l_long)]; l_long pid; char pid_r_[PADR_(l_long)];
118 	char addr_l_[PADL_(l_long)]; l_long addr; char addr_r_[PADR_(l_long)];
119 	char data_l_[PADL_(l_long)]; l_long data; char data_r_[PADR_(l_long)];
120 };
121 struct linux_alarm_args {
122 	char secs_l_[PADL_(l_uint)]; l_uint secs; char secs_r_[PADR_(l_uint)];
123 };
124 struct linux_pause_args {
125 	register_t dummy;
126 };
127 struct linux_utime_args {
128 	char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)];
129 	char times_l_[PADL_(struct l_utimbuf *)]; struct l_utimbuf * times; char times_r_[PADR_(struct l_utimbuf *)];
130 };
131 struct linux_access_args {
132 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
133 	char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
134 };
135 struct linux_nice_args {
136 	char inc_l_[PADL_(l_int)]; l_int inc; char inc_r_[PADR_(l_int)];
137 };
138 struct linux_kill_args {
139 	char pid_l_[PADL_(l_int)]; l_int pid; char pid_r_[PADR_(l_int)];
140 	char signum_l_[PADL_(l_int)]; l_int signum; char signum_r_[PADR_(l_int)];
141 };
142 struct linux_rename_args {
143 	char from_l_[PADL_(char *)]; char * from; char from_r_[PADR_(char *)];
144 	char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)];
145 };
146 struct linux_mkdir_args {
147 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
148 	char mode_l_[PADL_(l_int)]; l_int mode; char mode_r_[PADR_(l_int)];
149 };
150 struct linux_rmdir_args {
151 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
152 };
153 struct linux_pipe_args {
154 	char pipefds_l_[PADL_(l_ulong *)]; l_ulong * pipefds; char pipefds_r_[PADR_(l_ulong *)];
155 };
156 struct linux_times_args {
157 	char buf_l_[PADL_(struct l_times_argv *)]; struct l_times_argv * buf; char buf_r_[PADR_(struct l_times_argv *)];
158 };
159 struct linux_brk_args {
160 	char dsend_l_[PADL_(l_ulong)]; l_ulong dsend; char dsend_r_[PADR_(l_ulong)];
161 };
162 struct linux_setgid16_args {
163 	char gid_l_[PADL_(l_gid16_t)]; l_gid16_t gid; char gid_r_[PADR_(l_gid16_t)];
164 };
165 struct linux_getgid16_args {
166 	register_t dummy;
167 };
168 struct linux_signal_args {
169 	char sig_l_[PADL_(l_int)]; l_int sig; char sig_r_[PADR_(l_int)];
170 	char handler_l_[PADL_(l_handler_t)]; l_handler_t handler; char handler_r_[PADR_(l_handler_t)];
171 };
172 struct linux_geteuid16_args {
173 	register_t dummy;
174 };
175 struct linux_getegid16_args {
176 	register_t dummy;
177 };
178 struct linux_umount_args {
179 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
180 	char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
181 };
182 struct linux_ioctl_args {
183 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
184 	char cmd_l_[PADL_(l_uint)]; l_uint cmd; char cmd_r_[PADR_(l_uint)];
185 	char arg_l_[PADL_(uintptr_t)]; uintptr_t arg; char arg_r_[PADR_(uintptr_t)];
186 };
187 struct linux_fcntl_args {
188 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
189 	char cmd_l_[PADL_(l_uint)]; l_uint cmd; char cmd_r_[PADR_(l_uint)];
190 	char arg_l_[PADL_(uintptr_t)]; uintptr_t arg; char arg_r_[PADR_(uintptr_t)];
191 };
192 struct linux_olduname_args {
193 	register_t dummy;
194 };
195 struct linux_ustat_args {
196 	char dev_l_[PADL_(l_dev_t)]; l_dev_t dev; char dev_r_[PADR_(l_dev_t)];
197 	char ubuf_l_[PADL_(struct l_ustat *)]; struct l_ustat * ubuf; char ubuf_r_[PADR_(struct l_ustat *)];
198 };
199 struct linux_getppid_args {
200 	register_t dummy;
201 };
202 struct linux_sigaction_args {
203 	char sig_l_[PADL_(l_int)]; l_int sig; char sig_r_[PADR_(l_int)];
204 	char nsa_l_[PADL_(l_osigaction_t *)]; l_osigaction_t * nsa; char nsa_r_[PADR_(l_osigaction_t *)];
205 	char osa_l_[PADL_(l_osigaction_t *)]; l_osigaction_t * osa; char osa_r_[PADR_(l_osigaction_t *)];
206 };
207 struct linux_sgetmask_args {
208 	register_t dummy;
209 };
210 struct linux_ssetmask_args {
211 	char mask_l_[PADL_(l_osigset_t)]; l_osigset_t mask; char mask_r_[PADR_(l_osigset_t)];
212 };
213 struct linux_setreuid16_args {
214 	char ruid_l_[PADL_(l_uid16_t)]; l_uid16_t ruid; char ruid_r_[PADR_(l_uid16_t)];
215 	char euid_l_[PADL_(l_uid16_t)]; l_uid16_t euid; char euid_r_[PADR_(l_uid16_t)];
216 };
217 struct linux_setregid16_args {
218 	char rgid_l_[PADL_(l_gid16_t)]; l_gid16_t rgid; char rgid_r_[PADR_(l_gid16_t)];
219 	char egid_l_[PADL_(l_gid16_t)]; l_gid16_t egid; char egid_r_[PADR_(l_gid16_t)];
220 };
221 struct linux_sigsuspend_args {
222 	char hist0_l_[PADL_(l_int)]; l_int hist0; char hist0_r_[PADR_(l_int)];
223 	char hist1_l_[PADL_(l_int)]; l_int hist1; char hist1_r_[PADR_(l_int)];
224 	char mask_l_[PADL_(l_osigset_t)]; l_osigset_t mask; char mask_r_[PADR_(l_osigset_t)];
225 };
226 struct linux_sigpending_args {
227 	char mask_l_[PADL_(l_osigset_t *)]; l_osigset_t * mask; char mask_r_[PADR_(l_osigset_t *)];
228 };
229 struct linux_sethostname_args {
230 	char hostname_l_[PADL_(char *)]; char * hostname; char hostname_r_[PADR_(char *)];
231 	char len_l_[PADL_(u_int)]; u_int len; char len_r_[PADR_(u_int)];
232 };
233 struct linux_setrlimit_args {
234 	char resource_l_[PADL_(l_uint)]; l_uint resource; char resource_r_[PADR_(l_uint)];
235 	char rlim_l_[PADL_(struct l_rlimit *)]; struct l_rlimit * rlim; char rlim_r_[PADR_(struct l_rlimit *)];
236 };
237 struct linux_old_getrlimit_args {
238 	char resource_l_[PADL_(l_uint)]; l_uint resource; char resource_r_[PADR_(l_uint)];
239 	char rlim_l_[PADL_(struct l_rlimit *)]; struct l_rlimit * rlim; char rlim_r_[PADR_(struct l_rlimit *)];
240 };
241 struct linux_getrusage_args {
242 	char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)];
243 	char rusage_l_[PADL_(struct l_rusage *)]; struct l_rusage * rusage; char rusage_r_[PADR_(struct l_rusage *)];
244 };
245 struct linux_gettimeofday_args {
246 	char tp_l_[PADL_(struct l_timeval *)]; struct l_timeval * tp; char tp_r_[PADR_(struct l_timeval *)];
247 	char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
248 };
249 struct linux_settimeofday_args {
250 	char tp_l_[PADL_(struct l_timeval *)]; struct l_timeval * tp; char tp_r_[PADR_(struct l_timeval *)];
251 	char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
252 };
253 struct linux_getgroups16_args {
254 	char gidsetsize_l_[PADL_(l_uint)]; l_uint gidsetsize; char gidsetsize_r_[PADR_(l_uint)];
255 	char gidset_l_[PADL_(l_gid16_t *)]; l_gid16_t * gidset; char gidset_r_[PADR_(l_gid16_t *)];
256 };
257 struct linux_setgroups16_args {
258 	char gidsetsize_l_[PADL_(l_uint)]; l_uint gidsetsize; char gidsetsize_r_[PADR_(l_uint)];
259 	char gidset_l_[PADL_(l_gid16_t *)]; l_gid16_t * gidset; char gidset_r_[PADR_(l_gid16_t *)];
260 };
261 struct linux_old_select_args {
262 	char ptr_l_[PADL_(struct l_old_select_argv *)]; struct l_old_select_argv * ptr; char ptr_r_[PADR_(struct l_old_select_argv *)];
263 };
264 struct linux_symlink_args {
265 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
266 	char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)];
267 };
268 struct linux_lstat_args {
269 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
270 	char up_l_[PADL_(struct linux_lstat *)]; struct linux_lstat * up; char up_r_[PADR_(struct linux_lstat *)];
271 };
272 struct linux_readlink_args {
273 	char name_l_[PADL_(char *)]; char * name; char name_r_[PADR_(char *)];
274 	char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
275 	char count_l_[PADL_(l_int)]; l_int count; char count_r_[PADR_(l_int)];
276 };
277 struct linux_reboot_args {
278 	char magic1_l_[PADL_(l_int)]; l_int magic1; char magic1_r_[PADR_(l_int)];
279 	char magic2_l_[PADL_(l_int)]; l_int magic2; char magic2_r_[PADR_(l_int)];
280 	char cmd_l_[PADL_(l_uint)]; l_uint cmd; char cmd_r_[PADR_(l_uint)];
281 	char arg_l_[PADL_(void *)]; void * arg; char arg_r_[PADR_(void *)];
282 };
283 struct linux_readdir_args {
284 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
285 	char dent_l_[PADL_(struct l_dirent *)]; struct l_dirent * dent; char dent_r_[PADR_(struct l_dirent *)];
286 	char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
287 };
288 struct linux_mmap_args {
289 	char ptr_l_[PADL_(struct l_mmap_argv *)]; struct l_mmap_argv * ptr; char ptr_r_[PADR_(struct l_mmap_argv *)];
290 };
291 struct linux_truncate_args {
292 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
293 	char length_l_[PADL_(l_ulong)]; l_ulong length; char length_r_[PADR_(l_ulong)];
294 };
295 struct linux_ftruncate_args {
296 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
297 	char length_l_[PADL_(long)]; long length; char length_r_[PADR_(long)];
298 };
299 struct linux_getpriority_args {
300 	char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
301 	char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)];
302 };
303 struct linux_statfs_args {
304 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
305 	char buf_l_[PADL_(struct l_statfs_buf *)]; struct l_statfs_buf * buf; char buf_r_[PADR_(struct l_statfs_buf *)];
306 };
307 struct linux_fstatfs_args {
308 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
309 	char buf_l_[PADL_(struct l_statfs_buf *)]; struct l_statfs_buf * buf; char buf_r_[PADR_(struct l_statfs_buf *)];
310 };
311 struct linux_socketcall_args {
312 	char what_l_[PADL_(l_int)]; l_int what; char what_r_[PADR_(l_int)];
313 	char args_l_[PADL_(l_ulong)]; l_ulong args; char args_r_[PADR_(l_ulong)];
314 };
315 struct linux_syslog_args {
316 	char type_l_[PADL_(l_int)]; l_int type; char type_r_[PADR_(l_int)];
317 	char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
318 	char len_l_[PADL_(l_int)]; l_int len; char len_r_[PADR_(l_int)];
319 };
320 struct linux_setitimer_args {
321 	char which_l_[PADL_(l_int)]; l_int which; char which_r_[PADR_(l_int)];
322 	char itv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * itv; char itv_r_[PADR_(struct l_itimerval *)];
323 	char oitv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * oitv; char oitv_r_[PADR_(struct l_itimerval *)];
324 };
325 struct linux_getitimer_args {
326 	char which_l_[PADL_(l_int)]; l_int which; char which_r_[PADR_(l_int)];
327 	char itv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * itv; char itv_r_[PADR_(struct l_itimerval *)];
328 };
329 struct linux_newstat_args {
330 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
331 	char buf_l_[PADL_(struct l_newstat *)]; struct l_newstat * buf; char buf_r_[PADR_(struct l_newstat *)];
332 };
333 struct linux_newlstat_args {
334 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
335 	char buf_l_[PADL_(struct l_newstat *)]; struct l_newstat * buf; char buf_r_[PADR_(struct l_newstat *)];
336 };
337 struct linux_newfstat_args {
338 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
339 	char buf_l_[PADL_(struct l_newstat *)]; struct l_newstat * buf; char buf_r_[PADR_(struct l_newstat *)];
340 };
341 struct linux_uname_args {
342 	register_t dummy;
343 };
344 struct linux_iopl_args {
345 	char level_l_[PADL_(l_ulong)]; l_ulong level; char level_r_[PADR_(l_ulong)];
346 };
347 struct linux_vhangup_args {
348 	register_t dummy;
349 };
350 struct linux_wait4_args {
351 	char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
352 	char status_l_[PADL_(l_uint *)]; l_uint * status; char status_r_[PADR_(l_uint *)];
353 	char options_l_[PADL_(l_int)]; l_int options; char options_r_[PADR_(l_int)];
354 	char rusage_l_[PADL_(struct l_rusage *)]; struct l_rusage * rusage; char rusage_r_[PADR_(struct l_rusage *)];
355 };
356 struct linux_swapoff_args {
357 	register_t dummy;
358 };
359 struct linux_sysinfo_args {
360 	char info_l_[PADL_(struct l_sysinfo *)]; struct l_sysinfo * info; char info_r_[PADR_(struct l_sysinfo *)];
361 };
362 struct linux_ipc_args {
363 	char what_l_[PADL_(l_uint)]; l_uint what; char what_r_[PADR_(l_uint)];
364 	char arg1_l_[PADL_(l_int)]; l_int arg1; char arg1_r_[PADR_(l_int)];
365 	char arg2_l_[PADL_(l_int)]; l_int arg2; char arg2_r_[PADR_(l_int)];
366 	char arg3_l_[PADL_(l_int)]; l_int arg3; char arg3_r_[PADR_(l_int)];
367 	char ptr_l_[PADL_(void *)]; void * ptr; char ptr_r_[PADR_(void *)];
368 	char arg5_l_[PADL_(l_long)]; l_long arg5; char arg5_r_[PADR_(l_long)];
369 };
370 struct linux_sigreturn_args {
371 	char sfp_l_[PADL_(struct l_sigframe *)]; struct l_sigframe * sfp; char sfp_r_[PADR_(struct l_sigframe *)];
372 };
373 struct linux_clone_args {
374 	char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
375 	char stack_l_[PADL_(void *)]; void * stack; char stack_r_[PADR_(void *)];
376 	char parent_tidptr_l_[PADL_(void *)]; void * parent_tidptr; char parent_tidptr_r_[PADR_(void *)];
377 	char dummy_l_[PADL_(int)]; int dummy; char dummy_r_[PADR_(int)];
378 	char child_tidptr_l_[PADL_(void *)]; void * child_tidptr; char child_tidptr_r_[PADR_(void *)];
379 };
380 struct linux_newuname_args {
381 	char buf_l_[PADL_(struct l_new_utsname *)]; struct l_new_utsname * buf; char buf_r_[PADR_(struct l_new_utsname *)];
382 };
383 struct linux_adjtimex_args {
384 	register_t dummy;
385 };
386 struct linux_mprotect_args {
387 	char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)];
388 	char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
389 	char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
390 };
391 struct linux_sigprocmask_args {
392 	char how_l_[PADL_(l_int)]; l_int how; char how_r_[PADR_(l_int)];
393 	char mask_l_[PADL_(l_osigset_t *)]; l_osigset_t * mask; char mask_r_[PADR_(l_osigset_t *)];
394 	char omask_l_[PADL_(l_osigset_t *)]; l_osigset_t * omask; char omask_r_[PADR_(l_osigset_t *)];
395 };
396 struct linux_create_module_args {
397 	register_t dummy;
398 };
399 struct linux_init_module_args {
400 	register_t dummy;
401 };
402 struct linux_delete_module_args {
403 	register_t dummy;
404 };
405 struct linux_get_kernel_syms_args {
406 	register_t dummy;
407 };
408 struct linux_quotactl_args {
409 	register_t dummy;
410 };
411 struct linux_bdflush_args {
412 	register_t dummy;
413 };
414 struct linux_sysfs_args {
415 	char option_l_[PADL_(l_int)]; l_int option; char option_r_[PADR_(l_int)];
416 	char arg1_l_[PADL_(l_ulong)]; l_ulong arg1; char arg1_r_[PADR_(l_ulong)];
417 	char arg2_l_[PADL_(l_ulong)]; l_ulong arg2; char arg2_r_[PADR_(l_ulong)];
418 };
419 struct linux_personality_args {
420 	char per_l_[PADL_(l_ulong)]; l_ulong per; char per_r_[PADR_(l_ulong)];
421 };
422 struct linux_setfsuid16_args {
423 	char uid_l_[PADL_(l_uid16_t)]; l_uid16_t uid; char uid_r_[PADR_(l_uid16_t)];
424 };
425 struct linux_setfsgid16_args {
426 	char gid_l_[PADL_(l_gid16_t)]; l_gid16_t gid; char gid_r_[PADR_(l_gid16_t)];
427 };
428 struct linux_llseek_args {
429 	char fd_l_[PADL_(l_int)]; l_int fd; char fd_r_[PADR_(l_int)];
430 	char ohigh_l_[PADL_(l_ulong)]; l_ulong ohigh; char ohigh_r_[PADR_(l_ulong)];
431 	char olow_l_[PADL_(l_ulong)]; l_ulong olow; char olow_r_[PADR_(l_ulong)];
432 	char res_l_[PADL_(l_loff_t *)]; l_loff_t * res; char res_r_[PADR_(l_loff_t *)];
433 	char whence_l_[PADL_(l_uint)]; l_uint whence; char whence_r_[PADR_(l_uint)];
434 };
435 struct linux_getdents_args {
436 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
437 	char dent_l_[PADL_(void *)]; void * dent; char dent_r_[PADR_(void *)];
438 	char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
439 };
440 struct linux_select_args {
441 	char nfds_l_[PADL_(l_int)]; l_int nfds; char nfds_r_[PADR_(l_int)];
442 	char readfds_l_[PADL_(l_fd_set *)]; l_fd_set * readfds; char readfds_r_[PADR_(l_fd_set *)];
443 	char writefds_l_[PADL_(l_fd_set *)]; l_fd_set * writefds; char writefds_r_[PADR_(l_fd_set *)];
444 	char exceptfds_l_[PADL_(l_fd_set *)]; l_fd_set * exceptfds; char exceptfds_r_[PADR_(l_fd_set *)];
445 	char timeout_l_[PADL_(struct l_timeval *)]; struct l_timeval * timeout; char timeout_r_[PADR_(struct l_timeval *)];
446 };
447 struct linux_msync_args {
448 	char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
449 	char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
450 	char fl_l_[PADL_(l_int)]; l_int fl; char fl_r_[PADR_(l_int)];
451 };
452 struct linux_readv_args {
453 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
454 	char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
455 	char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
456 };
457 struct linux_writev_args {
458 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
459 	char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
460 	char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
461 };
462 struct linux_getsid_args {
463 	char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
464 };
465 struct linux_fdatasync_args {
466 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
467 };
468 struct linux_sysctl_args {
469 	char args_l_[PADL_(struct l___sysctl_args *)]; struct l___sysctl_args * args; char args_r_[PADR_(struct l___sysctl_args *)];
470 };
471 struct linux_sched_setscheduler_args {
472 	char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
473 	char policy_l_[PADL_(l_int)]; l_int policy; char policy_r_[PADR_(l_int)];
474 	char param_l_[PADL_(struct l_sched_param *)]; struct l_sched_param * param; char param_r_[PADR_(struct l_sched_param *)];
475 };
476 struct linux_sched_getscheduler_args {
477 	char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
478 };
479 struct linux_sched_get_priority_max_args {
480 	char policy_l_[PADL_(l_int)]; l_int policy; char policy_r_[PADR_(l_int)];
481 };
482 struct linux_sched_get_priority_min_args {
483 	char policy_l_[PADL_(l_int)]; l_int policy; char policy_r_[PADR_(l_int)];
484 };
485 struct linux_sched_rr_get_interval_args {
486 	char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
487 	char interval_l_[PADL_(struct l_timespec *)]; struct l_timespec * interval; char interval_r_[PADR_(struct l_timespec *)];
488 };
489 struct linux_nanosleep_args {
490 	char rqtp_l_[PADL_(const struct l_timespec *)]; const struct l_timespec * rqtp; char rqtp_r_[PADR_(const struct l_timespec *)];
491 	char rmtp_l_[PADL_(struct l_timespec *)]; struct l_timespec * rmtp; char rmtp_r_[PADR_(struct l_timespec *)];
492 };
493 struct linux_mremap_args {
494 	char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
495 	char old_len_l_[PADL_(l_ulong)]; l_ulong old_len; char old_len_r_[PADR_(l_ulong)];
496 	char new_len_l_[PADL_(l_ulong)]; l_ulong new_len; char new_len_r_[PADR_(l_ulong)];
497 	char flags_l_[PADL_(l_ulong)]; l_ulong flags; char flags_r_[PADR_(l_ulong)];
498 	char new_addr_l_[PADL_(l_ulong)]; l_ulong new_addr; char new_addr_r_[PADR_(l_ulong)];
499 };
500 struct linux_setresuid16_args {
501 	char ruid_l_[PADL_(l_uid16_t)]; l_uid16_t ruid; char ruid_r_[PADR_(l_uid16_t)];
502 	char euid_l_[PADL_(l_uid16_t)]; l_uid16_t euid; char euid_r_[PADR_(l_uid16_t)];
503 	char suid_l_[PADL_(l_uid16_t)]; l_uid16_t suid; char suid_r_[PADR_(l_uid16_t)];
504 };
505 struct linux_getresuid16_args {
506 	char ruid_l_[PADL_(l_uid16_t *)]; l_uid16_t * ruid; char ruid_r_[PADR_(l_uid16_t *)];
507 	char euid_l_[PADL_(l_uid16_t *)]; l_uid16_t * euid; char euid_r_[PADR_(l_uid16_t *)];
508 	char suid_l_[PADL_(l_uid16_t *)]; l_uid16_t * suid; char suid_r_[PADR_(l_uid16_t *)];
509 };
510 struct linux_query_module_args {
511 	register_t dummy;
512 };
513 struct linux_nfsservctl_args {
514 	register_t dummy;
515 };
516 struct linux_setresgid16_args {
517 	char rgid_l_[PADL_(l_gid16_t)]; l_gid16_t rgid; char rgid_r_[PADR_(l_gid16_t)];
518 	char egid_l_[PADL_(l_gid16_t)]; l_gid16_t egid; char egid_r_[PADR_(l_gid16_t)];
519 	char sgid_l_[PADL_(l_gid16_t)]; l_gid16_t sgid; char sgid_r_[PADR_(l_gid16_t)];
520 };
521 struct linux_getresgid16_args {
522 	char rgid_l_[PADL_(l_gid16_t *)]; l_gid16_t * rgid; char rgid_r_[PADR_(l_gid16_t *)];
523 	char egid_l_[PADL_(l_gid16_t *)]; l_gid16_t * egid; char egid_r_[PADR_(l_gid16_t *)];
524 	char sgid_l_[PADL_(l_gid16_t *)]; l_gid16_t * sgid; char sgid_r_[PADR_(l_gid16_t *)];
525 };
526 struct linux_prctl_args {
527 	char option_l_[PADL_(l_int)]; l_int option; char option_r_[PADR_(l_int)];
528 	char arg2_l_[PADL_(l_int)]; l_int arg2; char arg2_r_[PADR_(l_int)];
529 	char arg3_l_[PADL_(l_int)]; l_int arg3; char arg3_r_[PADR_(l_int)];
530 	char arg4_l_[PADL_(l_int)]; l_int arg4; char arg4_r_[PADR_(l_int)];
531 	char arg5_l_[PADL_(l_int)]; l_int arg5; char arg5_r_[PADR_(l_int)];
532 };
533 struct linux_rt_sigreturn_args {
534 	char ucp_l_[PADL_(struct l_ucontext *)]; struct l_ucontext * ucp; char ucp_r_[PADR_(struct l_ucontext *)];
535 };
536 struct linux_rt_sigaction_args {
537 	char sig_l_[PADL_(l_int)]; l_int sig; char sig_r_[PADR_(l_int)];
538 	char act_l_[PADL_(l_sigaction_t *)]; l_sigaction_t * act; char act_r_[PADR_(l_sigaction_t *)];
539 	char oact_l_[PADL_(l_sigaction_t *)]; l_sigaction_t * oact; char oact_r_[PADR_(l_sigaction_t *)];
540 	char sigsetsize_l_[PADL_(l_size_t)]; l_size_t sigsetsize; char sigsetsize_r_[PADR_(l_size_t)];
541 };
542 struct linux_rt_sigprocmask_args {
543 	char how_l_[PADL_(l_int)]; l_int how; char how_r_[PADR_(l_int)];
544 	char mask_l_[PADL_(l_sigset_t *)]; l_sigset_t * mask; char mask_r_[PADR_(l_sigset_t *)];
545 	char omask_l_[PADL_(l_sigset_t *)]; l_sigset_t * omask; char omask_r_[PADR_(l_sigset_t *)];
546 	char sigsetsize_l_[PADL_(l_size_t)]; l_size_t sigsetsize; char sigsetsize_r_[PADR_(l_size_t)];
547 };
548 struct linux_rt_sigpending_args {
549 	char set_l_[PADL_(l_sigset_t *)]; l_sigset_t * set; char set_r_[PADR_(l_sigset_t *)];
550 	char sigsetsize_l_[PADL_(l_size_t)]; l_size_t sigsetsize; char sigsetsize_r_[PADR_(l_size_t)];
551 };
552 struct linux_rt_sigtimedwait_args {
553 	char mask_l_[PADL_(l_sigset_t *)]; l_sigset_t * mask; char mask_r_[PADR_(l_sigset_t *)];
554 	char ptr_l_[PADL_(l_siginfo_t *)]; l_siginfo_t * ptr; char ptr_r_[PADR_(l_siginfo_t *)];
555 	char timeout_l_[PADL_(struct l_timeval *)]; struct l_timeval * timeout; char timeout_r_[PADR_(struct l_timeval *)];
556 	char sigsetsize_l_[PADL_(l_size_t)]; l_size_t sigsetsize; char sigsetsize_r_[PADR_(l_size_t)];
557 };
558 struct linux_rt_sigqueueinfo_args {
559 	register_t dummy;
560 };
561 struct linux_rt_sigsuspend_args {
562 	char newset_l_[PADL_(l_sigset_t *)]; l_sigset_t * newset; char newset_r_[PADR_(l_sigset_t *)];
563 	char sigsetsize_l_[PADL_(l_size_t)]; l_size_t sigsetsize; char sigsetsize_r_[PADR_(l_size_t)];
564 };
565 struct linux_pread_args {
566 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
567 	char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
568 	char nbyte_l_[PADL_(l_size_t)]; l_size_t nbyte; char nbyte_r_[PADR_(l_size_t)];
569 	char offset_l_[PADL_(l_loff_t)]; l_loff_t offset; char offset_r_[PADR_(l_loff_t)];
570 };
571 struct linux_pwrite_args {
572 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
573 	char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
574 	char nbyte_l_[PADL_(l_size_t)]; l_size_t nbyte; char nbyte_r_[PADR_(l_size_t)];
575 	char offset_l_[PADL_(l_loff_t)]; l_loff_t offset; char offset_r_[PADR_(l_loff_t)];
576 };
577 struct linux_chown16_args {
578 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
579 	char uid_l_[PADL_(l_uid16_t)]; l_uid16_t uid; char uid_r_[PADR_(l_uid16_t)];
580 	char gid_l_[PADL_(l_gid16_t)]; l_gid16_t gid; char gid_r_[PADR_(l_gid16_t)];
581 };
582 struct linux_getcwd_args {
583 	char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
584 	char bufsize_l_[PADL_(l_ulong)]; l_ulong bufsize; char bufsize_r_[PADR_(l_ulong)];
585 };
586 struct linux_capget_args {
587 	register_t dummy;
588 };
589 struct linux_capset_args {
590 	register_t dummy;
591 };
592 struct linux_sigaltstack_args {
593 	char uss_l_[PADL_(l_stack_t *)]; l_stack_t * uss; char uss_r_[PADR_(l_stack_t *)];
594 	char uoss_l_[PADL_(l_stack_t *)]; l_stack_t * uoss; char uoss_r_[PADR_(l_stack_t *)];
595 };
596 struct linux_sendfile_args {
597 	register_t dummy;
598 };
599 struct linux_vfork_args {
600 	register_t dummy;
601 };
602 struct linux_getrlimit_args {
603 	char resource_l_[PADL_(l_uint)]; l_uint resource; char resource_r_[PADR_(l_uint)];
604 	char rlim_l_[PADL_(struct l_rlimit *)]; struct l_rlimit * rlim; char rlim_r_[PADR_(struct l_rlimit *)];
605 };
606 struct linux_mmap2_args {
607 	char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
608 	char len_l_[PADL_(l_ulong)]; l_ulong len; char len_r_[PADR_(l_ulong)];
609 	char prot_l_[PADL_(l_ulong)]; l_ulong prot; char prot_r_[PADR_(l_ulong)];
610 	char flags_l_[PADL_(l_ulong)]; l_ulong flags; char flags_r_[PADR_(l_ulong)];
611 	char fd_l_[PADL_(l_ulong)]; l_ulong fd; char fd_r_[PADR_(l_ulong)];
612 	char pgoff_l_[PADL_(l_ulong)]; l_ulong pgoff; char pgoff_r_[PADR_(l_ulong)];
613 };
614 struct linux_truncate64_args {
615 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
616 	char length_l_[PADL_(l_loff_t)]; l_loff_t length; char length_r_[PADR_(l_loff_t)];
617 };
618 struct linux_ftruncate64_args {
619 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
620 	char length_l_[PADL_(l_loff_t)]; l_loff_t length; char length_r_[PADR_(l_loff_t)];
621 };
622 struct linux_stat64_args {
623 	char filename_l_[PADL_(char *)]; char * filename; char filename_r_[PADR_(char *)];
624 	char statbuf_l_[PADL_(struct l_stat64 *)]; struct l_stat64 * statbuf; char statbuf_r_[PADR_(struct l_stat64 *)];
625 	char flags_l_[PADL_(l_long)]; l_long flags; char flags_r_[PADR_(l_long)];
626 };
627 struct linux_lstat64_args {
628 	char filename_l_[PADL_(char *)]; char * filename; char filename_r_[PADR_(char *)];
629 	char statbuf_l_[PADL_(struct l_stat64 *)]; struct l_stat64 * statbuf; char statbuf_r_[PADR_(struct l_stat64 *)];
630 	char flags_l_[PADL_(l_long)]; l_long flags; char flags_r_[PADR_(l_long)];
631 };
632 struct linux_fstat64_args {
633 	char fd_l_[PADL_(l_ulong)]; l_ulong fd; char fd_r_[PADR_(l_ulong)];
634 	char statbuf_l_[PADL_(struct l_stat64 *)]; struct l_stat64 * statbuf; char statbuf_r_[PADR_(struct l_stat64 *)];
635 	char flags_l_[PADL_(l_long)]; l_long flags; char flags_r_[PADR_(l_long)];
636 };
637 struct linux_lchown_args {
638 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
639 	char uid_l_[PADL_(l_uid_t)]; l_uid_t uid; char uid_r_[PADR_(l_uid_t)];
640 	char gid_l_[PADL_(l_gid_t)]; l_gid_t gid; char gid_r_[PADR_(l_gid_t)];
641 };
642 struct linux_getuid_args {
643 	register_t dummy;
644 };
645 struct linux_getgid_args {
646 	register_t dummy;
647 };
648 struct linux_getgroups_args {
649 	char gidsetsize_l_[PADL_(l_int)]; l_int gidsetsize; char gidsetsize_r_[PADR_(l_int)];
650 	char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)];
651 };
652 struct linux_setgroups_args {
653 	char gidsetsize_l_[PADL_(l_int)]; l_int gidsetsize; char gidsetsize_r_[PADR_(l_int)];
654 	char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)];
655 };
656 struct linux_chown_args {
657 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
658 	char uid_l_[PADL_(l_uid_t)]; l_uid_t uid; char uid_r_[PADR_(l_uid_t)];
659 	char gid_l_[PADL_(l_gid_t)]; l_gid_t gid; char gid_r_[PADR_(l_gid_t)];
660 };
661 struct linux_setfsuid_args {
662 	char uid_l_[PADL_(l_uid_t)]; l_uid_t uid; char uid_r_[PADR_(l_uid_t)];
663 };
664 struct linux_setfsgid_args {
665 	char gid_l_[PADL_(l_gid_t)]; l_gid_t gid; char gid_r_[PADR_(l_gid_t)];
666 };
667 struct linux_pivot_root_args {
668 	char new_root_l_[PADL_(char *)]; char * new_root; char new_root_r_[PADR_(char *)];
669 	char put_old_l_[PADL_(char *)]; char * put_old; char put_old_r_[PADR_(char *)];
670 };
671 struct linux_mincore_args {
672 	char start_l_[PADL_(l_ulong)]; l_ulong start; char start_r_[PADR_(l_ulong)];
673 	char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
674 	char vec_l_[PADL_(u_char *)]; u_char * vec; char vec_r_[PADR_(u_char *)];
675 };
676 struct linux_getdents64_args {
677 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
678 	char dirent_l_[PADL_(void *)]; void * dirent; char dirent_r_[PADR_(void *)];
679 	char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
680 };
681 struct linux_fcntl64_args {
682 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
683 	char cmd_l_[PADL_(l_uint)]; l_uint cmd; char cmd_r_[PADR_(l_uint)];
684 	char arg_l_[PADL_(uintptr_t)]; uintptr_t arg; char arg_r_[PADR_(uintptr_t)];
685 };
686 struct linux_gettid_args {
687 	register_t dummy;
688 };
689 struct linux_setxattr_args {
690 	register_t dummy;
691 };
692 struct linux_lsetxattr_args {
693 	register_t dummy;
694 };
695 struct linux_fsetxattr_args {
696 	register_t dummy;
697 };
698 struct linux_getxattr_args {
699 	register_t dummy;
700 };
701 struct linux_lgetxattr_args {
702 	register_t dummy;
703 };
704 struct linux_fgetxattr_args {
705 	register_t dummy;
706 };
707 struct linux_listxattr_args {
708 	register_t dummy;
709 };
710 struct linux_llistxattr_args {
711 	register_t dummy;
712 };
713 struct linux_flistxattr_args {
714 	register_t dummy;
715 };
716 struct linux_removexattr_args {
717 	register_t dummy;
718 };
719 struct linux_lremovexattr_args {
720 	register_t dummy;
721 };
722 struct linux_fremovexattr_args {
723 	register_t dummy;
724 };
725 struct linux_tkill_args {
726 	char tid_l_[PADL_(int)]; int tid; char tid_r_[PADR_(int)];
727 	char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
728 };
729 struct linux_sys_futex_args {
730 	char uaddr_l_[PADL_(void *)]; void * uaddr; char uaddr_r_[PADR_(void *)];
731 	char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)];
732 	char val_l_[PADL_(int)]; int val; char val_r_[PADR_(int)];
733 	char timeout_l_[PADL_(struct l_timespec *)]; struct l_timespec * timeout; char timeout_r_[PADR_(struct l_timespec *)];
734 	char uaddr2_l_[PADL_(void *)]; void * uaddr2; char uaddr2_r_[PADR_(void *)];
735 	char val3_l_[PADL_(int)]; int val3; char val3_r_[PADR_(int)];
736 };
737 struct linux_sched_getaffinity_args {
738 	char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
739 	char len_l_[PADL_(l_uint)]; l_uint len; char len_r_[PADR_(l_uint)];
740 	char user_mask_ptr_l_[PADL_(l_ulong *)]; l_ulong * user_mask_ptr; char user_mask_ptr_r_[PADR_(l_ulong *)];
741 };
742 struct linux_set_thread_area_args {
743 	char desc_l_[PADL_(struct l_user_desc *)]; struct l_user_desc * desc; char desc_r_[PADR_(struct l_user_desc *)];
744 };
745 struct linux_fadvise64_args {
746 	register_t dummy;
747 };
748 struct linux_exit_group_args {
749 	char error_code_l_[PADL_(int)]; int error_code; char error_code_r_[PADR_(int)];
750 };
751 struct linux_lookup_dcookie_args {
752 	register_t dummy;
753 };
754 struct linux_epoll_create_args {
755 	register_t dummy;
756 };
757 struct linux_epoll_ctl_args {
758 	register_t dummy;
759 };
760 struct linux_epoll_wait_args {
761 	register_t dummy;
762 };
763 struct linux_remap_file_pages_args {
764 	register_t dummy;
765 };
766 struct linux_set_tid_address_args {
767 	char tidptr_l_[PADL_(int *)]; int * tidptr; char tidptr_r_[PADR_(int *)];
768 };
769 struct linux_timer_create_args {
770 	register_t dummy;
771 };
772 struct linux_timer_settime_args {
773 	register_t dummy;
774 };
775 struct linux_timer_gettime_args {
776 	register_t dummy;
777 };
778 struct linux_timer_getoverrun_args {
779 	register_t dummy;
780 };
781 struct linux_timer_delete_args {
782 	register_t dummy;
783 };
784 struct linux_clock_settime_args {
785 	char which_l_[PADL_(clockid_t)]; clockid_t which; char which_r_[PADR_(clockid_t)];
786 	char tp_l_[PADL_(struct l_timespec *)]; struct l_timespec * tp; char tp_r_[PADR_(struct l_timespec *)];
787 };
788 struct linux_clock_gettime_args {
789 	char which_l_[PADL_(clockid_t)]; clockid_t which; char which_r_[PADR_(clockid_t)];
790 	char tp_l_[PADL_(struct l_timespec *)]; struct l_timespec * tp; char tp_r_[PADR_(struct l_timespec *)];
791 };
792 struct linux_clock_getres_args {
793 	char which_l_[PADL_(clockid_t)]; clockid_t which; char which_r_[PADR_(clockid_t)];
794 	char tp_l_[PADL_(struct l_timespec *)]; struct l_timespec * tp; char tp_r_[PADR_(struct l_timespec *)];
795 };
796 struct linux_clock_nanosleep_args {
797 	char which_l_[PADL_(clockid_t)]; clockid_t which; char which_r_[PADR_(clockid_t)];
798 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
799 	char rqtp_l_[PADL_(struct l_timespec *)]; struct l_timespec * rqtp; char rqtp_r_[PADR_(struct l_timespec *)];
800 	char rmtp_l_[PADL_(struct l_timespec *)]; struct l_timespec * rmtp; char rmtp_r_[PADR_(struct l_timespec *)];
801 };
802 struct linux_statfs64_args {
803 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
804 	char bufsize_l_[PADL_(size_t)]; size_t bufsize; char bufsize_r_[PADR_(size_t)];
805 	char buf_l_[PADL_(struct l_statfs64_buf *)]; struct l_statfs64_buf * buf; char buf_r_[PADR_(struct l_statfs64_buf *)];
806 };
807 struct linux_fstatfs64_args {
808 	register_t dummy;
809 };
810 struct linux_tgkill_args {
811 	char tgid_l_[PADL_(int)]; int tgid; char tgid_r_[PADR_(int)];
812 	char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)];
813 	char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
814 };
815 struct linux_utimes_args {
816 	char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)];
817 	char tptr_l_[PADL_(struct l_timeval *)]; struct l_timeval * tptr; char tptr_r_[PADR_(struct l_timeval *)];
818 };
819 struct linux_fadvise64_64_args {
820 	register_t dummy;
821 };
822 struct linux_mbind_args {
823 	register_t dummy;
824 };
825 struct linux_get_mempolicy_args {
826 	register_t dummy;
827 };
828 struct linux_set_mempolicy_args {
829 	register_t dummy;
830 };
831 struct linux_mq_open_args {
832 	register_t dummy;
833 };
834 struct linux_mq_unlink_args {
835 	register_t dummy;
836 };
837 struct linux_mq_timedsend_args {
838 	register_t dummy;
839 };
840 struct linux_mq_timedreceive_args {
841 	register_t dummy;
842 };
843 struct linux_mq_notify_args {
844 	register_t dummy;
845 };
846 struct linux_mq_getsetattr_args {
847 	register_t dummy;
848 };
849 struct linux_kexec_load_args {
850 	register_t dummy;
851 };
852 struct linux_waitid_args {
853 	register_t dummy;
854 };
855 struct linux_add_key_args {
856 	register_t dummy;
857 };
858 struct linux_request_key_args {
859 	register_t dummy;
860 };
861 struct linux_keyctl_args {
862 	register_t dummy;
863 };
864 struct linux_ioprio_set_args {
865 	register_t dummy;
866 };
867 struct linux_ioprio_get_args {
868 	register_t dummy;
869 };
870 struct linux_inotify_init_args {
871 	register_t dummy;
872 };
873 struct linux_inotify_add_watch_args {
874 	register_t dummy;
875 };
876 struct linux_inotify_rm_watch_args {
877 	register_t dummy;
878 };
879 struct linux_migrate_pages_args {
880 	register_t dummy;
881 };
882 struct linux_openat_args {
883 	char dfd_l_[PADL_(l_int)]; l_int dfd; char dfd_r_[PADR_(l_int)];
884 	char filename_l_[PADL_(char *)]; char * filename; char filename_r_[PADR_(char *)];
885 	char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
886 	char mode_l_[PADL_(l_int)]; l_int mode; char mode_r_[PADR_(l_int)];
887 };
888 struct linux_mkdirat_args {
889 	register_t dummy;
890 };
891 struct linux_mknodat_args {
892 	register_t dummy;
893 };
894 struct linux_fchownat_args {
895 	register_t dummy;
896 };
897 struct linux_futimesat_args {
898 	register_t dummy;
899 };
900 struct linux_fstatat64_args {
901 	register_t dummy;
902 };
903 struct linux_unlinkat_args {
904 	register_t dummy;
905 };
906 struct linux_renameat_args {
907 	register_t dummy;
908 };
909 struct linux_linkat_args {
910 	register_t dummy;
911 };
912 struct linux_symlinkat_args {
913 	register_t dummy;
914 };
915 struct linux_readlinkat_args {
916 	register_t dummy;
917 };
918 struct linux_fchmodat_args {
919 	register_t dummy;
920 };
921 struct linux_faccessat_args {
922 	register_t dummy;
923 };
924 struct linux_pselect6_args {
925 	register_t dummy;
926 };
927 struct linux_ppoll_args {
928 	register_t dummy;
929 };
930 struct linux_unshare_args {
931 	register_t dummy;
932 };
933 #define	nosys	linux_nosys
934 int	linux_fork(struct thread *, struct linux_fork_args *);
935 int	linux_open(struct thread *, struct linux_open_args *);
936 int	linux_waitpid(struct thread *, struct linux_waitpid_args *);
937 int	linux_creat(struct thread *, struct linux_creat_args *);
938 int	linux_link(struct thread *, struct linux_link_args *);
939 int	linux_unlink(struct thread *, struct linux_unlink_args *);
940 int	linux_execve(struct thread *, struct linux_execve_args *);
941 int	linux_chdir(struct thread *, struct linux_chdir_args *);
942 int	linux_time(struct thread *, struct linux_time_args *);
943 int	linux_mknod(struct thread *, struct linux_mknod_args *);
944 int	linux_chmod(struct thread *, struct linux_chmod_args *);
945 int	linux_lchown16(struct thread *, struct linux_lchown16_args *);
946 int	linux_stat(struct thread *, struct linux_stat_args *);
947 int	linux_lseek(struct thread *, struct linux_lseek_args *);
948 int	linux_getpid(struct thread *, struct linux_getpid_args *);
949 int	linux_mount(struct thread *, struct linux_mount_args *);
950 int	linux_oldumount(struct thread *, struct linux_oldumount_args *);
951 int	linux_setuid16(struct thread *, struct linux_setuid16_args *);
952 int	linux_getuid16(struct thread *, struct linux_getuid16_args *);
953 int	linux_stime(struct thread *, struct linux_stime_args *);
954 int	linux_ptrace(struct thread *, struct linux_ptrace_args *);
955 int	linux_alarm(struct thread *, struct linux_alarm_args *);
956 int	linux_pause(struct thread *, struct linux_pause_args *);
957 int	linux_utime(struct thread *, struct linux_utime_args *);
958 int	linux_access(struct thread *, struct linux_access_args *);
959 int	linux_nice(struct thread *, struct linux_nice_args *);
960 int	linux_kill(struct thread *, struct linux_kill_args *);
961 int	linux_rename(struct thread *, struct linux_rename_args *);
962 int	linux_mkdir(struct thread *, struct linux_mkdir_args *);
963 int	linux_rmdir(struct thread *, struct linux_rmdir_args *);
964 int	linux_pipe(struct thread *, struct linux_pipe_args *);
965 int	linux_times(struct thread *, struct linux_times_args *);
966 int	linux_brk(struct thread *, struct linux_brk_args *);
967 int	linux_setgid16(struct thread *, struct linux_setgid16_args *);
968 int	linux_getgid16(struct thread *, struct linux_getgid16_args *);
969 int	linux_signal(struct thread *, struct linux_signal_args *);
970 int	linux_geteuid16(struct thread *, struct linux_geteuid16_args *);
971 int	linux_getegid16(struct thread *, struct linux_getegid16_args *);
972 int	linux_umount(struct thread *, struct linux_umount_args *);
973 int	linux_ioctl(struct thread *, struct linux_ioctl_args *);
974 int	linux_fcntl(struct thread *, struct linux_fcntl_args *);
975 int	linux_olduname(struct thread *, struct linux_olduname_args *);
976 int	linux_ustat(struct thread *, struct linux_ustat_args *);
977 int	linux_getppid(struct thread *, struct linux_getppid_args *);
978 int	linux_sigaction(struct thread *, struct linux_sigaction_args *);
979 int	linux_sgetmask(struct thread *, struct linux_sgetmask_args *);
980 int	linux_ssetmask(struct thread *, struct linux_ssetmask_args *);
981 int	linux_setreuid16(struct thread *, struct linux_setreuid16_args *);
982 int	linux_setregid16(struct thread *, struct linux_setregid16_args *);
983 int	linux_sigsuspend(struct thread *, struct linux_sigsuspend_args *);
984 int	linux_sigpending(struct thread *, struct linux_sigpending_args *);
985 int	linux_sethostname(struct thread *, struct linux_sethostname_args *);
986 int	linux_setrlimit(struct thread *, struct linux_setrlimit_args *);
987 int	linux_old_getrlimit(struct thread *, struct linux_old_getrlimit_args *);
988 int	linux_getrusage(struct thread *, struct linux_getrusage_args *);
989 int	linux_gettimeofday(struct thread *, struct linux_gettimeofday_args *);
990 int	linux_settimeofday(struct thread *, struct linux_settimeofday_args *);
991 int	linux_getgroups16(struct thread *, struct linux_getgroups16_args *);
992 int	linux_setgroups16(struct thread *, struct linux_setgroups16_args *);
993 int	linux_old_select(struct thread *, struct linux_old_select_args *);
994 int	linux_symlink(struct thread *, struct linux_symlink_args *);
995 int	linux_lstat(struct thread *, struct linux_lstat_args *);
996 int	linux_readlink(struct thread *, struct linux_readlink_args *);
997 int	linux_reboot(struct thread *, struct linux_reboot_args *);
998 int	linux_readdir(struct thread *, struct linux_readdir_args *);
999 int	linux_mmap(struct thread *, struct linux_mmap_args *);
1000 int	linux_truncate(struct thread *, struct linux_truncate_args *);
1001 int	linux_ftruncate(struct thread *, struct linux_ftruncate_args *);
1002 int	linux_getpriority(struct thread *, struct linux_getpriority_args *);
1003 int	linux_statfs(struct thread *, struct linux_statfs_args *);
1004 int	linux_fstatfs(struct thread *, struct linux_fstatfs_args *);
1005 int	linux_socketcall(struct thread *, struct linux_socketcall_args *);
1006 int	linux_syslog(struct thread *, struct linux_syslog_args *);
1007 int	linux_setitimer(struct thread *, struct linux_setitimer_args *);
1008 int	linux_getitimer(struct thread *, struct linux_getitimer_args *);
1009 int	linux_newstat(struct thread *, struct linux_newstat_args *);
1010 int	linux_newlstat(struct thread *, struct linux_newlstat_args *);
1011 int	linux_newfstat(struct thread *, struct linux_newfstat_args *);
1012 int	linux_uname(struct thread *, struct linux_uname_args *);
1013 int	linux_iopl(struct thread *, struct linux_iopl_args *);
1014 int	linux_vhangup(struct thread *, struct linux_vhangup_args *);
1015 int	linux_wait4(struct thread *, struct linux_wait4_args *);
1016 int	linux_swapoff(struct thread *, struct linux_swapoff_args *);
1017 int	linux_sysinfo(struct thread *, struct linux_sysinfo_args *);
1018 int	linux_ipc(struct thread *, struct linux_ipc_args *);
1019 int	linux_sigreturn(struct thread *, struct linux_sigreturn_args *);
1020 int	linux_clone(struct thread *, struct linux_clone_args *);
1021 int	linux_newuname(struct thread *, struct linux_newuname_args *);
1022 int	linux_adjtimex(struct thread *, struct linux_adjtimex_args *);
1023 int	linux_mprotect(struct thread *, struct linux_mprotect_args *);
1024 int	linux_sigprocmask(struct thread *, struct linux_sigprocmask_args *);
1025 int	linux_create_module(struct thread *, struct linux_create_module_args *);
1026 int	linux_init_module(struct thread *, struct linux_init_module_args *);
1027 int	linux_delete_module(struct thread *, struct linux_delete_module_args *);
1028 int	linux_get_kernel_syms(struct thread *, struct linux_get_kernel_syms_args *);
1029 int	linux_quotactl(struct thread *, struct linux_quotactl_args *);
1030 int	linux_bdflush(struct thread *, struct linux_bdflush_args *);
1031 int	linux_sysfs(struct thread *, struct linux_sysfs_args *);
1032 int	linux_personality(struct thread *, struct linux_personality_args *);
1033 int	linux_setfsuid16(struct thread *, struct linux_setfsuid16_args *);
1034 int	linux_setfsgid16(struct thread *, struct linux_setfsgid16_args *);
1035 int	linux_llseek(struct thread *, struct linux_llseek_args *);
1036 int	linux_getdents(struct thread *, struct linux_getdents_args *);
1037 int	linux_select(struct thread *, struct linux_select_args *);
1038 int	linux_msync(struct thread *, struct linux_msync_args *);
1039 int	linux_readv(struct thread *, struct linux_readv_args *);
1040 int	linux_writev(struct thread *, struct linux_writev_args *);
1041 int	linux_getsid(struct thread *, struct linux_getsid_args *);
1042 int	linux_fdatasync(struct thread *, struct linux_fdatasync_args *);
1043 int	linux_sysctl(struct thread *, struct linux_sysctl_args *);
1044 int	linux_sched_setscheduler(struct thread *, struct linux_sched_setscheduler_args *);
1045 int	linux_sched_getscheduler(struct thread *, struct linux_sched_getscheduler_args *);
1046 int	linux_sched_get_priority_max(struct thread *, struct linux_sched_get_priority_max_args *);
1047 int	linux_sched_get_priority_min(struct thread *, struct linux_sched_get_priority_min_args *);
1048 int	linux_sched_rr_get_interval(struct thread *, struct linux_sched_rr_get_interval_args *);
1049 int	linux_nanosleep(struct thread *, struct linux_nanosleep_args *);
1050 int	linux_mremap(struct thread *, struct linux_mremap_args *);
1051 int	linux_setresuid16(struct thread *, struct linux_setresuid16_args *);
1052 int	linux_getresuid16(struct thread *, struct linux_getresuid16_args *);
1053 int	linux_query_module(struct thread *, struct linux_query_module_args *);
1054 int	linux_nfsservctl(struct thread *, struct linux_nfsservctl_args *);
1055 int	linux_setresgid16(struct thread *, struct linux_setresgid16_args *);
1056 int	linux_getresgid16(struct thread *, struct linux_getresgid16_args *);
1057 int	linux_prctl(struct thread *, struct linux_prctl_args *);
1058 int	linux_rt_sigreturn(struct thread *, struct linux_rt_sigreturn_args *);
1059 int	linux_rt_sigaction(struct thread *, struct linux_rt_sigaction_args *);
1060 int	linux_rt_sigprocmask(struct thread *, struct linux_rt_sigprocmask_args *);
1061 int	linux_rt_sigpending(struct thread *, struct linux_rt_sigpending_args *);
1062 int	linux_rt_sigtimedwait(struct thread *, struct linux_rt_sigtimedwait_args *);
1063 int	linux_rt_sigqueueinfo(struct thread *, struct linux_rt_sigqueueinfo_args *);
1064 int	linux_rt_sigsuspend(struct thread *, struct linux_rt_sigsuspend_args *);
1065 int	linux_pread(struct thread *, struct linux_pread_args *);
1066 int	linux_pwrite(struct thread *, struct linux_pwrite_args *);
1067 int	linux_chown16(struct thread *, struct linux_chown16_args *);
1068 int	linux_getcwd(struct thread *, struct linux_getcwd_args *);
1069 int	linux_capget(struct thread *, struct linux_capget_args *);
1070 int	linux_capset(struct thread *, struct linux_capset_args *);
1071 int	linux_sigaltstack(struct thread *, struct linux_sigaltstack_args *);
1072 int	linux_sendfile(struct thread *, struct linux_sendfile_args *);
1073 int	linux_vfork(struct thread *, struct linux_vfork_args *);
1074 int	linux_getrlimit(struct thread *, struct linux_getrlimit_args *);
1075 int	linux_mmap2(struct thread *, struct linux_mmap2_args *);
1076 int	linux_truncate64(struct thread *, struct linux_truncate64_args *);
1077 int	linux_ftruncate64(struct thread *, struct linux_ftruncate64_args *);
1078 int	linux_stat64(struct thread *, struct linux_stat64_args *);
1079 int	linux_lstat64(struct thread *, struct linux_lstat64_args *);
1080 int	linux_fstat64(struct thread *, struct linux_fstat64_args *);
1081 int	linux_lchown(struct thread *, struct linux_lchown_args *);
1082 int	linux_getuid(struct thread *, struct linux_getuid_args *);
1083 int	linux_getgid(struct thread *, struct linux_getgid_args *);
1084 int	linux_getgroups(struct thread *, struct linux_getgroups_args *);
1085 int	linux_setgroups(struct thread *, struct linux_setgroups_args *);
1086 int	linux_chown(struct thread *, struct linux_chown_args *);
1087 int	linux_setfsuid(struct thread *, struct linux_setfsuid_args *);
1088 int	linux_setfsgid(struct thread *, struct linux_setfsgid_args *);
1089 int	linux_pivot_root(struct thread *, struct linux_pivot_root_args *);
1090 int	linux_mincore(struct thread *, struct linux_mincore_args *);
1091 int	linux_getdents64(struct thread *, struct linux_getdents64_args *);
1092 int	linux_fcntl64(struct thread *, struct linux_fcntl64_args *);
1093 int	linux_gettid(struct thread *, struct linux_gettid_args *);
1094 int	linux_setxattr(struct thread *, struct linux_setxattr_args *);
1095 int	linux_lsetxattr(struct thread *, struct linux_lsetxattr_args *);
1096 int	linux_fsetxattr(struct thread *, struct linux_fsetxattr_args *);
1097 int	linux_getxattr(struct thread *, struct linux_getxattr_args *);
1098 int	linux_lgetxattr(struct thread *, struct linux_lgetxattr_args *);
1099 int	linux_fgetxattr(struct thread *, struct linux_fgetxattr_args *);
1100 int	linux_listxattr(struct thread *, struct linux_listxattr_args *);
1101 int	linux_llistxattr(struct thread *, struct linux_llistxattr_args *);
1102 int	linux_flistxattr(struct thread *, struct linux_flistxattr_args *);
1103 int	linux_removexattr(struct thread *, struct linux_removexattr_args *);
1104 int	linux_lremovexattr(struct thread *, struct linux_lremovexattr_args *);
1105 int	linux_fremovexattr(struct thread *, struct linux_fremovexattr_args *);
1106 int	linux_tkill(struct thread *, struct linux_tkill_args *);
1107 int	linux_sys_futex(struct thread *, struct linux_sys_futex_args *);
1108 int	linux_sched_getaffinity(struct thread *, struct linux_sched_getaffinity_args *);
1109 int	linux_set_thread_area(struct thread *, struct linux_set_thread_area_args *);
1110 int	linux_fadvise64(struct thread *, struct linux_fadvise64_args *);
1111 int	linux_exit_group(struct thread *, struct linux_exit_group_args *);
1112 int	linux_lookup_dcookie(struct thread *, struct linux_lookup_dcookie_args *);
1113 int	linux_epoll_create(struct thread *, struct linux_epoll_create_args *);
1114 int	linux_epoll_ctl(struct thread *, struct linux_epoll_ctl_args *);
1115 int	linux_epoll_wait(struct thread *, struct linux_epoll_wait_args *);
1116 int	linux_remap_file_pages(struct thread *, struct linux_remap_file_pages_args *);
1117 int	linux_set_tid_address(struct thread *, struct linux_set_tid_address_args *);
1118 int	linux_timer_create(struct thread *, struct linux_timer_create_args *);
1119 int	linux_timer_settime(struct thread *, struct linux_timer_settime_args *);
1120 int	linux_timer_gettime(struct thread *, struct linux_timer_gettime_args *);
1121 int	linux_timer_getoverrun(struct thread *, struct linux_timer_getoverrun_args *);
1122 int	linux_timer_delete(struct thread *, struct linux_timer_delete_args *);
1123 int	linux_clock_settime(struct thread *, struct linux_clock_settime_args *);
1124 int	linux_clock_gettime(struct thread *, struct linux_clock_gettime_args *);
1125 int	linux_clock_getres(struct thread *, struct linux_clock_getres_args *);
1126 int	linux_clock_nanosleep(struct thread *, struct linux_clock_nanosleep_args *);
1127 int	linux_statfs64(struct thread *, struct linux_statfs64_args *);
1128 int	linux_fstatfs64(struct thread *, struct linux_fstatfs64_args *);
1129 int	linux_tgkill(struct thread *, struct linux_tgkill_args *);
1130 int	linux_utimes(struct thread *, struct linux_utimes_args *);
1131 int	linux_fadvise64_64(struct thread *, struct linux_fadvise64_64_args *);
1132 int	linux_mbind(struct thread *, struct linux_mbind_args *);
1133 int	linux_get_mempolicy(struct thread *, struct linux_get_mempolicy_args *);
1134 int	linux_set_mempolicy(struct thread *, struct linux_set_mempolicy_args *);
1135 int	linux_mq_open(struct thread *, struct linux_mq_open_args *);
1136 int	linux_mq_unlink(struct thread *, struct linux_mq_unlink_args *);
1137 int	linux_mq_timedsend(struct thread *, struct linux_mq_timedsend_args *);
1138 int	linux_mq_timedreceive(struct thread *, struct linux_mq_timedreceive_args *);
1139 int	linux_mq_notify(struct thread *, struct linux_mq_notify_args *);
1140 int	linux_mq_getsetattr(struct thread *, struct linux_mq_getsetattr_args *);
1141 int	linux_kexec_load(struct thread *, struct linux_kexec_load_args *);
1142 int	linux_waitid(struct thread *, struct linux_waitid_args *);
1143 int	linux_add_key(struct thread *, struct linux_add_key_args *);
1144 int	linux_request_key(struct thread *, struct linux_request_key_args *);
1145 int	linux_keyctl(struct thread *, struct linux_keyctl_args *);
1146 int	linux_ioprio_set(struct thread *, struct linux_ioprio_set_args *);
1147 int	linux_ioprio_get(struct thread *, struct linux_ioprio_get_args *);
1148 int	linux_inotify_init(struct thread *, struct linux_inotify_init_args *);
1149 int	linux_inotify_add_watch(struct thread *, struct linux_inotify_add_watch_args *);
1150 int	linux_inotify_rm_watch(struct thread *, struct linux_inotify_rm_watch_args *);
1151 int	linux_migrate_pages(struct thread *, struct linux_migrate_pages_args *);
1152 int	linux_openat(struct thread *, struct linux_openat_args *);
1153 int	linux_mkdirat(struct thread *, struct linux_mkdirat_args *);
1154 int	linux_mknodat(struct thread *, struct linux_mknodat_args *);
1155 int	linux_fchownat(struct thread *, struct linux_fchownat_args *);
1156 int	linux_futimesat(struct thread *, struct linux_futimesat_args *);
1157 int	linux_fstatat64(struct thread *, struct linux_fstatat64_args *);
1158 int	linux_unlinkat(struct thread *, struct linux_unlinkat_args *);
1159 int	linux_renameat(struct thread *, struct linux_renameat_args *);
1160 int	linux_linkat(struct thread *, struct linux_linkat_args *);
1161 int	linux_symlinkat(struct thread *, struct linux_symlinkat_args *);
1162 int	linux_readlinkat(struct thread *, struct linux_readlinkat_args *);
1163 int	linux_fchmodat(struct thread *, struct linux_fchmodat_args *);
1164 int	linux_faccessat(struct thread *, struct linux_faccessat_args *);
1165 int	linux_pselect6(struct thread *, struct linux_pselect6_args *);
1166 int	linux_ppoll(struct thread *, struct linux_ppoll_args *);
1167 int	linux_unshare(struct thread *, struct linux_unshare_args *);
1168 
1169 #ifdef COMPAT_43
1170 
1171 #define	nosys	linux_nosys
1172 
1173 #endif /* COMPAT_43 */
1174 
1175 
1176 #ifdef COMPAT_FREEBSD4
1177 
1178 #define	nosys	linux_nosys
1179 
1180 #endif /* COMPAT_FREEBSD4 */
1181 
1182 
1183 #ifdef COMPAT_FREEBSD6
1184 
1185 #define	nosys	linux_nosys
1186 
1187 #endif /* COMPAT_FREEBSD6 */
1188 
1189 #define	LINUX_SYS_AUE_linux_fork	AUE_FORK
1190 #define	LINUX_SYS_AUE_linux_open	AUE_OPEN_RWTC
1191 #define	LINUX_SYS_AUE_linux_waitpid	AUE_WAIT4
1192 #define	LINUX_SYS_AUE_linux_creat	AUE_CREAT
1193 #define	LINUX_SYS_AUE_linux_link	AUE_LINK
1194 #define	LINUX_SYS_AUE_linux_unlink	AUE_UNLINK
1195 #define	LINUX_SYS_AUE_linux_execve	AUE_EXECVE
1196 #define	LINUX_SYS_AUE_linux_chdir	AUE_CHDIR
1197 #define	LINUX_SYS_AUE_linux_time	AUE_NULL
1198 #define	LINUX_SYS_AUE_linux_mknod	AUE_MKNOD
1199 #define	LINUX_SYS_AUE_linux_chmod	AUE_CHMOD
1200 #define	LINUX_SYS_AUE_linux_lchown16	AUE_LCHOWN
1201 #define	LINUX_SYS_AUE_linux_stat	AUE_STAT
1202 #define	LINUX_SYS_AUE_linux_lseek	AUE_LSEEK
1203 #define	LINUX_SYS_AUE_linux_getpid	AUE_GETPID
1204 #define	LINUX_SYS_AUE_linux_mount	AUE_MOUNT
1205 #define	LINUX_SYS_AUE_linux_oldumount	AUE_UMOUNT
1206 #define	LINUX_SYS_AUE_linux_setuid16	AUE_SETUID
1207 #define	LINUX_SYS_AUE_linux_getuid16	AUE_GETUID
1208 #define	LINUX_SYS_AUE_linux_stime	AUE_SETTIMEOFDAY
1209 #define	LINUX_SYS_AUE_linux_ptrace	AUE_PTRACE
1210 #define	LINUX_SYS_AUE_linux_alarm	AUE_NULL
1211 #define	LINUX_SYS_AUE_linux_pause	AUE_NULL
1212 #define	LINUX_SYS_AUE_linux_utime	AUE_UTIME
1213 #define	LINUX_SYS_AUE_linux_access	AUE_ACCESS
1214 #define	LINUX_SYS_AUE_linux_nice	AUE_NICE
1215 #define	LINUX_SYS_AUE_linux_kill	AUE_KILL
1216 #define	LINUX_SYS_AUE_linux_rename	AUE_RENAME
1217 #define	LINUX_SYS_AUE_linux_mkdir	AUE_MKDIR
1218 #define	LINUX_SYS_AUE_linux_rmdir	AUE_RMDIR
1219 #define	LINUX_SYS_AUE_linux_pipe	AUE_PIPE
1220 #define	LINUX_SYS_AUE_linux_times	AUE_NULL
1221 #define	LINUX_SYS_AUE_linux_brk	AUE_NULL
1222 #define	LINUX_SYS_AUE_linux_setgid16	AUE_SETGID
1223 #define	LINUX_SYS_AUE_linux_getgid16	AUE_GETGID
1224 #define	LINUX_SYS_AUE_linux_signal	AUE_NULL
1225 #define	LINUX_SYS_AUE_linux_geteuid16	AUE_GETEUID
1226 #define	LINUX_SYS_AUE_linux_getegid16	AUE_GETEGID
1227 #define	LINUX_SYS_AUE_linux_umount	AUE_UMOUNT
1228 #define	LINUX_SYS_AUE_linux_ioctl	AUE_IOCTL
1229 #define	LINUX_SYS_AUE_linux_fcntl	AUE_FCNTL
1230 #define	LINUX_SYS_AUE_linux_olduname	AUE_NULL
1231 #define	LINUX_SYS_AUE_linux_ustat	AUE_NULL
1232 #define	LINUX_SYS_AUE_linux_getppid	AUE_GETPPID
1233 #define	LINUX_SYS_AUE_linux_sigaction	AUE_NULL
1234 #define	LINUX_SYS_AUE_linux_sgetmask	AUE_NULL
1235 #define	LINUX_SYS_AUE_linux_ssetmask	AUE_NULL
1236 #define	LINUX_SYS_AUE_linux_setreuid16	AUE_SETREUID
1237 #define	LINUX_SYS_AUE_linux_setregid16	AUE_SETREGID
1238 #define	LINUX_SYS_AUE_linux_sigsuspend	AUE_NULL
1239 #define	LINUX_SYS_AUE_linux_sigpending	AUE_NULL
1240 #define	LINUX_SYS_AUE_linux_sethostname	AUE_SYSCTL
1241 #define	LINUX_SYS_AUE_linux_setrlimit	AUE_SETRLIMIT
1242 #define	LINUX_SYS_AUE_linux_old_getrlimit	AUE_GETRLIMIT
1243 #define	LINUX_SYS_AUE_linux_getrusage	AUE_GETRUSAGE
1244 #define	LINUX_SYS_AUE_linux_gettimeofday	AUE_NULL
1245 #define	LINUX_SYS_AUE_linux_settimeofday	AUE_SETTIMEOFDAY
1246 #define	LINUX_SYS_AUE_linux_getgroups16	AUE_GETGROUPS
1247 #define	LINUX_SYS_AUE_linux_setgroups16	AUE_SETGROUPS
1248 #define	LINUX_SYS_AUE_linux_old_select	AUE_SELECT
1249 #define	LINUX_SYS_AUE_linux_symlink	AUE_SYMLINK
1250 #define	LINUX_SYS_AUE_linux_lstat	AUE_LSTAT
1251 #define	LINUX_SYS_AUE_linux_readlink	AUE_READLINK
1252 #define	LINUX_SYS_AUE_linux_reboot	AUE_REBOOT
1253 #define	LINUX_SYS_AUE_linux_readdir	AUE_GETDIRENTRIES
1254 #define	LINUX_SYS_AUE_linux_mmap	AUE_MMAP
1255 #define	LINUX_SYS_AUE_linux_truncate	AUE_TRUNCATE
1256 #define	LINUX_SYS_AUE_linux_ftruncate	AUE_FTRUNCATE
1257 #define	LINUX_SYS_AUE_linux_getpriority	AUE_GETPRIORITY
1258 #define	LINUX_SYS_AUE_linux_statfs	AUE_STATFS
1259 #define	LINUX_SYS_AUE_linux_fstatfs	AUE_FSTATFS
1260 #define	LINUX_SYS_AUE_linux_socketcall	AUE_NULL
1261 #define	LINUX_SYS_AUE_linux_syslog	AUE_NULL
1262 #define	LINUX_SYS_AUE_linux_setitimer	AUE_SETITIMER
1263 #define	LINUX_SYS_AUE_linux_getitimer	AUE_GETITIMER
1264 #define	LINUX_SYS_AUE_linux_newstat	AUE_STAT
1265 #define	LINUX_SYS_AUE_linux_newlstat	AUE_LSTAT
1266 #define	LINUX_SYS_AUE_linux_newfstat	AUE_FSTAT
1267 #define	LINUX_SYS_AUE_linux_uname	AUE_NULL
1268 #define	LINUX_SYS_AUE_linux_iopl	AUE_NULL
1269 #define	LINUX_SYS_AUE_linux_vhangup	AUE_NULL
1270 #define	LINUX_SYS_AUE_linux_wait4	AUE_WAIT4
1271 #define	LINUX_SYS_AUE_linux_swapoff	AUE_SWAPOFF
1272 #define	LINUX_SYS_AUE_linux_sysinfo	AUE_NULL
1273 #define	LINUX_SYS_AUE_linux_ipc	AUE_NULL
1274 #define	LINUX_SYS_AUE_linux_sigreturn	AUE_SIGRETURN
1275 #define	LINUX_SYS_AUE_linux_clone	AUE_RFORK
1276 #define	LINUX_SYS_AUE_linux_newuname	AUE_NULL
1277 #define	LINUX_SYS_AUE_linux_adjtimex	AUE_ADJTIME
1278 #define	LINUX_SYS_AUE_linux_mprotect	AUE_MPROTECT
1279 #define	LINUX_SYS_AUE_linux_sigprocmask	AUE_SIGPROCMASK
1280 #define	LINUX_SYS_AUE_linux_create_module	AUE_NULL
1281 #define	LINUX_SYS_AUE_linux_init_module	AUE_NULL
1282 #define	LINUX_SYS_AUE_linux_delete_module	AUE_NULL
1283 #define	LINUX_SYS_AUE_linux_get_kernel_syms	AUE_NULL
1284 #define	LINUX_SYS_AUE_linux_quotactl	AUE_QUOTACTL
1285 #define	LINUX_SYS_AUE_linux_bdflush	AUE_BDFLUSH
1286 #define	LINUX_SYS_AUE_linux_sysfs	AUE_NULL
1287 #define	LINUX_SYS_AUE_linux_personality	AUE_PERSONALITY
1288 #define	LINUX_SYS_AUE_linux_setfsuid16	AUE_SETFSUID
1289 #define	LINUX_SYS_AUE_linux_setfsgid16	AUE_SETFSGID
1290 #define	LINUX_SYS_AUE_linux_llseek	AUE_LSEEK
1291 #define	LINUX_SYS_AUE_linux_getdents	AUE_GETDIRENTRIES
1292 #define	LINUX_SYS_AUE_linux_select	AUE_SELECT
1293 #define	LINUX_SYS_AUE_linux_msync	AUE_MSYNC
1294 #define	LINUX_SYS_AUE_linux_readv	AUE_READV
1295 #define	LINUX_SYS_AUE_linux_writev	AUE_WRITEV
1296 #define	LINUX_SYS_AUE_linux_getsid	AUE_GETSID
1297 #define	LINUX_SYS_AUE_linux_fdatasync	AUE_NULL
1298 #define	LINUX_SYS_AUE_linux_sysctl	AUE_SYSCTL
1299 #define	LINUX_SYS_AUE_linux_sched_setscheduler	AUE_SCHED_SETSCHEDULER
1300 #define	LINUX_SYS_AUE_linux_sched_getscheduler	AUE_SCHED_GETSCHEDULER
1301 #define	LINUX_SYS_AUE_linux_sched_get_priority_max	AUE_SCHED_GET_PRIORITY_MAX
1302 #define	LINUX_SYS_AUE_linux_sched_get_priority_min	AUE_SCHED_GET_PRIORITY_MIN
1303 #define	LINUX_SYS_AUE_linux_sched_rr_get_interval	AUE_SCHED_RR_GET_INTERVAL
1304 #define	LINUX_SYS_AUE_linux_nanosleep	AUE_NULL
1305 #define	LINUX_SYS_AUE_linux_mremap	AUE_NULL
1306 #define	LINUX_SYS_AUE_linux_setresuid16	AUE_SETRESUID
1307 #define	LINUX_SYS_AUE_linux_getresuid16	AUE_GETRESUID
1308 #define	LINUX_SYS_AUE_linux_query_module	AUE_NULL
1309 #define	LINUX_SYS_AUE_linux_nfsservctl	AUE_NULL
1310 #define	LINUX_SYS_AUE_linux_setresgid16	AUE_SETRESGID
1311 #define	LINUX_SYS_AUE_linux_getresgid16	AUE_GETRESGID
1312 #define	LINUX_SYS_AUE_linux_prctl	AUE_PRCTL
1313 #define	LINUX_SYS_AUE_linux_rt_sigreturn	AUE_NULL
1314 #define	LINUX_SYS_AUE_linux_rt_sigaction	AUE_NULL
1315 #define	LINUX_SYS_AUE_linux_rt_sigprocmask	AUE_NULL
1316 #define	LINUX_SYS_AUE_linux_rt_sigpending	AUE_NULL
1317 #define	LINUX_SYS_AUE_linux_rt_sigtimedwait	AUE_NULL
1318 #define	LINUX_SYS_AUE_linux_rt_sigqueueinfo	AUE_NULL
1319 #define	LINUX_SYS_AUE_linux_rt_sigsuspend	AUE_NULL
1320 #define	LINUX_SYS_AUE_linux_pread	AUE_PREAD
1321 #define	LINUX_SYS_AUE_linux_pwrite	AUE_PWRITE
1322 #define	LINUX_SYS_AUE_linux_chown16	AUE_CHOWN
1323 #define	LINUX_SYS_AUE_linux_getcwd	AUE_GETCWD
1324 #define	LINUX_SYS_AUE_linux_capget	AUE_CAPGET
1325 #define	LINUX_SYS_AUE_linux_capset	AUE_CAPSET
1326 #define	LINUX_SYS_AUE_linux_sigaltstack	AUE_NULL
1327 #define	LINUX_SYS_AUE_linux_sendfile	AUE_SENDFILE
1328 #define	LINUX_SYS_AUE_linux_vfork	AUE_VFORK
1329 #define	LINUX_SYS_AUE_linux_getrlimit	AUE_GETRLIMIT
1330 #define	LINUX_SYS_AUE_linux_mmap2	AUE_MMAP
1331 #define	LINUX_SYS_AUE_linux_truncate64	AUE_TRUNCATE
1332 #define	LINUX_SYS_AUE_linux_ftruncate64	AUE_FTRUNCATE
1333 #define	LINUX_SYS_AUE_linux_stat64	AUE_STAT
1334 #define	LINUX_SYS_AUE_linux_lstat64	AUE_LSTAT
1335 #define	LINUX_SYS_AUE_linux_fstat64	AUE_FSTAT
1336 #define	LINUX_SYS_AUE_linux_lchown	AUE_LCHOWN
1337 #define	LINUX_SYS_AUE_linux_getuid	AUE_GETUID
1338 #define	LINUX_SYS_AUE_linux_getgid	AUE_GETGID
1339 #define	LINUX_SYS_AUE_linux_getgroups	AUE_GETGROUPS
1340 #define	LINUX_SYS_AUE_linux_setgroups	AUE_SETGROUPS
1341 #define	LINUX_SYS_AUE_linux_chown	AUE_CHOWN
1342 #define	LINUX_SYS_AUE_linux_setfsuid	AUE_SETFSUID
1343 #define	LINUX_SYS_AUE_linux_setfsgid	AUE_SETFSGID
1344 #define	LINUX_SYS_AUE_linux_pivot_root	AUE_PIVOT_ROOT
1345 #define	LINUX_SYS_AUE_linux_mincore	AUE_MINCORE
1346 #define	LINUX_SYS_AUE_linux_getdents64	AUE_GETDIRENTRIES
1347 #define	LINUX_SYS_AUE_linux_fcntl64	AUE_FCNTL
1348 #define	LINUX_SYS_AUE_linux_gettid	AUE_NULL
1349 #define	LINUX_SYS_AUE_linux_setxattr	AUE_NULL
1350 #define	LINUX_SYS_AUE_linux_lsetxattr	AUE_NULL
1351 #define	LINUX_SYS_AUE_linux_fsetxattr	AUE_NULL
1352 #define	LINUX_SYS_AUE_linux_getxattr	AUE_NULL
1353 #define	LINUX_SYS_AUE_linux_lgetxattr	AUE_NULL
1354 #define	LINUX_SYS_AUE_linux_fgetxattr	AUE_NULL
1355 #define	LINUX_SYS_AUE_linux_listxattr	AUE_NULL
1356 #define	LINUX_SYS_AUE_linux_llistxattr	AUE_NULL
1357 #define	LINUX_SYS_AUE_linux_flistxattr	AUE_NULL
1358 #define	LINUX_SYS_AUE_linux_removexattr	AUE_NULL
1359 #define	LINUX_SYS_AUE_linux_lremovexattr	AUE_NULL
1360 #define	LINUX_SYS_AUE_linux_fremovexattr	AUE_NULL
1361 #define	LINUX_SYS_AUE_linux_tkill	AUE_NULL
1362 #define	LINUX_SYS_AUE_linux_sys_futex	AUE_NULL
1363 #define	LINUX_SYS_AUE_linux_sched_getaffinity	AUE_NULL
1364 #define	LINUX_SYS_AUE_linux_set_thread_area	AUE_NULL
1365 #define	LINUX_SYS_AUE_linux_fadvise64	AUE_NULL
1366 #define	LINUX_SYS_AUE_linux_exit_group	AUE_EXIT
1367 #define	LINUX_SYS_AUE_linux_lookup_dcookie	AUE_NULL
1368 #define	LINUX_SYS_AUE_linux_epoll_create	AUE_NULL
1369 #define	LINUX_SYS_AUE_linux_epoll_ctl	AUE_NULL
1370 #define	LINUX_SYS_AUE_linux_epoll_wait	AUE_NULL
1371 #define	LINUX_SYS_AUE_linux_remap_file_pages	AUE_NULL
1372 #define	LINUX_SYS_AUE_linux_set_tid_address	AUE_NULL
1373 #define	LINUX_SYS_AUE_linux_timer_create	AUE_NULL
1374 #define	LINUX_SYS_AUE_linux_timer_settime	AUE_NULL
1375 #define	LINUX_SYS_AUE_linux_timer_gettime	AUE_NULL
1376 #define	LINUX_SYS_AUE_linux_timer_getoverrun	AUE_NULL
1377 #define	LINUX_SYS_AUE_linux_timer_delete	AUE_NULL
1378 #define	LINUX_SYS_AUE_linux_clock_settime	AUE_CLOCK_SETTIME
1379 #define	LINUX_SYS_AUE_linux_clock_gettime	AUE_NULL
1380 #define	LINUX_SYS_AUE_linux_clock_getres	AUE_NULL
1381 #define	LINUX_SYS_AUE_linux_clock_nanosleep	AUE_NULL
1382 #define	LINUX_SYS_AUE_linux_statfs64	AUE_STATFS
1383 #define	LINUX_SYS_AUE_linux_fstatfs64	AUE_FSTATFS
1384 #define	LINUX_SYS_AUE_linux_tgkill	AUE_NULL
1385 #define	LINUX_SYS_AUE_linux_utimes	AUE_UTIMES
1386 #define	LINUX_SYS_AUE_linux_fadvise64_64	AUE_NULL
1387 #define	LINUX_SYS_AUE_linux_mbind	AUE_NULL
1388 #define	LINUX_SYS_AUE_linux_get_mempolicy	AUE_NULL
1389 #define	LINUX_SYS_AUE_linux_set_mempolicy	AUE_NULL
1390 #define	LINUX_SYS_AUE_linux_mq_open	AUE_NULL
1391 #define	LINUX_SYS_AUE_linux_mq_unlink	AUE_NULL
1392 #define	LINUX_SYS_AUE_linux_mq_timedsend	AUE_NULL
1393 #define	LINUX_SYS_AUE_linux_mq_timedreceive	AUE_NULL
1394 #define	LINUX_SYS_AUE_linux_mq_notify	AUE_NULL
1395 #define	LINUX_SYS_AUE_linux_mq_getsetattr	AUE_NULL
1396 #define	LINUX_SYS_AUE_linux_kexec_load	AUE_NULL
1397 #define	LINUX_SYS_AUE_linux_waitid	AUE_NULL
1398 #define	LINUX_SYS_AUE_linux_add_key	AUE_NULL
1399 #define	LINUX_SYS_AUE_linux_request_key	AUE_NULL
1400 #define	LINUX_SYS_AUE_linux_keyctl	AUE_NULL
1401 #define	LINUX_SYS_AUE_linux_ioprio_set	AUE_NULL
1402 #define	LINUX_SYS_AUE_linux_ioprio_get	AUE_NULL
1403 #define	LINUX_SYS_AUE_linux_inotify_init	AUE_NULL
1404 #define	LINUX_SYS_AUE_linux_inotify_add_watch	AUE_NULL
1405 #define	LINUX_SYS_AUE_linux_inotify_rm_watch	AUE_NULL
1406 #define	LINUX_SYS_AUE_linux_migrate_pages	AUE_NULL
1407 #define	LINUX_SYS_AUE_linux_openat	AUE_OPEN_RWTC
1408 #define	LINUX_SYS_AUE_linux_mkdirat	AUE_NULL
1409 #define	LINUX_SYS_AUE_linux_mknodat	AUE_NULL
1410 #define	LINUX_SYS_AUE_linux_fchownat	AUE_NULL
1411 #define	LINUX_SYS_AUE_linux_futimesat	AUE_NULL
1412 #define	LINUX_SYS_AUE_linux_fstatat64	AUE_NULL
1413 #define	LINUX_SYS_AUE_linux_unlinkat	AUE_NULL
1414 #define	LINUX_SYS_AUE_linux_renameat	AUE_NULL
1415 #define	LINUX_SYS_AUE_linux_linkat	AUE_NULL
1416 #define	LINUX_SYS_AUE_linux_symlinkat	AUE_NULL
1417 #define	LINUX_SYS_AUE_linux_readlinkat	AUE_NULL
1418 #define	LINUX_SYS_AUE_linux_fchmodat	AUE_NULL
1419 #define	LINUX_SYS_AUE_linux_faccessat	AUE_NULL
1420 #define	LINUX_SYS_AUE_linux_pselect6	AUE_NULL
1421 #define	LINUX_SYS_AUE_linux_ppoll	AUE_NULL
1422 #define	LINUX_SYS_AUE_linux_unshare	AUE_NULL
1423 
1424 #undef PAD_
1425 #undef PADL_
1426 #undef PADR_
1427 
1428 #endif /* !_LINUX_SYSPROTO_H_ */
1429