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