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