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