linux_syscallargs.h revision 1.59 1 1.59 njoly /* $NetBSD: linux_syscallargs.h,v 1.59 2007/11/16 12:54:00 njoly 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.59 njoly * created from NetBSD: syscalls.master,v 1.55 2007/11/16 12:51:55 njoly Exp
8 1.1 itohy */
9 1.1 itohy
10 1.56 matt #ifndef _LINUX_SYS_SYSCALLARGS_H_
11 1.56 matt #define _LINUX_SYS_SYSCALLARGS_H_
12 1.2 itohy
13 1.59 njoly #define LINUX_SYS_MAXSYSARGS 8
14 1.59 njoly
15 1.1 itohy #undef syscallarg
16 1.9 tron #define syscallarg(x) \
17 1.9 tron union { \
18 1.9 tron register_t pad; \
19 1.9 tron struct { x datum; } le; \
20 1.37 lukem struct { /* LINTED zero array dimension */ \
21 1.37 lukem int8_t pad[ /* CONSTCOND */ \
22 1.37 lukem (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.59 njoly #undef check_syscall_args
30 1.59 njoly #define check_syscall_args(call) \
31 1.59 njoly typedef char call##_check_args[sizeof (struct call##_args) \
32 1.59 njoly <= LINUX_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
33 1.59 njoly
34 1.1 itohy struct linux_sys_open_args {
35 1.2 itohy syscallarg(const char *) path;
36 1.1 itohy syscallarg(int) flags;
37 1.1 itohy syscallarg(int) mode;
38 1.1 itohy };
39 1.59 njoly check_syscall_args(linux_sys_open)
40 1.1 itohy
41 1.1 itohy struct linux_sys_waitpid_args {
42 1.1 itohy syscallarg(int) pid;
43 1.1 itohy syscallarg(int *) status;
44 1.1 itohy syscallarg(int) options;
45 1.1 itohy };
46 1.59 njoly check_syscall_args(linux_sys_waitpid)
47 1.1 itohy
48 1.1 itohy struct linux_sys_creat_args {
49 1.2 itohy syscallarg(const char *) path;
50 1.1 itohy syscallarg(int) mode;
51 1.1 itohy };
52 1.59 njoly check_syscall_args(linux_sys_creat)
53 1.29 fvdl
54 1.1 itohy struct linux_sys_unlink_args {
55 1.2 itohy syscallarg(const char *) path;
56 1.1 itohy };
57 1.59 njoly check_syscall_args(linux_sys_unlink)
58 1.1 itohy
59 1.1 itohy struct linux_sys_time_args {
60 1.1 itohy syscallarg(linux_time_t *) t;
61 1.1 itohy };
62 1.59 njoly check_syscall_args(linux_sys_time)
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.59 njoly check_syscall_args(linux_sys_mknod)
70 1.1 itohy
71 1.26 fvdl struct linux_sys_chown16_args {
72 1.2 itohy syscallarg(const char *) path;
73 1.1 itohy syscallarg(int) uid;
74 1.1 itohy syscallarg(int) gid;
75 1.1 itohy };
76 1.59 njoly check_syscall_args(linux_sys_chown16)
77 1.48 jdolecek #if !defined(_KERNEL) || defined(COMPAT_43)
78 1.48 jdolecek #else
79 1.48 jdolecek #endif
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.59 njoly check_syscall_args(linux_sys_stime)
85 1.8 tron
86 1.12 tron struct linux_sys_ptrace_args {
87 1.12 tron syscallarg(int) request;
88 1.12 tron syscallarg(int) pid;
89 1.12 tron syscallarg(int) addr;
90 1.12 tron syscallarg(int) data;
91 1.12 tron };
92 1.59 njoly check_syscall_args(linux_sys_ptrace)
93 1.12 tron
94 1.1 itohy struct linux_sys_alarm_args {
95 1.1 itohy syscallarg(unsigned int) secs;
96 1.1 itohy };
97 1.59 njoly check_syscall_args(linux_sys_alarm)
98 1.1 itohy
99 1.1 itohy struct linux_sys_utime_args {
100 1.2 itohy syscallarg(const char *) path;
101 1.1 itohy syscallarg(struct linux_utimbuf *) times;
102 1.1 itohy };
103 1.59 njoly check_syscall_args(linux_sys_utime)
104 1.1 itohy
105 1.1 itohy struct linux_sys_nice_args {
106 1.1 itohy syscallarg(int) incr;
107 1.1 itohy };
108 1.59 njoly check_syscall_args(linux_sys_nice)
109 1.1 itohy
110 1.1 itohy struct linux_sys_kill_args {
111 1.1 itohy syscallarg(int) pid;
112 1.1 itohy syscallarg(int) signum;
113 1.1 itohy };
114 1.59 njoly check_syscall_args(linux_sys_kill)
115 1.1 itohy
116 1.1 itohy struct linux_sys_pipe_args {
117 1.1 itohy syscallarg(int *) pfds;
118 1.1 itohy };
119 1.59 njoly check_syscall_args(linux_sys_pipe)
120 1.1 itohy
121 1.1 itohy struct linux_sys_times_args {
122 1.1 itohy syscallarg(struct times *) tms;
123 1.1 itohy };
124 1.59 njoly check_syscall_args(linux_sys_times)
125 1.1 itohy
126 1.1 itohy struct linux_sys_brk_args {
127 1.1 itohy syscallarg(char *) nsize;
128 1.1 itohy };
129 1.59 njoly check_syscall_args(linux_sys_brk)
130 1.1 itohy
131 1.1 itohy struct linux_sys_signal_args {
132 1.10 tron syscallarg(int) signum;
133 1.1 itohy syscallarg(linux_handler_t) handler;
134 1.1 itohy };
135 1.59 njoly check_syscall_args(linux_sys_signal)
136 1.1 itohy
137 1.1 itohy struct linux_sys_ioctl_args {
138 1.1 itohy syscallarg(int) fd;
139 1.1 itohy syscallarg(u_long) com;
140 1.58 christos syscallarg(void *) data;
141 1.1 itohy };
142 1.59 njoly check_syscall_args(linux_sys_ioctl)
143 1.1 itohy
144 1.1 itohy struct linux_sys_fcntl_args {
145 1.1 itohy syscallarg(int) fd;
146 1.1 itohy syscallarg(int) cmd;
147 1.1 itohy syscallarg(void *) arg;
148 1.1 itohy };
149 1.59 njoly check_syscall_args(linux_sys_fcntl)
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.59 njoly check_syscall_args(linux_sys_sigaction)
157 1.1 itohy
158 1.1 itohy struct linux_sys_sigsetmask_args {
159 1.1 itohy syscallarg(linux_old_sigset_t) mask;
160 1.1 itohy };
161 1.59 njoly check_syscall_args(linux_sys_sigsetmask)
162 1.1 itohy
163 1.26 fvdl struct linux_sys_setreuid16_args {
164 1.1 itohy syscallarg(int) ruid;
165 1.1 itohy syscallarg(int) euid;
166 1.1 itohy };
167 1.59 njoly check_syscall_args(linux_sys_setreuid16)
168 1.1 itohy
169 1.26 fvdl struct linux_sys_setregid16_args {
170 1.1 itohy syscallarg(int) rgid;
171 1.1 itohy syscallarg(int) egid;
172 1.1 itohy };
173 1.59 njoly check_syscall_args(linux_sys_setregid16)
174 1.1 itohy
175 1.1 itohy struct linux_sys_sigsuspend_args {
176 1.58 christos syscallarg(void *) restart;
177 1.1 itohy syscallarg(int) oldmask;
178 1.1 itohy syscallarg(int) mask;
179 1.1 itohy };
180 1.59 njoly check_syscall_args(linux_sys_sigsuspend)
181 1.1 itohy
182 1.1 itohy struct linux_sys_sigpending_args {
183 1.1 itohy syscallarg(linux_old_sigset_t *) set;
184 1.1 itohy };
185 1.59 njoly check_syscall_args(linux_sys_sigpending)
186 1.48 jdolecek #if !defined(_KERNEL) || defined(COMPAT_43)
187 1.48 jdolecek #else
188 1.48 jdolecek #endif
189 1.1 itohy
190 1.39 christos struct linux_sys_setrlimit_args {
191 1.39 christos syscallarg(u_int) which;
192 1.39 christos syscallarg(struct orlimit *) rlp;
193 1.39 christos };
194 1.59 njoly check_syscall_args(linux_sys_setrlimit)
195 1.39 christos
196 1.39 christos struct linux_sys_getrlimit_args {
197 1.39 christos syscallarg(u_int) which;
198 1.39 christos syscallarg(struct orlimit *) rlp;
199 1.39 christos };
200 1.59 njoly check_syscall_args(linux_sys_getrlimit)
201 1.39 christos
202 1.35 manu struct linux_sys_gettimeofday_args {
203 1.35 manu syscallarg(struct timeval *) tp;
204 1.35 manu syscallarg(struct timezone *) tzp;
205 1.35 manu };
206 1.59 njoly check_syscall_args(linux_sys_gettimeofday)
207 1.35 manu
208 1.35 manu struct linux_sys_settimeofday_args {
209 1.35 manu syscallarg(struct timeval *) tp;
210 1.35 manu syscallarg(struct timezone *) tzp;
211 1.35 manu };
212 1.59 njoly check_syscall_args(linux_sys_settimeofday)
213 1.35 manu
214 1.28 fvdl struct linux_sys_getgroups16_args {
215 1.28 fvdl syscallarg(u_int) gidsetsize;
216 1.28 fvdl syscallarg(linux_gid_t *) gidset;
217 1.28 fvdl };
218 1.59 njoly check_syscall_args(linux_sys_getgroups16)
219 1.28 fvdl
220 1.28 fvdl struct linux_sys_setgroups16_args {
221 1.28 fvdl syscallarg(u_int) gidsetsize;
222 1.28 fvdl syscallarg(linux_gid_t *) gidset;
223 1.28 fvdl };
224 1.59 njoly check_syscall_args(linux_sys_setgroups16)
225 1.28 fvdl
226 1.1 itohy struct linux_sys_oldselect_args {
227 1.1 itohy syscallarg(struct linux_oldselect *) lsp;
228 1.1 itohy };
229 1.59 njoly check_syscall_args(linux_sys_oldselect)
230 1.48 jdolecek #if !defined(_KERNEL) || defined(COMPAT_43)
231 1.48 jdolecek #else
232 1.48 jdolecek #endif
233 1.52 joerg #ifdef EXEC_AOUT
234 1.1 itohy
235 1.1 itohy struct linux_sys_uselib_args {
236 1.2 itohy syscallarg(const char *) path;
237 1.1 itohy };
238 1.59 njoly check_syscall_args(linux_sys_uselib)
239 1.52 joerg #else
240 1.52 joerg #endif
241 1.1 itohy
242 1.19 jdolecek struct linux_sys_swapon_args {
243 1.19 jdolecek syscallarg(char *) name;
244 1.19 jdolecek };
245 1.59 njoly check_syscall_args(linux_sys_swapon)
246 1.19 jdolecek
247 1.14 erh struct linux_sys_reboot_args {
248 1.14 erh syscallarg(int) magic1;
249 1.14 erh syscallarg(int) magic2;
250 1.14 erh syscallarg(int) cmd;
251 1.14 erh syscallarg(void *) arg;
252 1.14 erh };
253 1.59 njoly check_syscall_args(linux_sys_reboot)
254 1.14 erh
255 1.1 itohy struct linux_sys_readdir_args {
256 1.1 itohy syscallarg(int) fd;
257 1.58 christos syscallarg(void *) dent;
258 1.1 itohy syscallarg(unsigned int) count;
259 1.1 itohy };
260 1.59 njoly check_syscall_args(linux_sys_readdir)
261 1.1 itohy
262 1.1 itohy struct linux_sys_old_mmap_args {
263 1.1 itohy syscallarg(struct linux_oldmmap *) lmp;
264 1.1 itohy };
265 1.59 njoly check_syscall_args(linux_sys_old_mmap)
266 1.48 jdolecek #if !defined(_KERNEL) || defined(COMPAT_43)
267 1.48 jdolecek #else
268 1.48 jdolecek #endif
269 1.1 itohy
270 1.26 fvdl struct linux_sys_fchown16_args {
271 1.1 itohy syscallarg(int) fd;
272 1.1 itohy syscallarg(int) uid;
273 1.1 itohy syscallarg(int) gid;
274 1.1 itohy };
275 1.59 njoly check_syscall_args(linux_sys_fchown16)
276 1.1 itohy
277 1.55 he struct linux_sys_getpriority_args {
278 1.55 he syscallarg(int) which;
279 1.55 he syscallarg(int) who;
280 1.55 he };
281 1.59 njoly check_syscall_args(linux_sys_getpriority)
282 1.55 he
283 1.1 itohy struct linux_sys_statfs_args {
284 1.2 itohy syscallarg(const char *) path;
285 1.1 itohy syscallarg(struct linux_statfs *) sp;
286 1.1 itohy };
287 1.59 njoly check_syscall_args(linux_sys_statfs)
288 1.1 itohy
289 1.1 itohy struct linux_sys_fstatfs_args {
290 1.1 itohy syscallarg(int) fd;
291 1.1 itohy syscallarg(struct linux_statfs *) sp;
292 1.1 itohy };
293 1.59 njoly check_syscall_args(linux_sys_fstatfs)
294 1.1 itohy
295 1.1 itohy struct linux_sys_socketcall_args {
296 1.1 itohy syscallarg(int) what;
297 1.1 itohy syscallarg(void *) args;
298 1.1 itohy };
299 1.59 njoly check_syscall_args(linux_sys_socketcall)
300 1.1 itohy
301 1.1 itohy struct linux_sys_stat_args {
302 1.2 itohy syscallarg(const char *) path;
303 1.1 itohy syscallarg(struct linux_stat *) sp;
304 1.1 itohy };
305 1.59 njoly check_syscall_args(linux_sys_stat)
306 1.1 itohy
307 1.1 itohy struct linux_sys_lstat_args {
308 1.2 itohy syscallarg(const char *) path;
309 1.1 itohy syscallarg(struct linux_stat *) sp;
310 1.1 itohy };
311 1.59 njoly check_syscall_args(linux_sys_lstat)
312 1.1 itohy
313 1.1 itohy struct linux_sys_fstat_args {
314 1.1 itohy syscallarg(int) fd;
315 1.1 itohy syscallarg(struct linux_stat *) sp;
316 1.1 itohy };
317 1.59 njoly check_syscall_args(linux_sys_fstat)
318 1.1 itohy
319 1.1 itohy struct linux_sys_wait4_args {
320 1.1 itohy syscallarg(int) pid;
321 1.1 itohy syscallarg(int *) status;
322 1.1 itohy syscallarg(int) options;
323 1.1 itohy syscallarg(struct rusage *) rusage;
324 1.1 itohy };
325 1.59 njoly check_syscall_args(linux_sys_wait4)
326 1.1 itohy
327 1.20 jdolecek struct linux_sys_swapoff_args {
328 1.20 jdolecek syscallarg(const char *) path;
329 1.20 jdolecek };
330 1.59 njoly check_syscall_args(linux_sys_swapoff)
331 1.20 jdolecek
332 1.25 jdolecek struct linux_sys_sysinfo_args {
333 1.25 jdolecek syscallarg(struct linux_sysinfo *) arg;
334 1.25 jdolecek };
335 1.59 njoly check_syscall_args(linux_sys_sysinfo)
336 1.25 jdolecek
337 1.1 itohy struct linux_sys_ipc_args {
338 1.1 itohy syscallarg(int) what;
339 1.1 itohy syscallarg(int) a1;
340 1.1 itohy syscallarg(int) a2;
341 1.1 itohy syscallarg(int) a3;
342 1.58 christos syscallarg(void *) ptr;
343 1.1 itohy };
344 1.59 njoly check_syscall_args(linux_sys_ipc)
345 1.1 itohy
346 1.6 thorpej struct linux_sys_clone_args {
347 1.6 thorpej syscallarg(int) flags;
348 1.6 thorpej syscallarg(void *) stack;
349 1.6 thorpej };
350 1.59 njoly check_syscall_args(linux_sys_clone)
351 1.6 thorpej
352 1.19 jdolecek struct linux_sys_setdomainname_args {
353 1.19 jdolecek syscallarg(char *) domainname;
354 1.19 jdolecek syscallarg(int) len;
355 1.19 jdolecek };
356 1.59 njoly check_syscall_args(linux_sys_setdomainname)
357 1.19 jdolecek
358 1.1 itohy struct linux_sys_uname_args {
359 1.1 itohy syscallarg(struct linux_utsname *) up;
360 1.1 itohy };
361 1.59 njoly check_syscall_args(linux_sys_uname)
362 1.1 itohy
363 1.1 itohy struct linux_sys_cacheflush_args {
364 1.1 itohy syscallarg(unsigned long) addr;
365 1.1 itohy syscallarg(int) scope;
366 1.1 itohy syscallarg(int) cache;
367 1.1 itohy syscallarg(unsigned long) len;
368 1.1 itohy };
369 1.59 njoly check_syscall_args(linux_sys_cacheflush)
370 1.1 itohy
371 1.40 christos struct linux_sys_mprotect_args {
372 1.40 christos syscallarg(const void *) start;
373 1.40 christos syscallarg(unsigned long) len;
374 1.40 christos syscallarg(int) prot;
375 1.40 christos };
376 1.59 njoly check_syscall_args(linux_sys_mprotect)
377 1.40 christos
378 1.1 itohy struct linux_sys_sigprocmask_args {
379 1.1 itohy syscallarg(int) how;
380 1.1 itohy syscallarg(const linux_old_sigset_t *) set;
381 1.1 itohy syscallarg(linux_old_sigset_t *) oset;
382 1.1 itohy };
383 1.59 njoly check_syscall_args(linux_sys_sigprocmask)
384 1.1 itohy
385 1.1 itohy struct linux_sys_getpgid_args {
386 1.1 itohy syscallarg(int) pid;
387 1.1 itohy };
388 1.59 njoly check_syscall_args(linux_sys_getpgid)
389 1.1 itohy
390 1.1 itohy struct linux_sys_personality_args {
391 1.1 itohy syscallarg(int) per;
392 1.1 itohy };
393 1.59 njoly check_syscall_args(linux_sys_personality)
394 1.1 itohy
395 1.1 itohy struct linux_sys_llseek_args {
396 1.1 itohy syscallarg(int) fd;
397 1.1 itohy syscallarg(u_int32_t) ohigh;
398 1.1 itohy syscallarg(u_int32_t) olow;
399 1.58 christos syscallarg(void *) res;
400 1.1 itohy syscallarg(int) whence;
401 1.1 itohy };
402 1.59 njoly check_syscall_args(linux_sys_llseek)
403 1.1 itohy
404 1.1 itohy struct linux_sys_getdents_args {
405 1.1 itohy syscallarg(int) fd;
406 1.1 itohy syscallarg(struct linux_dirent *) dent;
407 1.1 itohy syscallarg(unsigned int) count;
408 1.1 itohy };
409 1.59 njoly check_syscall_args(linux_sys_getdents)
410 1.1 itohy
411 1.1 itohy struct linux_sys_select_args {
412 1.1 itohy syscallarg(int) nfds;
413 1.1 itohy syscallarg(fd_set *) readfds;
414 1.1 itohy syscallarg(fd_set *) writefds;
415 1.1 itohy syscallarg(fd_set *) exceptfds;
416 1.1 itohy syscallarg(struct timeval *) timeout;
417 1.1 itohy };
418 1.59 njoly check_syscall_args(linux_sys_select)
419 1.1 itohy
420 1.1 itohy struct linux_sys_msync_args {
421 1.58 christos syscallarg(void *) addr;
422 1.1 itohy syscallarg(int) len;
423 1.1 itohy syscallarg(int) fl;
424 1.1 itohy };
425 1.59 njoly check_syscall_args(linux_sys_msync)
426 1.1 itohy
427 1.1 itohy struct linux_sys_fdatasync_args {
428 1.1 itohy syscallarg(int) fd;
429 1.1 itohy };
430 1.59 njoly check_syscall_args(linux_sys_fdatasync)
431 1.1 itohy
432 1.1 itohy struct linux_sys___sysctl_args {
433 1.1 itohy syscallarg(struct linux___sysctl *) lsp;
434 1.1 itohy };
435 1.59 njoly check_syscall_args(linux_sys___sysctl)
436 1.1 itohy
437 1.9 tron struct linux_sys_sched_setparam_args {
438 1.9 tron syscallarg(pid_t) pid;
439 1.9 tron syscallarg(const struct linux_sched_param *) sp;
440 1.9 tron };
441 1.59 njoly check_syscall_args(linux_sys_sched_setparam)
442 1.9 tron
443 1.9 tron struct linux_sys_sched_getparam_args {
444 1.9 tron syscallarg(pid_t) pid;
445 1.9 tron syscallarg(struct linux_sched_param *) sp;
446 1.9 tron };
447 1.59 njoly check_syscall_args(linux_sys_sched_getparam)
448 1.9 tron
449 1.9 tron struct linux_sys_sched_setscheduler_args {
450 1.9 tron syscallarg(pid_t) pid;
451 1.9 tron syscallarg(int) policy;
452 1.9 tron syscallarg(const struct linux_sched_param *) sp;
453 1.9 tron };
454 1.59 njoly check_syscall_args(linux_sys_sched_setscheduler)
455 1.9 tron
456 1.9 tron struct linux_sys_sched_getscheduler_args {
457 1.9 tron syscallarg(pid_t) pid;
458 1.9 tron };
459 1.59 njoly check_syscall_args(linux_sys_sched_getscheduler)
460 1.9 tron
461 1.9 tron struct linux_sys_sched_get_priority_max_args {
462 1.9 tron syscallarg(int) policy;
463 1.9 tron };
464 1.59 njoly check_syscall_args(linux_sys_sched_get_priority_max)
465 1.9 tron
466 1.9 tron struct linux_sys_sched_get_priority_min_args {
467 1.9 tron syscallarg(int) policy;
468 1.9 tron };
469 1.59 njoly check_syscall_args(linux_sys_sched_get_priority_min)
470 1.9 tron
471 1.1 itohy struct linux_sys_mremap_args {
472 1.1 itohy syscallarg(void *) old_address;
473 1.1 itohy syscallarg(size_t) old_size;
474 1.1 itohy syscallarg(size_t) new_size;
475 1.1 itohy syscallarg(u_long) flags;
476 1.1 itohy };
477 1.59 njoly check_syscall_args(linux_sys_mremap)
478 1.1 itohy
479 1.28 fvdl struct linux_sys_setresuid16_args {
480 1.7 thorpej syscallarg(uid_t) ruid;
481 1.7 thorpej syscallarg(uid_t) euid;
482 1.7 thorpej syscallarg(uid_t) suid;
483 1.7 thorpej };
484 1.59 njoly check_syscall_args(linux_sys_setresuid16)
485 1.7 thorpej
486 1.28 fvdl struct linux_sys_setresgid16_args {
487 1.7 thorpej syscallarg(gid_t) rgid;
488 1.7 thorpej syscallarg(gid_t) egid;
489 1.7 thorpej syscallarg(gid_t) sgid;
490 1.7 thorpej };
491 1.59 njoly check_syscall_args(linux_sys_setresgid16)
492 1.7 thorpej
493 1.1 itohy struct linux_sys_rt_sigaction_args {
494 1.1 itohy syscallarg(int) signum;
495 1.1 itohy syscallarg(const struct linux_sigaction *) nsa;
496 1.1 itohy syscallarg(struct linux_sigaction *) osa;
497 1.1 itohy syscallarg(size_t) sigsetsize;
498 1.1 itohy };
499 1.59 njoly check_syscall_args(linux_sys_rt_sigaction)
500 1.1 itohy
501 1.1 itohy struct linux_sys_rt_sigprocmask_args {
502 1.1 itohy syscallarg(int) how;
503 1.1 itohy syscallarg(const linux_sigset_t *) set;
504 1.1 itohy syscallarg(linux_sigset_t *) oset;
505 1.1 itohy syscallarg(size_t) sigsetsize;
506 1.1 itohy };
507 1.59 njoly check_syscall_args(linux_sys_rt_sigprocmask)
508 1.1 itohy
509 1.1 itohy struct linux_sys_rt_sigpending_args {
510 1.1 itohy syscallarg(linux_sigset_t *) set;
511 1.1 itohy syscallarg(size_t) sigsetsize;
512 1.1 itohy };
513 1.59 njoly check_syscall_args(linux_sys_rt_sigpending)
514 1.1 itohy
515 1.1 itohy struct linux_sys_rt_queueinfo_args {
516 1.1 itohy syscallarg(int) pid;
517 1.1 itohy syscallarg(int) signum;
518 1.1 itohy syscallarg(void *) uinfo;
519 1.1 itohy };
520 1.59 njoly check_syscall_args(linux_sys_rt_queueinfo)
521 1.1 itohy
522 1.1 itohy struct linux_sys_rt_sigsuspend_args {
523 1.1 itohy syscallarg(linux_sigset_t *) unewset;
524 1.1 itohy syscallarg(size_t) sigsetsize;
525 1.1 itohy };
526 1.59 njoly check_syscall_args(linux_sys_rt_sigsuspend)
527 1.1 itohy
528 1.11 tron struct linux_sys_pread_args {
529 1.11 tron syscallarg(int) fd;
530 1.11 tron syscallarg(char *) buf;
531 1.11 tron syscallarg(size_t) nbyte;
532 1.11 tron syscallarg(linux_off_t) offset;
533 1.11 tron };
534 1.59 njoly check_syscall_args(linux_sys_pread)
535 1.11 tron
536 1.11 tron struct linux_sys_pwrite_args {
537 1.11 tron syscallarg(int) fd;
538 1.11 tron syscallarg(char *) buf;
539 1.11 tron syscallarg(size_t) nbyte;
540 1.11 tron syscallarg(linux_off_t) offset;
541 1.11 tron };
542 1.59 njoly check_syscall_args(linux_sys_pwrite)
543 1.11 tron
544 1.27 itohy struct linux_sys_lchown16_args {
545 1.2 itohy syscallarg(const char *) path;
546 1.1 itohy syscallarg(int) uid;
547 1.1 itohy syscallarg(int) gid;
548 1.1 itohy };
549 1.59 njoly check_syscall_args(linux_sys_lchown16)
550 1.1 itohy
551 1.17 itohy struct linux_sys_sigaltstack_args {
552 1.17 itohy syscallarg(const struct linux_sigaltstack *) ss;
553 1.17 itohy syscallarg(struct linux_sigaltstack *) oss;
554 1.17 itohy };
555 1.59 njoly check_syscall_args(linux_sys_sigaltstack)
556 1.17 itohy
557 1.39 christos struct linux_sys_ugetrlimit_args {
558 1.39 christos syscallarg(int) which;
559 1.39 christos syscallarg(struct orlimit *) rlp;
560 1.39 christos };
561 1.59 njoly check_syscall_args(linux_sys_ugetrlimit)
562 1.39 christos
563 1.24 jdolecek struct linux_sys_truncate64_args {
564 1.24 jdolecek syscallarg(const char *) path;
565 1.24 jdolecek syscallarg(off_t) length;
566 1.24 jdolecek };
567 1.59 njoly check_syscall_args(linux_sys_truncate64)
568 1.24 jdolecek
569 1.47 jdolecek struct linux_sys_ftruncate64_args {
570 1.47 jdolecek syscallarg(unsigned int) fd;
571 1.47 jdolecek syscallarg(off_t) length;
572 1.47 jdolecek };
573 1.59 njoly check_syscall_args(linux_sys_ftruncate64)
574 1.47 jdolecek
575 1.23 jdolecek struct linux_sys_stat64_args {
576 1.23 jdolecek syscallarg(const char *) path;
577 1.23 jdolecek syscallarg(struct linux_stat64 *) sp;
578 1.23 jdolecek };
579 1.59 njoly check_syscall_args(linux_sys_stat64)
580 1.23 jdolecek
581 1.23 jdolecek struct linux_sys_lstat64_args {
582 1.23 jdolecek syscallarg(const char *) path;
583 1.23 jdolecek syscallarg(struct linux_stat64 *) sp;
584 1.23 jdolecek };
585 1.59 njoly check_syscall_args(linux_sys_lstat64)
586 1.23 jdolecek
587 1.23 jdolecek struct linux_sys_fstat64_args {
588 1.23 jdolecek syscallarg(int) fd;
589 1.23 jdolecek syscallarg(struct linux_stat64 *) sp;
590 1.23 jdolecek };
591 1.59 njoly check_syscall_args(linux_sys_fstat64)
592 1.28 fvdl
593 1.28 fvdl struct linux_sys_setresuid_args {
594 1.28 fvdl syscallarg(uid_t) ruid;
595 1.28 fvdl syscallarg(uid_t) euid;
596 1.28 fvdl syscallarg(uid_t) suid;
597 1.28 fvdl };
598 1.59 njoly check_syscall_args(linux_sys_setresuid)
599 1.28 fvdl
600 1.28 fvdl struct linux_sys_getresuid_args {
601 1.28 fvdl syscallarg(uid_t *) ruid;
602 1.28 fvdl syscallarg(uid_t *) euid;
603 1.28 fvdl syscallarg(uid_t *) suid;
604 1.28 fvdl };
605 1.59 njoly check_syscall_args(linux_sys_getresuid)
606 1.28 fvdl
607 1.28 fvdl struct linux_sys_setresgid_args {
608 1.28 fvdl syscallarg(gid_t) rgid;
609 1.28 fvdl syscallarg(gid_t) egid;
610 1.28 fvdl syscallarg(gid_t) sgid;
611 1.28 fvdl };
612 1.59 njoly check_syscall_args(linux_sys_setresgid)
613 1.28 fvdl
614 1.28 fvdl struct linux_sys_getresgid_args {
615 1.28 fvdl syscallarg(gid_t *) rgid;
616 1.28 fvdl syscallarg(gid_t *) egid;
617 1.28 fvdl syscallarg(gid_t *) sgid;
618 1.28 fvdl };
619 1.59 njoly check_syscall_args(linux_sys_getresgid)
620 1.28 fvdl
621 1.28 fvdl struct linux_sys_setfsuid_args {
622 1.28 fvdl syscallarg(uid_t) uid;
623 1.28 fvdl };
624 1.59 njoly check_syscall_args(linux_sys_setfsuid)
625 1.28 fvdl
626 1.41 christos struct linux_sys_getdents64_args {
627 1.41 christos syscallarg(int) fd;
628 1.41 christos syscallarg(struct linux_dirent64 *) dent;
629 1.41 christos syscallarg(unsigned int) count;
630 1.41 christos };
631 1.59 njoly check_syscall_args(linux_sys_getdents64)
632 1.41 christos
633 1.50 fvdl struct linux_sys_setxattr_args {
634 1.50 fvdl syscallarg(char *) path;
635 1.50 fvdl syscallarg(char *) name;
636 1.50 fvdl syscallarg(void *) value;
637 1.50 fvdl syscallarg(size_t) size;
638 1.50 fvdl syscallarg(int) flags;
639 1.50 fvdl };
640 1.59 njoly check_syscall_args(linux_sys_setxattr)
641 1.50 fvdl
642 1.50 fvdl struct linux_sys_lsetxattr_args {
643 1.50 fvdl syscallarg(char *) path;
644 1.50 fvdl syscallarg(char *) name;
645 1.50 fvdl syscallarg(void *) value;
646 1.50 fvdl syscallarg(size_t) size;
647 1.50 fvdl syscallarg(int) flags;
648 1.50 fvdl };
649 1.59 njoly check_syscall_args(linux_sys_lsetxattr)
650 1.50 fvdl
651 1.50 fvdl struct linux_sys_fsetxattr_args {
652 1.50 fvdl syscallarg(int) fd;
653 1.50 fvdl syscallarg(char *) name;
654 1.50 fvdl syscallarg(void *) value;
655 1.50 fvdl syscallarg(size_t) size;
656 1.50 fvdl syscallarg(int) flags;
657 1.50 fvdl };
658 1.59 njoly check_syscall_args(linux_sys_fsetxattr)
659 1.50 fvdl
660 1.50 fvdl struct linux_sys_getxattr_args {
661 1.50 fvdl syscallarg(char *) path;
662 1.50 fvdl syscallarg(char *) name;
663 1.50 fvdl syscallarg(void *) value;
664 1.50 fvdl syscallarg(size_t) size;
665 1.50 fvdl };
666 1.59 njoly check_syscall_args(linux_sys_getxattr)
667 1.50 fvdl
668 1.50 fvdl struct linux_sys_lgetxattr_args {
669 1.50 fvdl syscallarg(char *) path;
670 1.50 fvdl syscallarg(char *) name;
671 1.50 fvdl syscallarg(void *) value;
672 1.50 fvdl syscallarg(size_t) size;
673 1.50 fvdl };
674 1.59 njoly check_syscall_args(linux_sys_lgetxattr)
675 1.50 fvdl
676 1.50 fvdl struct linux_sys_fgetxattr_args {
677 1.50 fvdl syscallarg(int) fd;
678 1.50 fvdl syscallarg(char *) name;
679 1.50 fvdl syscallarg(void *) value;
680 1.50 fvdl syscallarg(size_t) size;
681 1.50 fvdl };
682 1.59 njoly check_syscall_args(linux_sys_fgetxattr)
683 1.50 fvdl
684 1.50 fvdl struct linux_sys_listxattr_args {
685 1.50 fvdl syscallarg(char *) path;
686 1.50 fvdl syscallarg(char *) list;
687 1.50 fvdl syscallarg(size_t) size;
688 1.50 fvdl };
689 1.59 njoly check_syscall_args(linux_sys_listxattr)
690 1.50 fvdl
691 1.50 fvdl struct linux_sys_llistxattr_args {
692 1.50 fvdl syscallarg(char *) path;
693 1.50 fvdl syscallarg(char *) list;
694 1.50 fvdl syscallarg(size_t) size;
695 1.50 fvdl };
696 1.59 njoly check_syscall_args(linux_sys_llistxattr)
697 1.50 fvdl
698 1.50 fvdl struct linux_sys_flistxattr_args {
699 1.50 fvdl syscallarg(int) fd;
700 1.50 fvdl syscallarg(char *) list;
701 1.50 fvdl syscallarg(size_t) size;
702 1.50 fvdl };
703 1.59 njoly check_syscall_args(linux_sys_flistxattr)
704 1.50 fvdl
705 1.50 fvdl struct linux_sys_removexattr_args {
706 1.50 fvdl syscallarg(char *) path;
707 1.50 fvdl syscallarg(char *) name;
708 1.50 fvdl };
709 1.59 njoly check_syscall_args(linux_sys_removexattr)
710 1.50 fvdl
711 1.50 fvdl struct linux_sys_lremovexattr_args {
712 1.50 fvdl syscallarg(char *) path;
713 1.50 fvdl syscallarg(char *) name;
714 1.50 fvdl };
715 1.59 njoly check_syscall_args(linux_sys_lremovexattr)
716 1.50 fvdl
717 1.50 fvdl struct linux_sys_fremovexattr_args {
718 1.50 fvdl syscallarg(int) fd;
719 1.50 fvdl syscallarg(char *) name;
720 1.50 fvdl };
721 1.59 njoly check_syscall_args(linux_sys_fremovexattr)
722 1.50 fvdl
723 1.51 jmc struct linux_sys_clock_settime_args {
724 1.51 jmc syscallarg(clockid_t) which;
725 1.51 jmc syscallarg(struct linux_timespec *) tp;
726 1.51 jmc };
727 1.59 njoly check_syscall_args(linux_sys_clock_settime)
728 1.51 jmc
729 1.51 jmc struct linux_sys_clock_gettime_args {
730 1.51 jmc syscallarg(clockid_t) which;
731 1.51 jmc syscallarg(struct linux_timespec *) tp;
732 1.51 jmc };
733 1.59 njoly check_syscall_args(linux_sys_clock_gettime)
734 1.51 jmc
735 1.51 jmc struct linux_sys_clock_getres_args {
736 1.51 jmc syscallarg(clockid_t) which;
737 1.51 jmc syscallarg(struct linux_timespec *) tp;
738 1.51 jmc };
739 1.59 njoly check_syscall_args(linux_sys_clock_getres)
740 1.51 jmc
741 1.51 jmc struct linux_sys_clock_nanosleep_args {
742 1.51 jmc syscallarg(clockid_t) which;
743 1.51 jmc syscallarg(int) flags;
744 1.51 jmc syscallarg(struct linux_timespec *) rqtp;
745 1.51 jmc syscallarg(struct linux_timespec *) rmtp;
746 1.51 jmc };
747 1.59 njoly check_syscall_args(linux_sys_clock_nanosleep)
748 1.51 jmc
749 1.1 itohy /*
750 1.1 itohy * System call prototypes.
751 1.1 itohy */
752 1.1 itohy
753 1.43 thorpej int linux_sys_nosys(struct lwp *, void *, register_t *);
754 1.48 jdolecek
755 1.43 thorpej int sys_exit(struct lwp *, void *, register_t *);
756 1.48 jdolecek
757 1.43 thorpej int sys_fork(struct lwp *, void *, register_t *);
758 1.48 jdolecek
759 1.43 thorpej int sys_read(struct lwp *, void *, register_t *);
760 1.48 jdolecek
761 1.43 thorpej int sys_write(struct lwp *, void *, register_t *);
762 1.48 jdolecek
763 1.43 thorpej int linux_sys_open(struct lwp *, void *, register_t *);
764 1.48 jdolecek
765 1.43 thorpej int sys_close(struct lwp *, void *, register_t *);
766 1.48 jdolecek
767 1.43 thorpej int linux_sys_waitpid(struct lwp *, void *, register_t *);
768 1.48 jdolecek
769 1.43 thorpej int linux_sys_creat(struct lwp *, void *, register_t *);
770 1.48 jdolecek
771 1.59 njoly int sys_link(struct lwp *, void *, register_t *);
772 1.48 jdolecek
773 1.43 thorpej int linux_sys_unlink(struct lwp *, void *, register_t *);
774 1.48 jdolecek
775 1.59 njoly int sys_execve(struct lwp *, void *, register_t *);
776 1.48 jdolecek
777 1.59 njoly int sys_chdir(struct lwp *, void *, register_t *);
778 1.48 jdolecek
779 1.43 thorpej int linux_sys_time(struct lwp *, void *, register_t *);
780 1.48 jdolecek
781 1.43 thorpej int linux_sys_mknod(struct lwp *, void *, register_t *);
782 1.48 jdolecek
783 1.59 njoly int sys_chmod(struct lwp *, void *, register_t *);
784 1.48 jdolecek
785 1.43 thorpej int linux_sys_chown16(struct lwp *, void *, register_t *);
786 1.48 jdolecek
787 1.1 itohy #if !defined(_KERNEL) || defined(COMPAT_43)
788 1.43 thorpej int compat_43_sys_lseek(struct lwp *, void *, register_t *);
789 1.48 jdolecek
790 1.1 itohy #else
791 1.1 itohy #endif
792 1.43 thorpej int sys_getpid(struct lwp *, void *, register_t *);
793 1.48 jdolecek
794 1.43 thorpej int sys_setuid(struct lwp *, void *, register_t *);
795 1.48 jdolecek
796 1.43 thorpej int sys_getuid(struct lwp *, void *, register_t *);
797 1.48 jdolecek
798 1.43 thorpej int linux_sys_stime(struct lwp *, void *, register_t *);
799 1.48 jdolecek
800 1.43 thorpej int linux_sys_ptrace(struct lwp *, void *, register_t *);
801 1.48 jdolecek
802 1.43 thorpej int linux_sys_alarm(struct lwp *, void *, register_t *);
803 1.48 jdolecek
804 1.43 thorpej int linux_sys_pause(struct lwp *, void *, register_t *);
805 1.48 jdolecek
806 1.43 thorpej int linux_sys_utime(struct lwp *, void *, register_t *);
807 1.48 jdolecek
808 1.59 njoly int sys_access(struct lwp *, void *, register_t *);
809 1.48 jdolecek
810 1.43 thorpej int linux_sys_nice(struct lwp *, void *, register_t *);
811 1.48 jdolecek
812 1.43 thorpej int sys_sync(struct lwp *, void *, register_t *);
813 1.48 jdolecek
814 1.43 thorpej int linux_sys_kill(struct lwp *, void *, register_t *);
815 1.48 jdolecek
816 1.59 njoly int sys___posix_rename(struct lwp *, void *, register_t *);
817 1.48 jdolecek
818 1.59 njoly int sys_mkdir(struct lwp *, void *, register_t *);
819 1.48 jdolecek
820 1.59 njoly int sys_rmdir(struct lwp *, void *, register_t *);
821 1.48 jdolecek
822 1.43 thorpej int sys_dup(struct lwp *, void *, register_t *);
823 1.48 jdolecek
824 1.43 thorpej int linux_sys_pipe(struct lwp *, void *, register_t *);
825 1.48 jdolecek
826 1.43 thorpej int linux_sys_times(struct lwp *, void *, register_t *);
827 1.48 jdolecek
828 1.43 thorpej int linux_sys_brk(struct lwp *, void *, register_t *);
829 1.48 jdolecek
830 1.43 thorpej int sys_setgid(struct lwp *, void *, register_t *);
831 1.48 jdolecek
832 1.43 thorpej int sys_getgid(struct lwp *, void *, register_t *);
833 1.48 jdolecek
834 1.43 thorpej int linux_sys_signal(struct lwp *, void *, register_t *);
835 1.48 jdolecek
836 1.43 thorpej int sys_geteuid(struct lwp *, void *, register_t *);
837 1.48 jdolecek
838 1.43 thorpej int sys_getegid(struct lwp *, void *, register_t *);
839 1.48 jdolecek
840 1.43 thorpej int sys_acct(struct lwp *, void *, register_t *);
841 1.48 jdolecek
842 1.43 thorpej int linux_sys_ioctl(struct lwp *, void *, register_t *);
843 1.48 jdolecek
844 1.43 thorpej int linux_sys_fcntl(struct lwp *, void *, register_t *);
845 1.48 jdolecek
846 1.43 thorpej int sys_setpgid(struct lwp *, void *, register_t *);
847 1.48 jdolecek
848 1.43 thorpej int sys_umask(struct lwp *, void *, register_t *);
849 1.48 jdolecek
850 1.43 thorpej int sys_chroot(struct lwp *, void *, register_t *);
851 1.48 jdolecek
852 1.43 thorpej int sys_dup2(struct lwp *, void *, register_t *);
853 1.48 jdolecek
854 1.43 thorpej int sys_getppid(struct lwp *, void *, register_t *);
855 1.48 jdolecek
856 1.43 thorpej int sys_getpgrp(struct lwp *, void *, register_t *);
857 1.48 jdolecek
858 1.43 thorpej int sys_setsid(struct lwp *, void *, register_t *);
859 1.48 jdolecek
860 1.43 thorpej int linux_sys_sigaction(struct lwp *, void *, register_t *);
861 1.48 jdolecek
862 1.43 thorpej int linux_sys_siggetmask(struct lwp *, void *, register_t *);
863 1.48 jdolecek
864 1.43 thorpej int linux_sys_sigsetmask(struct lwp *, void *, register_t *);
865 1.48 jdolecek
866 1.43 thorpej int linux_sys_setreuid16(struct lwp *, void *, register_t *);
867 1.48 jdolecek
868 1.43 thorpej int linux_sys_setregid16(struct lwp *, void *, register_t *);
869 1.48 jdolecek
870 1.43 thorpej int linux_sys_sigsuspend(struct lwp *, void *, register_t *);
871 1.48 jdolecek
872 1.43 thorpej int linux_sys_sigpending(struct lwp *, void *, register_t *);
873 1.48 jdolecek
874 1.1 itohy #if !defined(_KERNEL) || defined(COMPAT_43)
875 1.43 thorpej int compat_43_sys_sethostname(struct lwp *, void *, register_t *);
876 1.48 jdolecek
877 1.1 itohy #else
878 1.1 itohy #endif
879 1.43 thorpej int linux_sys_setrlimit(struct lwp *, void *, register_t *);
880 1.48 jdolecek
881 1.43 thorpej int linux_sys_getrlimit(struct lwp *, void *, register_t *);
882 1.48 jdolecek
883 1.43 thorpej int sys_getrusage(struct lwp *, void *, register_t *);
884 1.48 jdolecek
885 1.43 thorpej int linux_sys_gettimeofday(struct lwp *, void *, register_t *);
886 1.48 jdolecek
887 1.43 thorpej int linux_sys_settimeofday(struct lwp *, void *, register_t *);
888 1.48 jdolecek
889 1.43 thorpej int linux_sys_getgroups16(struct lwp *, void *, register_t *);
890 1.48 jdolecek
891 1.43 thorpej int linux_sys_setgroups16(struct lwp *, void *, register_t *);
892 1.48 jdolecek
893 1.43 thorpej int linux_sys_oldselect(struct lwp *, void *, register_t *);
894 1.48 jdolecek
895 1.59 njoly int sys_symlink(struct lwp *, void *, register_t *);
896 1.48 jdolecek
897 1.1 itohy #if !defined(_KERNEL) || defined(COMPAT_43)
898 1.43 thorpej int compat_43_sys_lstat(struct lwp *, void *, register_t *);
899 1.48 jdolecek
900 1.1 itohy #else
901 1.1 itohy #endif
902 1.59 njoly int sys_readlink(struct lwp *, void *, register_t *);
903 1.48 jdolecek
904 1.52 joerg #ifdef EXEC_AOUT
905 1.43 thorpej int linux_sys_uselib(struct lwp *, void *, register_t *);
906 1.48 jdolecek
907 1.52 joerg #else
908 1.52 joerg #endif
909 1.43 thorpej int linux_sys_swapon(struct lwp *, void *, register_t *);
910 1.48 jdolecek
911 1.43 thorpej int linux_sys_reboot(struct lwp *, void *, register_t *);
912 1.48 jdolecek
913 1.43 thorpej int linux_sys_readdir(struct lwp *, void *, register_t *);
914 1.48 jdolecek
915 1.43 thorpej int linux_sys_old_mmap(struct lwp *, void *, register_t *);
916 1.48 jdolecek
917 1.43 thorpej int sys_munmap(struct lwp *, void *, register_t *);
918 1.48 jdolecek
919 1.59 njoly int compat_43_sys_truncate(struct lwp *, void *, register_t *);
920 1.48 jdolecek
921 1.1 itohy #if !defined(_KERNEL) || defined(COMPAT_43)
922 1.43 thorpej int compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
923 1.48 jdolecek
924 1.1 itohy #else
925 1.1 itohy #endif
926 1.43 thorpej int sys_fchmod(struct lwp *, void *, register_t *);
927 1.48 jdolecek
928 1.43 thorpej int linux_sys_fchown16(struct lwp *, void *, register_t *);
929 1.48 jdolecek
930 1.54 christos int linux_sys_getpriority(struct lwp *, void *, register_t *);
931 1.48 jdolecek
932 1.43 thorpej int sys_setpriority(struct lwp *, void *, register_t *);
933 1.48 jdolecek
934 1.43 thorpej int sys_profil(struct lwp *, void *, register_t *);
935 1.48 jdolecek
936 1.43 thorpej int linux_sys_statfs(struct lwp *, void *, register_t *);
937 1.48 jdolecek
938 1.43 thorpej int linux_sys_fstatfs(struct lwp *, void *, register_t *);
939 1.48 jdolecek
940 1.43 thorpej int linux_sys_socketcall(struct lwp *, void *, register_t *);
941 1.48 jdolecek
942 1.43 thorpej int sys_setitimer(struct lwp *, void *, register_t *);
943 1.48 jdolecek
944 1.43 thorpej int sys_getitimer(struct lwp *, void *, register_t *);
945 1.48 jdolecek
946 1.43 thorpej int linux_sys_stat(struct lwp *, void *, register_t *);
947 1.48 jdolecek
948 1.43 thorpej int linux_sys_lstat(struct lwp *, void *, register_t *);
949 1.48 jdolecek
950 1.43 thorpej int linux_sys_fstat(struct lwp *, void *, register_t *);
951 1.48 jdolecek
952 1.43 thorpej int linux_sys_wait4(struct lwp *, void *, register_t *);
953 1.48 jdolecek
954 1.43 thorpej int linux_sys_swapoff(struct lwp *, void *, register_t *);
955 1.48 jdolecek
956 1.43 thorpej int linux_sys_sysinfo(struct lwp *, void *, register_t *);
957 1.48 jdolecek
958 1.43 thorpej int linux_sys_ipc(struct lwp *, void *, register_t *);
959 1.48 jdolecek
960 1.43 thorpej int sys_fsync(struct lwp *, void *, register_t *);
961 1.48 jdolecek
962 1.43 thorpej int linux_sys_sigreturn(struct lwp *, void *, register_t *);
963 1.48 jdolecek
964 1.43 thorpej int linux_sys_clone(struct lwp *, void *, register_t *);
965 1.48 jdolecek
966 1.43 thorpej int linux_sys_setdomainname(struct lwp *, void *, register_t *);
967 1.48 jdolecek
968 1.43 thorpej int linux_sys_uname(struct lwp *, void *, register_t *);
969 1.48 jdolecek
970 1.43 thorpej int linux_sys_cacheflush(struct lwp *, void *, register_t *);
971 1.48 jdolecek
972 1.43 thorpej int linux_sys_mprotect(struct lwp *, void *, register_t *);
973 1.48 jdolecek
974 1.43 thorpej int linux_sys_sigprocmask(struct lwp *, void *, register_t *);
975 1.48 jdolecek
976 1.43 thorpej int linux_sys_getpgid(struct lwp *, void *, register_t *);
977 1.48 jdolecek
978 1.43 thorpej int sys_fchdir(struct lwp *, void *, register_t *);
979 1.48 jdolecek
980 1.43 thorpej int linux_sys_personality(struct lwp *, void *, register_t *);
981 1.48 jdolecek
982 1.43 thorpej int linux_sys_setfsuid(struct lwp *, void *, register_t *);
983 1.48 jdolecek
984 1.43 thorpej int linux_sys_getfsuid(struct lwp *, void *, register_t *);
985 1.48 jdolecek
986 1.43 thorpej int linux_sys_llseek(struct lwp *, void *, register_t *);
987 1.48 jdolecek
988 1.43 thorpej int linux_sys_getdents(struct lwp *, void *, register_t *);
989 1.48 jdolecek
990 1.43 thorpej int linux_sys_select(struct lwp *, void *, register_t *);
991 1.48 jdolecek
992 1.43 thorpej int sys_flock(struct lwp *, void *, register_t *);
993 1.48 jdolecek
994 1.43 thorpej int linux_sys_msync(struct lwp *, void *, register_t *);
995 1.48 jdolecek
996 1.43 thorpej int sys_readv(struct lwp *, void *, register_t *);
997 1.48 jdolecek
998 1.43 thorpej int sys_writev(struct lwp *, void *, register_t *);
999 1.48 jdolecek
1000 1.43 thorpej int sys_getsid(struct lwp *, void *, register_t *);
1001 1.48 jdolecek
1002 1.43 thorpej int linux_sys_fdatasync(struct lwp *, void *, register_t *);
1003 1.48 jdolecek
1004 1.43 thorpej int linux_sys___sysctl(struct lwp *, void *, register_t *);
1005 1.48 jdolecek
1006 1.43 thorpej int sys_mlock(struct lwp *, void *, register_t *);
1007 1.48 jdolecek
1008 1.43 thorpej int sys_munlock(struct lwp *, void *, register_t *);
1009 1.48 jdolecek
1010 1.43 thorpej int sys_mlockall(struct lwp *, void *, register_t *);
1011 1.48 jdolecek
1012 1.43 thorpej int sys_munlockall(struct lwp *, void *, register_t *);
1013 1.48 jdolecek
1014 1.43 thorpej int linux_sys_sched_setparam(struct lwp *, void *, register_t *);
1015 1.48 jdolecek
1016 1.43 thorpej int linux_sys_sched_getparam(struct lwp *, void *, register_t *);
1017 1.48 jdolecek
1018 1.43 thorpej int linux_sys_sched_setscheduler(struct lwp *, void *, register_t *);
1019 1.48 jdolecek
1020 1.43 thorpej int linux_sys_sched_getscheduler(struct lwp *, void *, register_t *);
1021 1.48 jdolecek
1022 1.43 thorpej int linux_sys_sched_yield(struct lwp *, void *, register_t *);
1023 1.48 jdolecek
1024 1.43 thorpej int linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
1025 1.48 jdolecek
1026 1.43 thorpej int linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
1027 1.48 jdolecek
1028 1.43 thorpej int sys_nanosleep(struct lwp *, void *, register_t *);
1029 1.48 jdolecek
1030 1.43 thorpej int linux_sys_mremap(struct lwp *, void *, register_t *);
1031 1.48 jdolecek
1032 1.43 thorpej int linux_sys_setresuid16(struct lwp *, void *, register_t *);
1033 1.48 jdolecek
1034 1.43 thorpej int linux_sys_getresuid(struct lwp *, void *, register_t *);
1035 1.48 jdolecek
1036 1.43 thorpej int sys_poll(struct lwp *, void *, register_t *);
1037 1.48 jdolecek
1038 1.43 thorpej int linux_sys_setresgid16(struct lwp *, void *, register_t *);
1039 1.48 jdolecek
1040 1.43 thorpej int linux_sys_getresgid(struct lwp *, void *, register_t *);
1041 1.48 jdolecek
1042 1.43 thorpej int linux_sys_rt_sigreturn(struct lwp *, void *, register_t *);
1043 1.48 jdolecek
1044 1.43 thorpej int linux_sys_rt_sigaction(struct lwp *, void *, register_t *);
1045 1.48 jdolecek
1046 1.43 thorpej int linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
1047 1.48 jdolecek
1048 1.43 thorpej int linux_sys_rt_sigpending(struct lwp *, void *, register_t *);
1049 1.48 jdolecek
1050 1.43 thorpej int linux_sys_rt_queueinfo(struct lwp *, void *, register_t *);
1051 1.48 jdolecek
1052 1.43 thorpej int linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
1053 1.48 jdolecek
1054 1.43 thorpej int linux_sys_pread(struct lwp *, void *, register_t *);
1055 1.48 jdolecek
1056 1.43 thorpej int linux_sys_pwrite(struct lwp *, void *, register_t *);
1057 1.48 jdolecek
1058 1.43 thorpej int linux_sys_lchown16(struct lwp *, void *, register_t *);
1059 1.48 jdolecek
1060 1.43 thorpej int sys___getcwd(struct lwp *, void *, register_t *);
1061 1.48 jdolecek
1062 1.43 thorpej int linux_sys_sigaltstack(struct lwp *, void *, register_t *);
1063 1.48 jdolecek
1064 1.43 thorpej int sys___vfork14(struct lwp *, void *, register_t *);
1065 1.48 jdolecek
1066 1.43 thorpej int linux_sys_ugetrlimit(struct lwp *, void *, register_t *);
1067 1.48 jdolecek
1068 1.45 christos int linux_sys_mmap2(struct lwp *, void *, register_t *);
1069 1.48 jdolecek
1070 1.43 thorpej int linux_sys_truncate64(struct lwp *, void *, register_t *);
1071 1.48 jdolecek
1072 1.47 jdolecek int linux_sys_ftruncate64(struct lwp *, void *, register_t *);
1073 1.48 jdolecek
1074 1.43 thorpej int linux_sys_stat64(struct lwp *, void *, register_t *);
1075 1.48 jdolecek
1076 1.43 thorpej int linux_sys_lstat64(struct lwp *, void *, register_t *);
1077 1.48 jdolecek
1078 1.43 thorpej int linux_sys_fstat64(struct lwp *, void *, register_t *);
1079 1.48 jdolecek
1080 1.59 njoly int sys___posix_chown(struct lwp *, void *, register_t *);
1081 1.48 jdolecek
1082 1.43 thorpej int sys_setreuid(struct lwp *, void *, register_t *);
1083 1.48 jdolecek
1084 1.43 thorpej int sys_setregid(struct lwp *, void *, register_t *);
1085 1.48 jdolecek
1086 1.43 thorpej int sys_getgroups(struct lwp *, void *, register_t *);
1087 1.48 jdolecek
1088 1.43 thorpej int sys_setgroups(struct lwp *, void *, register_t *);
1089 1.48 jdolecek
1090 1.43 thorpej int sys___posix_fchown(struct lwp *, void *, register_t *);
1091 1.48 jdolecek
1092 1.43 thorpej int linux_sys_setresuid(struct lwp *, void *, register_t *);
1093 1.48 jdolecek
1094 1.43 thorpej int linux_sys_setresgid(struct lwp *, void *, register_t *);
1095 1.48 jdolecek
1096 1.59 njoly int sys___posix_lchown(struct lwp *, void *, register_t *);
1097 1.48 jdolecek
1098 1.43 thorpej int linux_sys_getdents64(struct lwp *, void *, register_t *);
1099 1.48 jdolecek
1100 1.50 fvdl int linux_sys_setxattr(struct lwp *, void *, register_t *);
1101 1.50 fvdl
1102 1.50 fvdl int linux_sys_lsetxattr(struct lwp *, void *, register_t *);
1103 1.50 fvdl
1104 1.50 fvdl int linux_sys_fsetxattr(struct lwp *, void *, register_t *);
1105 1.50 fvdl
1106 1.50 fvdl int linux_sys_getxattr(struct lwp *, void *, register_t *);
1107 1.50 fvdl
1108 1.50 fvdl int linux_sys_lgetxattr(struct lwp *, void *, register_t *);
1109 1.50 fvdl
1110 1.50 fvdl int linux_sys_fgetxattr(struct lwp *, void *, register_t *);
1111 1.50 fvdl
1112 1.50 fvdl int linux_sys_listxattr(struct lwp *, void *, register_t *);
1113 1.50 fvdl
1114 1.50 fvdl int linux_sys_llistxattr(struct lwp *, void *, register_t *);
1115 1.50 fvdl
1116 1.50 fvdl int linux_sys_flistxattr(struct lwp *, void *, register_t *);
1117 1.50 fvdl
1118 1.50 fvdl int linux_sys_removexattr(struct lwp *, void *, register_t *);
1119 1.50 fvdl
1120 1.50 fvdl int linux_sys_lremovexattr(struct lwp *, void *, register_t *);
1121 1.50 fvdl
1122 1.50 fvdl int linux_sys_fremovexattr(struct lwp *, void *, register_t *);
1123 1.50 fvdl
1124 1.51 jmc int linux_sys_clock_settime(struct lwp *, void *, register_t *);
1125 1.51 jmc
1126 1.51 jmc int linux_sys_clock_gettime(struct lwp *, void *, register_t *);
1127 1.51 jmc
1128 1.51 jmc int linux_sys_clock_getres(struct lwp *, void *, register_t *);
1129 1.51 jmc
1130 1.51 jmc int linux_sys_clock_nanosleep(struct lwp *, void *, register_t *);
1131 1.51 jmc
1132 1.56 matt #endif /* _LINUX_SYS_SYSCALLARGS_H_ */
1133