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