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