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