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