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