linux_syscallargs.h revision 1.14 1 1.1 erh /* $NetBSD: linux_syscallargs.h,v 1.14 1999/12/16 15:13:41 tron Exp $ */
2 1.1 erh
3 1.1 erh /*
4 1.1 erh * System call argument lists.
5 1.1 erh *
6 1.1 erh * DO NOT EDIT-- this file is automatically generated.
7 1.14 tron * created from NetBSD: syscalls.master,v 1.15 1999/12/16 15:13:01 tron Exp
8 1.1 erh */
9 1.1 erh
10 1.7 thorpej #ifndef _LINUX_SYS__SYSCALLARGS_H_
11 1.7 thorpej #define _LINUX_SYS__SYSCALLARGS_H_
12 1.7 thorpej
13 1.3 fvdl #ifdef syscallarg
14 1.3 fvdl #undef syscallarg
15 1.3 fvdl #endif
16 1.3 fvdl
17 1.12 tron #define syscallarg(x) \
18 1.12 tron union { \
19 1.12 tron register_t pad; \
20 1.12 tron struct { x datum; } le; \
21 1.12 tron struct { \
22 1.12 tron int8_t pad[ (sizeof (register_t) < sizeof (x)) \
23 1.12 tron ? 0 \
24 1.12 tron : sizeof (register_t) - sizeof (x)]; \
25 1.12 tron x datum; \
26 1.12 tron } be; \
27 1.12 tron }
28 1.1 erh
29 1.1 erh struct linux_sys_creat_args {
30 1.1 erh syscallarg(char *) path;
31 1.1 erh syscallarg(int) mode;
32 1.1 erh };
33 1.1 erh
34 1.1 erh struct linux_sys_unlink_args {
35 1.1 erh syscallarg(char *) path;
36 1.1 erh };
37 1.1 erh
38 1.1 erh struct linux_sys_chdir_args {
39 1.1 erh syscallarg(char *) path;
40 1.1 erh };
41 1.1 erh
42 1.1 erh struct linux_sys_mknod_args {
43 1.1 erh syscallarg(char *) path;
44 1.1 erh syscallarg(int) mode;
45 1.1 erh syscallarg(int) dev;
46 1.1 erh };
47 1.1 erh
48 1.1 erh struct linux_sys_chmod_args {
49 1.1 erh syscallarg(char *) path;
50 1.1 erh syscallarg(int) mode;
51 1.1 erh };
52 1.1 erh
53 1.1 erh struct linux_sys_chown_args {
54 1.1 erh syscallarg(char *) path;
55 1.1 erh syscallarg(int) uid;
56 1.1 erh syscallarg(int) gid;
57 1.1 erh };
58 1.1 erh
59 1.1 erh struct linux_sys_brk_args {
60 1.1 erh syscallarg(char *) nsize;
61 1.1 erh };
62 1.1 erh
63 1.14 tron struct linux_sys_ptrace_args {
64 1.14 tron syscallarg(int) request;
65 1.14 tron syscallarg(int) pid;
66 1.14 tron syscallarg(int) addr;
67 1.14 tron syscallarg(int) data;
68 1.14 tron };
69 1.14 tron
70 1.1 erh struct linux_sys_access_args {
71 1.1 erh syscallarg(char *) path;
72 1.1 erh syscallarg(int) flags;
73 1.1 erh };
74 1.1 erh
75 1.1 erh struct linux_sys_kill_args {
76 1.1 erh syscallarg(int) pid;
77 1.1 erh syscallarg(int) signum;
78 1.1 erh };
79 1.1 erh
80 1.1 erh struct linux_sys_open_args {
81 1.1 erh syscallarg(char *) path;
82 1.1 erh syscallarg(int) flags;
83 1.1 erh syscallarg(int) mode;
84 1.1 erh };
85 1.1 erh
86 1.1 erh struct linux_sys_sigpending_args {
87 1.1 erh syscallarg(linux_old_sigset_t *) set;
88 1.1 erh };
89 1.1 erh
90 1.1 erh struct linux_sys_ioctl_args {
91 1.1 erh syscallarg(int) fd;
92 1.1 erh syscallarg(u_long) com;
93 1.1 erh syscallarg(caddr_t) data;
94 1.1 erh };
95 1.1 erh
96 1.1 erh struct linux_sys_symlink_args {
97 1.1 erh syscallarg(char *) path;
98 1.1 erh syscallarg(char *) to;
99 1.1 erh };
100 1.1 erh
101 1.1 erh struct linux_sys_readlink_args {
102 1.1 erh syscallarg(char *) name;
103 1.1 erh syscallarg(char *) buf;
104 1.1 erh syscallarg(int) count;
105 1.1 erh };
106 1.1 erh
107 1.1 erh struct linux_sys_execve_args {
108 1.1 erh syscallarg(char *) path;
109 1.1 erh syscallarg(char **) argp;
110 1.1 erh syscallarg(char **) envp;
111 1.1 erh };
112 1.1 erh
113 1.1 erh struct linux_sys_stat_args {
114 1.1 erh syscallarg(char *) path;
115 1.1 erh syscallarg(struct linux_stat *) sp;
116 1.1 erh };
117 1.1 erh
118 1.1 erh struct linux_sys_lstat_args {
119 1.1 erh syscallarg(char *) path;
120 1.1 erh syscallarg(struct linux_stat *) sp;
121 1.1 erh };
122 1.1 erh
123 1.1 erh struct linux_sys_fstat_args {
124 1.1 erh syscallarg(int) fd;
125 1.1 erh syscallarg(struct linux_stat *) sp;
126 1.1 erh };
127 1.1 erh
128 1.1 erh struct linux_sys_fcntl_args {
129 1.1 erh syscallarg(int) fd;
130 1.1 erh syscallarg(int) cmd;
131 1.1 erh syscallarg(void *) arg;
132 1.1 erh };
133 1.1 erh
134 1.1 erh struct linux_sys_socket_args {
135 1.1 erh syscallarg(int) domain;
136 1.1 erh syscallarg(int) type;
137 1.1 erh syscallarg(int) protocol;
138 1.1 erh };
139 1.1 erh
140 1.1 erh struct linux_sys_sigreturn_args {
141 1.1 erh syscallarg(struct linux_sigframe *) sfp;
142 1.1 erh };
143 1.1 erh
144 1.1 erh struct linux_sys_setsockopt_args {
145 1.1 erh syscallarg(int) s;
146 1.1 erh syscallarg(int) level;
147 1.1 erh syscallarg(int) optname;
148 1.1 erh syscallarg(void *) optval;
149 1.1 erh syscallarg(int) optlen;
150 1.1 erh };
151 1.1 erh
152 1.1 erh struct linux_sys_sigsuspend_args {
153 1.1 erh syscallarg(caddr_t) restart;
154 1.1 erh syscallarg(int) oldmask;
155 1.1 erh syscallarg(int) mask;
156 1.1 erh };
157 1.1 erh
158 1.1 erh struct linux_sys_getsockopt_args {
159 1.1 erh syscallarg(int) s;
160 1.1 erh syscallarg(int) level;
161 1.1 erh syscallarg(int) optname;
162 1.1 erh syscallarg(void *) optval;
163 1.1 erh syscallarg(int *) optlen;
164 1.1 erh };
165 1.1 erh
166 1.1 erh struct linux_sys_fchown_args {
167 1.1 erh syscallarg(int) fd;
168 1.1 erh syscallarg(int) uid;
169 1.1 erh syscallarg(int) gid;
170 1.1 erh };
171 1.1 erh
172 1.1 erh struct linux_sys_recvfrom_args {
173 1.1 erh syscallarg(int) s;
174 1.1 erh syscallarg(void *) buf;
175 1.1 erh syscallarg(int) len;
176 1.1 erh syscallarg(int) flags;
177 1.1 erh syscallarg(struct sockaddr *) from;
178 1.1 erh syscallarg(int *) fromlen;
179 1.1 erh };
180 1.1 erh
181 1.1 erh struct linux_sys_setreuid_args {
182 1.1 erh syscallarg(int) ruid;
183 1.1 erh syscallarg(int) euid;
184 1.1 erh };
185 1.1 erh
186 1.1 erh struct linux_sys_setregid_args {
187 1.1 erh syscallarg(int) rgid;
188 1.1 erh syscallarg(int) egid;
189 1.1 erh };
190 1.1 erh
191 1.1 erh struct linux_sys_rename_args {
192 1.1 erh syscallarg(char *) from;
193 1.1 erh syscallarg(char *) to;
194 1.1 erh };
195 1.1 erh
196 1.1 erh struct linux_sys_truncate_args {
197 1.1 erh syscallarg(char *) path;
198 1.1 erh syscallarg(long) length;
199 1.1 erh };
200 1.1 erh
201 1.1 erh struct linux_sys_sendto_args {
202 1.1 erh syscallarg(int) s;
203 1.1 erh syscallarg(void *) msg;
204 1.1 erh syscallarg(int) len;
205 1.1 erh syscallarg(int) flags;
206 1.1 erh syscallarg(struct sockaddr *) to;
207 1.1 erh syscallarg(int) tolen;
208 1.1 erh };
209 1.1 erh
210 1.1 erh struct linux_sys_socketpair_args {
211 1.1 erh syscallarg(int) domain;
212 1.1 erh syscallarg(int) type;
213 1.1 erh syscallarg(int) protocol;
214 1.1 erh syscallarg(int *) rsv;
215 1.1 erh };
216 1.1 erh
217 1.1 erh struct linux_sys_mkdir_args {
218 1.1 erh syscallarg(char *) path;
219 1.1 erh syscallarg(int) mode;
220 1.1 erh };
221 1.1 erh
222 1.1 erh struct linux_sys_rmdir_args {
223 1.1 erh syscallarg(char *) path;
224 1.1 erh };
225 1.1 erh
226 1.1 erh struct linux_sys_sigaction_args {
227 1.1 erh syscallarg(int) signum;
228 1.1 erh syscallarg(const struct linux_old_sigaction *) nsa;
229 1.1 erh syscallarg(struct linux_old_sigaction *) osa;
230 1.1 erh };
231 1.1 erh
232 1.1 erh struct linux_sys_olduname_args {
233 1.1 erh syscallarg(struct linux_old_utsname *) up;
234 1.1 erh };
235 1.1 erh
236 1.1 erh struct linux_sys_lchown_args {
237 1.1 erh syscallarg(char *) path;
238 1.1 erh syscallarg(int) uid;
239 1.1 erh syscallarg(int) gid;
240 1.1 erh };
241 1.1 erh
242 1.1 erh struct linux_sys_msync_args {
243 1.1 erh syscallarg(caddr_t) addr;
244 1.1 erh syscallarg(int) len;
245 1.1 erh syscallarg(int) fl;
246 1.1 erh };
247 1.1 erh
248 1.1 erh struct linux_sys_getpgid_args {
249 1.1 erh syscallarg(int) pid;
250 1.1 erh };
251 1.1 erh
252 1.1 erh struct linux_sys_fdatasync_args {
253 1.1 erh syscallarg(int) fd;
254 1.1 erh };
255 1.1 erh
256 1.1 erh struct linux_sys_getdents_args {
257 1.1 erh syscallarg(int) fd;
258 1.1 erh syscallarg(struct linux_dirent *) dent;
259 1.1 erh syscallarg(unsigned int) count;
260 1.1 erh };
261 1.1 erh
262 1.1 erh struct linux_sys_uselib_args {
263 1.1 erh syscallarg(char *) path;
264 1.1 erh };
265 1.1 erh
266 1.1 erh struct linux_sys___sysctl_args {
267 1.1 erh syscallarg(struct linux___sysctl *) lsp;
268 1.1 erh };
269 1.1 erh
270 1.1 erh struct linux_sys_times_args {
271 1.1 erh syscallarg(struct times *) tms;
272 1.1 erh };
273 1.1 erh
274 1.1 erh struct linux_sys_personality_args {
275 1.1 erh syscallarg(int) per;
276 1.1 erh };
277 1.1 erh
278 1.1 erh struct linux_sys_statfs_args {
279 1.1 erh syscallarg(char *) path;
280 1.1 erh syscallarg(struct linux_statfs *) sp;
281 1.1 erh };
282 1.1 erh
283 1.1 erh struct linux_sys_fstatfs_args {
284 1.1 erh syscallarg(int) fd;
285 1.1 erh syscallarg(struct linux_statfs *) sp;
286 1.1 erh };
287 1.1 erh
288 1.12 tron struct linux_sys_sched_setparam_args {
289 1.12 tron syscallarg(pid_t) pid;
290 1.12 tron syscallarg(const struct linux_sched_param *) sp;
291 1.12 tron };
292 1.12 tron
293 1.12 tron struct linux_sys_sched_getparam_args {
294 1.12 tron syscallarg(pid_t) pid;
295 1.12 tron syscallarg(struct linux_sched_param *) sp;
296 1.12 tron };
297 1.12 tron
298 1.12 tron struct linux_sys_sched_setscheduler_args {
299 1.12 tron syscallarg(pid_t) pid;
300 1.12 tron syscallarg(int) policy;
301 1.12 tron syscallarg(const struct linux_sched_param *) sp;
302 1.12 tron };
303 1.12 tron
304 1.12 tron struct linux_sys_sched_getscheduler_args {
305 1.12 tron syscallarg(pid_t) pid;
306 1.12 tron };
307 1.12 tron
308 1.12 tron struct linux_sys_sched_get_priority_max_args {
309 1.12 tron syscallarg(int) policy;
310 1.12 tron };
311 1.12 tron
312 1.12 tron struct linux_sys_sched_get_priority_min_args {
313 1.12 tron syscallarg(int) policy;
314 1.12 tron };
315 1.12 tron
316 1.1 erh struct linux_sys_uname_args {
317 1.1 erh syscallarg(struct linux_utsname *) up;
318 1.1 erh };
319 1.1 erh
320 1.1 erh struct linux_sys_mremap_args {
321 1.1 erh syscallarg(void *) old_address;
322 1.1 erh syscallarg(size_t) old_size;
323 1.1 erh syscallarg(size_t) new_size;
324 1.1 erh syscallarg(u_long) flags;
325 1.1 erh };
326 1.1 erh
327 1.11 thorpej struct linux_sys_setresuid_args {
328 1.11 thorpej syscallarg(uid_t) ruid;
329 1.11 thorpej syscallarg(uid_t) euid;
330 1.11 thorpej syscallarg(uid_t) suid;
331 1.11 thorpej };
332 1.11 thorpej
333 1.11 thorpej struct linux_sys_getresuid_args {
334 1.11 thorpej syscallarg(uid_t *) ruid;
335 1.11 thorpej syscallarg(uid_t *) euid;
336 1.11 thorpej syscallarg(uid_t *) suid;
337 1.11 thorpej };
338 1.11 thorpej
339 1.13 tron struct linux_sys_pread_args {
340 1.13 tron syscallarg(int) fd;
341 1.13 tron syscallarg(char *) buf;
342 1.13 tron syscallarg(size_t) nbyte;
343 1.13 tron syscallarg(linux_off_t) offset;
344 1.13 tron };
345 1.13 tron
346 1.13 tron struct linux_sys_pwrite_args {
347 1.13 tron syscallarg(int) fd;
348 1.13 tron syscallarg(char *) buf;
349 1.13 tron syscallarg(size_t) nbyte;
350 1.13 tron syscallarg(linux_off_t) offset;
351 1.13 tron };
352 1.13 tron
353 1.1 erh struct linux_sys_rt_sigreturn_args {
354 1.1 erh syscallarg(struct linux_rt_sigframe *) sfp;
355 1.1 erh };
356 1.1 erh
357 1.1 erh struct linux_sys_rt_sigaction_args {
358 1.1 erh syscallarg(int) signum;
359 1.1 erh syscallarg(const struct linux_sigaction *) nsa;
360 1.1 erh syscallarg(struct linux_sigaction *) osa;
361 1.1 erh syscallarg(size_t) sigsetsize;
362 1.1 erh };
363 1.1 erh
364 1.1 erh struct linux_sys_rt_sigprocmask_args {
365 1.1 erh syscallarg(int) how;
366 1.1 erh syscallarg(const linux_sigset_t *) set;
367 1.1 erh syscallarg(linux_sigset_t *) oset;
368 1.1 erh syscallarg(size_t) sigsetsize;
369 1.1 erh };
370 1.1 erh
371 1.1 erh struct linux_sys_rt_sigpending_args {
372 1.1 erh syscallarg(linux_sigset_t *) set;
373 1.1 erh syscallarg(size_t) sigsetsize;
374 1.1 erh };
375 1.1 erh
376 1.1 erh struct linux_sys_rt_queueinfo_args {
377 1.1 erh syscallarg(int) pid;
378 1.1 erh syscallarg(int) signum;
379 1.4 erh syscallarg(linux_siginfo_t *) uinfo;
380 1.1 erh };
381 1.1 erh
382 1.1 erh struct linux_sys_rt_sigsuspend_args {
383 1.1 erh syscallarg(linux_sigset_t *) unewset;
384 1.1 erh syscallarg(size_t) sigsetsize;
385 1.1 erh };
386 1.1 erh
387 1.1 erh struct linux_sys_select_args {
388 1.1 erh syscallarg(int) nfds;
389 1.1 erh syscallarg(fd_set *) readfds;
390 1.1 erh syscallarg(fd_set *) writefds;
391 1.1 erh syscallarg(fd_set *) exceptfds;
392 1.1 erh syscallarg(struct timeval *) timeout;
393 1.1 erh };
394 1.1 erh
395 1.1 erh struct linux_sys_wait4_args {
396 1.1 erh syscallarg(int) pid;
397 1.1 erh syscallarg(int *) status;
398 1.1 erh syscallarg(int) options;
399 1.1 erh syscallarg(struct rusage *) rusage;
400 1.1 erh };
401 1.1 erh
402 1.1 erh /*
403 1.1 erh * System call prototypes.
404 1.1 erh */
405 1.1 erh
406 1.1 erh int sys_nosys __P((struct proc *, void *, register_t *));
407 1.1 erh int sys_exit __P((struct proc *, void *, register_t *));
408 1.1 erh int sys_fork __P((struct proc *, void *, register_t *));
409 1.1 erh int sys_read __P((struct proc *, void *, register_t *));
410 1.1 erh int sys_write __P((struct proc *, void *, register_t *));
411 1.1 erh int sys_close __P((struct proc *, void *, register_t *));
412 1.1 erh int linux_sys_creat __P((struct proc *, void *, register_t *));
413 1.1 erh int sys_link __P((struct proc *, void *, register_t *));
414 1.1 erh int linux_sys_unlink __P((struct proc *, void *, register_t *));
415 1.1 erh int linux_sys_chdir __P((struct proc *, void *, register_t *));
416 1.1 erh int sys_fchdir __P((struct proc *, void *, register_t *));
417 1.1 erh int linux_sys_mknod __P((struct proc *, void *, register_t *));
418 1.1 erh int linux_sys_chmod __P((struct proc *, void *, register_t *));
419 1.1 erh int linux_sys_chown __P((struct proc *, void *, register_t *));
420 1.1 erh int linux_sys_brk __P((struct proc *, void *, register_t *));
421 1.1 erh int compat_43_sys_lseek __P((struct proc *, void *, register_t *));
422 1.1 erh int sys_getpid __P((struct proc *, void *, register_t *));
423 1.1 erh int sys_setuid __P((struct proc *, void *, register_t *));
424 1.1 erh int sys_getuid __P((struct proc *, void *, register_t *));
425 1.14 tron int linux_sys_ptrace __P((struct proc *, void *, register_t *));
426 1.1 erh int linux_sys_access __P((struct proc *, void *, register_t *));
427 1.1 erh int sys_sync __P((struct proc *, void *, register_t *));
428 1.1 erh int linux_sys_kill __P((struct proc *, void *, register_t *));
429 1.1 erh int sys_setpgid __P((struct proc *, void *, register_t *));
430 1.1 erh int sys_dup __P((struct proc *, void *, register_t *));
431 1.1 erh int linux_sys_pipe __P((struct proc *, void *, register_t *));
432 1.1 erh int linux_sys_open __P((struct proc *, void *, register_t *));
433 1.1 erh int sys_getgid __P((struct proc *, void *, register_t *));
434 1.1 erh int sys_acct __P((struct proc *, void *, register_t *));
435 1.1 erh int linux_sys_sigpending __P((struct proc *, void *, register_t *));
436 1.1 erh int linux_sys_ioctl __P((struct proc *, void *, register_t *));
437 1.1 erh int linux_sys_symlink __P((struct proc *, void *, register_t *));
438 1.1 erh int linux_sys_readlink __P((struct proc *, void *, register_t *));
439 1.1 erh int linux_sys_execve __P((struct proc *, void *, register_t *));
440 1.1 erh int sys_umask __P((struct proc *, void *, register_t *));
441 1.1 erh int sys_chroot __P((struct proc *, void *, register_t *));
442 1.1 erh int sys_getpgrp __P((struct proc *, void *, register_t *));
443 1.1 erh int compat_43_sys_getpagesize __P((struct proc *, void *, register_t *));
444 1.11 thorpej int sys___vfork14 __P((struct proc *, void *, register_t *));
445 1.1 erh int linux_sys_stat __P((struct proc *, void *, register_t *));
446 1.1 erh int linux_sys_lstat __P((struct proc *, void *, register_t *));
447 1.1 erh int linux_sys_mmap __P((struct proc *, void *, register_t *));
448 1.1 erh int sys_munmap __P((struct proc *, void *, register_t *));
449 1.1 erh int sys_mprotect __P((struct proc *, void *, register_t *));
450 1.1 erh int sys_getgroups __P((struct proc *, void *, register_t *));
451 1.1 erh int sys_setgroups __P((struct proc *, void *, register_t *));
452 1.1 erh int compat_43_sys_gethostname __P((struct proc *, void *, register_t *));
453 1.1 erh int compat_43_sys_sethostname __P((struct proc *, void *, register_t *));
454 1.1 erh int sys_dup2 __P((struct proc *, void *, register_t *));
455 1.1 erh int linux_sys_fstat __P((struct proc *, void *, register_t *));
456 1.1 erh int linux_sys_fcntl __P((struct proc *, void *, register_t *));
457 1.9 tron int sys_poll __P((struct proc *, void *, register_t *));
458 1.1 erh int sys_fsync __P((struct proc *, void *, register_t *));
459 1.1 erh int sys_setpriority __P((struct proc *, void *, register_t *));
460 1.1 erh int linux_sys_socket __P((struct proc *, void *, register_t *));
461 1.1 erh int sys_connect __P((struct proc *, void *, register_t *));
462 1.1 erh int compat_43_sys_accept __P((struct proc *, void *, register_t *));
463 1.1 erh int sys_getpriority __P((struct proc *, void *, register_t *));
464 1.1 erh int compat_43_sys_send __P((struct proc *, void *, register_t *));
465 1.1 erh int compat_43_sys_recv __P((struct proc *, void *, register_t *));
466 1.1 erh int linux_sys_sigreturn __P((struct proc *, void *, register_t *));
467 1.1 erh int sys_bind __P((struct proc *, void *, register_t *));
468 1.1 erh int linux_sys_setsockopt __P((struct proc *, void *, register_t *));
469 1.1 erh int sys_listen __P((struct proc *, void *, register_t *));
470 1.1 erh int linux_sys_sigsuspend __P((struct proc *, void *, register_t *));
471 1.1 erh int sys_recvmsg __P((struct proc *, void *, register_t *));
472 1.1 erh int sys_sendmsg __P((struct proc *, void *, register_t *));
473 1.1 erh int linux_sys_getsockopt __P((struct proc *, void *, register_t *));
474 1.1 erh int sys_readv __P((struct proc *, void *, register_t *));
475 1.1 erh int sys_writev __P((struct proc *, void *, register_t *));
476 1.1 erh int linux_sys_fchown __P((struct proc *, void *, register_t *));
477 1.1 erh int sys_fchmod __P((struct proc *, void *, register_t *));
478 1.1 erh int linux_sys_recvfrom __P((struct proc *, void *, register_t *));
479 1.1 erh int linux_sys_setreuid __P((struct proc *, void *, register_t *));
480 1.1 erh int linux_sys_setregid __P((struct proc *, void *, register_t *));
481 1.1 erh int linux_sys_rename __P((struct proc *, void *, register_t *));
482 1.1 erh int linux_sys_truncate __P((struct proc *, void *, register_t *));
483 1.1 erh int compat_43_sys_ftruncate __P((struct proc *, void *, register_t *));
484 1.1 erh int sys_flock __P((struct proc *, void *, register_t *));
485 1.1 erh int sys_setgid __P((struct proc *, void *, register_t *));
486 1.1 erh int linux_sys_sendto __P((struct proc *, void *, register_t *));
487 1.1 erh int sys_shutdown __P((struct proc *, void *, register_t *));
488 1.1 erh int linux_sys_socketpair __P((struct proc *, void *, register_t *));
489 1.1 erh int linux_sys_mkdir __P((struct proc *, void *, register_t *));
490 1.1 erh int linux_sys_rmdir __P((struct proc *, void *, register_t *));
491 1.1 erh int compat_43_sys_getpeername __P((struct proc *, void *, register_t *));
492 1.1 erh int compat_43_sys_getrlimit __P((struct proc *, void *, register_t *));
493 1.1 erh int compat_43_sys_setrlimit __P((struct proc *, void *, register_t *));
494 1.1 erh int sys_setsid __P((struct proc *, void *, register_t *));
495 1.1 erh int compat_43_sys_getsockname __P((struct proc *, void *, register_t *));
496 1.1 erh int linux_sys_sigaction __P((struct proc *, void *, register_t *));
497 1.1 erh #ifdef SYSVMSG
498 1.1 erh int linux_sys_msgctl __P((struct proc *, void *, register_t *));
499 1.1 erh int sys_msgget __P((struct proc *, void *, register_t *));
500 1.1 erh int sys_msgrcv __P((struct proc *, void *, register_t *));
501 1.1 erh int sys_msgsnd __P((struct proc *, void *, register_t *));
502 1.1 erh #else
503 1.1 erh #endif
504 1.1 erh #ifdef SYSVSEM
505 1.1 erh int linux_sys_semctl __P((struct proc *, void *, register_t *));
506 1.1 erh int sys_semget __P((struct proc *, void *, register_t *));
507 1.1 erh int sys_semop __P((struct proc *, void *, register_t *));
508 1.1 erh #else
509 1.1 erh #endif
510 1.1 erh int linux_sys_olduname __P((struct proc *, void *, register_t *));
511 1.1 erh int linux_sys_lchown __P((struct proc *, void *, register_t *));
512 1.1 erh #ifdef SYSVSHM
513 1.1 erh int linux_sys_shmat __P((struct proc *, void *, register_t *));
514 1.1 erh int linux_sys_shmctl __P((struct proc *, void *, register_t *));
515 1.1 erh int sys_shmdt __P((struct proc *, void *, register_t *));
516 1.1 erh int sys_shmget __P((struct proc *, void *, register_t *));
517 1.1 erh #else
518 1.1 erh #endif
519 1.1 erh int linux_sys_msync __P((struct proc *, void *, register_t *));
520 1.1 erh int linux_sys_getpgid __P((struct proc *, void *, register_t *));
521 1.1 erh int sys_getsid __P((struct proc *, void *, register_t *));
522 1.1 erh int linux_sys_fdatasync __P((struct proc *, void *, register_t *));
523 1.1 erh int linux_sys_getdents __P((struct proc *, void *, register_t *));
524 1.1 erh int sys_reboot __P((struct proc *, void *, register_t *));
525 1.1 erh #ifdef EXEC_AOUT
526 1.1 erh int linux_sys_uselib __P((struct proc *, void *, register_t *));
527 1.1 erh #else
528 1.1 erh #endif
529 1.1 erh int sys_mlock __P((struct proc *, void *, register_t *));
530 1.1 erh int sys_munlock __P((struct proc *, void *, register_t *));
531 1.1 erh int linux_sys___sysctl __P((struct proc *, void *, register_t *));
532 1.1 erh int compat_12_sys_swapon __P((struct proc *, void *, register_t *));
533 1.1 erh int linux_sys_times __P((struct proc *, void *, register_t *));
534 1.1 erh int linux_sys_personality __P((struct proc *, void *, register_t *));
535 1.1 erh int linux_sys_statfs __P((struct proc *, void *, register_t *));
536 1.1 erh int linux_sys_fstatfs __P((struct proc *, void *, register_t *));
537 1.12 tron int linux_sys_sched_setparam __P((struct proc *, void *, register_t *));
538 1.12 tron int linux_sys_sched_getparam __P((struct proc *, void *, register_t *));
539 1.12 tron int linux_sys_sched_setscheduler __P((struct proc *, void *, register_t *));
540 1.12 tron int linux_sys_sched_getscheduler __P((struct proc *, void *, register_t *));
541 1.12 tron int linux_sys_sched_yield __P((struct proc *, void *, register_t *));
542 1.12 tron int linux_sys_sched_get_priority_max __P((struct proc *, void *, register_t *));
543 1.12 tron int linux_sys_sched_get_priority_min __P((struct proc *, void *, register_t *));
544 1.1 erh int linux_sys_uname __P((struct proc *, void *, register_t *));
545 1.1 erh int sys_nanosleep __P((struct proc *, void *, register_t *));
546 1.1 erh int linux_sys_mremap __P((struct proc *, void *, register_t *));
547 1.11 thorpej int linux_sys_setresuid __P((struct proc *, void *, register_t *));
548 1.11 thorpej int linux_sys_getresuid __P((struct proc *, void *, register_t *));
549 1.13 tron int linux_sys_pread __P((struct proc *, void *, register_t *));
550 1.13 tron int linux_sys_pwrite __P((struct proc *, void *, register_t *));
551 1.1 erh int linux_sys_rt_sigreturn __P((struct proc *, void *, register_t *));
552 1.1 erh int linux_sys_rt_sigaction __P((struct proc *, void *, register_t *));
553 1.1 erh int linux_sys_rt_sigprocmask __P((struct proc *, void *, register_t *));
554 1.1 erh int linux_sys_rt_sigpending __P((struct proc *, void *, register_t *));
555 1.1 erh int linux_sys_rt_queueinfo __P((struct proc *, void *, register_t *));
556 1.1 erh int linux_sys_rt_sigsuspend __P((struct proc *, void *, register_t *));
557 1.1 erh int linux_sys_select __P((struct proc *, void *, register_t *));
558 1.1 erh int sys_gettimeofday __P((struct proc *, void *, register_t *));
559 1.1 erh int sys_settimeofday __P((struct proc *, void *, register_t *));
560 1.1 erh int sys_getitimer __P((struct proc *, void *, register_t *));
561 1.1 erh int sys_setitimer __P((struct proc *, void *, register_t *));
562 1.1 erh int sys_utimes __P((struct proc *, void *, register_t *));
563 1.1 erh int sys_getrusage __P((struct proc *, void *, register_t *));
564 1.1 erh int linux_sys_wait4 __P((struct proc *, void *, register_t *));
565 1.8 tron int sys___getcwd __P((struct proc *, void *, register_t *));
566 1.7 thorpej #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
567