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