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