xref: /freebsd/sys/i386/linux/linux_proto.h (revision a220d00e74dd245b4fca59c5eca0c53963686325)
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.45 2001/10/16 06:11:11 marcel Exp
7  */
8 
9 #ifndef _LINUX_SYSPROTO_H_
10 #define	_LINUX_SYSPROTO_H_
11 
12 #include <sys/signal.h>
13 
14 #include <sys/acl.h>
15 
16 struct proc;
17 
18 struct thread;
19 
20 #define	PAD_(t)	(sizeof(register_t) <= sizeof(t) ? \
21 		0 : sizeof(register_t) - sizeof(t))
22 
23 #if BYTE_ORDER == LITTLE_ENDIAN
24 #define	PADL_(t)	0
25 #define	PADR_(t)	PAD_(t)
26 #else
27 #define	PADL_(t)	PAD_(t)
28 #define	PADR_(t)	0
29 #endif
30 
31 struct linux_fork_args {
32 	register_t dummy;
33 };
34 struct linux_open_args {
35 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
36 	char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
37 	char mode_l_[PADL_(l_int)]; l_int mode; char mode_r_[PADR_(l_int)];
38 };
39 struct linux_waitpid_args {
40 	char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
41 	char status_l_[PADL_(l_int *)]; l_int * status; char status_r_[PADR_(l_int *)];
42 	char options_l_[PADL_(l_int)]; l_int options; char options_r_[PADR_(l_int)];
43 };
44 struct linux_creat_args {
45 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
46 	char mode_l_[PADL_(l_int)]; l_int mode; char mode_r_[PADR_(l_int)];
47 };
48 struct linux_link_args {
49 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
50 	char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)];
51 };
52 struct linux_unlink_args {
53 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
54 };
55 struct linux_execve_args {
56 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
57 	char argp_l_[PADL_(char **)]; char ** argp; char argp_r_[PADR_(char **)];
58 	char envp_l_[PADL_(char **)]; char ** envp; char envp_r_[PADR_(char **)];
59 };
60 struct linux_chdir_args {
61 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
62 };
63 struct linux_time_args {
64 	char tm_l_[PADL_(l_time_t *)]; l_time_t * tm; char tm_r_[PADR_(l_time_t *)];
65 };
66 struct linux_mknod_args {
67 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
68 	char mode_l_[PADL_(l_int)]; l_int mode; char mode_r_[PADR_(l_int)];
69 	char dev_l_[PADL_(l_dev_t)]; l_dev_t dev; char dev_r_[PADR_(l_dev_t)];
70 };
71 struct linux_chmod_args {
72 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
73 	char mode_l_[PADL_(l_mode_t)]; l_mode_t mode; char mode_r_[PADR_(l_mode_t)];
74 };
75 struct linux_lchown16_args {
76 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
77 	char uid_l_[PADL_(l_uid16_t)]; l_uid16_t uid; char uid_r_[PADR_(l_uid16_t)];
78 	char gid_l_[PADL_(l_gid16_t)]; l_gid16_t gid; char gid_r_[PADR_(l_gid16_t)];
79 };
80 struct linux_stat_args {
81 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
82 	char up_l_[PADL_(struct ostat *)]; struct ostat * up; char up_r_[PADR_(struct ostat *)];
83 };
84 struct linux_lseek_args {
85 	char fdes_l_[PADL_(l_uint)]; l_uint fdes; char fdes_r_[PADR_(l_uint)];
86 	char off_l_[PADL_(l_off_t)]; l_off_t off; char off_r_[PADR_(l_off_t)];
87 	char whence_l_[PADL_(l_int)]; l_int whence; char whence_r_[PADR_(l_int)];
88 };
89 struct linux_getpid_args {
90 	register_t dummy;
91 };
92 struct linux_mount_args {
93 	char specialfile_l_[PADL_(char *)]; char * specialfile; char specialfile_r_[PADR_(char *)];
94 	char dir_l_[PADL_(char *)]; char * dir; char dir_r_[PADR_(char *)];
95 	char filesystemtype_l_[PADL_(char *)]; char * filesystemtype; char filesystemtype_r_[PADR_(char *)];
96 	char rwflag_l_[PADL_(l_ulong)]; l_ulong rwflag; char rwflag_r_[PADR_(l_ulong)];
97 	char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
98 };
99 struct linux_oldumount_args {
100 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
101 };
102 struct linux_setuid16_args {
103 	char uid_l_[PADL_(l_uid16_t)]; l_uid16_t uid; char uid_r_[PADR_(l_uid16_t)];
104 };
105 struct linux_getuid16_args {
106 	register_t dummy;
107 };
108 struct linux_stime_args {
109 	register_t dummy;
110 };
111 struct linux_ptrace_args {
112 	register_t dummy;
113 };
114 struct linux_alarm_args {
115 	char secs_l_[PADL_(l_uint)]; l_uint secs; char secs_r_[PADR_(l_uint)];
116 };
117 struct linux_fstat_args {
118 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
119 	char up_l_[PADL_(struct ostat *)]; struct ostat * up; char up_r_[PADR_(struct ostat *)];
120 };
121 struct linux_pause_args {
122 	register_t dummy;
123 };
124 struct linux_utime_args {
125 	char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)];
126 	char times_l_[PADL_(struct l_utimbuf *)]; struct l_utimbuf * times; char times_r_[PADR_(struct l_utimbuf *)];
127 };
128 struct linux_access_args {
129 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
130 	char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
131 };
132 struct linux_nice_args {
133 	char inc_l_[PADL_(l_int)]; l_int inc; char inc_r_[PADR_(l_int)];
134 };
135 struct linux_kill_args {
136 	char pid_l_[PADL_(l_int)]; l_int pid; char pid_r_[PADR_(l_int)];
137 	char signum_l_[PADL_(l_int)]; l_int signum; char signum_r_[PADR_(l_int)];
138 };
139 struct linux_rename_args {
140 	char from_l_[PADL_(char *)]; char * from; char from_r_[PADR_(char *)];
141 	char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)];
142 };
143 struct linux_mkdir_args {
144 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
145 	char mode_l_[PADL_(l_int)]; l_int mode; char mode_r_[PADR_(l_int)];
146 };
147 struct linux_rmdir_args {
148 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
149 };
150 struct linux_pipe_args {
151 	char pipefds_l_[PADL_(l_ulong *)]; l_ulong * pipefds; char pipefds_r_[PADR_(l_ulong *)];
152 };
153 struct linux_times_args {
154 	char buf_l_[PADL_(struct l_times_argv *)]; struct l_times_argv * buf; char buf_r_[PADR_(struct l_times_argv *)];
155 };
156 struct linux_brk_args {
157 	char dsend_l_[PADL_(l_ulong)]; l_ulong dsend; char dsend_r_[PADR_(l_ulong)];
158 };
159 struct linux_setgid16_args {
160 	char gid_l_[PADL_(l_gid16_t)]; l_gid16_t gid; char gid_r_[PADR_(l_gid16_t)];
161 };
162 struct linux_getgid16_args {
163 	register_t dummy;
164 };
165 struct linux_signal_args {
166 	char sig_l_[PADL_(l_int)]; l_int sig; char sig_r_[PADR_(l_int)];
167 	char handler_l_[PADL_(l_handler_t)]; l_handler_t handler; char handler_r_[PADR_(l_handler_t)];
168 };
169 struct linux_geteuid16_args {
170 	register_t dummy;
171 };
172 struct linux_getegid16_args {
173 	register_t dummy;
174 };
175 struct linux_umount_args {
176 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
177 	char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
178 };
179 struct linux_ioctl_args {
180 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
181 	char cmd_l_[PADL_(l_uint)]; l_uint cmd; char cmd_r_[PADR_(l_uint)];
182 	char arg_l_[PADL_(l_ulong)]; l_ulong arg; char arg_r_[PADR_(l_ulong)];
183 };
184 struct linux_fcntl_args {
185 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
186 	char cmd_l_[PADL_(l_uint)]; l_uint cmd; char cmd_r_[PADR_(l_uint)];
187 	char arg_l_[PADL_(l_ulong)]; l_ulong arg; char arg_r_[PADR_(l_ulong)];
188 };
189 struct linux_olduname_args {
190 	register_t dummy;
191 };
192 struct linux_ustat_args {
193 	char dev_l_[PADL_(l_dev_t)]; l_dev_t dev; char dev_r_[PADR_(l_dev_t)];
194 	char ubuf_l_[PADL_(struct l_ustat *)]; struct l_ustat * ubuf; char ubuf_r_[PADR_(struct l_ustat *)];
195 };
196 struct linux_sigaction_args {
197 	char sig_l_[PADL_(l_int)]; l_int sig; char sig_r_[PADR_(l_int)];
198 	char nsa_l_[PADL_(l_osigaction_t *)]; l_osigaction_t * nsa; char nsa_r_[PADR_(l_osigaction_t *)];
199 	char osa_l_[PADL_(l_osigaction_t *)]; l_osigaction_t * osa; char osa_r_[PADR_(l_osigaction_t *)];
200 };
201 struct linux_sgetmask_args {
202 	register_t dummy;
203 };
204 struct linux_ssetmask_args {
205 	char mask_l_[PADL_(l_osigset_t)]; l_osigset_t mask; char mask_r_[PADR_(l_osigset_t)];
206 };
207 struct linux_setreuid16_args {
208 	char ruid_l_[PADL_(l_uid16_t)]; l_uid16_t ruid; char ruid_r_[PADR_(l_uid16_t)];
209 	char euid_l_[PADL_(l_uid16_t)]; l_uid16_t euid; char euid_r_[PADR_(l_uid16_t)];
210 };
211 struct linux_setregid16_args {
212 	char rgid_l_[PADL_(l_gid16_t)]; l_gid16_t rgid; char rgid_r_[PADR_(l_gid16_t)];
213 	char egid_l_[PADL_(l_gid16_t)]; l_gid16_t egid; char egid_r_[PADR_(l_gid16_t)];
214 };
215 struct linux_sigsuspend_args {
216 	char hist0_l_[PADL_(l_int)]; l_int hist0; char hist0_r_[PADR_(l_int)];
217 	char hist1_l_[PADL_(l_int)]; l_int hist1; char hist1_r_[PADR_(l_int)];
218 	char mask_l_[PADL_(l_osigset_t)]; l_osigset_t mask; char mask_r_[PADR_(l_osigset_t)];
219 };
220 struct linux_sigpending_args {
221 	char mask_l_[PADL_(l_osigset_t *)]; l_osigset_t * mask; char mask_r_[PADR_(l_osigset_t *)];
222 };
223 struct linux_setrlimit_args {
224 	char resource_l_[PADL_(l_uint)]; l_uint resource; char resource_r_[PADR_(l_uint)];
225 	char rlim_l_[PADL_(struct l_rlimit *)]; struct l_rlimit * rlim; char rlim_r_[PADR_(struct l_rlimit *)];
226 };
227 struct linux_old_getrlimit_args {
228 	char resource_l_[PADL_(l_uint)]; l_uint resource; char resource_r_[PADR_(l_uint)];
229 	char rlim_l_[PADL_(struct l_rlimit *)]; struct l_rlimit * rlim; char rlim_r_[PADR_(struct l_rlimit *)];
230 };
231 struct linux_getgroups16_args {
232 	char gidsetsize_l_[PADL_(l_uint)]; l_uint gidsetsize; char gidsetsize_r_[PADR_(l_uint)];
233 	char gidset_l_[PADL_(l_gid16_t *)]; l_gid16_t * gidset; char gidset_r_[PADR_(l_gid16_t *)];
234 };
235 struct linux_setgroups16_args {
236 	char gidsetsize_l_[PADL_(l_uint)]; l_uint gidsetsize; char gidsetsize_r_[PADR_(l_uint)];
237 	char gidset_l_[PADL_(l_gid16_t *)]; l_gid16_t * gidset; char gidset_r_[PADR_(l_gid16_t *)];
238 };
239 struct linux_old_select_args {
240 	char ptr_l_[PADL_(struct l_old_select_argv *)]; struct l_old_select_argv * ptr; char ptr_r_[PADR_(struct l_old_select_argv *)];
241 };
242 struct linux_symlink_args {
243 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
244 	char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)];
245 };
246 struct linux_readlink_args {
247 	char name_l_[PADL_(char *)]; char * name; char name_r_[PADR_(char *)];
248 	char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
249 	char count_l_[PADL_(l_int)]; l_int count; char count_r_[PADR_(l_int)];
250 };
251 struct linux_uselib_args {
252 	char library_l_[PADL_(char *)]; char * library; char library_r_[PADR_(char *)];
253 };
254 struct linux_reboot_args {
255 	char magic1_l_[PADL_(l_int)]; l_int magic1; char magic1_r_[PADR_(l_int)];
256 	char magic2_l_[PADL_(l_int)]; l_int magic2; char magic2_r_[PADR_(l_int)];
257 	char cmd_l_[PADL_(l_uint)]; l_uint cmd; char cmd_r_[PADR_(l_uint)];
258 	char arg_l_[PADL_(void *)]; void * arg; char arg_r_[PADR_(void *)];
259 };
260 struct linux_readdir_args {
261 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
262 	char dent_l_[PADL_(struct l_dirent *)]; struct l_dirent * dent; char dent_r_[PADR_(struct l_dirent *)];
263 	char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
264 };
265 struct linux_mmap_args {
266 	char ptr_l_[PADL_(struct l_mmap_argv *)]; struct l_mmap_argv * ptr; char ptr_r_[PADR_(struct l_mmap_argv *)];
267 };
268 struct linux_truncate_args {
269 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
270 	char length_l_[PADL_(l_ulong)]; l_ulong length; char length_r_[PADR_(l_ulong)];
271 };
272 struct linux_statfs_args {
273 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
274 	char buf_l_[PADL_(struct l_statfs_buf *)]; struct l_statfs_buf * buf; char buf_r_[PADR_(struct l_statfs_buf *)];
275 };
276 struct linux_fstatfs_args {
277 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
278 	char buf_l_[PADL_(struct l_statfs_buf *)]; struct l_statfs_buf * buf; char buf_r_[PADR_(struct l_statfs_buf *)];
279 };
280 struct linux_ioperm_args {
281 	char start_l_[PADL_(l_ulong)]; l_ulong start; char start_r_[PADR_(l_ulong)];
282 	char length_l_[PADL_(l_ulong)]; l_ulong length; char length_r_[PADR_(l_ulong)];
283 	char enable_l_[PADL_(l_int)]; l_int enable; char enable_r_[PADR_(l_int)];
284 };
285 struct linux_socketcall_args {
286 	char what_l_[PADL_(l_int)]; l_int what; char what_r_[PADR_(l_int)];
287 	char args_l_[PADL_(l_ulong)]; l_ulong args; char args_r_[PADR_(l_ulong)];
288 };
289 struct linux_syslog_args {
290 	char type_l_[PADL_(l_int)]; l_int type; char type_r_[PADR_(l_int)];
291 	char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
292 	char len_l_[PADL_(l_int)]; l_int len; char len_r_[PADR_(l_int)];
293 };
294 struct linux_setitimer_args {
295 	char which_l_[PADL_(l_int)]; l_int which; char which_r_[PADR_(l_int)];
296 	char itv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * itv; char itv_r_[PADR_(struct l_itimerval *)];
297 	char oitv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * oitv; char oitv_r_[PADR_(struct l_itimerval *)];
298 };
299 struct linux_getitimer_args {
300 	char which_l_[PADL_(l_int)]; l_int which; char which_r_[PADR_(l_int)];
301 	char itv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * itv; char itv_r_[PADR_(struct l_itimerval *)];
302 };
303 struct linux_newstat_args {
304 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
305 	char buf_l_[PADL_(struct l_newstat *)]; struct l_newstat * buf; char buf_r_[PADR_(struct l_newstat *)];
306 };
307 struct linux_newlstat_args {
308 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
309 	char buf_l_[PADL_(struct l_newstat *)]; struct l_newstat * buf; char buf_r_[PADR_(struct l_newstat *)];
310 };
311 struct linux_newfstat_args {
312 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
313 	char buf_l_[PADL_(struct l_newstat *)]; struct l_newstat * buf; char buf_r_[PADR_(struct l_newstat *)];
314 };
315 struct linux_uname_args {
316 	register_t dummy;
317 };
318 struct linux_iopl_args {
319 	char level_l_[PADL_(l_ulong)]; l_ulong level; char level_r_[PADR_(l_ulong)];
320 };
321 struct linux_vhangup_args {
322 	register_t dummy;
323 };
324 struct linux_vm86old_args {
325 	register_t dummy;
326 };
327 struct linux_wait4_args {
328 	char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
329 	char status_l_[PADL_(l_uint *)]; l_uint * status; char status_r_[PADR_(l_uint *)];
330 	char options_l_[PADL_(l_int)]; l_int options; char options_r_[PADR_(l_int)];
331 	char rusage_l_[PADL_(struct l_rusage *)]; struct l_rusage * rusage; char rusage_r_[PADR_(struct l_rusage *)];
332 };
333 struct linux_swapoff_args {
334 	register_t dummy;
335 };
336 struct linux_sysinfo_args {
337 	char info_l_[PADL_(struct l_sysinfo *)]; struct l_sysinfo * info; char info_r_[PADR_(struct l_sysinfo *)];
338 };
339 struct linux_ipc_args {
340 	char what_l_[PADL_(l_uint)]; l_uint what; char what_r_[PADR_(l_uint)];
341 	char arg1_l_[PADL_(l_int)]; l_int arg1; char arg1_r_[PADR_(l_int)];
342 	char arg2_l_[PADL_(l_int)]; l_int arg2; char arg2_r_[PADR_(l_int)];
343 	char arg3_l_[PADL_(l_int)]; l_int arg3; char arg3_r_[PADR_(l_int)];
344 	char ptr_l_[PADL_(void *)]; void * ptr; char ptr_r_[PADR_(void *)];
345 	char arg5_l_[PADL_(l_long)]; l_long arg5; char arg5_r_[PADR_(l_long)];
346 };
347 struct linux_sigreturn_args {
348 	char sfp_l_[PADL_(struct l_sigframe *)]; struct l_sigframe * sfp; char sfp_r_[PADR_(struct l_sigframe *)];
349 };
350 struct linux_clone_args {
351 	char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
352 	char stack_l_[PADL_(void *)]; void * stack; char stack_r_[PADR_(void *)];
353 };
354 struct linux_newuname_args {
355 	char buf_l_[PADL_(struct l_new_utsname *)]; struct l_new_utsname * buf; char buf_r_[PADR_(struct l_new_utsname *)];
356 };
357 struct linux_modify_ldt_args {
358 	char func_l_[PADL_(l_int)]; l_int func; char func_r_[PADR_(l_int)];
359 	char ptr_l_[PADL_(void *)]; void * ptr; char ptr_r_[PADR_(void *)];
360 	char bytecount_l_[PADL_(l_ulong)]; l_ulong bytecount; char bytecount_r_[PADR_(l_ulong)];
361 };
362 struct linux_adjtimex_args {
363 	register_t dummy;
364 };
365 struct linux_sigprocmask_args {
366 	char how_l_[PADL_(l_int)]; l_int how; char how_r_[PADR_(l_int)];
367 	char mask_l_[PADL_(l_osigset_t *)]; l_osigset_t * mask; char mask_r_[PADR_(l_osigset_t *)];
368 	char omask_l_[PADL_(l_osigset_t *)]; l_osigset_t * omask; char omask_r_[PADR_(l_osigset_t *)];
369 };
370 struct linux_create_module_args {
371 	register_t dummy;
372 };
373 struct linux_init_module_args {
374 	register_t dummy;
375 };
376 struct linux_delete_module_args {
377 	register_t dummy;
378 };
379 struct linux_get_kernel_syms_args {
380 	register_t dummy;
381 };
382 struct linux_quotactl_args {
383 	register_t dummy;
384 };
385 struct linux_bdflush_args {
386 	register_t dummy;
387 };
388 struct linux_sysfs_args {
389 	char option_l_[PADL_(l_int)]; l_int option; char option_r_[PADR_(l_int)];
390 	char arg1_l_[PADL_(l_ulong)]; l_ulong arg1; char arg1_r_[PADR_(l_ulong)];
391 	char arg2_l_[PADL_(l_ulong)]; l_ulong arg2; char arg2_r_[PADR_(l_ulong)];
392 };
393 struct linux_personality_args {
394 	char per_l_[PADL_(l_ulong)]; l_ulong per; char per_r_[PADR_(l_ulong)];
395 };
396 struct linux_setfsuid16_args {
397 	char uid_l_[PADL_(l_uid16_t)]; l_uid16_t uid; char uid_r_[PADR_(l_uid16_t)];
398 };
399 struct linux_setfsgid16_args {
400 	char gid_l_[PADL_(l_gid16_t)]; l_gid16_t gid; char gid_r_[PADR_(l_gid16_t)];
401 };
402 struct linux_llseek_args {
403 	char fd_l_[PADL_(l_int)]; l_int fd; char fd_r_[PADR_(l_int)];
404 	char ohigh_l_[PADL_(l_ulong)]; l_ulong ohigh; char ohigh_r_[PADR_(l_ulong)];
405 	char olow_l_[PADL_(l_ulong)]; l_ulong olow; char olow_r_[PADR_(l_ulong)];
406 	char res_l_[PADL_(l_loff_t *)]; l_loff_t * res; char res_r_[PADR_(l_loff_t *)];
407 	char whence_l_[PADL_(l_uint)]; l_uint whence; char whence_r_[PADR_(l_uint)];
408 };
409 struct linux_getdents_args {
410 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
411 	char dent_l_[PADL_(void *)]; void * dent; char dent_r_[PADR_(void *)];
412 	char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
413 };
414 struct linux_select_args {
415 	char nfds_l_[PADL_(l_int)]; l_int nfds; char nfds_r_[PADR_(l_int)];
416 	char readfds_l_[PADL_(l_fd_set *)]; l_fd_set * readfds; char readfds_r_[PADR_(l_fd_set *)];
417 	char writefds_l_[PADL_(l_fd_set *)]; l_fd_set * writefds; char writefds_r_[PADR_(l_fd_set *)];
418 	char exceptfds_l_[PADL_(l_fd_set *)]; l_fd_set * exceptfds; char exceptfds_r_[PADR_(l_fd_set *)];
419 	char timeout_l_[PADL_(struct l_timeval *)]; struct l_timeval * timeout; char timeout_r_[PADR_(struct l_timeval *)];
420 };
421 struct linux_msync_args {
422 	char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
423 	char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
424 	char fl_l_[PADL_(l_int)]; l_int fl; char fl_r_[PADR_(l_int)];
425 };
426 struct linux_getsid_args {
427 	char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
428 };
429 struct linux_fdatasync_args {
430 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
431 };
432 struct linux_sysctl_args {
433 	char args_l_[PADL_(struct l___sysctl_args *)]; struct l___sysctl_args * args; char args_r_[PADR_(struct l___sysctl_args *)];
434 };
435 struct linux_sched_setscheduler_args {
436 	char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
437 	char policy_l_[PADL_(l_int)]; l_int policy; char policy_r_[PADR_(l_int)];
438 	char param_l_[PADL_(struct l_sched_param *)]; struct l_sched_param * param; char param_r_[PADR_(struct l_sched_param *)];
439 };
440 struct linux_sched_getscheduler_args {
441 	char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
442 };
443 struct linux_sched_get_priority_max_args {
444 	char policy_l_[PADL_(l_int)]; l_int policy; char policy_r_[PADR_(l_int)];
445 };
446 struct linux_sched_get_priority_min_args {
447 	char policy_l_[PADL_(l_int)]; l_int policy; char policy_r_[PADR_(l_int)];
448 };
449 struct linux_mremap_args {
450 	char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
451 	char old_len_l_[PADL_(l_ulong)]; l_ulong old_len; char old_len_r_[PADR_(l_ulong)];
452 	char new_len_l_[PADL_(l_ulong)]; l_ulong new_len; char new_len_r_[PADR_(l_ulong)];
453 	char flags_l_[PADL_(l_ulong)]; l_ulong flags; char flags_r_[PADR_(l_ulong)];
454 	char new_addr_l_[PADL_(l_ulong)]; l_ulong new_addr; char new_addr_r_[PADR_(l_ulong)];
455 };
456 struct linux_setresuid16_args {
457 	char ruid_l_[PADL_(l_uid16_t)]; l_uid16_t ruid; char ruid_r_[PADR_(l_uid16_t)];
458 	char euid_l_[PADL_(l_uid16_t)]; l_uid16_t euid; char euid_r_[PADR_(l_uid16_t)];
459 	char suid_l_[PADL_(l_uid16_t)]; l_uid16_t suid; char suid_r_[PADR_(l_uid16_t)];
460 };
461 struct linux_getresuid16_args {
462 	char ruid_l_[PADL_(l_uid16_t *)]; l_uid16_t * ruid; char ruid_r_[PADR_(l_uid16_t *)];
463 	char euid_l_[PADL_(l_uid16_t *)]; l_uid16_t * euid; char euid_r_[PADR_(l_uid16_t *)];
464 	char suid_l_[PADL_(l_uid16_t *)]; l_uid16_t * suid; char suid_r_[PADR_(l_uid16_t *)];
465 };
466 struct linux_vm86_args {
467 	register_t dummy;
468 };
469 struct linux_query_module_args {
470 	register_t dummy;
471 };
472 struct linux_nfsservctl_args {
473 	register_t dummy;
474 };
475 struct linux_setresgid16_args {
476 	char rgid_l_[PADL_(l_gid16_t)]; l_gid16_t rgid; char rgid_r_[PADR_(l_gid16_t)];
477 	char egid_l_[PADL_(l_gid16_t)]; l_gid16_t egid; char egid_r_[PADR_(l_gid16_t)];
478 	char sgid_l_[PADL_(l_gid16_t)]; l_gid16_t sgid; char sgid_r_[PADR_(l_gid16_t)];
479 };
480 struct linux_getresgid16_args {
481 	char rgid_l_[PADL_(l_gid16_t *)]; l_gid16_t * rgid; char rgid_r_[PADR_(l_gid16_t *)];
482 	char egid_l_[PADL_(l_gid16_t *)]; l_gid16_t * egid; char egid_r_[PADR_(l_gid16_t *)];
483 	char sgid_l_[PADL_(l_gid16_t *)]; l_gid16_t * sgid; char sgid_r_[PADR_(l_gid16_t *)];
484 };
485 struct linux_prctl_args {
486 	register_t dummy;
487 };
488 struct linux_rt_sigreturn_args {
489 	char ucp_l_[PADL_(struct l_ucontext *)]; struct l_ucontext * ucp; char ucp_r_[PADR_(struct l_ucontext *)];
490 };
491 struct linux_rt_sigaction_args {
492 	char sig_l_[PADL_(l_int)]; l_int sig; char sig_r_[PADR_(l_int)];
493 	char act_l_[PADL_(l_sigaction_t *)]; l_sigaction_t * act; char act_r_[PADR_(l_sigaction_t *)];
494 	char oact_l_[PADL_(l_sigaction_t *)]; l_sigaction_t * oact; char oact_r_[PADR_(l_sigaction_t *)];
495 	char sigsetsize_l_[PADL_(l_size_t)]; l_size_t sigsetsize; char sigsetsize_r_[PADR_(l_size_t)];
496 };
497 struct linux_rt_sigprocmask_args {
498 	char how_l_[PADL_(l_int)]; l_int how; char how_r_[PADR_(l_int)];
499 	char mask_l_[PADL_(l_sigset_t *)]; l_sigset_t * mask; char mask_r_[PADR_(l_sigset_t *)];
500 	char omask_l_[PADL_(l_sigset_t *)]; l_sigset_t * omask; char omask_r_[PADR_(l_sigset_t *)];
501 	char sigsetsize_l_[PADL_(l_size_t)]; l_size_t sigsetsize; char sigsetsize_r_[PADR_(l_size_t)];
502 };
503 struct linux_rt_sigpending_args {
504 	register_t dummy;
505 };
506 struct linux_rt_sigtimedwait_args {
507 	register_t dummy;
508 };
509 struct linux_rt_sigqueueinfo_args {
510 	register_t dummy;
511 };
512 struct linux_rt_sigsuspend_args {
513 	char newset_l_[PADL_(l_sigset_t *)]; l_sigset_t * newset; char newset_r_[PADR_(l_sigset_t *)];
514 	char sigsetsize_l_[PADL_(l_size_t)]; l_size_t sigsetsize; char sigsetsize_r_[PADR_(l_size_t)];
515 };
516 struct linux_pread_args {
517 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
518 	char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
519 	char nbyte_l_[PADL_(l_size_t)]; l_size_t nbyte; char nbyte_r_[PADR_(l_size_t)];
520 	char offset_l_[PADL_(l_loff_t)]; l_loff_t offset; char offset_r_[PADR_(l_loff_t)];
521 };
522 struct linux_pwrite_args {
523 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
524 	char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
525 	char nbyte_l_[PADL_(l_size_t)]; l_size_t nbyte; char nbyte_r_[PADR_(l_size_t)];
526 	char offset_l_[PADL_(l_loff_t)]; l_loff_t offset; char offset_r_[PADR_(l_loff_t)];
527 };
528 struct linux_chown16_args {
529 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
530 	char uid_l_[PADL_(l_uid16_t)]; l_uid16_t uid; char uid_r_[PADR_(l_uid16_t)];
531 	char gid_l_[PADL_(l_gid16_t)]; l_gid16_t gid; char gid_r_[PADR_(l_gid16_t)];
532 };
533 struct linux_getcwd_args {
534 	char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
535 	char bufsize_l_[PADL_(l_ulong)]; l_ulong bufsize; char bufsize_r_[PADR_(l_ulong)];
536 };
537 struct linux_capget_args {
538 	register_t dummy;
539 };
540 struct linux_capset_args {
541 	register_t dummy;
542 };
543 struct linux_sigaltstack_args {
544 	char uss_l_[PADL_(l_stack_t *)]; l_stack_t * uss; char uss_r_[PADR_(l_stack_t *)];
545 	char uoss_l_[PADL_(l_stack_t *)]; l_stack_t * uoss; char uoss_r_[PADR_(l_stack_t *)];
546 };
547 struct linux_sendfile_args {
548 	register_t dummy;
549 };
550 struct linux_vfork_args {
551 	register_t dummy;
552 };
553 struct linux_getrlimit_args {
554 	char resource_l_[PADL_(l_uint)]; l_uint resource; char resource_r_[PADR_(l_uint)];
555 	char rlim_l_[PADL_(struct l_rlimit *)]; struct l_rlimit * rlim; char rlim_r_[PADR_(struct l_rlimit *)];
556 };
557 struct linux_mmap2_args {
558 	char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
559 	char len_l_[PADL_(l_ulong)]; l_ulong len; char len_r_[PADR_(l_ulong)];
560 	char prot_l_[PADL_(l_ulong)]; l_ulong prot; char prot_r_[PADR_(l_ulong)];
561 	char flags_l_[PADL_(l_ulong)]; l_ulong flags; char flags_r_[PADR_(l_ulong)];
562 	char fd_l_[PADL_(l_ulong)]; l_ulong fd; char fd_r_[PADR_(l_ulong)];
563 	char pgoff_l_[PADL_(l_ulong)]; l_ulong pgoff; char pgoff_r_[PADR_(l_ulong)];
564 };
565 struct linux_truncate64_args {
566 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
567 	char length_l_[PADL_(l_loff_t)]; l_loff_t length; char length_r_[PADR_(l_loff_t)];
568 };
569 struct linux_ftruncate64_args {
570 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
571 	char length_l_[PADL_(l_loff_t)]; l_loff_t length; char length_r_[PADR_(l_loff_t)];
572 };
573 struct linux_stat64_args {
574 	char filename_l_[PADL_(char *)]; char * filename; char filename_r_[PADR_(char *)];
575 	char statbuf_l_[PADL_(struct l_stat64 *)]; struct l_stat64 * statbuf; char statbuf_r_[PADR_(struct l_stat64 *)];
576 	char flags_l_[PADL_(l_long)]; l_long flags; char flags_r_[PADR_(l_long)];
577 };
578 struct linux_lstat64_args {
579 	char filename_l_[PADL_(char *)]; char * filename; char filename_r_[PADR_(char *)];
580 	char statbuf_l_[PADL_(struct l_stat64 *)]; struct l_stat64 * statbuf; char statbuf_r_[PADR_(struct l_stat64 *)];
581 	char flags_l_[PADL_(l_long)]; l_long flags; char flags_r_[PADR_(l_long)];
582 };
583 struct linux_fstat64_args {
584 	char fd_l_[PADL_(l_ulong)]; l_ulong fd; char fd_r_[PADR_(l_ulong)];
585 	char statbuf_l_[PADL_(struct l_stat64 *)]; struct l_stat64 * statbuf; char statbuf_r_[PADR_(struct l_stat64 *)];
586 	char flags_l_[PADL_(l_long)]; l_long flags; char flags_r_[PADR_(l_long)];
587 };
588 struct linux_lchown_args {
589 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
590 	char uid_l_[PADL_(l_uid_t)]; l_uid_t uid; char uid_r_[PADR_(l_uid_t)];
591 	char gid_l_[PADL_(l_gid_t)]; l_gid_t gid; char gid_r_[PADR_(l_gid_t)];
592 };
593 struct linux_getuid_args {
594 	register_t dummy;
595 };
596 struct linux_getgid_args {
597 	register_t dummy;
598 };
599 struct linux_getgroups_args {
600 	char gidsetsize_l_[PADL_(l_int)]; l_int gidsetsize; char gidsetsize_r_[PADR_(l_int)];
601 	char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)];
602 };
603 struct linux_setgroups_args {
604 	char gidsetsize_l_[PADL_(l_int)]; l_int gidsetsize; char gidsetsize_r_[PADR_(l_int)];
605 	char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)];
606 };
607 struct linux_chown_args {
608 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
609 	char uid_l_[PADL_(l_uid_t)]; l_uid_t uid; char uid_r_[PADR_(l_uid_t)];
610 	char gid_l_[PADL_(l_gid_t)]; l_gid_t gid; char gid_r_[PADR_(l_gid_t)];
611 };
612 struct linux_setfsuid_args {
613 	char uid_l_[PADL_(l_uid_t)]; l_uid_t uid; char uid_r_[PADR_(l_uid_t)];
614 };
615 struct linux_setfsgid_args {
616 	char gid_l_[PADL_(l_gid_t)]; l_gid_t gid; char gid_r_[PADR_(l_gid_t)];
617 };
618 struct linux_pivot_root_args {
619 	char new_root_l_[PADL_(char *)]; char * new_root; char new_root_r_[PADR_(char *)];
620 	char put_old_l_[PADL_(char *)]; char * put_old; char put_old_r_[PADR_(char *)];
621 };
622 struct linux_mincore_args {
623 	char start_l_[PADL_(l_ulong)]; l_ulong start; char start_r_[PADR_(l_ulong)];
624 	char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
625 	char vec_l_[PADL_(u_char *)]; u_char * vec; char vec_r_[PADR_(u_char *)];
626 };
627 struct linux_madvise_args {
628 	register_t dummy;
629 };
630 struct linux_getdents64_args {
631 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
632 	char dirent_l_[PADL_(void *)]; void * dirent; char dirent_r_[PADR_(void *)];
633 	char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
634 };
635 struct linux_fcntl64_args {
636 	char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
637 	char cmd_l_[PADL_(l_uint)]; l_uint cmd; char cmd_r_[PADR_(l_uint)];
638 	char arg_l_[PADL_(l_ulong)]; l_ulong arg; char arg_r_[PADR_(l_ulong)];
639 };
640 int	linux_fork __P((struct thread *, struct linux_fork_args *));
641 int	linux_open __P((struct thread *, struct linux_open_args *));
642 int	linux_waitpid __P((struct thread *, struct linux_waitpid_args *));
643 int	linux_creat __P((struct thread *, struct linux_creat_args *));
644 int	linux_link __P((struct thread *, struct linux_link_args *));
645 int	linux_unlink __P((struct thread *, struct linux_unlink_args *));
646 int	linux_execve __P((struct thread *, struct linux_execve_args *));
647 int	linux_chdir __P((struct thread *, struct linux_chdir_args *));
648 int	linux_time __P((struct thread *, struct linux_time_args *));
649 int	linux_mknod __P((struct thread *, struct linux_mknod_args *));
650 int	linux_chmod __P((struct thread *, struct linux_chmod_args *));
651 int	linux_lchown16 __P((struct thread *, struct linux_lchown16_args *));
652 int	linux_stat __P((struct thread *, struct linux_stat_args *));
653 int	linux_lseek __P((struct thread *, struct linux_lseek_args *));
654 int	linux_getpid __P((struct thread *, struct linux_getpid_args *));
655 int	linux_mount __P((struct thread *, struct linux_mount_args *));
656 int	linux_oldumount __P((struct thread *, struct linux_oldumount_args *));
657 int	linux_setuid16 __P((struct thread *, struct linux_setuid16_args *));
658 int	linux_getuid16 __P((struct thread *, struct linux_getuid16_args *));
659 int	linux_stime __P((struct thread *, struct linux_stime_args *));
660 int	linux_ptrace __P((struct thread *, struct linux_ptrace_args *));
661 int	linux_alarm __P((struct thread *, struct linux_alarm_args *));
662 int	linux_fstat __P((struct thread *, struct linux_fstat_args *));
663 int	linux_pause __P((struct thread *, struct linux_pause_args *));
664 int	linux_utime __P((struct thread *, struct linux_utime_args *));
665 int	linux_access __P((struct thread *, struct linux_access_args *));
666 int	linux_nice __P((struct thread *, struct linux_nice_args *));
667 int	linux_kill __P((struct thread *, struct linux_kill_args *));
668 int	linux_rename __P((struct thread *, struct linux_rename_args *));
669 int	linux_mkdir __P((struct thread *, struct linux_mkdir_args *));
670 int	linux_rmdir __P((struct thread *, struct linux_rmdir_args *));
671 int	linux_pipe __P((struct thread *, struct linux_pipe_args *));
672 int	linux_times __P((struct thread *, struct linux_times_args *));
673 int	linux_brk __P((struct thread *, struct linux_brk_args *));
674 int	linux_setgid16 __P((struct thread *, struct linux_setgid16_args *));
675 int	linux_getgid16 __P((struct thread *, struct linux_getgid16_args *));
676 int	linux_signal __P((struct thread *, struct linux_signal_args *));
677 int	linux_geteuid16 __P((struct thread *, struct linux_geteuid16_args *));
678 int	linux_getegid16 __P((struct thread *, struct linux_getegid16_args *));
679 int	linux_umount __P((struct thread *, struct linux_umount_args *));
680 int	linux_ioctl __P((struct thread *, struct linux_ioctl_args *));
681 int	linux_fcntl __P((struct thread *, struct linux_fcntl_args *));
682 int	linux_olduname __P((struct thread *, struct linux_olduname_args *));
683 int	linux_ustat __P((struct thread *, struct linux_ustat_args *));
684 int	linux_sigaction __P((struct thread *, struct linux_sigaction_args *));
685 int	linux_sgetmask __P((struct thread *, struct linux_sgetmask_args *));
686 int	linux_ssetmask __P((struct thread *, struct linux_ssetmask_args *));
687 int	linux_setreuid16 __P((struct thread *, struct linux_setreuid16_args *));
688 int	linux_setregid16 __P((struct thread *, struct linux_setregid16_args *));
689 int	linux_sigsuspend __P((struct thread *, struct linux_sigsuspend_args *));
690 int	linux_sigpending __P((struct thread *, struct linux_sigpending_args *));
691 int	linux_setrlimit __P((struct thread *, struct linux_setrlimit_args *));
692 int	linux_old_getrlimit __P((struct thread *, struct linux_old_getrlimit_args *));
693 int	linux_getgroups16 __P((struct thread *, struct linux_getgroups16_args *));
694 int	linux_setgroups16 __P((struct thread *, struct linux_setgroups16_args *));
695 int	linux_old_select __P((struct thread *, struct linux_old_select_args *));
696 int	linux_symlink __P((struct thread *, struct linux_symlink_args *));
697 int	linux_readlink __P((struct thread *, struct linux_readlink_args *));
698 int	linux_uselib __P((struct thread *, struct linux_uselib_args *));
699 int	linux_reboot __P((struct thread *, struct linux_reboot_args *));
700 int	linux_readdir __P((struct thread *, struct linux_readdir_args *));
701 int	linux_mmap __P((struct thread *, struct linux_mmap_args *));
702 int	linux_truncate __P((struct thread *, struct linux_truncate_args *));
703 int	linux_statfs __P((struct thread *, struct linux_statfs_args *));
704 int	linux_fstatfs __P((struct thread *, struct linux_fstatfs_args *));
705 int	linux_ioperm __P((struct thread *, struct linux_ioperm_args *));
706 int	linux_socketcall __P((struct thread *, struct linux_socketcall_args *));
707 int	linux_syslog __P((struct thread *, struct linux_syslog_args *));
708 int	linux_setitimer __P((struct thread *, struct linux_setitimer_args *));
709 int	linux_getitimer __P((struct thread *, struct linux_getitimer_args *));
710 int	linux_newstat __P((struct thread *, struct linux_newstat_args *));
711 int	linux_newlstat __P((struct thread *, struct linux_newlstat_args *));
712 int	linux_newfstat __P((struct thread *, struct linux_newfstat_args *));
713 int	linux_uname __P((struct thread *, struct linux_uname_args *));
714 int	linux_iopl __P((struct thread *, struct linux_iopl_args *));
715 int	linux_vhangup __P((struct thread *, struct linux_vhangup_args *));
716 int	linux_vm86old __P((struct thread *, struct linux_vm86old_args *));
717 int	linux_wait4 __P((struct thread *, struct linux_wait4_args *));
718 int	linux_swapoff __P((struct thread *, struct linux_swapoff_args *));
719 int	linux_sysinfo __P((struct thread *, struct linux_sysinfo_args *));
720 int	linux_ipc __P((struct thread *, struct linux_ipc_args *));
721 int	linux_sigreturn __P((struct thread *, struct linux_sigreturn_args *));
722 int	linux_clone __P((struct thread *, struct linux_clone_args *));
723 int	linux_newuname __P((struct thread *, struct linux_newuname_args *));
724 int	linux_modify_ldt __P((struct thread *, struct linux_modify_ldt_args *));
725 int	linux_adjtimex __P((struct thread *, struct linux_adjtimex_args *));
726 int	linux_sigprocmask __P((struct thread *, struct linux_sigprocmask_args *));
727 int	linux_create_module __P((struct thread *, struct linux_create_module_args *));
728 int	linux_init_module __P((struct thread *, struct linux_init_module_args *));
729 int	linux_delete_module __P((struct thread *, struct linux_delete_module_args *));
730 int	linux_get_kernel_syms __P((struct thread *, struct linux_get_kernel_syms_args *));
731 int	linux_quotactl __P((struct thread *, struct linux_quotactl_args *));
732 int	linux_bdflush __P((struct thread *, struct linux_bdflush_args *));
733 int	linux_sysfs __P((struct thread *, struct linux_sysfs_args *));
734 int	linux_personality __P((struct thread *, struct linux_personality_args *));
735 int	linux_setfsuid16 __P((struct thread *, struct linux_setfsuid16_args *));
736 int	linux_setfsgid16 __P((struct thread *, struct linux_setfsgid16_args *));
737 int	linux_llseek __P((struct thread *, struct linux_llseek_args *));
738 int	linux_getdents __P((struct thread *, struct linux_getdents_args *));
739 int	linux_select __P((struct thread *, struct linux_select_args *));
740 int	linux_msync __P((struct thread *, struct linux_msync_args *));
741 int	linux_getsid __P((struct thread *, struct linux_getsid_args *));
742 int	linux_fdatasync __P((struct thread *, struct linux_fdatasync_args *));
743 int	linux_sysctl __P((struct thread *, struct linux_sysctl_args *));
744 int	linux_sched_setscheduler __P((struct thread *, struct linux_sched_setscheduler_args *));
745 int	linux_sched_getscheduler __P((struct thread *, struct linux_sched_getscheduler_args *));
746 int	linux_sched_get_priority_max __P((struct thread *, struct linux_sched_get_priority_max_args *));
747 int	linux_sched_get_priority_min __P((struct thread *, struct linux_sched_get_priority_min_args *));
748 int	linux_mremap __P((struct thread *, struct linux_mremap_args *));
749 int	linux_setresuid16 __P((struct thread *, struct linux_setresuid16_args *));
750 int	linux_getresuid16 __P((struct thread *, struct linux_getresuid16_args *));
751 int	linux_vm86 __P((struct thread *, struct linux_vm86_args *));
752 int	linux_query_module __P((struct thread *, struct linux_query_module_args *));
753 int	linux_nfsservctl __P((struct thread *, struct linux_nfsservctl_args *));
754 int	linux_setresgid16 __P((struct thread *, struct linux_setresgid16_args *));
755 int	linux_getresgid16 __P((struct thread *, struct linux_getresgid16_args *));
756 int	linux_prctl __P((struct thread *, struct linux_prctl_args *));
757 int	linux_rt_sigreturn __P((struct thread *, struct linux_rt_sigreturn_args *));
758 int	linux_rt_sigaction __P((struct thread *, struct linux_rt_sigaction_args *));
759 int	linux_rt_sigprocmask __P((struct thread *, struct linux_rt_sigprocmask_args *));
760 int	linux_rt_sigpending __P((struct thread *, struct linux_rt_sigpending_args *));
761 int	linux_rt_sigtimedwait __P((struct thread *, struct linux_rt_sigtimedwait_args *));
762 int	linux_rt_sigqueueinfo __P((struct thread *, struct linux_rt_sigqueueinfo_args *));
763 int	linux_rt_sigsuspend __P((struct thread *, struct linux_rt_sigsuspend_args *));
764 int	linux_pread __P((struct thread *, struct linux_pread_args *));
765 int	linux_pwrite __P((struct thread *, struct linux_pwrite_args *));
766 int	linux_chown16 __P((struct thread *, struct linux_chown16_args *));
767 int	linux_getcwd __P((struct thread *, struct linux_getcwd_args *));
768 int	linux_capget __P((struct thread *, struct linux_capget_args *));
769 int	linux_capset __P((struct thread *, struct linux_capset_args *));
770 int	linux_sigaltstack __P((struct thread *, struct linux_sigaltstack_args *));
771 int	linux_sendfile __P((struct thread *, struct linux_sendfile_args *));
772 int	linux_vfork __P((struct thread *, struct linux_vfork_args *));
773 int	linux_getrlimit __P((struct thread *, struct linux_getrlimit_args *));
774 int	linux_mmap2 __P((struct thread *, struct linux_mmap2_args *));
775 int	linux_truncate64 __P((struct thread *, struct linux_truncate64_args *));
776 int	linux_ftruncate64 __P((struct thread *, struct linux_ftruncate64_args *));
777 int	linux_stat64 __P((struct thread *, struct linux_stat64_args *));
778 int	linux_lstat64 __P((struct thread *, struct linux_lstat64_args *));
779 int	linux_fstat64 __P((struct thread *, struct linux_fstat64_args *));
780 int	linux_lchown __P((struct thread *, struct linux_lchown_args *));
781 int	linux_getuid __P((struct thread *, struct linux_getuid_args *));
782 int	linux_getgid __P((struct thread *, struct linux_getgid_args *));
783 int	linux_getgroups __P((struct thread *, struct linux_getgroups_args *));
784 int	linux_setgroups __P((struct thread *, struct linux_setgroups_args *));
785 int	linux_chown __P((struct thread *, struct linux_chown_args *));
786 int	linux_setfsuid __P((struct thread *, struct linux_setfsuid_args *));
787 int	linux_setfsgid __P((struct thread *, struct linux_setfsgid_args *));
788 int	linux_pivot_root __P((struct thread *, struct linux_pivot_root_args *));
789 int	linux_mincore __P((struct thread *, struct linux_mincore_args *));
790 int	linux_madvise __P((struct thread *, struct linux_madvise_args *));
791 int	linux_getdents64 __P((struct thread *, struct linux_getdents64_args *));
792 int	linux_fcntl64 __P((struct thread *, struct linux_fcntl64_args *));
793 
794 #ifdef COMPAT_43
795 
796 
797 #endif /* COMPAT_43 */
798 
799 #undef PAD_
800 #undef PADL_
801 #undef PADR_
802 
803 #endif /* !_LINUX_SYSPROTO_H_ */
804