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