xref: /freebsd/sys/i386/linux/linux_proto.h (revision ce834215a70ff69e7e222827437116eee2f9ac6f)
1 /*
2  * System call prototypes.
3  *
4  * DO NOT EDIT-- this file is automatically generated.
5  * created from	Id: syscalls.master,v 1.5 1997/04/09 15:34:09 bde Exp
6  */
7 
8 #ifndef _LINUX_SYSPROTO_H_
9 #define	_LINUX_SYSPROTO_H_
10 
11 #include <sys/signal.h>
12 
13 struct	linux_setup_args {
14 	int dummy;
15 };
16 struct	linux_fork_args {
17 	int dummy;
18 };
19 struct	linux_open_args {
20 	char * path;
21 	int flags;
22 	int mode;
23 };
24 struct	linux_waitpid_args {
25 	int pid;
26 	int * status;
27 	int options;
28 };
29 struct	linux_creat_args {
30 	char * path;
31 	int mode;
32 };
33 struct	linux_unlink_args {
34 	char * path;
35 };
36 struct	linux_execve_args {
37 	char * path;
38 	char ** argp;
39 	char ** envp;
40 };
41 struct	linux_chdir_args {
42 	char * path;
43 };
44 struct	linux_time_args {
45 	linux_time_t * tm;
46 };
47 struct	linux_mknod_args {
48 	char * path;
49 	int mode;
50 	int dev;
51 };
52 struct	linux_chmod_args {
53 	char * path;
54 	int mode;
55 };
56 struct	linux_chown_args {
57 	char * path;
58 	int uid;
59 	int gid;
60 };
61 struct	linux_break_args {
62 	char * nsize;
63 };
64 struct	linux_stat_args {
65 	char * path;
66 	struct ostat * up;
67 };
68 struct	linux_lseek_args {
69 	int fdes;
70 	long off;
71 	int whence;
72 };
73 struct	linux_mount_args {
74 	int dummy;
75 };
76 struct	linux_umount_args {
77 	int dummy;
78 };
79 struct	linux_stime_args {
80 	int dummy;
81 };
82 struct	linux_ptrace_args {
83 	int dummy;
84 };
85 struct	linux_alarm_args {
86 	unsigned int secs;
87 };
88 struct	linux_fstat_args {
89 	int fd;
90 	struct ostat * up;
91 };
92 struct	linux_pause_args {
93 	int dummy;
94 };
95 struct	linux_utime_args {
96 	char * fname;
97 	struct linux_utimbuf * times;
98 };
99 struct	linux_stty_args {
100 	int dummy;
101 };
102 struct	linux_gtty_args {
103 	int dummy;
104 };
105 struct	linux_access_args {
106 	char * path;
107 	int flags;
108 };
109 struct	linux_nice_args {
110 	int dummy;
111 };
112 struct	linux_ftime_args {
113 	int dummy;
114 };
115 struct	linux_kill_args {
116 	int pid;
117 	int signum;
118 };
119 struct	linux_rename_args {
120 	char * from;
121 	char * to;
122 };
123 struct	linux_mkdir_args {
124 	char * path;
125 	int mode;
126 };
127 struct	linux_rmdir_args {
128 	char * path;
129 };
130 struct	linux_pipe_args {
131 	int * pipefds;
132 };
133 struct	linux_times_args {
134 	struct linux_times_argv * buf;
135 };
136 struct	linux_prof_args {
137 	int dummy;
138 };
139 struct	linux_brk_args {
140 	char * dsend;
141 };
142 struct	linux_signal_args {
143 	int sig;
144 	linux_handler_t handler;
145 };
146 struct	linux_phys_args {
147 	int dummy;
148 };
149 struct	linux_lock_args {
150 	int dummy;
151 };
152 struct	linux_ioctl_args {
153 	int fd;
154 	u_long cmd;
155 	int arg;
156 };
157 struct	linux_fcntl_args {
158 	int fd;
159 	int cmd;
160 	int arg;
161 };
162 struct	linux_mpx_args {
163 	int dummy;
164 };
165 struct	linux_ulimit_args {
166 	int dummy;
167 };
168 struct	linux_olduname_args {
169 	struct linux_oldold_utsname * up;
170 };
171 struct	linux_ustat_args {
172 	int dummy;
173 };
174 struct	linux_sigaction_args {
175 	int sig;
176 	struct linux_sigaction * nsa;
177 	struct linux_sigaction * osa;
178 };
179 struct	linux_siggetmask_args {
180 	int dummy;
181 };
182 struct	linux_sigsetmask_args {
183 	linux_sigset_t mask;
184 };
185 struct	linux_sigsuspend_args {
186 	int restart;
187 	linux_sigset_t oldmask;
188 	linux_sigset_t mask;
189 };
190 struct	linux_sigpending_args {
191 	linux_sigset_t * mask;
192 };
193 struct	linux_select_args {
194 	struct linux_select_argv * ptr;
195 };
196 struct	linux_symlink_args {
197 	char * path;
198 	char * to;
199 };
200 struct	linux_readlink_args {
201 	char * name;
202 	char * buf;
203 	int count;
204 };
205 struct	linux_uselib_args {
206 	char * library;
207 };
208 struct	linux_readdir_args {
209 	int fd;
210 	struct linux_dirent * dent;
211 	unsigned int count;
212 };
213 struct	linux_mmap_args {
214 	struct linux_mmap_argv * ptr;
215 };
216 struct	linux_truncate_args {
217 	char * path;
218 	long length;
219 };
220 struct	linux_statfs_args {
221 	char * path;
222 	struct linux_statfs_buf * buf;
223 };
224 struct	linux_fstatfs_args {
225 	int fd;
226 	struct linux_statfs_buf * buf;
227 };
228 struct	linux_ioperm_args {
229 	unsigned int lo;
230 	unsigned int hi;
231 	int val;
232 };
233 struct	linux_socketcall_args {
234 	int what;
235 	void * args;
236 };
237 struct	linux_ksyslog_args {
238 	int what;
239 };
240 struct	linux_setitimer_args {
241 	u_int which;
242 	struct itimerval * itv;
243 	struct itimerval * oitv;
244 };
245 struct	linux_getitimer_args {
246 	u_int which;
247 	struct itimerval * itv;
248 };
249 struct	linux_newstat_args {
250 	char * path;
251 	struct linux_newstat * buf;
252 };
253 struct	linux_newlstat_args {
254 	char * path;
255 	struct linux_newstat * buf;
256 };
257 struct	linux_newfstat_args {
258 	int fd;
259 	struct linux_newstat * buf;
260 };
261 struct	linux_uname_args {
262 	struct linux_old_utsname * up;
263 };
264 struct	linux_iopl_args {
265 	int level;
266 };
267 struct	linux_vhangup_args {
268 	int dummy;
269 };
270 struct	linux_idle_args {
271 	int dummy;
272 };
273 struct	linux_vm86_args {
274 	int dummy;
275 };
276 struct	linux_wait4_args {
277 	int pid;
278 	int * status;
279 	int options;
280 	struct rusage * rusage;
281 };
282 struct	linux_swapoff_args {
283 	int dummy;
284 };
285 struct	linux_sysinfo_args {
286 	int dummy;
287 };
288 struct	linux_ipc_args {
289 	int what;
290 	int arg1;
291 	int arg2;
292 	int arg3;
293 	caddr_t ptr;
294 };
295 struct	linux_sigreturn_args {
296 	struct linux_sigcontext * scp;
297 };
298 struct	linux_clone_args {
299 	int dummy;
300 };
301 struct	linux_newuname_args {
302 	struct linux_newuname_t * buf;
303 };
304 struct	linux_modify_ldt_args {
305 	int func;
306 	void * ptr;
307 	size_t bytecount;
308 };
309 struct	linux_adjtimex_args {
310 	int dummy;
311 };
312 struct	linux_sigprocmask_args {
313 	int how;
314 	linux_sigset_t * mask;
315 	linux_sigset_t * omask;
316 };
317 struct	linux_create_module_args {
318 	int dummy;
319 };
320 struct	linux_init_module_args {
321 	int dummy;
322 };
323 struct	linux_delete_module_args {
324 	int dummy;
325 };
326 struct	linux_get_kernel_syms_args {
327 	int dummy;
328 };
329 struct	linux_quotactl_args {
330 	int dummy;
331 };
332 struct	linux_getpgid_args {
333 	int pid;
334 };
335 struct	linux_bdflush_args {
336 	int dummy;
337 };
338 struct	linux_personality_args {
339 	int per;
340 };
341 struct	linux_llseek_args {
342 	int fd;
343 	u_int32_t ohigh;
344 	u_int32_t olow;
345 	caddr_t res;
346 	int whence;
347 };
348 struct	linux_getdents_args {
349 	int fd;
350 	void * dent;
351 	unsigned count;
352 };
353 struct	linux_newselect_args {
354 	int nfds;
355 	fd_set * readfds;
356 	fd_set * writefds;
357 	fd_set * exceptfds;
358 	struct timeval * timeout;
359 };
360 struct	linux_msync_args {
361 	caddr_t addr;
362 	int len;
363 	int fl;
364 };
365 int	linux_setup __P((struct proc *, struct linux_setup_args *, int []));
366 int	linux_fork __P((struct proc *, struct linux_fork_args *, int []));
367 int	linux_open __P((struct proc *, struct linux_open_args *, int []));
368 int	linux_waitpid __P((struct proc *, struct linux_waitpid_args *, int []));
369 int	linux_creat __P((struct proc *, struct linux_creat_args *, int []));
370 int	linux_unlink __P((struct proc *, struct linux_unlink_args *, int []));
371 int	linux_execve __P((struct proc *, struct linux_execve_args *, int []));
372 int	linux_chdir __P((struct proc *, struct linux_chdir_args *, int []));
373 int	linux_time __P((struct proc *, struct linux_time_args *, int []));
374 int	linux_mknod __P((struct proc *, struct linux_mknod_args *, int []));
375 int	linux_chmod __P((struct proc *, struct linux_chmod_args *, int []));
376 int	linux_chown __P((struct proc *, struct linux_chown_args *, int []));
377 int	linux_break __P((struct proc *, struct linux_break_args *, int []));
378 int	linux_stat __P((struct proc *, struct linux_stat_args *, int []));
379 int	linux_lseek __P((struct proc *, struct linux_lseek_args *, int []));
380 int	linux_mount __P((struct proc *, struct linux_mount_args *, int []));
381 int	linux_umount __P((struct proc *, struct linux_umount_args *, int []));
382 int	linux_stime __P((struct proc *, struct linux_stime_args *, int []));
383 int	linux_ptrace __P((struct proc *, struct linux_ptrace_args *, int []));
384 int	linux_alarm __P((struct proc *, struct linux_alarm_args *, int []));
385 int	linux_fstat __P((struct proc *, struct linux_fstat_args *, int []));
386 int	linux_pause __P((struct proc *, struct linux_pause_args *, int []));
387 int	linux_utime __P((struct proc *, struct linux_utime_args *, int []));
388 int	linux_stty __P((struct proc *, struct linux_stty_args *, int []));
389 int	linux_gtty __P((struct proc *, struct linux_gtty_args *, int []));
390 int	linux_access __P((struct proc *, struct linux_access_args *, int []));
391 int	linux_nice __P((struct proc *, struct linux_nice_args *, int []));
392 int	linux_ftime __P((struct proc *, struct linux_ftime_args *, int []));
393 int	linux_kill __P((struct proc *, struct linux_kill_args *, int []));
394 int	linux_rename __P((struct proc *, struct linux_rename_args *, int []));
395 int	linux_mkdir __P((struct proc *, struct linux_mkdir_args *, int []));
396 int	linux_rmdir __P((struct proc *, struct linux_rmdir_args *, int []));
397 int	linux_pipe __P((struct proc *, struct linux_pipe_args *, int []));
398 int	linux_times __P((struct proc *, struct linux_times_args *, int []));
399 int	linux_prof __P((struct proc *, struct linux_prof_args *, int []));
400 int	linux_brk __P((struct proc *, struct linux_brk_args *, int []));
401 int	linux_signal __P((struct proc *, struct linux_signal_args *, int []));
402 int	linux_phys __P((struct proc *, struct linux_phys_args *, int []));
403 int	linux_lock __P((struct proc *, struct linux_lock_args *, int []));
404 int	linux_ioctl __P((struct proc *, struct linux_ioctl_args *, int []));
405 int	linux_fcntl __P((struct proc *, struct linux_fcntl_args *, int []));
406 int	linux_mpx __P((struct proc *, struct linux_mpx_args *, int []));
407 int	linux_ulimit __P((struct proc *, struct linux_ulimit_args *, int []));
408 int	linux_olduname __P((struct proc *, struct linux_olduname_args *, int []));
409 int	linux_ustat __P((struct proc *, struct linux_ustat_args *, int []));
410 int	linux_sigaction __P((struct proc *, struct linux_sigaction_args *, int []));
411 int	linux_siggetmask __P((struct proc *, struct linux_siggetmask_args *, int []));
412 int	linux_sigsetmask __P((struct proc *, struct linux_sigsetmask_args *, int []));
413 int	linux_sigsuspend __P((struct proc *, struct linux_sigsuspend_args *, int []));
414 int	linux_sigpending __P((struct proc *, struct linux_sigpending_args *, int []));
415 int	linux_select __P((struct proc *, struct linux_select_args *, int []));
416 int	linux_symlink __P((struct proc *, struct linux_symlink_args *, int []));
417 int	linux_readlink __P((struct proc *, struct linux_readlink_args *, int []));
418 int	linux_uselib __P((struct proc *, struct linux_uselib_args *, int []));
419 int	linux_readdir __P((struct proc *, struct linux_readdir_args *, int []));
420 int	linux_mmap __P((struct proc *, struct linux_mmap_args *, int []));
421 int	linux_truncate __P((struct proc *, struct linux_truncate_args *, int []));
422 int	linux_statfs __P((struct proc *, struct linux_statfs_args *, int []));
423 int	linux_fstatfs __P((struct proc *, struct linux_fstatfs_args *, int []));
424 int	linux_ioperm __P((struct proc *, struct linux_ioperm_args *, int []));
425 int	linux_socketcall __P((struct proc *, struct linux_socketcall_args *, int []));
426 int	linux_ksyslog __P((struct proc *, struct linux_ksyslog_args *, int []));
427 int	linux_setitimer __P((struct proc *, struct linux_setitimer_args *, int []));
428 int	linux_getitimer __P((struct proc *, struct linux_getitimer_args *, int []));
429 int	linux_newstat __P((struct proc *, struct linux_newstat_args *, int []));
430 int	linux_newlstat __P((struct proc *, struct linux_newlstat_args *, int []));
431 int	linux_newfstat __P((struct proc *, struct linux_newfstat_args *, int []));
432 int	linux_uname __P((struct proc *, struct linux_uname_args *, int []));
433 int	linux_iopl __P((struct proc *, struct linux_iopl_args *, int []));
434 int	linux_vhangup __P((struct proc *, struct linux_vhangup_args *, int []));
435 int	linux_idle __P((struct proc *, struct linux_idle_args *, int []));
436 int	linux_vm86 __P((struct proc *, struct linux_vm86_args *, int []));
437 int	linux_wait4 __P((struct proc *, struct linux_wait4_args *, int []));
438 int	linux_swapoff __P((struct proc *, struct linux_swapoff_args *, int []));
439 int	linux_sysinfo __P((struct proc *, struct linux_sysinfo_args *, int []));
440 int	linux_ipc __P((struct proc *, struct linux_ipc_args *, int []));
441 int	linux_sigreturn __P((struct proc *, struct linux_sigreturn_args *, int []));
442 int	linux_clone __P((struct proc *, struct linux_clone_args *, int []));
443 int	linux_newuname __P((struct proc *, struct linux_newuname_args *, int []));
444 int	linux_modify_ldt __P((struct proc *, struct linux_modify_ldt_args *, int []));
445 int	linux_adjtimex __P((struct proc *, struct linux_adjtimex_args *, int []));
446 int	linux_sigprocmask __P((struct proc *, struct linux_sigprocmask_args *, int []));
447 int	linux_create_module __P((struct proc *, struct linux_create_module_args *, int []));
448 int	linux_init_module __P((struct proc *, struct linux_init_module_args *, int []));
449 int	linux_delete_module __P((struct proc *, struct linux_delete_module_args *, int []));
450 int	linux_get_kernel_syms __P((struct proc *, struct linux_get_kernel_syms_args *, int []));
451 int	linux_quotactl __P((struct proc *, struct linux_quotactl_args *, int []));
452 int	linux_getpgid __P((struct proc *, struct linux_getpgid_args *, int []));
453 int	linux_bdflush __P((struct proc *, struct linux_bdflush_args *, int []));
454 int	linux_personality __P((struct proc *, struct linux_personality_args *, int []));
455 int	linux_llseek __P((struct proc *, struct linux_llseek_args *, int []));
456 int	linux_getdents __P((struct proc *, struct linux_getdents_args *, int []));
457 int	linux_newselect __P((struct proc *, struct linux_newselect_args *, int []));
458 int	linux_msync __P((struct proc *, struct linux_msync_args *, int []));
459 
460 #ifdef COMPAT_43
461 
462 
463 #endif /* COMPAT_43 */
464 
465 #endif /* !_LINUX_SYSPROTO_H_ */
466