xref: /freebsd/sys/amd64/linux/linux_proto.h (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
1 /*
2  * System call prototypes.
3  *
4  * DO NOT EDIT-- this file is automatically generated.
5  * $FreeBSD$
6  * created from FreeBSD: head/sys/amd64/linux/syscalls.master 293907 2016-01-14 10:13:58Z glebius
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 
22 struct proc;
23 
24 struct 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
38 struct 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 };
43 struct 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 };
47 struct 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 };
51 struct 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 };
55 struct 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 };
60 struct 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 };
68 struct 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 };
73 struct linux_brk_args {
74 	char dsend_l_[PADL_(l_ulong)]; l_ulong dsend; char dsend_r_[PADR_(l_ulong)];
75 };
76 struct 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 };
82 struct 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 };
88 struct linux_rt_sigreturn_args {
89 	char ucp_l_[PADL_(struct l_ucontext *)]; struct l_ucontext * ucp; char ucp_r_[PADR_(struct l_ucontext *)];
90 };
91 struct 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 };
96 struct 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 };
102 struct 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 };
108 struct 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 };
112 struct linux_pipe_args {
113 	char pipefds_l_[PADL_(l_ulong *)]; l_ulong * pipefds; char pipefds_r_[PADR_(l_ulong *)];
114 };
115 struct 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 };
122 struct 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 };
129 struct 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 };
134 struct 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 };
139 struct 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 };
144 struct 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 };
149 struct 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 };
154 struct linux_pause_args {
155 	register_t dummy;
156 };
157 struct 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 };
161 struct 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 };
165 struct linux_alarm_args {
166 	char secs_l_[PADL_(l_uint)]; l_uint secs; char secs_r_[PADR_(l_uint)];
167 };
168 struct 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 };
173 struct linux_getpid_args {
174 	register_t dummy;
175 };
176 struct 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 };
182 struct 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 };
187 struct 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 };
192 struct 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 };
197 struct 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 };
205 struct 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 };
213 struct 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 };
218 struct 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 };
223 struct 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 };
227 struct 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 };
232 struct 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 };
236 struct 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 };
241 struct 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 };
246 struct 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 };
252 struct 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 };
259 struct 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 };
266 struct 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 };
273 struct linux_fork_args {
274 	register_t dummy;
275 };
276 struct linux_vfork_args {
277 	register_t dummy;
278 };
279 struct 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 };
284 struct linux_exit_args {
285 	char rval_l_[PADL_(int)]; int rval; char rval_r_[PADR_(int)];
286 };
287 struct 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 };
293 struct 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 };
297 struct 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 };
300 struct 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 };
305 struct 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 };
310 struct 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 };
316 struct linux_shmdt_args {
317 	char shmaddr_l_[PADL_(char *)]; char * shmaddr; char shmaddr_r_[PADR_(char *)];
318 };
319 struct 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 };
323 struct 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 };
329 struct 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 };
336 struct 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 };
341 struct 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 };
346 struct linux_fdatasync_args {
347 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
348 };
349 struct 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 };
353 struct 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 };
357 struct 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 };
362 struct 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 };
366 struct linux_chdir_args {
367 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
368 };
369 struct 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 };
373 struct 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 };
377 struct linux_rmdir_args {
378 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
379 };
380 struct 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 };
384 struct 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 };
388 struct linux_unlink_args {
389 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
390 };
391 struct 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 };
395 struct 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 };
400 struct 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 };
404 struct 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 };
409 struct 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 };
414 struct 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 };
418 struct linux_sysinfo_args {
419 	char info_l_[PADL_(struct l_sysinfo *)]; struct l_sysinfo * info; char info_r_[PADR_(struct l_sysinfo *)];
420 };
421 struct 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 };
424 struct 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 };
430 struct linux_getuid_args {
431 	register_t dummy;
432 };
433 struct 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 };
438 struct linux_getgid_args {
439 	register_t dummy;
440 };
441 struct linux_getppid_args {
442 	register_t dummy;
443 };
444 struct 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 };
448 struct 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 };
452 struct linux_setfsuid_args {
453 	char uid_l_[PADL_(l_uid_t)]; l_uid_t uid; char uid_r_[PADR_(l_uid_t)];
454 };
455 struct linux_setfsgid_args {
456 	char gid_l_[PADL_(l_gid_t)]; l_gid_t gid; char gid_r_[PADR_(l_gid_t)];
457 };
458 struct linux_getsid_args {
459 	char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
460 };
461 struct 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 };
465 struct 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 };
469 struct 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 };
473 struct 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 };
479 struct 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 };
484 struct 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 };
488 struct 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 };
492 struct 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 };
496 struct 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 };
501 struct linux_personality_args {
502 	char per_l_[PADL_(l_ulong)]; l_ulong per; char per_r_[PADR_(l_ulong)];
503 };
504 struct 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 };
508 struct 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 };
512 struct 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 };
516 struct 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 };
521 struct 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 };
525 struct 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 l_sched_param *)]; struct l_sched_param * param; char param_r_[PADR_(struct l_sched_param *)];
528 };
529 struct 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 l_sched_param *)]; struct l_sched_param * param; char param_r_[PADR_(struct l_sched_param *)];
532 };
533 struct 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 l_sched_param *)]; struct l_sched_param * param; char param_r_[PADR_(struct l_sched_param *)];
537 };
538 struct linux_sched_getscheduler_args {
539 	char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
540 };
541 struct linux_sched_get_priority_max_args {
542 	char policy_l_[PADL_(l_int)]; l_int policy; char policy_r_[PADR_(l_int)];
543 };
544 struct linux_sched_get_priority_min_args {
545 	char policy_l_[PADL_(l_int)]; l_int policy; char policy_r_[PADR_(l_int)];
546 };
547 struct 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 };
551 struct linux_vhangup_args {
552 	register_t dummy;
553 };
554 struct linux_pivot_root_args {
555 	register_t dummy;
556 };
557 struct 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 };
560 struct 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 };
567 struct 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 };
571 struct linux_adjtimex_args {
572 	register_t dummy;
573 };
574 struct 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 };
578 struct 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 };
585 struct 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 };
589 struct linux_swapoff_args {
590 	register_t dummy;
591 };
592 struct 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 };
598 struct 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 };
602 struct 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 };
606 struct linux_iopl_args {
607 	char level_l_[PADL_(l_uint)]; l_uint level; char level_r_[PADR_(l_uint)];
608 };
609 struct linux_create_module_args {
610 	register_t dummy;
611 };
612 struct linux_init_module_args {
613 	register_t dummy;
614 };
615 struct linux_delete_module_args {
616 	register_t dummy;
617 };
618 struct linux_get_kernel_syms_args {
619 	register_t dummy;
620 };
621 struct linux_query_module_args {
622 	register_t dummy;
623 };
624 struct linux_quotactl_args {
625 	register_t dummy;
626 };
627 struct linux_nfsservctl_args {
628 	register_t dummy;
629 };
630 struct linux_getpmsg_args {
631 	register_t dummy;
632 };
633 struct linux_putpmsg_args {
634 	register_t dummy;
635 };
636 struct linux_afs_syscall_args {
637 	register_t dummy;
638 };
639 struct linux_tuxcall_args {
640 	register_t dummy;
641 };
642 struct linux_security_args {
643 	register_t dummy;
644 };
645 struct linux_gettid_args {
646 	register_t dummy;
647 };
648 struct linux_setxattr_args {
649 	register_t dummy;
650 };
651 struct linux_lsetxattr_args {
652 	register_t dummy;
653 };
654 struct linux_fsetxattr_args {
655 	register_t dummy;
656 };
657 struct linux_getxattr_args {
658 	register_t dummy;
659 };
660 struct linux_lgetxattr_args {
661 	register_t dummy;
662 };
663 struct linux_fgetxattr_args {
664 	register_t dummy;
665 };
666 struct linux_listxattr_args {
667 	register_t dummy;
668 };
669 struct linux_llistxattr_args {
670 	register_t dummy;
671 };
672 struct linux_flistxattr_args {
673 	register_t dummy;
674 };
675 struct linux_removexattr_args {
676 	register_t dummy;
677 };
678 struct linux_lremovexattr_args {
679 	register_t dummy;
680 };
681 struct linux_fremovexattr_args {
682 	register_t dummy;
683 };
684 struct 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 };
688 struct linux_time_args {
689 	char tm_l_[PADL_(l_time_t *)]; l_time_t * tm; char tm_r_[PADR_(l_time_t *)];
690 };
691 struct 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 };
699 struct 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 };
704 struct 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 };
709 struct linux_set_thread_area_args {
710 	register_t dummy;
711 };
712 struct linux_lookup_dcookie_args {
713 	register_t dummy;
714 };
715 struct linux_epoll_create_args {
716 	char size_l_[PADL_(l_int)]; l_int size; char size_r_[PADR_(l_int)];
717 };
718 struct linux_epoll_ctl_old_args {
719 	register_t dummy;
720 };
721 struct linux_epoll_wait_old_args {
722 	register_t dummy;
723 };
724 struct linux_remap_file_pages_args {
725 	register_t dummy;
726 };
727 struct 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 };
732 struct linux_set_tid_address_args {
733 	char tidptr_l_[PADL_(int *)]; int * tidptr; char tidptr_r_[PADR_(int *)];
734 };
735 struct linux_semtimedop_args {
736 	register_t dummy;
737 };
738 struct 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 };
744 struct 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 };
749 struct 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 };
755 struct 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 };
759 struct linux_timer_getoverrun_args {
760 	char timerid_l_[PADL_(l_timer_t)]; l_timer_t timerid; char timerid_r_[PADR_(l_timer_t)];
761 };
762 struct linux_timer_delete_args {
763 	char timerid_l_[PADL_(l_timer_t)]; l_timer_t timerid; char timerid_r_[PADR_(l_timer_t)];
764 };
765 struct 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 };
769 struct 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 };
773 struct 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 };
777 struct 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 };
783 struct linux_exit_group_args {
784 	char error_code_l_[PADL_(int)]; int error_code; char error_code_r_[PADR_(int)];
785 };
786 struct 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 };
792 struct 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 };
798 struct 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 };
803 struct 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 };
807 struct linux_mbind_args {
808 	register_t dummy;
809 };
810 struct linux_set_mempolicy_args {
811 	register_t dummy;
812 };
813 struct linux_get_mempolicy_args {
814 	register_t dummy;
815 };
816 struct linux_mq_open_args {
817 	register_t dummy;
818 };
819 struct linux_mq_unlink_args {
820 	register_t dummy;
821 };
822 struct linux_mq_timedsend_args {
823 	register_t dummy;
824 };
825 struct linux_mq_timedreceive_args {
826 	register_t dummy;
827 };
828 struct linux_mq_notify_args {
829 	register_t dummy;
830 };
831 struct linux_mq_getsetattr_args {
832 	register_t dummy;
833 };
834 struct linux_kexec_load_args {
835 	register_t dummy;
836 };
837 struct 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 };
844 struct linux_add_key_args {
845 	register_t dummy;
846 };
847 struct linux_request_key_args {
848 	register_t dummy;
849 };
850 struct linux_keyctl_args {
851 	register_t dummy;
852 };
853 struct linux_ioprio_set_args {
854 	register_t dummy;
855 };
856 struct linux_ioprio_get_args {
857 	register_t dummy;
858 };
859 struct linux_inotify_init_args {
860 	register_t dummy;
861 };
862 struct linux_inotify_add_watch_args {
863 	register_t dummy;
864 };
865 struct linux_inotify_rm_watch_args {
866 	register_t dummy;
867 };
868 struct linux_migrate_pages_args {
869 	register_t dummy;
870 };
871 struct 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 };
877 struct 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 };
882 struct 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 };
888 struct 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 };
895 struct 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 };
900 struct 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 };
906 struct 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 };
911 struct 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 };
917 struct 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 };
924 struct 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 };
929 struct 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 };
935 struct 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 };
940 struct 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 };
945 struct 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 };
953 struct 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 };
960 struct linux_unshare_args {
961 	register_t dummy;
962 };
963 struct 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 };
967 struct 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 };
972 struct linux_splice_args {
973 	register_t dummy;
974 };
975 struct linux_tee_args {
976 	register_t dummy;
977 };
978 struct linux_sync_file_range_args {
979 	register_t dummy;
980 };
981 struct linux_vmsplice_args {
982 	register_t dummy;
983 };
984 struct linux_move_pages_args {
985 	register_t dummy;
986 };
987 struct 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 };
993 struct 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 };
1000 struct linux_signalfd_args {
1001 	register_t dummy;
1002 };
1003 struct linux_timerfd_args {
1004 	register_t dummy;
1005 };
1006 struct linux_eventfd_args {
1007 	char initval_l_[PADL_(l_uint)]; l_uint initval; char initval_r_[PADR_(l_uint)];
1008 };
1009 struct 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 };
1015 struct linux_timerfd_settime_args {
1016 	register_t dummy;
1017 };
1018 struct linux_timerfd_gettime_args {
1019 	register_t dummy;
1020 };
1021 struct 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 };
1027 struct linux_signalfd4_args {
1028 	register_t dummy;
1029 };
1030 struct 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 };
1034 struct linux_epoll_create1_args {
1035 	char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
1036 };
1037 struct 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 };
1042 struct 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 };
1046 struct linux_inotify_init1_args {
1047 	register_t dummy;
1048 };
1049 struct linux_preadv_args {
1050 	register_t dummy;
1051 };
1052 struct linux_pwritev_args {
1053 	register_t dummy;
1054 };
1055 struct linux_rt_tsigqueueinfo_args {
1056 	register_t dummy;
1057 };
1058 struct linux_perf_event_open_args {
1059 	register_t dummy;
1060 };
1061 struct 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 };
1068 struct linux_fanotify_init_args {
1069 	register_t dummy;
1070 };
1071 struct linux_fanotify_mark_args {
1072 	register_t dummy;
1073 };
1074 struct 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 };
1080 struct linux_name_to_handle_at_args {
1081 	register_t dummy;
1082 };
1083 struct linux_open_by_handle_at_args {
1084 	register_t dummy;
1085 };
1086 struct linux_clock_adjtime_args {
1087 	register_t dummy;
1088 };
1089 struct linux_syncfs_args {
1090 	char fd_l_[PADL_(l_int)]; l_int fd; char fd_r_[PADR_(l_int)];
1091 };
1092 struct 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 };
1098 struct linux_setns_args {
1099 	register_t dummy;
1100 };
1101 struct linux_process_vm_readv_args {
1102 	register_t dummy;
1103 };
1104 struct linux_process_vm_writev_args {
1105 	register_t dummy;
1106 };
1107 struct linux_kcmp_args {
1108 	register_t dummy;
1109 };
1110 struct linux_finit_module_args {
1111 	register_t dummy;
1112 };
1113 #define	nosys	linux_nosys
1114 int	linux_open(struct thread *, struct linux_open_args *);
1115 int	linux_newstat(struct thread *, struct linux_newstat_args *);
1116 int	linux_newfstat(struct thread *, struct linux_newfstat_args *);
1117 int	linux_newlstat(struct thread *, struct linux_newlstat_args *);
1118 int	linux_lseek(struct thread *, struct linux_lseek_args *);
1119 int	linux_mmap2(struct thread *, struct linux_mmap2_args *);
1120 int	linux_mprotect(struct thread *, struct linux_mprotect_args *);
1121 int	linux_brk(struct thread *, struct linux_brk_args *);
1122 int	linux_rt_sigaction(struct thread *, struct linux_rt_sigaction_args *);
1123 int	linux_rt_sigprocmask(struct thread *, struct linux_rt_sigprocmask_args *);
1124 int	linux_rt_sigreturn(struct thread *, struct linux_rt_sigreturn_args *);
1125 int	linux_ioctl(struct thread *, struct linux_ioctl_args *);
1126 int	linux_pread(struct thread *, struct linux_pread_args *);
1127 int	linux_pwrite(struct thread *, struct linux_pwrite_args *);
1128 int	linux_access(struct thread *, struct linux_access_args *);
1129 int	linux_pipe(struct thread *, struct linux_pipe_args *);
1130 int	linux_select(struct thread *, struct linux_select_args *);
1131 int	linux_mremap(struct thread *, struct linux_mremap_args *);
1132 int	linux_msync(struct thread *, struct linux_msync_args *);
1133 int	linux_mincore(struct thread *, struct linux_mincore_args *);
1134 int	linux_shmget(struct thread *, struct linux_shmget_args *);
1135 int	linux_shmat(struct thread *, struct linux_shmat_args *);
1136 int	linux_shmctl(struct thread *, struct linux_shmctl_args *);
1137 int	linux_pause(struct thread *, struct linux_pause_args *);
1138 int	linux_nanosleep(struct thread *, struct linux_nanosleep_args *);
1139 int	linux_getitimer(struct thread *, struct linux_getitimer_args *);
1140 int	linux_alarm(struct thread *, struct linux_alarm_args *);
1141 int	linux_setitimer(struct thread *, struct linux_setitimer_args *);
1142 int	linux_getpid(struct thread *, struct linux_getpid_args *);
1143 int	linux_sendfile(struct thread *, struct linux_sendfile_args *);
1144 int	linux_socket(struct thread *, struct linux_socket_args *);
1145 int	linux_connect(struct thread *, struct linux_connect_args *);
1146 int	linux_accept(struct thread *, struct linux_accept_args *);
1147 int	linux_sendto(struct thread *, struct linux_sendto_args *);
1148 int	linux_recvfrom(struct thread *, struct linux_recvfrom_args *);
1149 int	linux_sendmsg(struct thread *, struct linux_sendmsg_args *);
1150 int	linux_recvmsg(struct thread *, struct linux_recvmsg_args *);
1151 int	linux_shutdown(struct thread *, struct linux_shutdown_args *);
1152 int	linux_bind(struct thread *, struct linux_bind_args *);
1153 int	linux_listen(struct thread *, struct linux_listen_args *);
1154 int	linux_getsockname(struct thread *, struct linux_getsockname_args *);
1155 int	linux_getpeername(struct thread *, struct linux_getpeername_args *);
1156 int	linux_socketpair(struct thread *, struct linux_socketpair_args *);
1157 int	linux_setsockopt(struct thread *, struct linux_setsockopt_args *);
1158 int	linux_getsockopt(struct thread *, struct linux_getsockopt_args *);
1159 int	linux_clone(struct thread *, struct linux_clone_args *);
1160 int	linux_fork(struct thread *, struct linux_fork_args *);
1161 int	linux_vfork(struct thread *, struct linux_vfork_args *);
1162 int	linux_execve(struct thread *, struct linux_execve_args *);
1163 int	linux_exit(struct thread *, struct linux_exit_args *);
1164 int	linux_wait4(struct thread *, struct linux_wait4_args *);
1165 int	linux_kill(struct thread *, struct linux_kill_args *);
1166 int	linux_newuname(struct thread *, struct linux_newuname_args *);
1167 int	linux_semget(struct thread *, struct linux_semget_args *);
1168 int	linux_semop(struct thread *, struct linux_semop_args *);
1169 int	linux_semctl(struct thread *, struct linux_semctl_args *);
1170 int	linux_shmdt(struct thread *, struct linux_shmdt_args *);
1171 int	linux_msgget(struct thread *, struct linux_msgget_args *);
1172 int	linux_msgsnd(struct thread *, struct linux_msgsnd_args *);
1173 int	linux_msgrcv(struct thread *, struct linux_msgrcv_args *);
1174 int	linux_msgctl(struct thread *, struct linux_msgctl_args *);
1175 int	linux_fcntl(struct thread *, struct linux_fcntl_args *);
1176 int	linux_fdatasync(struct thread *, struct linux_fdatasync_args *);
1177 int	linux_truncate(struct thread *, struct linux_truncate_args *);
1178 int	linux_ftruncate(struct thread *, struct linux_ftruncate_args *);
1179 int	linux_getdents(struct thread *, struct linux_getdents_args *);
1180 int	linux_getcwd(struct thread *, struct linux_getcwd_args *);
1181 int	linux_chdir(struct thread *, struct linux_chdir_args *);
1182 int	linux_rename(struct thread *, struct linux_rename_args *);
1183 int	linux_mkdir(struct thread *, struct linux_mkdir_args *);
1184 int	linux_rmdir(struct thread *, struct linux_rmdir_args *);
1185 int	linux_creat(struct thread *, struct linux_creat_args *);
1186 int	linux_link(struct thread *, struct linux_link_args *);
1187 int	linux_unlink(struct thread *, struct linux_unlink_args *);
1188 int	linux_symlink(struct thread *, struct linux_symlink_args *);
1189 int	linux_readlink(struct thread *, struct linux_readlink_args *);
1190 int	linux_chmod(struct thread *, struct linux_chmod_args *);
1191 int	linux_chown(struct thread *, struct linux_chown_args *);
1192 int	linux_lchown(struct thread *, struct linux_lchown_args *);
1193 int	linux_getrlimit(struct thread *, struct linux_getrlimit_args *);
1194 int	linux_sysinfo(struct thread *, struct linux_sysinfo_args *);
1195 int	linux_times(struct thread *, struct linux_times_args *);
1196 int	linux_ptrace(struct thread *, struct linux_ptrace_args *);
1197 int	linux_getuid(struct thread *, struct linux_getuid_args *);
1198 int	linux_syslog(struct thread *, struct linux_syslog_args *);
1199 int	linux_getgid(struct thread *, struct linux_getgid_args *);
1200 int	linux_getppid(struct thread *, struct linux_getppid_args *);
1201 int	linux_getgroups(struct thread *, struct linux_getgroups_args *);
1202 int	linux_setgroups(struct thread *, struct linux_setgroups_args *);
1203 int	linux_setfsuid(struct thread *, struct linux_setfsuid_args *);
1204 int	linux_setfsgid(struct thread *, struct linux_setfsgid_args *);
1205 int	linux_getsid(struct thread *, struct linux_getsid_args *);
1206 int	linux_capget(struct thread *, struct linux_capget_args *);
1207 int	linux_capset(struct thread *, struct linux_capset_args *);
1208 int	linux_rt_sigpending(struct thread *, struct linux_rt_sigpending_args *);
1209 int	linux_rt_sigtimedwait(struct thread *, struct linux_rt_sigtimedwait_args *);
1210 int	linux_rt_sigqueueinfo(struct thread *, struct linux_rt_sigqueueinfo_args *);
1211 int	linux_rt_sigsuspend(struct thread *, struct linux_rt_sigsuspend_args *);
1212 int	linux_sigaltstack(struct thread *, struct linux_sigaltstack_args *);
1213 int	linux_utime(struct thread *, struct linux_utime_args *);
1214 int	linux_mknod(struct thread *, struct linux_mknod_args *);
1215 int	linux_personality(struct thread *, struct linux_personality_args *);
1216 int	linux_ustat(struct thread *, struct linux_ustat_args *);
1217 int	linux_statfs(struct thread *, struct linux_statfs_args *);
1218 int	linux_fstatfs(struct thread *, struct linux_fstatfs_args *);
1219 int	linux_sysfs(struct thread *, struct linux_sysfs_args *);
1220 int	linux_getpriority(struct thread *, struct linux_getpriority_args *);
1221 int	linux_sched_setparam(struct thread *, struct linux_sched_setparam_args *);
1222 int	linux_sched_getparam(struct thread *, struct linux_sched_getparam_args *);
1223 int	linux_sched_setscheduler(struct thread *, struct linux_sched_setscheduler_args *);
1224 int	linux_sched_getscheduler(struct thread *, struct linux_sched_getscheduler_args *);
1225 int	linux_sched_get_priority_max(struct thread *, struct linux_sched_get_priority_max_args *);
1226 int	linux_sched_get_priority_min(struct thread *, struct linux_sched_get_priority_min_args *);
1227 int	linux_sched_rr_get_interval(struct thread *, struct linux_sched_rr_get_interval_args *);
1228 int	linux_vhangup(struct thread *, struct linux_vhangup_args *);
1229 int	linux_pivot_root(struct thread *, struct linux_pivot_root_args *);
1230 int	linux_sysctl(struct thread *, struct linux_sysctl_args *);
1231 int	linux_prctl(struct thread *, struct linux_prctl_args *);
1232 int	linux_arch_prctl(struct thread *, struct linux_arch_prctl_args *);
1233 int	linux_adjtimex(struct thread *, struct linux_adjtimex_args *);
1234 int	linux_setrlimit(struct thread *, struct linux_setrlimit_args *);
1235 int	linux_mount(struct thread *, struct linux_mount_args *);
1236 int	linux_umount(struct thread *, struct linux_umount_args *);
1237 int	linux_swapoff(struct thread *, struct linux_swapoff_args *);
1238 int	linux_reboot(struct thread *, struct linux_reboot_args *);
1239 int	linux_sethostname(struct thread *, struct linux_sethostname_args *);
1240 int	linux_setdomainname(struct thread *, struct linux_setdomainname_args *);
1241 int	linux_iopl(struct thread *, struct linux_iopl_args *);
1242 int	linux_create_module(struct thread *, struct linux_create_module_args *);
1243 int	linux_init_module(struct thread *, struct linux_init_module_args *);
1244 int	linux_delete_module(struct thread *, struct linux_delete_module_args *);
1245 int	linux_get_kernel_syms(struct thread *, struct linux_get_kernel_syms_args *);
1246 int	linux_query_module(struct thread *, struct linux_query_module_args *);
1247 int	linux_quotactl(struct thread *, struct linux_quotactl_args *);
1248 int	linux_nfsservctl(struct thread *, struct linux_nfsservctl_args *);
1249 int	linux_getpmsg(struct thread *, struct linux_getpmsg_args *);
1250 int	linux_putpmsg(struct thread *, struct linux_putpmsg_args *);
1251 int	linux_afs_syscall(struct thread *, struct linux_afs_syscall_args *);
1252 int	linux_tuxcall(struct thread *, struct linux_tuxcall_args *);
1253 int	linux_security(struct thread *, struct linux_security_args *);
1254 int	linux_gettid(struct thread *, struct linux_gettid_args *);
1255 int	linux_setxattr(struct thread *, struct linux_setxattr_args *);
1256 int	linux_lsetxattr(struct thread *, struct linux_lsetxattr_args *);
1257 int	linux_fsetxattr(struct thread *, struct linux_fsetxattr_args *);
1258 int	linux_getxattr(struct thread *, struct linux_getxattr_args *);
1259 int	linux_lgetxattr(struct thread *, struct linux_lgetxattr_args *);
1260 int	linux_fgetxattr(struct thread *, struct linux_fgetxattr_args *);
1261 int	linux_listxattr(struct thread *, struct linux_listxattr_args *);
1262 int	linux_llistxattr(struct thread *, struct linux_llistxattr_args *);
1263 int	linux_flistxattr(struct thread *, struct linux_flistxattr_args *);
1264 int	linux_removexattr(struct thread *, struct linux_removexattr_args *);
1265 int	linux_lremovexattr(struct thread *, struct linux_lremovexattr_args *);
1266 int	linux_fremovexattr(struct thread *, struct linux_fremovexattr_args *);
1267 int	linux_tkill(struct thread *, struct linux_tkill_args *);
1268 int	linux_time(struct thread *, struct linux_time_args *);
1269 int	linux_sys_futex(struct thread *, struct linux_sys_futex_args *);
1270 int	linux_sched_setaffinity(struct thread *, struct linux_sched_setaffinity_args *);
1271 int	linux_sched_getaffinity(struct thread *, struct linux_sched_getaffinity_args *);
1272 int	linux_set_thread_area(struct thread *, struct linux_set_thread_area_args *);
1273 int	linux_lookup_dcookie(struct thread *, struct linux_lookup_dcookie_args *);
1274 int	linux_epoll_create(struct thread *, struct linux_epoll_create_args *);
1275 int	linux_epoll_ctl_old(struct thread *, struct linux_epoll_ctl_old_args *);
1276 int	linux_epoll_wait_old(struct thread *, struct linux_epoll_wait_old_args *);
1277 int	linux_remap_file_pages(struct thread *, struct linux_remap_file_pages_args *);
1278 int	linux_getdents64(struct thread *, struct linux_getdents64_args *);
1279 int	linux_set_tid_address(struct thread *, struct linux_set_tid_address_args *);
1280 int	linux_semtimedop(struct thread *, struct linux_semtimedop_args *);
1281 int	linux_fadvise64(struct thread *, struct linux_fadvise64_args *);
1282 int	linux_timer_create(struct thread *, struct linux_timer_create_args *);
1283 int	linux_timer_settime(struct thread *, struct linux_timer_settime_args *);
1284 int	linux_timer_gettime(struct thread *, struct linux_timer_gettime_args *);
1285 int	linux_timer_getoverrun(struct thread *, struct linux_timer_getoverrun_args *);
1286 int	linux_timer_delete(struct thread *, struct linux_timer_delete_args *);
1287 int	linux_clock_settime(struct thread *, struct linux_clock_settime_args *);
1288 int	linux_clock_gettime(struct thread *, struct linux_clock_gettime_args *);
1289 int	linux_clock_getres(struct thread *, struct linux_clock_getres_args *);
1290 int	linux_clock_nanosleep(struct thread *, struct linux_clock_nanosleep_args *);
1291 int	linux_exit_group(struct thread *, struct linux_exit_group_args *);
1292 int	linux_epoll_wait(struct thread *, struct linux_epoll_wait_args *);
1293 int	linux_epoll_ctl(struct thread *, struct linux_epoll_ctl_args *);
1294 int	linux_tgkill(struct thread *, struct linux_tgkill_args *);
1295 int	linux_utimes(struct thread *, struct linux_utimes_args *);
1296 int	linux_mbind(struct thread *, struct linux_mbind_args *);
1297 int	linux_set_mempolicy(struct thread *, struct linux_set_mempolicy_args *);
1298 int	linux_get_mempolicy(struct thread *, struct linux_get_mempolicy_args *);
1299 int	linux_mq_open(struct thread *, struct linux_mq_open_args *);
1300 int	linux_mq_unlink(struct thread *, struct linux_mq_unlink_args *);
1301 int	linux_mq_timedsend(struct thread *, struct linux_mq_timedsend_args *);
1302 int	linux_mq_timedreceive(struct thread *, struct linux_mq_timedreceive_args *);
1303 int	linux_mq_notify(struct thread *, struct linux_mq_notify_args *);
1304 int	linux_mq_getsetattr(struct thread *, struct linux_mq_getsetattr_args *);
1305 int	linux_kexec_load(struct thread *, struct linux_kexec_load_args *);
1306 int	linux_waitid(struct thread *, struct linux_waitid_args *);
1307 int	linux_add_key(struct thread *, struct linux_add_key_args *);
1308 int	linux_request_key(struct thread *, struct linux_request_key_args *);
1309 int	linux_keyctl(struct thread *, struct linux_keyctl_args *);
1310 int	linux_ioprio_set(struct thread *, struct linux_ioprio_set_args *);
1311 int	linux_ioprio_get(struct thread *, struct linux_ioprio_get_args *);
1312 int	linux_inotify_init(struct thread *, struct linux_inotify_init_args *);
1313 int	linux_inotify_add_watch(struct thread *, struct linux_inotify_add_watch_args *);
1314 int	linux_inotify_rm_watch(struct thread *, struct linux_inotify_rm_watch_args *);
1315 int	linux_migrate_pages(struct thread *, struct linux_migrate_pages_args *);
1316 int	linux_openat(struct thread *, struct linux_openat_args *);
1317 int	linux_mkdirat(struct thread *, struct linux_mkdirat_args *);
1318 int	linux_mknodat(struct thread *, struct linux_mknodat_args *);
1319 int	linux_fchownat(struct thread *, struct linux_fchownat_args *);
1320 int	linux_futimesat(struct thread *, struct linux_futimesat_args *);
1321 int	linux_newfstatat(struct thread *, struct linux_newfstatat_args *);
1322 int	linux_unlinkat(struct thread *, struct linux_unlinkat_args *);
1323 int	linux_renameat(struct thread *, struct linux_renameat_args *);
1324 int	linux_linkat(struct thread *, struct linux_linkat_args *);
1325 int	linux_symlinkat(struct thread *, struct linux_symlinkat_args *);
1326 int	linux_readlinkat(struct thread *, struct linux_readlinkat_args *);
1327 int	linux_fchmodat(struct thread *, struct linux_fchmodat_args *);
1328 int	linux_faccessat(struct thread *, struct linux_faccessat_args *);
1329 int	linux_pselect6(struct thread *, struct linux_pselect6_args *);
1330 int	linux_ppoll(struct thread *, struct linux_ppoll_args *);
1331 int	linux_unshare(struct thread *, struct linux_unshare_args *);
1332 int	linux_set_robust_list(struct thread *, struct linux_set_robust_list_args *);
1333 int	linux_get_robust_list(struct thread *, struct linux_get_robust_list_args *);
1334 int	linux_splice(struct thread *, struct linux_splice_args *);
1335 int	linux_tee(struct thread *, struct linux_tee_args *);
1336 int	linux_sync_file_range(struct thread *, struct linux_sync_file_range_args *);
1337 int	linux_vmsplice(struct thread *, struct linux_vmsplice_args *);
1338 int	linux_move_pages(struct thread *, struct linux_move_pages_args *);
1339 int	linux_utimensat(struct thread *, struct linux_utimensat_args *);
1340 int	linux_epoll_pwait(struct thread *, struct linux_epoll_pwait_args *);
1341 int	linux_signalfd(struct thread *, struct linux_signalfd_args *);
1342 int	linux_timerfd(struct thread *, struct linux_timerfd_args *);
1343 int	linux_eventfd(struct thread *, struct linux_eventfd_args *);
1344 int	linux_fallocate(struct thread *, struct linux_fallocate_args *);
1345 int	linux_timerfd_settime(struct thread *, struct linux_timerfd_settime_args *);
1346 int	linux_timerfd_gettime(struct thread *, struct linux_timerfd_gettime_args *);
1347 int	linux_accept4(struct thread *, struct linux_accept4_args *);
1348 int	linux_signalfd4(struct thread *, struct linux_signalfd4_args *);
1349 int	linux_eventfd2(struct thread *, struct linux_eventfd2_args *);
1350 int	linux_epoll_create1(struct thread *, struct linux_epoll_create1_args *);
1351 int	linux_dup3(struct thread *, struct linux_dup3_args *);
1352 int	linux_pipe2(struct thread *, struct linux_pipe2_args *);
1353 int	linux_inotify_init1(struct thread *, struct linux_inotify_init1_args *);
1354 int	linux_preadv(struct thread *, struct linux_preadv_args *);
1355 int	linux_pwritev(struct thread *, struct linux_pwritev_args *);
1356 int	linux_rt_tsigqueueinfo(struct thread *, struct linux_rt_tsigqueueinfo_args *);
1357 int	linux_perf_event_open(struct thread *, struct linux_perf_event_open_args *);
1358 int	linux_recvmmsg(struct thread *, struct linux_recvmmsg_args *);
1359 int	linux_fanotify_init(struct thread *, struct linux_fanotify_init_args *);
1360 int	linux_fanotify_mark(struct thread *, struct linux_fanotify_mark_args *);
1361 int	linux_prlimit64(struct thread *, struct linux_prlimit64_args *);
1362 int	linux_name_to_handle_at(struct thread *, struct linux_name_to_handle_at_args *);
1363 int	linux_open_by_handle_at(struct thread *, struct linux_open_by_handle_at_args *);
1364 int	linux_clock_adjtime(struct thread *, struct linux_clock_adjtime_args *);
1365 int	linux_syncfs(struct thread *, struct linux_syncfs_args *);
1366 int	linux_sendmmsg(struct thread *, struct linux_sendmmsg_args *);
1367 int	linux_setns(struct thread *, struct linux_setns_args *);
1368 int	linux_process_vm_readv(struct thread *, struct linux_process_vm_readv_args *);
1369 int	linux_process_vm_writev(struct thread *, struct linux_process_vm_writev_args *);
1370 int	linux_kcmp(struct thread *, struct linux_kcmp_args *);
1371 int	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 #define	LINUX_SYS_AUE_linux_open	AUE_OPEN_RWTC
1401 #define	LINUX_SYS_AUE_linux_newstat	AUE_STAT
1402 #define	LINUX_SYS_AUE_linux_newfstat	AUE_FSTAT
1403 #define	LINUX_SYS_AUE_linux_newlstat	AUE_LSTAT
1404 #define	LINUX_SYS_AUE_linux_lseek	AUE_LSEEK
1405 #define	LINUX_SYS_AUE_linux_mmap2	AUE_MMAP
1406 #define	LINUX_SYS_AUE_linux_mprotect	AUE_MPROTECT
1407 #define	LINUX_SYS_AUE_linux_brk	AUE_NULL
1408 #define	LINUX_SYS_AUE_linux_rt_sigaction	AUE_NULL
1409 #define	LINUX_SYS_AUE_linux_rt_sigprocmask	AUE_NULL
1410 #define	LINUX_SYS_AUE_linux_rt_sigreturn	AUE_NULL
1411 #define	LINUX_SYS_AUE_linux_ioctl	AUE_IOCTL
1412 #define	LINUX_SYS_AUE_linux_pread	AUE_PREAD
1413 #define	LINUX_SYS_AUE_linux_pwrite	AUE_PWRITE
1414 #define	LINUX_SYS_AUE_linux_access	AUE_ACCESS
1415 #define	LINUX_SYS_AUE_linux_pipe	AUE_PIPE
1416 #define	LINUX_SYS_AUE_linux_select	AUE_SELECT
1417 #define	LINUX_SYS_AUE_linux_mremap	AUE_NULL
1418 #define	LINUX_SYS_AUE_linux_msync	AUE_MSYNC
1419 #define	LINUX_SYS_AUE_linux_mincore	AUE_MINCORE
1420 #define	LINUX_SYS_AUE_linux_shmget	AUE_NULL
1421 #define	LINUX_SYS_AUE_linux_shmat	AUE_NULL
1422 #define	LINUX_SYS_AUE_linux_shmctl	AUE_NULL
1423 #define	LINUX_SYS_AUE_linux_pause	AUE_NULL
1424 #define	LINUX_SYS_AUE_linux_nanosleep	AUE_NULL
1425 #define	LINUX_SYS_AUE_linux_getitimer	AUE_GETITIMER
1426 #define	LINUX_SYS_AUE_linux_alarm	AUE_NULL
1427 #define	LINUX_SYS_AUE_linux_setitimer	AUE_SETITIMER
1428 #define	LINUX_SYS_AUE_linux_getpid	AUE_GETPID
1429 #define	LINUX_SYS_AUE_linux_sendfile	AUE_SENDFILE
1430 #define	LINUX_SYS_AUE_linux_socket	AUE_SOCKET
1431 #define	LINUX_SYS_AUE_linux_connect	AUE_CONNECT
1432 #define	LINUX_SYS_AUE_linux_accept	AUE_ACCEPT
1433 #define	LINUX_SYS_AUE_linux_sendto	AUE_SENDTO
1434 #define	LINUX_SYS_AUE_linux_recvfrom	AUE_RECVFROM
1435 #define	LINUX_SYS_AUE_linux_sendmsg	AUE_SENDMSG
1436 #define	LINUX_SYS_AUE_linux_recvmsg	AUE_RECVMSG
1437 #define	LINUX_SYS_AUE_linux_shutdown	AUE_NULL
1438 #define	LINUX_SYS_AUE_linux_bind	AUE_BIND
1439 #define	LINUX_SYS_AUE_linux_listen	AUE_LISTEN
1440 #define	LINUX_SYS_AUE_linux_getsockname	AUE_GETSOCKNAME
1441 #define	LINUX_SYS_AUE_linux_getpeername	AUE_GETPEERNAME
1442 #define	LINUX_SYS_AUE_linux_socketpair	AUE_SOCKETPAIR
1443 #define	LINUX_SYS_AUE_linux_setsockopt	AUE_SETSOCKOPT
1444 #define	LINUX_SYS_AUE_linux_getsockopt	AUE_GETSOCKOPT
1445 #define	LINUX_SYS_AUE_linux_clone	AUE_RFORK
1446 #define	LINUX_SYS_AUE_linux_fork	AUE_FORK
1447 #define	LINUX_SYS_AUE_linux_vfork	AUE_VFORK
1448 #define	LINUX_SYS_AUE_linux_execve	AUE_EXECVE
1449 #define	LINUX_SYS_AUE_linux_exit	AUE_EXIT
1450 #define	LINUX_SYS_AUE_linux_wait4	AUE_WAIT4
1451 #define	LINUX_SYS_AUE_linux_kill	AUE_KILL
1452 #define	LINUX_SYS_AUE_linux_newuname	AUE_NULL
1453 #define	LINUX_SYS_AUE_linux_semget	AUE_NULL
1454 #define	LINUX_SYS_AUE_linux_semop	AUE_NULL
1455 #define	LINUX_SYS_AUE_linux_semctl	AUE_NULL
1456 #define	LINUX_SYS_AUE_linux_shmdt	AUE_NULL
1457 #define	LINUX_SYS_AUE_linux_msgget	AUE_NULL
1458 #define	LINUX_SYS_AUE_linux_msgsnd	AUE_NULL
1459 #define	LINUX_SYS_AUE_linux_msgrcv	AUE_NULL
1460 #define	LINUX_SYS_AUE_linux_msgctl	AUE_NULL
1461 #define	LINUX_SYS_AUE_linux_fcntl	AUE_FCNTL
1462 #define	LINUX_SYS_AUE_linux_fdatasync	AUE_NULL
1463 #define	LINUX_SYS_AUE_linux_truncate	AUE_TRUNCATE
1464 #define	LINUX_SYS_AUE_linux_ftruncate	AUE_FTRUNCATE
1465 #define	LINUX_SYS_AUE_linux_getdents	AUE_GETDIRENTRIES
1466 #define	LINUX_SYS_AUE_linux_getcwd	AUE_GETCWD
1467 #define	LINUX_SYS_AUE_linux_chdir	AUE_CHDIR
1468 #define	LINUX_SYS_AUE_linux_rename	AUE_RENAME
1469 #define	LINUX_SYS_AUE_linux_mkdir	AUE_MKDIR
1470 #define	LINUX_SYS_AUE_linux_rmdir	AUE_RMDIR
1471 #define	LINUX_SYS_AUE_linux_creat	AUE_CREAT
1472 #define	LINUX_SYS_AUE_linux_link	AUE_LINK
1473 #define	LINUX_SYS_AUE_linux_unlink	AUE_UNLINK
1474 #define	LINUX_SYS_AUE_linux_symlink	AUE_SYMLINK
1475 #define	LINUX_SYS_AUE_linux_readlink	AUE_READLINK
1476 #define	LINUX_SYS_AUE_linux_chmod	AUE_CHMOD
1477 #define	LINUX_SYS_AUE_linux_chown	AUE_LCHOWN
1478 #define	LINUX_SYS_AUE_linux_lchown	AUE_LCHOWN
1479 #define	LINUX_SYS_AUE_linux_getrlimit	AUE_GETRLIMIT
1480 #define	LINUX_SYS_AUE_linux_sysinfo	AUE_NULL
1481 #define	LINUX_SYS_AUE_linux_times	AUE_NULL
1482 #define	LINUX_SYS_AUE_linux_ptrace	AUE_PTRACE
1483 #define	LINUX_SYS_AUE_linux_getuid	AUE_GETUID
1484 #define	LINUX_SYS_AUE_linux_syslog	AUE_NULL
1485 #define	LINUX_SYS_AUE_linux_getgid	AUE_GETGID
1486 #define	LINUX_SYS_AUE_linux_getppid	AUE_GETPPID
1487 #define	LINUX_SYS_AUE_linux_getgroups	AUE_GETGROUPS
1488 #define	LINUX_SYS_AUE_linux_setgroups	AUE_SETGROUPS
1489 #define	LINUX_SYS_AUE_linux_setfsuid	AUE_SETFSUID
1490 #define	LINUX_SYS_AUE_linux_setfsgid	AUE_SETFSGID
1491 #define	LINUX_SYS_AUE_linux_getsid	AUE_GETSID
1492 #define	LINUX_SYS_AUE_linux_capget	AUE_CAPGET
1493 #define	LINUX_SYS_AUE_linux_capset	AUE_CAPSET
1494 #define	LINUX_SYS_AUE_linux_rt_sigpending	AUE_NULL
1495 #define	LINUX_SYS_AUE_linux_rt_sigtimedwait	AUE_NULL
1496 #define	LINUX_SYS_AUE_linux_rt_sigqueueinfo	AUE_NULL
1497 #define	LINUX_SYS_AUE_linux_rt_sigsuspend	AUE_NULL
1498 #define	LINUX_SYS_AUE_linux_sigaltstack	AUE_NULL
1499 #define	LINUX_SYS_AUE_linux_utime	AUE_UTIME
1500 #define	LINUX_SYS_AUE_linux_mknod	AUE_MKNOD
1501 #define	LINUX_SYS_AUE_linux_personality	AUE_PERSONALITY
1502 #define	LINUX_SYS_AUE_linux_ustat	AUE_NULL
1503 #define	LINUX_SYS_AUE_linux_statfs	AUE_STATFS
1504 #define	LINUX_SYS_AUE_linux_fstatfs	AUE_FSTATFS
1505 #define	LINUX_SYS_AUE_linux_sysfs	AUE_NULL
1506 #define	LINUX_SYS_AUE_linux_getpriority	AUE_GETPRIORITY
1507 #define	LINUX_SYS_AUE_linux_sched_setparam	AUE_SCHED_SETPARAM
1508 #define	LINUX_SYS_AUE_linux_sched_getparam	AUE_SCHED_GETPARAM
1509 #define	LINUX_SYS_AUE_linux_sched_setscheduler	AUE_SCHED_SETSCHEDULER
1510 #define	LINUX_SYS_AUE_linux_sched_getscheduler	AUE_SCHED_GETSCHEDULER
1511 #define	LINUX_SYS_AUE_linux_sched_get_priority_max	AUE_SCHED_GET_PRIORITY_MAX
1512 #define	LINUX_SYS_AUE_linux_sched_get_priority_min	AUE_SCHED_GET_PRIORITY_MIN
1513 #define	LINUX_SYS_AUE_linux_sched_rr_get_interval	AUE_SCHED_RR_GET_INTERVAL
1514 #define	LINUX_SYS_AUE_linux_vhangup	AUE_NULL
1515 #define	LINUX_SYS_AUE_linux_pivot_root	AUE_PIVOT_ROOT
1516 #define	LINUX_SYS_AUE_linux_sysctl	AUE_SYSCTL
1517 #define	LINUX_SYS_AUE_linux_prctl	AUE_PRCTL
1518 #define	LINUX_SYS_AUE_linux_arch_prctl	AUE_PRCTL
1519 #define	LINUX_SYS_AUE_linux_adjtimex	AUE_ADJTIME
1520 #define	LINUX_SYS_AUE_linux_setrlimit	AUE_SETRLIMIT
1521 #define	LINUX_SYS_AUE_linux_mount	AUE_MOUNT
1522 #define	LINUX_SYS_AUE_linux_umount	AUE_UMOUNT
1523 #define	LINUX_SYS_AUE_linux_swapoff	AUE_SWAPOFF
1524 #define	LINUX_SYS_AUE_linux_reboot	AUE_REBOOT
1525 #define	LINUX_SYS_AUE_linux_sethostname	AUE_SYSCTL
1526 #define	LINUX_SYS_AUE_linux_setdomainname	AUE_SYSCTL
1527 #define	LINUX_SYS_AUE_linux_iopl	AUE_NULL
1528 #define	LINUX_SYS_AUE_linux_create_module	AUE_NULL
1529 #define	LINUX_SYS_AUE_linux_init_module	AUE_NULL
1530 #define	LINUX_SYS_AUE_linux_delete_module	AUE_NULL
1531 #define	LINUX_SYS_AUE_linux_get_kernel_syms	AUE_NULL
1532 #define	LINUX_SYS_AUE_linux_query_module	AUE_NULL
1533 #define	LINUX_SYS_AUE_linux_quotactl	AUE_QUOTACTL
1534 #define	LINUX_SYS_AUE_linux_nfsservctl	AUE_NULL
1535 #define	LINUX_SYS_AUE_linux_getpmsg	AUE_GETPMSG
1536 #define	LINUX_SYS_AUE_linux_putpmsg	AUE_PUTPMSG
1537 #define	LINUX_SYS_AUE_linux_afs_syscall	AUE_NULL
1538 #define	LINUX_SYS_AUE_linux_tuxcall	AUE_NULL
1539 #define	LINUX_SYS_AUE_linux_security	AUE_NULL
1540 #define	LINUX_SYS_AUE_linux_gettid	AUE_NULL
1541 #define	LINUX_SYS_AUE_linux_setxattr	AUE_NULL
1542 #define	LINUX_SYS_AUE_linux_lsetxattr	AUE_NULL
1543 #define	LINUX_SYS_AUE_linux_fsetxattr	AUE_NULL
1544 #define	LINUX_SYS_AUE_linux_getxattr	AUE_NULL
1545 #define	LINUX_SYS_AUE_linux_lgetxattr	AUE_NULL
1546 #define	LINUX_SYS_AUE_linux_fgetxattr	AUE_NULL
1547 #define	LINUX_SYS_AUE_linux_listxattr	AUE_NULL
1548 #define	LINUX_SYS_AUE_linux_llistxattr	AUE_NULL
1549 #define	LINUX_SYS_AUE_linux_flistxattr	AUE_NULL
1550 #define	LINUX_SYS_AUE_linux_removexattr	AUE_NULL
1551 #define	LINUX_SYS_AUE_linux_lremovexattr	AUE_NULL
1552 #define	LINUX_SYS_AUE_linux_fremovexattr	AUE_NULL
1553 #define	LINUX_SYS_AUE_linux_tkill	AUE_NULL
1554 #define	LINUX_SYS_AUE_linux_time	AUE_NULL
1555 #define	LINUX_SYS_AUE_linux_sys_futex	AUE_NULL
1556 #define	LINUX_SYS_AUE_linux_sched_setaffinity	AUE_NULL
1557 #define	LINUX_SYS_AUE_linux_sched_getaffinity	AUE_NULL
1558 #define	LINUX_SYS_AUE_linux_set_thread_area	AUE_NULL
1559 #define	LINUX_SYS_AUE_linux_lookup_dcookie	AUE_NULL
1560 #define	LINUX_SYS_AUE_linux_epoll_create	AUE_NULL
1561 #define	LINUX_SYS_AUE_linux_epoll_ctl_old	AUE_NULL
1562 #define	LINUX_SYS_AUE_linux_epoll_wait_old	AUE_NULL
1563 #define	LINUX_SYS_AUE_linux_remap_file_pages	AUE_NULL
1564 #define	LINUX_SYS_AUE_linux_getdents64	AUE_GETDIRENTRIES
1565 #define	LINUX_SYS_AUE_linux_set_tid_address	AUE_NULL
1566 #define	LINUX_SYS_AUE_linux_semtimedop	AUE_NULL
1567 #define	LINUX_SYS_AUE_linux_fadvise64	AUE_NULL
1568 #define	LINUX_SYS_AUE_linux_timer_create	AUE_NULL
1569 #define	LINUX_SYS_AUE_linux_timer_settime	AUE_NULL
1570 #define	LINUX_SYS_AUE_linux_timer_gettime	AUE_NULL
1571 #define	LINUX_SYS_AUE_linux_timer_getoverrun	AUE_NULL
1572 #define	LINUX_SYS_AUE_linux_timer_delete	AUE_NULL
1573 #define	LINUX_SYS_AUE_linux_clock_settime	AUE_CLOCK_SETTIME
1574 #define	LINUX_SYS_AUE_linux_clock_gettime	AUE_NULL
1575 #define	LINUX_SYS_AUE_linux_clock_getres	AUE_NULL
1576 #define	LINUX_SYS_AUE_linux_clock_nanosleep	AUE_NULL
1577 #define	LINUX_SYS_AUE_linux_exit_group	AUE_EXIT
1578 #define	LINUX_SYS_AUE_linux_epoll_wait	AUE_NULL
1579 #define	LINUX_SYS_AUE_linux_epoll_ctl	AUE_NULL
1580 #define	LINUX_SYS_AUE_linux_tgkill	AUE_NULL
1581 #define	LINUX_SYS_AUE_linux_utimes	AUE_UTIMES
1582 #define	LINUX_SYS_AUE_linux_mbind	AUE_NULL
1583 #define	LINUX_SYS_AUE_linux_set_mempolicy	AUE_NULL
1584 #define	LINUX_SYS_AUE_linux_get_mempolicy	AUE_NULL
1585 #define	LINUX_SYS_AUE_linux_mq_open	AUE_NULL
1586 #define	LINUX_SYS_AUE_linux_mq_unlink	AUE_NULL
1587 #define	LINUX_SYS_AUE_linux_mq_timedsend	AUE_NULL
1588 #define	LINUX_SYS_AUE_linux_mq_timedreceive	AUE_NULL
1589 #define	LINUX_SYS_AUE_linux_mq_notify	AUE_NULL
1590 #define	LINUX_SYS_AUE_linux_mq_getsetattr	AUE_NULL
1591 #define	LINUX_SYS_AUE_linux_kexec_load	AUE_NULL
1592 #define	LINUX_SYS_AUE_linux_waitid	AUE_WAIT6
1593 #define	LINUX_SYS_AUE_linux_add_key	AUE_NULL
1594 #define	LINUX_SYS_AUE_linux_request_key	AUE_NULL
1595 #define	LINUX_SYS_AUE_linux_keyctl	AUE_NULL
1596 #define	LINUX_SYS_AUE_linux_ioprio_set	AUE_NULL
1597 #define	LINUX_SYS_AUE_linux_ioprio_get	AUE_NULL
1598 #define	LINUX_SYS_AUE_linux_inotify_init	AUE_NULL
1599 #define	LINUX_SYS_AUE_linux_inotify_add_watch	AUE_NULL
1600 #define	LINUX_SYS_AUE_linux_inotify_rm_watch	AUE_NULL
1601 #define	LINUX_SYS_AUE_linux_migrate_pages	AUE_NULL
1602 #define	LINUX_SYS_AUE_linux_openat	AUE_OPEN_RWTC
1603 #define	LINUX_SYS_AUE_linux_mkdirat	AUE_MKDIRAT
1604 #define	LINUX_SYS_AUE_linux_mknodat	AUE_MKNODAT
1605 #define	LINUX_SYS_AUE_linux_fchownat	AUE_FCHOWNAT
1606 #define	LINUX_SYS_AUE_linux_futimesat	AUE_FUTIMESAT
1607 #define	LINUX_SYS_AUE_linux_newfstatat	AUE_FSTATAT
1608 #define	LINUX_SYS_AUE_linux_unlinkat	AUE_UNLINKAT
1609 #define	LINUX_SYS_AUE_linux_renameat	AUE_RENAMEAT
1610 #define	LINUX_SYS_AUE_linux_linkat	AUE_LINKAT
1611 #define	LINUX_SYS_AUE_linux_symlinkat	AUE_SYMLINKAT
1612 #define	LINUX_SYS_AUE_linux_readlinkat	AUE_READLINKAT
1613 #define	LINUX_SYS_AUE_linux_fchmodat	AUE_FCHMODAT
1614 #define	LINUX_SYS_AUE_linux_faccessat	AUE_FACCESSAT
1615 #define	LINUX_SYS_AUE_linux_pselect6	AUE_SELECT
1616 #define	LINUX_SYS_AUE_linux_ppoll	AUE_POLL
1617 #define	LINUX_SYS_AUE_linux_unshare	AUE_NULL
1618 #define	LINUX_SYS_AUE_linux_set_robust_list	AUE_NULL
1619 #define	LINUX_SYS_AUE_linux_get_robust_list	AUE_NULL
1620 #define	LINUX_SYS_AUE_linux_splice	AUE_NULL
1621 #define	LINUX_SYS_AUE_linux_tee	AUE_NULL
1622 #define	LINUX_SYS_AUE_linux_sync_file_range	AUE_NULL
1623 #define	LINUX_SYS_AUE_linux_vmsplice	AUE_NULL
1624 #define	LINUX_SYS_AUE_linux_move_pages	AUE_NULL
1625 #define	LINUX_SYS_AUE_linux_utimensat	AUE_FUTIMESAT
1626 #define	LINUX_SYS_AUE_linux_epoll_pwait	AUE_NULL
1627 #define	LINUX_SYS_AUE_linux_signalfd	AUE_NULL
1628 #define	LINUX_SYS_AUE_linux_timerfd	AUE_NULL
1629 #define	LINUX_SYS_AUE_linux_eventfd	AUE_NULL
1630 #define	LINUX_SYS_AUE_linux_fallocate	AUE_NULL
1631 #define	LINUX_SYS_AUE_linux_timerfd_settime	AUE_NULL
1632 #define	LINUX_SYS_AUE_linux_timerfd_gettime	AUE_NULL
1633 #define	LINUX_SYS_AUE_linux_accept4	AUE_ACCEPT
1634 #define	LINUX_SYS_AUE_linux_signalfd4	AUE_NULL
1635 #define	LINUX_SYS_AUE_linux_eventfd2	AUE_NULL
1636 #define	LINUX_SYS_AUE_linux_epoll_create1	AUE_NULL
1637 #define	LINUX_SYS_AUE_linux_dup3	AUE_NULL
1638 #define	LINUX_SYS_AUE_linux_pipe2	AUE_NULL
1639 #define	LINUX_SYS_AUE_linux_inotify_init1	AUE_NULL
1640 #define	LINUX_SYS_AUE_linux_preadv	AUE_NULL
1641 #define	LINUX_SYS_AUE_linux_pwritev	AUE_NULL
1642 #define	LINUX_SYS_AUE_linux_rt_tsigqueueinfo	AUE_NULL
1643 #define	LINUX_SYS_AUE_linux_perf_event_open	AUE_NULL
1644 #define	LINUX_SYS_AUE_linux_recvmmsg	AUE_NULL
1645 #define	LINUX_SYS_AUE_linux_fanotify_init	AUE_NULL
1646 #define	LINUX_SYS_AUE_linux_fanotify_mark	AUE_NULL
1647 #define	LINUX_SYS_AUE_linux_prlimit64	AUE_NULL
1648 #define	LINUX_SYS_AUE_linux_name_to_handle_at	AUE_NULL
1649 #define	LINUX_SYS_AUE_linux_open_by_handle_at	AUE_NULL
1650 #define	LINUX_SYS_AUE_linux_clock_adjtime	AUE_NULL
1651 #define	LINUX_SYS_AUE_linux_syncfs	AUE_SYNC
1652 #define	LINUX_SYS_AUE_linux_sendmmsg	AUE_NULL
1653 #define	LINUX_SYS_AUE_linux_setns	AUE_NULL
1654 #define	LINUX_SYS_AUE_linux_process_vm_readv	AUE_NULL
1655 #define	LINUX_SYS_AUE_linux_process_vm_writev	AUE_NULL
1656 #define	LINUX_SYS_AUE_linux_kcmp	AUE_NULL
1657 #define	LINUX_SYS_AUE_linux_finit_module	AUE_NULL
1658 
1659 #undef PAD_
1660 #undef PADL_
1661 #undef PADR_
1662 
1663 #endif /* !_LINUX_SYSPROTO_H_ */
1664