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