linux_syscallargs.h revision 1.91 1 1.27 njoly /* $NetBSD: linux_syscallargs.h,v 1.91 2024/07/01 01:36:19 christos 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.91 christos * created from NetBSD: syscalls.master,v 1.81 2024/07/01 01:35:53 christos Exp
8 1.1 manu */
9 1.1 manu
10 1.25 christos #ifndef _LINUX_SYS_SYSCALLARGS_H_
11 1.25 christos #define _LINUX_SYS_SYSCALLARGS_H_
12 1.1 manu
13 1.76 riastrad /* Forward declaration */
14 1.76 riastrad struct lwp;
15 1.76 riastrad
16 1.27 njoly #define LINUX_SYS_MAXSYSARGS 8
17 1.27 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.5 lukem struct { /* LINTED zero array dimension */ \
24 1.5 lukem int8_t pad[ /* CONSTCOND */ \
25 1.5 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.27 njoly #undef check_syscall_args
33 1.43 matt #define check_syscall_args(call) /*LINTED*/ \
34 1.27 njoly typedef char call##_check_args[sizeof (struct call##_args) \
35 1.27 njoly <= LINUX_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
36 1.27 njoly
37 1.42 chs struct linux_sys_exit_args {
38 1.42 chs syscallarg(int) rval;
39 1.42 chs };
40 1.42 chs check_syscall_args(linux_sys_exit)
41 1.28 dsl
42 1.28 dsl struct sys_read_args;
43 1.28 dsl
44 1.28 dsl struct sys_write_args;
45 1.28 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.53 njoly syscallarg(linux_umode_t) mode;
50 1.1 manu };
51 1.27 njoly check_syscall_args(linux_sys_open)
52 1.1 manu
53 1.28 dsl struct sys_close_args;
54 1.28 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.27 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.53 njoly syscallarg(linux_umode_t) mode;
65 1.1 manu };
66 1.27 njoly check_syscall_args(linux_sys_creat)
67 1.1 manu
68 1.28 dsl struct sys_link_args;
69 1.28 dsl
70 1.1 manu struct linux_sys_unlink_args {
71 1.1 manu syscallarg(const char *) path;
72 1.1 manu };
73 1.27 njoly check_syscall_args(linux_sys_unlink)
74 1.1 manu
75 1.28 dsl struct sys_execve_args;
76 1.28 dsl
77 1.28 dsl struct sys_chdir_args;
78 1.28 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.27 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.53 njoly syscallarg(linux_umode_t) mode;
87 1.56 njoly syscallarg(unsigned) dev;
88 1.1 manu };
89 1.27 njoly check_syscall_args(linux_sys_mknod)
90 1.1 manu
91 1.28 dsl struct sys_chmod_args;
92 1.28 dsl
93 1.28 dsl struct sys___posix_lchown_args;
94 1.28 dsl
95 1.28 dsl struct compat_43_sys_lseek_args;
96 1.28 dsl
97 1.28 dsl struct sys_setuid_args;
98 1.28 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.27 njoly check_syscall_args(linux_sys_stime)
103 1.1 manu
104 1.1 manu struct linux_sys_ptrace_args {
105 1.43 matt syscallarg(long) request;
106 1.43 matt syscallarg(long) pid;
107 1.43 matt syscallarg(long) addr;
108 1.43 matt syscallarg(long) data;
109 1.1 manu };
110 1.27 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.27 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.27 njoly check_syscall_args(linux_sys_utime)
122 1.1 manu
123 1.28 dsl struct sys_access_args;
124 1.28 dsl
125 1.1 manu struct linux_sys_nice_args {
126 1.1 manu syscallarg(int) incr;
127 1.1 manu };
128 1.27 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.27 njoly check_syscall_args(linux_sys_kill)
135 1.1 manu
136 1.28 dsl struct sys___posix_rename_args;
137 1.28 dsl
138 1.28 dsl struct sys_mkdir_args;
139 1.28 dsl
140 1.28 dsl struct sys_rmdir_args;
141 1.28 dsl
142 1.28 dsl struct sys_dup_args;
143 1.28 dsl
144 1.1 manu struct linux_sys_pipe_args {
145 1.1 manu syscallarg(int *) pfds;
146 1.1 manu };
147 1.27 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.27 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.27 njoly check_syscall_args(linux_sys_brk)
158 1.1 manu
159 1.28 dsl struct sys_setgid_args;
160 1.28 dsl
161 1.1 manu struct linux_sys_signal_args {
162 1.1 manu syscallarg(int) signum;
163 1.1 manu syscallarg(linux___sighandler_t) handler;
164 1.1 manu };
165 1.27 njoly check_syscall_args(linux_sys_signal)
166 1.1 manu
167 1.28 dsl struct sys_acct_args;
168 1.28 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.26 christos syscallarg(void *) data;
173 1.1 manu };
174 1.27 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.27 njoly check_syscall_args(linux_sys_fcntl)
182 1.1 manu
183 1.28 dsl struct sys_setpgid_args;
184 1.28 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.27 njoly check_syscall_args(linux_sys_olduname)
189 1.1 manu
190 1.28 dsl struct sys_umask_args;
191 1.28 dsl
192 1.28 dsl struct sys_chroot_args;
193 1.28 dsl
194 1.28 dsl struct sys_dup2_args;
195 1.28 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.27 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.27 njoly check_syscall_args(linux_sys_sigsetmask)
207 1.1 manu
208 1.28 dsl struct sys_setreuid_args;
209 1.28 dsl
210 1.28 dsl struct sys_setregid_args;
211 1.28 dsl
212 1.1 manu struct linux_sys_sigsuspend_args {
213 1.26 christos syscallarg(void *) restart;
214 1.1 manu syscallarg(int) oldmask;
215 1.1 manu syscallarg(int) mask;
216 1.1 manu };
217 1.27 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.27 njoly check_syscall_args(linux_sys_sigpending)
223 1.1 manu
224 1.28 dsl struct compat_43_sys_sethostname_args;
225 1.28 dsl
226 1.9 rafal struct linux_sys_setrlimit_args {
227 1.9 rafal syscallarg(u_int) which;
228 1.9 rafal syscallarg(struct orlimit *) rlp;
229 1.9 rafal };
230 1.27 njoly check_syscall_args(linux_sys_setrlimit)
231 1.9 rafal
232 1.9 rafal struct linux_sys_getrlimit_args {
233 1.9 rafal syscallarg(u_int) which;
234 1.9 rafal syscallarg(struct orlimit *) rlp;
235 1.9 rafal };
236 1.27 njoly check_syscall_args(linux_sys_getrlimit)
237 1.9 rafal
238 1.36 njoly struct compat_50_sys_getrusage_args;
239 1.28 dsl
240 1.1 manu struct linux_sys_gettimeofday_args {
241 1.36 njoly syscallarg(struct timeval50 *) tp;
242 1.1 manu syscallarg(struct timezone *) tzp;
243 1.1 manu };
244 1.27 njoly check_syscall_args(linux_sys_gettimeofday)
245 1.1 manu
246 1.1 manu struct linux_sys_settimeofday_args {
247 1.36 njoly syscallarg(struct timeval50 *) tp;
248 1.1 manu syscallarg(struct timezone *) tzp;
249 1.1 manu };
250 1.27 njoly check_syscall_args(linux_sys_settimeofday)
251 1.1 manu
252 1.28 dsl struct sys_getgroups_args;
253 1.28 dsl
254 1.28 dsl struct sys_setgroups_args;
255 1.28 dsl
256 1.28 dsl struct sys_symlink_args;
257 1.28 dsl
258 1.28 dsl struct compat_43_sys_lstat_args;
259 1.28 dsl
260 1.28 dsl struct sys_readlink_args;
261 1.28 dsl
262 1.1 manu struct linux_sys_swapon_args {
263 1.1 manu syscallarg(char *) name;
264 1.1 manu };
265 1.27 njoly check_syscall_args(linux_sys_swapon)
266 1.1 manu
267 1.1 manu struct linux_sys_reboot_args {
268 1.1 manu syscallarg(int) magic1;
269 1.1 manu syscallarg(int) magic2;
270 1.1 manu syscallarg(int) cmd;
271 1.1 manu syscallarg(void *) arg;
272 1.1 manu };
273 1.27 njoly check_syscall_args(linux_sys_reboot)
274 1.1 manu
275 1.1 manu struct linux_sys_readdir_args {
276 1.1 manu syscallarg(int) fd;
277 1.26 christos syscallarg(void *) dent;
278 1.1 manu syscallarg(unsigned int) count;
279 1.1 manu };
280 1.27 njoly check_syscall_args(linux_sys_readdir)
281 1.1 manu
282 1.28 dsl struct linux_sys_mmap_args;
283 1.28 dsl
284 1.28 dsl struct sys_munmap_args;
285 1.28 dsl
286 1.28 dsl struct compat_43_sys_truncate_args;
287 1.28 dsl
288 1.28 dsl struct compat_43_sys_ftruncate_args;
289 1.28 dsl
290 1.28 dsl struct sys_fchmod_args;
291 1.28 dsl
292 1.28 dsl struct sys___posix_fchown_args;
293 1.28 dsl
294 1.25 christos struct linux_sys_getpriority_args {
295 1.25 christos syscallarg(int) which;
296 1.25 christos syscallarg(int) who;
297 1.25 christos };
298 1.27 njoly check_syscall_args(linux_sys_getpriority)
299 1.25 christos
300 1.28 dsl struct sys_setpriority_args;
301 1.28 dsl
302 1.1 manu struct linux_sys_statfs_args {
303 1.1 manu syscallarg(const char *) path;
304 1.1 manu syscallarg(struct linux_statfs *) sp;
305 1.1 manu };
306 1.27 njoly check_syscall_args(linux_sys_statfs)
307 1.1 manu
308 1.1 manu struct linux_sys_fstatfs_args {
309 1.1 manu syscallarg(int) fd;
310 1.1 manu syscallarg(struct linux_statfs *) sp;
311 1.1 manu };
312 1.27 njoly check_syscall_args(linux_sys_fstatfs)
313 1.1 manu
314 1.1 manu struct linux_sys_ioperm_args {
315 1.1 manu syscallarg(unsigned int) lo;
316 1.1 manu syscallarg(unsigned int) hi;
317 1.1 manu syscallarg(int) val;
318 1.1 manu };
319 1.27 njoly check_syscall_args(linux_sys_ioperm)
320 1.1 manu
321 1.1 manu struct linux_sys_socketcall_args {
322 1.1 manu syscallarg(int) what;
323 1.1 manu syscallarg(void *) args;
324 1.1 manu };
325 1.27 njoly check_syscall_args(linux_sys_socketcall)
326 1.1 manu
327 1.36 njoly struct compat_50_sys_setitimer_args;
328 1.28 dsl
329 1.36 njoly struct compat_50_sys_getitimer_args;
330 1.28 dsl
331 1.1 manu struct linux_sys_stat_args {
332 1.1 manu syscallarg(const char *) path;
333 1.1 manu syscallarg(struct linux_stat *) sp;
334 1.1 manu };
335 1.27 njoly check_syscall_args(linux_sys_stat)
336 1.1 manu
337 1.1 manu struct linux_sys_lstat_args {
338 1.1 manu syscallarg(const char *) path;
339 1.1 manu syscallarg(struct linux_stat *) sp;
340 1.1 manu };
341 1.27 njoly check_syscall_args(linux_sys_lstat)
342 1.1 manu
343 1.1 manu struct linux_sys_fstat_args {
344 1.1 manu syscallarg(int) fd;
345 1.1 manu syscallarg(struct linux_stat *) sp;
346 1.1 manu };
347 1.27 njoly check_syscall_args(linux_sys_fstat)
348 1.1 manu
349 1.1 manu struct linux_sys_uname_args {
350 1.1 manu syscallarg(struct linux_utsname *) up;
351 1.1 manu };
352 1.27 njoly check_syscall_args(linux_sys_uname)
353 1.1 manu
354 1.1 manu struct linux_sys_wait4_args {
355 1.1 manu syscallarg(int) pid;
356 1.1 manu syscallarg(int *) status;
357 1.1 manu syscallarg(int) options;
358 1.37 njoly syscallarg(struct rusage50 *) rusage;
359 1.1 manu };
360 1.27 njoly check_syscall_args(linux_sys_wait4)
361 1.1 manu
362 1.1 manu struct linux_sys_swapoff_args {
363 1.1 manu syscallarg(const char *) path;
364 1.1 manu };
365 1.27 njoly check_syscall_args(linux_sys_swapoff)
366 1.1 manu
367 1.1 manu struct linux_sys_sysinfo_args {
368 1.1 manu syscallarg(struct linux_sysinfo *) arg;
369 1.1 manu };
370 1.27 njoly check_syscall_args(linux_sys_sysinfo)
371 1.1 manu
372 1.1 manu struct linux_sys_ipc_args {
373 1.1 manu syscallarg(int) what;
374 1.43 matt syscallarg(long) a1;
375 1.43 matt syscallarg(long) a2;
376 1.43 matt syscallarg(long) a3;
377 1.26 christos syscallarg(void *) ptr;
378 1.1 manu };
379 1.27 njoly check_syscall_args(linux_sys_ipc)
380 1.1 manu
381 1.28 dsl struct sys_fsync_args;
382 1.28 dsl
383 1.1 manu struct linux_sys_sigreturn_args {
384 1.6 manu syscallarg(struct linux_sigframe *) sf;
385 1.1 manu };
386 1.27 njoly check_syscall_args(linux_sys_sigreturn)
387 1.1 manu
388 1.1 manu struct linux_sys_clone_args {
389 1.1 manu syscallarg(int) flags;
390 1.1 manu syscallarg(void *) stack;
391 1.42 chs syscallarg(void *) parent_tidptr;
392 1.42 chs syscallarg(void *) tls;
393 1.42 chs syscallarg(void *) child_tidptr;
394 1.1 manu };
395 1.27 njoly check_syscall_args(linux_sys_clone)
396 1.1 manu
397 1.1 manu struct linux_sys_setdomainname_args {
398 1.1 manu syscallarg(char *) domainname;
399 1.1 manu syscallarg(int) len;
400 1.1 manu };
401 1.27 njoly check_syscall_args(linux_sys_setdomainname)
402 1.1 manu
403 1.1 manu struct linux_sys_new_uname_args {
404 1.1 manu syscallarg(struct linux_utsname *) up;
405 1.1 manu };
406 1.27 njoly check_syscall_args(linux_sys_new_uname)
407 1.1 manu
408 1.10 christos struct linux_sys_mprotect_args {
409 1.10 christos syscallarg(const void *) start;
410 1.10 christos syscallarg(unsigned long) len;
411 1.10 christos syscallarg(int) prot;
412 1.10 christos };
413 1.27 njoly check_syscall_args(linux_sys_mprotect)
414 1.10 christos
415 1.1 manu struct linux_sys_sigprocmask_args {
416 1.1 manu syscallarg(int) how;
417 1.1 manu syscallarg(const linux_old_sigset_t *) set;
418 1.1 manu syscallarg(linux_old_sigset_t *) oset;
419 1.1 manu };
420 1.27 njoly check_syscall_args(linux_sys_sigprocmask)
421 1.1 manu
422 1.30 njoly struct sys_getpgid_args;
423 1.1 manu
424 1.28 dsl struct sys_fchdir_args;
425 1.28 dsl
426 1.1 manu struct linux_sys_personality_args {
427 1.40 njoly syscallarg(unsigned long) per;
428 1.1 manu };
429 1.27 njoly check_syscall_args(linux_sys_personality)
430 1.1 manu
431 1.1 manu struct linux_sys_setfsuid_args {
432 1.1 manu syscallarg(uid_t) uid;
433 1.1 manu };
434 1.27 njoly check_syscall_args(linux_sys_setfsuid)
435 1.1 manu
436 1.29 njoly struct linux_sys_setfsgid_args {
437 1.29 njoly syscallarg(gid_t) gid;
438 1.29 njoly };
439 1.29 njoly check_syscall_args(linux_sys_setfsgid)
440 1.29 njoly
441 1.1 manu struct linux_sys_llseek_args {
442 1.1 manu syscallarg(int) fd;
443 1.1 manu syscallarg(u_int32_t) ohigh;
444 1.1 manu syscallarg(u_int32_t) olow;
445 1.26 christos syscallarg(void *) res;
446 1.1 manu syscallarg(int) whence;
447 1.1 manu };
448 1.27 njoly check_syscall_args(linux_sys_llseek)
449 1.1 manu
450 1.1 manu struct linux_sys_getdents_args {
451 1.1 manu syscallarg(int) fd;
452 1.1 manu syscallarg(struct linux_dirent *) dent;
453 1.1 manu syscallarg(unsigned int) count;
454 1.1 manu };
455 1.27 njoly check_syscall_args(linux_sys_getdents)
456 1.1 manu
457 1.1 manu struct linux_sys_select_args {
458 1.1 manu syscallarg(int) nfds;
459 1.1 manu syscallarg(fd_set *) readfds;
460 1.1 manu syscallarg(fd_set *) writefds;
461 1.1 manu syscallarg(fd_set *) exceptfds;
462 1.36 njoly syscallarg(struct timeval50 *) timeout;
463 1.1 manu };
464 1.27 njoly check_syscall_args(linux_sys_select)
465 1.1 manu
466 1.28 dsl struct sys_flock_args;
467 1.28 dsl
468 1.31 njoly struct sys___msync13_args;
469 1.1 manu
470 1.28 dsl struct sys_readv_args;
471 1.28 dsl
472 1.28 dsl struct sys_writev_args;
473 1.28 dsl
474 1.1 manu struct linux_sys_cacheflush_args {
475 1.1 manu syscallarg(void *) addr;
476 1.1 manu syscallarg(int) bytes;
477 1.1 manu syscallarg(int) cache;
478 1.1 manu };
479 1.27 njoly check_syscall_args(linux_sys_cacheflush)
480 1.1 manu
481 1.2 manu struct linux_sys_sysmips_args {
482 1.43 matt syscallarg(long) cmd;
483 1.43 matt syscallarg(long) arg1;
484 1.43 matt syscallarg(long) arg2;
485 1.43 matt syscallarg(long) arg3;
486 1.2 manu };
487 1.27 njoly check_syscall_args(linux_sys_sysmips)
488 1.2 manu
489 1.28 dsl struct sys_getsid_args;
490 1.28 dsl
491 1.1 manu struct linux_sys_fdatasync_args {
492 1.1 manu syscallarg(int) fd;
493 1.1 manu };
494 1.27 njoly check_syscall_args(linux_sys_fdatasync)
495 1.1 manu
496 1.1 manu struct linux_sys___sysctl_args {
497 1.1 manu syscallarg(struct linux___sysctl *) lsp;
498 1.1 manu };
499 1.27 njoly check_syscall_args(linux_sys___sysctl)
500 1.1 manu
501 1.28 dsl struct sys_mlock_args;
502 1.28 dsl
503 1.28 dsl struct sys_munlock_args;
504 1.28 dsl
505 1.28 dsl struct sys_mlockall_args;
506 1.28 dsl
507 1.1 manu struct linux_sys_sched_setparam_args {
508 1.1 manu syscallarg(pid_t) pid;
509 1.1 manu syscallarg(const struct linux_sched_param *) sp;
510 1.1 manu };
511 1.27 njoly check_syscall_args(linux_sys_sched_setparam)
512 1.1 manu
513 1.1 manu struct linux_sys_sched_getparam_args {
514 1.1 manu syscallarg(pid_t) pid;
515 1.1 manu syscallarg(struct linux_sched_param *) sp;
516 1.1 manu };
517 1.27 njoly check_syscall_args(linux_sys_sched_getparam)
518 1.1 manu
519 1.1 manu struct linux_sys_sched_setscheduler_args {
520 1.1 manu syscallarg(pid_t) pid;
521 1.1 manu syscallarg(int) policy;
522 1.1 manu syscallarg(const struct linux_sched_param *) sp;
523 1.1 manu };
524 1.27 njoly check_syscall_args(linux_sys_sched_setscheduler)
525 1.1 manu
526 1.1 manu struct linux_sys_sched_getscheduler_args {
527 1.1 manu syscallarg(pid_t) pid;
528 1.1 manu };
529 1.27 njoly check_syscall_args(linux_sys_sched_getscheduler)
530 1.1 manu
531 1.1 manu struct linux_sys_sched_get_priority_max_args {
532 1.1 manu syscallarg(int) policy;
533 1.1 manu };
534 1.27 njoly check_syscall_args(linux_sys_sched_get_priority_max)
535 1.1 manu
536 1.1 manu struct linux_sys_sched_get_priority_min_args {
537 1.1 manu syscallarg(int) policy;
538 1.1 manu };
539 1.27 njoly check_syscall_args(linux_sys_sched_get_priority_min)
540 1.1 manu
541 1.33 njoly struct linux_sys_nanosleep_args {
542 1.33 njoly syscallarg(const struct linux_timespec *) rqtp;
543 1.33 njoly syscallarg(struct linux_timespec *) rmtp;
544 1.33 njoly };
545 1.33 njoly check_syscall_args(linux_sys_nanosleep)
546 1.28 dsl
547 1.1 manu struct linux_sys_mremap_args {
548 1.1 manu syscallarg(void *) old_address;
549 1.1 manu syscallarg(size_t) old_size;
550 1.1 manu syscallarg(size_t) new_size;
551 1.1 manu syscallarg(u_long) flags;
552 1.1 manu };
553 1.27 njoly check_syscall_args(linux_sys_mremap)
554 1.1 manu
555 1.73 christos struct linux_sys_accept_args {
556 1.73 christos syscallarg(int) s;
557 1.73 christos syscallarg(struct osockaddr *) name;
558 1.73 christos syscallarg(int *) anamelen;
559 1.73 christos };
560 1.73 christos check_syscall_args(linux_sys_accept)
561 1.28 dsl
562 1.73 christos struct linux_sys_bind_args {
563 1.73 christos syscallarg(int) s;
564 1.73 christos syscallarg(const struct osockaddr *) name;
565 1.73 christos syscallarg(int) namelen;
566 1.73 christos };
567 1.73 christos check_syscall_args(linux_sys_bind)
568 1.28 dsl
569 1.73 christos struct linux_sys_connect_args {
570 1.73 christos syscallarg(int) s;
571 1.73 christos syscallarg(const struct osockaddr *) name;
572 1.73 christos syscallarg(int) namelen;
573 1.73 christos };
574 1.73 christos check_syscall_args(linux_sys_connect)
575 1.28 dsl
576 1.73 christos struct linux_sys_getpeername_args {
577 1.73 christos syscallarg(int) fdes;
578 1.73 christos syscallarg(void *) asa;
579 1.73 christos syscallarg(int *) alen;
580 1.73 christos };
581 1.73 christos check_syscall_args(linux_sys_getpeername)
582 1.28 dsl
583 1.73 christos struct linux_sys_getsockname_args {
584 1.73 christos syscallarg(int) fdes;
585 1.73 christos syscallarg(void *) asa;
586 1.73 christos syscallarg(int *) alen;
587 1.73 christos };
588 1.73 christos check_syscall_args(linux_sys_getsockname)
589 1.28 dsl
590 1.73 christos struct linux_sys_getsockopt_args {
591 1.73 christos syscallarg(int) s;
592 1.73 christos syscallarg(int) level;
593 1.73 christos syscallarg(int) optname;
594 1.73 christos syscallarg(void *) optval;
595 1.73 christos syscallarg(int *) optlen;
596 1.73 christos };
597 1.73 christos check_syscall_args(linux_sys_getsockopt)
598 1.28 dsl
599 1.75 christos struct sys_listen_args;
600 1.28 dsl
601 1.73 christos struct linux_sys_recv_args {
602 1.73 christos syscallarg(int) s;
603 1.73 christos syscallarg(void *) buf;
604 1.73 christos syscallarg(int) len;
605 1.73 christos syscallarg(int) flags;
606 1.73 christos };
607 1.73 christos check_syscall_args(linux_sys_recv)
608 1.28 dsl
609 1.73 christos struct linux_sys_recvfrom_args {
610 1.73 christos syscallarg(int) s;
611 1.73 christos syscallarg(void *) buf;
612 1.73 christos syscallarg(int) len;
613 1.73 christos syscallarg(int) flags;
614 1.73 christos syscallarg(struct osockaddr *) from;
615 1.73 christos syscallarg(int *) fromlenaddr;
616 1.73 christos };
617 1.73 christos check_syscall_args(linux_sys_recvfrom)
618 1.28 dsl
619 1.73 christos struct linux_sys_recvmsg_args {
620 1.73 christos syscallarg(int) s;
621 1.73 christos syscallarg(struct linux_msghdr *) msg;
622 1.73 christos syscallarg(u_int) flags;
623 1.73 christos };
624 1.73 christos check_syscall_args(linux_sys_recvmsg)
625 1.28 dsl
626 1.73 christos struct linux_sys_send_args {
627 1.73 christos syscallarg(int) s;
628 1.73 christos syscallarg(void *) buf;
629 1.73 christos syscallarg(int) len;
630 1.73 christos syscallarg(int) flags;
631 1.73 christos };
632 1.73 christos check_syscall_args(linux_sys_send)
633 1.28 dsl
634 1.73 christos struct linux_sys_sendmsg_args {
635 1.73 christos syscallarg(int) s;
636 1.73 christos syscallarg(struct linux_msghdr *) msg;
637 1.73 christos syscallarg(u_int) flags;
638 1.73 christos };
639 1.73 christos check_syscall_args(linux_sys_sendmsg)
640 1.28 dsl
641 1.73 christos struct linux_sys_sendto_args {
642 1.73 christos syscallarg(int) s;
643 1.73 christos syscallarg(void *) msg;
644 1.73 christos syscallarg(int) len;
645 1.73 christos syscallarg(int) flags;
646 1.73 christos syscallarg(struct osockaddr *) to;
647 1.73 christos syscallarg(int) tolen;
648 1.73 christos };
649 1.73 christos check_syscall_args(linux_sys_sendto)
650 1.28 dsl
651 1.73 christos struct linux_sys_setsockopt_args {
652 1.73 christos syscallarg(int) s;
653 1.73 christos syscallarg(int) level;
654 1.73 christos syscallarg(int) optname;
655 1.73 christos syscallarg(void *) optval;
656 1.73 christos syscallarg(int) optlen;
657 1.73 christos };
658 1.73 christos check_syscall_args(linux_sys_setsockopt)
659 1.73 christos
660 1.73 christos struct linux_sys_socket_args {
661 1.73 christos syscallarg(int) domain;
662 1.73 christos syscallarg(int) type;
663 1.73 christos syscallarg(int) protocol;
664 1.73 christos };
665 1.73 christos check_syscall_args(linux_sys_socket)
666 1.73 christos
667 1.73 christos struct linux_sys_socketpair_args {
668 1.73 christos syscallarg(int) domain;
669 1.73 christos syscallarg(int) type;
670 1.73 christos syscallarg(int) protocol;
671 1.73 christos syscallarg(int *) rsv;
672 1.73 christos };
673 1.73 christos check_syscall_args(linux_sys_socketpair)
674 1.28 dsl
675 1.1 manu struct linux_sys_setresuid_args {
676 1.1 manu syscallarg(uid_t) ruid;
677 1.1 manu syscallarg(uid_t) euid;
678 1.1 manu syscallarg(uid_t) suid;
679 1.1 manu };
680 1.27 njoly check_syscall_args(linux_sys_setresuid)
681 1.1 manu
682 1.1 manu struct linux_sys_getresuid_args {
683 1.1 manu syscallarg(uid_t *) ruid;
684 1.1 manu syscallarg(uid_t *) euid;
685 1.1 manu syscallarg(uid_t *) suid;
686 1.1 manu };
687 1.27 njoly check_syscall_args(linux_sys_getresuid)
688 1.1 manu
689 1.28 dsl struct sys_poll_args;
690 1.28 dsl
691 1.1 manu struct linux_sys_setresgid_args {
692 1.1 manu syscallarg(gid_t) rgid;
693 1.1 manu syscallarg(gid_t) egid;
694 1.1 manu syscallarg(gid_t) sgid;
695 1.1 manu };
696 1.27 njoly check_syscall_args(linux_sys_setresgid)
697 1.1 manu
698 1.1 manu struct linux_sys_getresgid_args {
699 1.1 manu syscallarg(gid_t *) rgid;
700 1.1 manu syscallarg(gid_t *) egid;
701 1.1 manu syscallarg(gid_t *) sgid;
702 1.1 manu };
703 1.27 njoly check_syscall_args(linux_sys_getresgid)
704 1.1 manu
705 1.1 manu struct linux_sys_rt_sigreturn_args {
706 1.42 chs syscallarg(struct linux_pt_regs *) regs;
707 1.1 manu };
708 1.27 njoly check_syscall_args(linux_sys_rt_sigreturn)
709 1.1 manu
710 1.1 manu struct linux_sys_rt_sigaction_args {
711 1.1 manu syscallarg(int) signum;
712 1.1 manu syscallarg(const struct linux_sigaction *) nsa;
713 1.1 manu syscallarg(struct linux_sigaction *) osa;
714 1.1 manu syscallarg(size_t) sigsetsize;
715 1.1 manu };
716 1.27 njoly check_syscall_args(linux_sys_rt_sigaction)
717 1.1 manu
718 1.1 manu struct linux_sys_rt_sigprocmask_args {
719 1.1 manu syscallarg(int) how;
720 1.1 manu syscallarg(const linux_sigset_t *) set;
721 1.1 manu syscallarg(linux_sigset_t *) oset;
722 1.1 manu syscallarg(size_t) sigsetsize;
723 1.1 manu };
724 1.27 njoly check_syscall_args(linux_sys_rt_sigprocmask)
725 1.1 manu
726 1.1 manu struct linux_sys_rt_sigpending_args {
727 1.1 manu syscallarg(linux_sigset_t *) set;
728 1.1 manu syscallarg(size_t) sigsetsize;
729 1.1 manu };
730 1.27 njoly check_syscall_args(linux_sys_rt_sigpending)
731 1.1 manu
732 1.47 christos struct linux_sys_rt_sigtimedwait_args {
733 1.47 christos syscallarg(const linux_sigset_t *) set;
734 1.47 christos syscallarg(linux_siginfo_t *) info;
735 1.47 christos syscallarg(const struct linux_timespec *) timeout;
736 1.47 christos };
737 1.47 christos check_syscall_args(linux_sys_rt_sigtimedwait)
738 1.47 christos
739 1.1 manu struct linux_sys_rt_queueinfo_args {
740 1.1 manu syscallarg(int) pid;
741 1.1 manu syscallarg(int) signum;
742 1.38 njoly syscallarg(linux_siginfo_t *) uinfo;
743 1.1 manu };
744 1.27 njoly check_syscall_args(linux_sys_rt_queueinfo)
745 1.1 manu
746 1.1 manu struct linux_sys_rt_sigsuspend_args {
747 1.1 manu syscallarg(linux_sigset_t *) unewset;
748 1.1 manu syscallarg(size_t) sigsetsize;
749 1.1 manu };
750 1.27 njoly check_syscall_args(linux_sys_rt_sigsuspend)
751 1.1 manu
752 1.1 manu struct linux_sys_pread_args {
753 1.1 manu syscallarg(int) fd;
754 1.1 manu syscallarg(char *) buf;
755 1.1 manu syscallarg(size_t) nbyte;
756 1.55 njoly syscallarg(off_t) offset;
757 1.1 manu };
758 1.27 njoly check_syscall_args(linux_sys_pread)
759 1.1 manu
760 1.1 manu struct linux_sys_pwrite_args {
761 1.1 manu syscallarg(int) fd;
762 1.1 manu syscallarg(char *) buf;
763 1.1 manu syscallarg(size_t) nbyte;
764 1.55 njoly syscallarg(off_t) offset;
765 1.1 manu };
766 1.27 njoly check_syscall_args(linux_sys_pwrite)
767 1.1 manu
768 1.28 dsl struct sys___posix_chown_args;
769 1.28 dsl
770 1.28 dsl struct sys___getcwd_args;
771 1.28 dsl
772 1.1 manu struct linux_sys_sigaltstack_args {
773 1.1 manu syscallarg(const struct linux_sigaltstack *) ss;
774 1.1 manu syscallarg(struct linux_sigaltstack *) oss;
775 1.1 manu };
776 1.27 njoly check_syscall_args(linux_sys_sigaltstack)
777 1.8 christos
778 1.28 dsl struct linux_sys_mmap2_args;
779 1.28 dsl
780 1.8 christos struct linux_sys_truncate64_args {
781 1.8 christos syscallarg(const char *) path;
782 1.8 christos syscallarg(off_t) length;
783 1.8 christos };
784 1.27 njoly check_syscall_args(linux_sys_truncate64)
785 1.8 christos
786 1.15 jdolecek struct linux_sys_ftruncate64_args {
787 1.15 jdolecek syscallarg(unsigned int) fd;
788 1.15 jdolecek syscallarg(off_t) length;
789 1.15 jdolecek };
790 1.27 njoly check_syscall_args(linux_sys_ftruncate64)
791 1.15 jdolecek
792 1.8 christos struct linux_sys_stat64_args {
793 1.8 christos syscallarg(const char *) path;
794 1.8 christos syscallarg(struct linux_stat64 *) sp;
795 1.8 christos };
796 1.27 njoly check_syscall_args(linux_sys_stat64)
797 1.8 christos
798 1.8 christos struct linux_sys_lstat64_args {
799 1.8 christos syscallarg(const char *) path;
800 1.8 christos syscallarg(struct linux_stat64 *) sp;
801 1.8 christos };
802 1.27 njoly check_syscall_args(linux_sys_lstat64)
803 1.8 christos
804 1.8 christos struct linux_sys_fstat64_args {
805 1.8 christos syscallarg(int) fd;
806 1.8 christos syscallarg(struct linux_stat64 *) sp;
807 1.8 christos };
808 1.27 njoly check_syscall_args(linux_sys_fstat64)
809 1.8 christos
810 1.28 dsl struct sys_mincore_args;
811 1.28 dsl
812 1.28 dsl struct sys_madvise_args;
813 1.28 dsl
814 1.11 christos struct linux_sys_getdents64_args {
815 1.11 christos syscallarg(int) fd;
816 1.11 christos syscallarg(struct linux_dirent64 *) dent;
817 1.11 christos syscallarg(unsigned int) count;
818 1.11 christos };
819 1.27 njoly check_syscall_args(linux_sys_getdents64)
820 1.11 christos
821 1.8 christos struct linux_sys_fcntl64_args {
822 1.10 christos syscallarg(int) fd;
823 1.10 christos syscallarg(int) cmd;
824 1.10 christos syscallarg(void *) arg;
825 1.8 christos };
826 1.27 njoly check_syscall_args(linux_sys_fcntl64)
827 1.8 christos
828 1.87 christos struct linux_sys_readahead_args {
829 1.87 christos syscallarg(int) fd;
830 1.87 christos syscallarg(off_t) offset;
831 1.87 christos syscallarg(size_t) count;
832 1.87 christos };
833 1.87 christos check_syscall_args(linux_sys_readahead)
834 1.87 christos
835 1.22 fvdl struct linux_sys_setxattr_args {
836 1.22 fvdl syscallarg(char *) path;
837 1.22 fvdl syscallarg(char *) name;
838 1.22 fvdl syscallarg(void *) value;
839 1.22 fvdl syscallarg(size_t) size;
840 1.22 fvdl syscallarg(int) flags;
841 1.22 fvdl };
842 1.27 njoly check_syscall_args(linux_sys_setxattr)
843 1.22 fvdl
844 1.22 fvdl struct linux_sys_lsetxattr_args {
845 1.22 fvdl syscallarg(char *) path;
846 1.22 fvdl syscallarg(char *) name;
847 1.22 fvdl syscallarg(void *) value;
848 1.22 fvdl syscallarg(size_t) size;
849 1.22 fvdl syscallarg(int) flags;
850 1.22 fvdl };
851 1.27 njoly check_syscall_args(linux_sys_lsetxattr)
852 1.22 fvdl
853 1.22 fvdl struct linux_sys_fsetxattr_args {
854 1.22 fvdl syscallarg(int) fd;
855 1.22 fvdl syscallarg(char *) name;
856 1.22 fvdl syscallarg(void *) value;
857 1.22 fvdl syscallarg(size_t) size;
858 1.22 fvdl syscallarg(int) flags;
859 1.22 fvdl };
860 1.27 njoly check_syscall_args(linux_sys_fsetxattr)
861 1.22 fvdl
862 1.22 fvdl struct linux_sys_getxattr_args {
863 1.22 fvdl syscallarg(char *) path;
864 1.22 fvdl syscallarg(char *) name;
865 1.22 fvdl syscallarg(void *) value;
866 1.22 fvdl syscallarg(size_t) size;
867 1.22 fvdl };
868 1.27 njoly check_syscall_args(linux_sys_getxattr)
869 1.22 fvdl
870 1.22 fvdl struct linux_sys_lgetxattr_args {
871 1.22 fvdl syscallarg(char *) path;
872 1.22 fvdl syscallarg(char *) name;
873 1.22 fvdl syscallarg(void *) value;
874 1.22 fvdl syscallarg(size_t) size;
875 1.22 fvdl };
876 1.27 njoly check_syscall_args(linux_sys_lgetxattr)
877 1.22 fvdl
878 1.22 fvdl struct linux_sys_fgetxattr_args {
879 1.22 fvdl syscallarg(int) fd;
880 1.22 fvdl syscallarg(char *) name;
881 1.22 fvdl syscallarg(void *) value;
882 1.22 fvdl syscallarg(size_t) size;
883 1.22 fvdl };
884 1.27 njoly check_syscall_args(linux_sys_fgetxattr)
885 1.22 fvdl
886 1.22 fvdl struct linux_sys_listxattr_args {
887 1.22 fvdl syscallarg(char *) path;
888 1.22 fvdl syscallarg(char *) list;
889 1.22 fvdl syscallarg(size_t) size;
890 1.22 fvdl };
891 1.27 njoly check_syscall_args(linux_sys_listxattr)
892 1.22 fvdl
893 1.22 fvdl struct linux_sys_llistxattr_args {
894 1.22 fvdl syscallarg(char *) path;
895 1.22 fvdl syscallarg(char *) list;
896 1.22 fvdl syscallarg(size_t) size;
897 1.22 fvdl };
898 1.27 njoly check_syscall_args(linux_sys_llistxattr)
899 1.22 fvdl
900 1.22 fvdl struct linux_sys_flistxattr_args {
901 1.22 fvdl syscallarg(int) fd;
902 1.22 fvdl syscallarg(char *) list;
903 1.22 fvdl syscallarg(size_t) size;
904 1.22 fvdl };
905 1.27 njoly check_syscall_args(linux_sys_flistxattr)
906 1.22 fvdl
907 1.22 fvdl struct linux_sys_removexattr_args {
908 1.22 fvdl syscallarg(char *) path;
909 1.22 fvdl syscallarg(char *) name;
910 1.22 fvdl };
911 1.27 njoly check_syscall_args(linux_sys_removexattr)
912 1.22 fvdl
913 1.22 fvdl struct linux_sys_lremovexattr_args {
914 1.22 fvdl syscallarg(char *) path;
915 1.22 fvdl syscallarg(char *) name;
916 1.22 fvdl };
917 1.27 njoly check_syscall_args(linux_sys_lremovexattr)
918 1.22 fvdl
919 1.22 fvdl struct linux_sys_fremovexattr_args {
920 1.22 fvdl syscallarg(int) fd;
921 1.22 fvdl syscallarg(char *) name;
922 1.22 fvdl };
923 1.27 njoly check_syscall_args(linux_sys_fremovexattr)
924 1.22 fvdl
925 1.42 chs struct linux_sys_tkill_args {
926 1.42 chs syscallarg(int) tid;
927 1.42 chs syscallarg(int) sig;
928 1.42 chs };
929 1.42 chs check_syscall_args(linux_sys_tkill)
930 1.42 chs
931 1.42 chs struct linux_sys_futex_args {
932 1.42 chs syscallarg(int *) uaddr;
933 1.42 chs syscallarg(int) op;
934 1.42 chs syscallarg(int) val;
935 1.42 chs syscallarg(const struct linux_timespec *) timeout;
936 1.42 chs syscallarg(int *) uaddr2;
937 1.42 chs syscallarg(int) val3;
938 1.42 chs };
939 1.42 chs check_syscall_args(linux_sys_futex)
940 1.42 chs
941 1.42 chs struct linux_sys_sched_setaffinity_args {
942 1.42 chs syscallarg(pid_t) pid;
943 1.42 chs syscallarg(unsigned int) len;
944 1.42 chs syscallarg(unsigned long *) mask;
945 1.42 chs };
946 1.42 chs check_syscall_args(linux_sys_sched_setaffinity)
947 1.42 chs
948 1.42 chs struct linux_sys_sched_getaffinity_args {
949 1.42 chs syscallarg(pid_t) pid;
950 1.42 chs syscallarg(unsigned int) len;
951 1.42 chs syscallarg(unsigned long *) mask;
952 1.42 chs };
953 1.42 chs check_syscall_args(linux_sys_sched_getaffinity)
954 1.42 chs
955 1.18 jdolecek struct linux_sys_exit_group_args {
956 1.18 jdolecek syscallarg(int) error_code;
957 1.18 jdolecek };
958 1.27 njoly check_syscall_args(linux_sys_exit_group)
959 1.18 jdolecek
960 1.86 christos struct linux_sys_epoll_create_args {
961 1.86 christos syscallarg(int) size;
962 1.86 christos };
963 1.86 christos check_syscall_args(linux_sys_epoll_create)
964 1.86 christos
965 1.86 christos struct linux_sys_epoll_ctl_args {
966 1.86 christos syscallarg(int) epfd;
967 1.86 christos syscallarg(int) op;
968 1.86 christos syscallarg(int) fd;
969 1.86 christos syscallarg(struct linux_epoll_event *) event;
970 1.86 christos };
971 1.86 christos check_syscall_args(linux_sys_epoll_ctl)
972 1.86 christos
973 1.86 christos struct linux_sys_epoll_wait_args {
974 1.86 christos syscallarg(int) epfd;
975 1.86 christos syscallarg(struct linux_epoll_event *) events;
976 1.86 christos syscallarg(int) maxevents;
977 1.86 christos syscallarg(int) timeout;
978 1.86 christos };
979 1.86 christos check_syscall_args(linux_sys_epoll_wait)
980 1.86 christos
981 1.42 chs struct linux_sys_set_tid_address_args {
982 1.42 chs syscallarg(int *) tid;
983 1.42 chs };
984 1.42 chs check_syscall_args(linux_sys_set_tid_address)
985 1.42 chs
986 1.45 alnsn struct linux_sys_fadvise64_args {
987 1.45 alnsn syscallarg(int) fd;
988 1.57 njoly syscallarg(off_t) offset;
989 1.45 alnsn syscallarg(size_t) len;
990 1.45 alnsn syscallarg(int) advice;
991 1.45 alnsn };
992 1.45 alnsn check_syscall_args(linux_sys_fadvise64)
993 1.45 alnsn
994 1.19 jdolecek struct linux_sys_statfs64_args {
995 1.19 jdolecek syscallarg(const char *) path;
996 1.19 jdolecek syscallarg(size_t) sz;
997 1.19 jdolecek syscallarg(struct linux_statfs64 *) sp;
998 1.19 jdolecek };
999 1.27 njoly check_syscall_args(linux_sys_statfs64)
1000 1.19 jdolecek
1001 1.19 jdolecek struct linux_sys_fstatfs64_args {
1002 1.19 jdolecek syscallarg(int) fd;
1003 1.19 jdolecek syscallarg(size_t) sz;
1004 1.19 jdolecek syscallarg(struct linux_statfs64 *) sp;
1005 1.19 jdolecek };
1006 1.27 njoly check_syscall_args(linux_sys_fstatfs64)
1007 1.19 jdolecek
1008 1.80 thorpej struct linux_sys_timer_create_args {
1009 1.80 thorpej syscallarg(clockid_t) clockid;
1010 1.80 thorpej syscallarg(struct linux_sigevent *) evp;
1011 1.80 thorpej syscallarg(timer_t *) timerid;
1012 1.80 thorpej };
1013 1.80 thorpej check_syscall_args(linux_sys_timer_create)
1014 1.80 thorpej
1015 1.80 thorpej struct linux_sys_timer_settime_args {
1016 1.80 thorpej syscallarg(timer_t) timerid;
1017 1.80 thorpej syscallarg(int) flags;
1018 1.80 thorpej syscallarg(const struct linux_itimerspec *) tim;
1019 1.80 thorpej syscallarg(struct linux_itimerspec *) otim;
1020 1.80 thorpej };
1021 1.80 thorpej check_syscall_args(linux_sys_timer_settime)
1022 1.80 thorpej
1023 1.80 thorpej struct linux_sys_timer_gettime_args {
1024 1.80 thorpej syscallarg(timer_t) timerid;
1025 1.80 thorpej syscallarg(struct linux_itimerspec *) tim;
1026 1.80 thorpej };
1027 1.80 thorpej check_syscall_args(linux_sys_timer_gettime)
1028 1.80 thorpej
1029 1.80 thorpej struct sys_timer_getoverrun_args;
1030 1.80 thorpej
1031 1.80 thorpej struct sys_timer_delete_args;
1032 1.80 thorpej
1033 1.23 fvdl struct linux_sys_clock_settime_args {
1034 1.23 fvdl syscallarg(clockid_t) which;
1035 1.23 fvdl syscallarg(struct linux_timespec *) tp;
1036 1.23 fvdl };
1037 1.27 njoly check_syscall_args(linux_sys_clock_settime)
1038 1.23 fvdl
1039 1.23 fvdl struct linux_sys_clock_gettime_args {
1040 1.23 fvdl syscallarg(clockid_t) which;
1041 1.23 fvdl syscallarg(struct linux_timespec *) tp;
1042 1.23 fvdl };
1043 1.27 njoly check_syscall_args(linux_sys_clock_gettime)
1044 1.23 fvdl
1045 1.23 fvdl struct linux_sys_clock_getres_args {
1046 1.23 fvdl syscallarg(clockid_t) which;
1047 1.23 fvdl syscallarg(struct linux_timespec *) tp;
1048 1.23 fvdl };
1049 1.27 njoly check_syscall_args(linux_sys_clock_getres)
1050 1.23 fvdl
1051 1.23 fvdl struct linux_sys_clock_nanosleep_args {
1052 1.23 fvdl syscallarg(clockid_t) which;
1053 1.23 fvdl syscallarg(int) flags;
1054 1.23 fvdl syscallarg(struct linux_timespec *) rqtp;
1055 1.23 fvdl syscallarg(struct linux_timespec *) rmtp;
1056 1.23 fvdl };
1057 1.27 njoly check_syscall_args(linux_sys_clock_nanosleep)
1058 1.23 fvdl
1059 1.42 chs struct linux_sys_tgkill_args {
1060 1.42 chs syscallarg(int) tgid;
1061 1.42 chs syscallarg(int) tid;
1062 1.42 chs syscallarg(int) sig;
1063 1.42 chs };
1064 1.42 chs check_syscall_args(linux_sys_tgkill)
1065 1.42 chs
1066 1.59 njoly struct compat_50_sys_utimes_args;
1067 1.49 pooka
1068 1.91 christos struct linux_sys_mq_open_args {
1069 1.91 christos syscallarg(const char *) name;
1070 1.91 christos syscallarg(int) oflag;
1071 1.91 christos syscallarg(linux_umode_t) mode;
1072 1.91 christos syscallarg(struct linux_mq_attr *) attr;
1073 1.91 christos };
1074 1.91 christos check_syscall_args(linux_sys_mq_open)
1075 1.91 christos
1076 1.91 christos struct linux_sys_mq_unlink_args {
1077 1.91 christos syscallarg(const char *) name;
1078 1.91 christos };
1079 1.91 christos check_syscall_args(linux_sys_mq_unlink)
1080 1.91 christos
1081 1.91 christos struct linux_sys_mq_timedsend_args {
1082 1.91 christos syscallarg(linux_mqd_t) mqdes;
1083 1.91 christos syscallarg(const char *) msg_ptr;
1084 1.91 christos syscallarg(size_t) msg_len;
1085 1.91 christos syscallarg(unsigned int) msg_prio;
1086 1.91 christos syscallarg(const struct linux_timespec *) abs_timeout;
1087 1.91 christos };
1088 1.91 christos check_syscall_args(linux_sys_mq_timedsend)
1089 1.91 christos
1090 1.91 christos struct linux_sys_mq_timedreceive_args {
1091 1.91 christos syscallarg(linux_mqd_t) mqdes;
1092 1.91 christos syscallarg(char *) msg_ptr;
1093 1.91 christos syscallarg(size_t) msg_len;
1094 1.91 christos syscallarg(unsigned int *) msg_prio;
1095 1.91 christos syscallarg(const struct linux_timespec *) abs_timeout;
1096 1.91 christos };
1097 1.91 christos check_syscall_args(linux_sys_mq_timedreceive)
1098 1.91 christos
1099 1.91 christos struct linux_sys_mq_notify_args {
1100 1.91 christos syscallarg(linux_mqd_t) mqdes;
1101 1.91 christos syscallarg(const struct linux_sigevent *) sevp;
1102 1.91 christos };
1103 1.91 christos check_syscall_args(linux_sys_mq_notify)
1104 1.91 christos
1105 1.91 christos struct linux_sys_mq_getsetattr_args {
1106 1.91 christos syscallarg(linux_mqd_t) mqdes;
1107 1.91 christos syscallarg(const struct linux_mq_attr *) newattr;
1108 1.91 christos syscallarg(struct linux_mq_attr *) oldattr;
1109 1.91 christos };
1110 1.91 christos check_syscall_args(linux_sys_mq_getsetattr)
1111 1.91 christos
1112 1.88 christos struct linux_sys_waitid_args {
1113 1.88 christos syscallarg(int) idtype;
1114 1.88 christos syscallarg(id_t) id;
1115 1.88 christos syscallarg(linux_siginfo_t *) infop;
1116 1.88 christos syscallarg(int) options;
1117 1.88 christos syscallarg(struct rusage50 *) rusage;
1118 1.88 christos };
1119 1.88 christos check_syscall_args(linux_sys_waitid)
1120 1.88 christos
1121 1.42 chs struct linux_sys_set_thread_area_args {
1122 1.42 chs syscallarg(void *) tls;
1123 1.42 chs };
1124 1.42 chs check_syscall_args(linux_sys_set_thread_area)
1125 1.42 chs
1126 1.89 christos struct linux_sys_inotify_add_watch_args {
1127 1.89 christos syscallarg(int) fd;
1128 1.89 christos syscallarg(const char *) pathname;
1129 1.89 christos syscallarg(uint32_t) mask;
1130 1.89 christos };
1131 1.89 christos check_syscall_args(linux_sys_inotify_add_watch)
1132 1.89 christos
1133 1.89 christos struct linux_sys_inotify_rm_watch_args {
1134 1.89 christos syscallarg(int) fd;
1135 1.89 christos syscallarg(int) wd;
1136 1.89 christos };
1137 1.89 christos check_syscall_args(linux_sys_inotify_rm_watch)
1138 1.89 christos
1139 1.52 chs struct linux_sys_openat_args {
1140 1.52 chs syscallarg(int) fd;
1141 1.52 chs syscallarg(const char *) path;
1142 1.52 chs syscallarg(int) flags;
1143 1.52 chs syscallarg(linux_umode_t) mode;
1144 1.52 chs };
1145 1.52 chs check_syscall_args(linux_sys_openat)
1146 1.52 chs
1147 1.52 chs struct sys_mkdirat_args;
1148 1.52 chs
1149 1.52 chs struct linux_sys_mknodat_args {
1150 1.52 chs syscallarg(int) fd;
1151 1.52 chs syscallarg(const char *) path;
1152 1.52 chs syscallarg(linux_umode_t) mode;
1153 1.52 chs syscallarg(unsigned) dev;
1154 1.52 chs };
1155 1.52 chs check_syscall_args(linux_sys_mknodat)
1156 1.52 chs
1157 1.52 chs struct linux_sys_fchownat_args {
1158 1.52 chs syscallarg(int) fd;
1159 1.52 chs syscallarg(const char *) path;
1160 1.52 chs syscallarg(uid_t) owner;
1161 1.52 chs syscallarg(gid_t) group;
1162 1.52 chs syscallarg(int) flag;
1163 1.52 chs };
1164 1.52 chs check_syscall_args(linux_sys_fchownat)
1165 1.52 chs
1166 1.52 chs struct linux_sys_fstatat64_args {
1167 1.52 chs syscallarg(int) fd;
1168 1.52 chs syscallarg(const char *) path;
1169 1.52 chs syscallarg(struct linux_stat64 *) sp;
1170 1.52 chs syscallarg(int) flag;
1171 1.52 chs };
1172 1.52 chs check_syscall_args(linux_sys_fstatat64)
1173 1.52 chs
1174 1.52 chs struct linux_sys_unlinkat_args {
1175 1.52 chs syscallarg(int) fd;
1176 1.52 chs syscallarg(const char *) path;
1177 1.52 chs syscallarg(int) flag;
1178 1.52 chs };
1179 1.52 chs check_syscall_args(linux_sys_unlinkat)
1180 1.52 chs
1181 1.52 chs struct sys_renameat_args;
1182 1.52 chs
1183 1.52 chs struct linux_sys_linkat_args {
1184 1.52 chs syscallarg(int) fd1;
1185 1.52 chs syscallarg(const char *) name1;
1186 1.52 chs syscallarg(int) fd2;
1187 1.52 chs syscallarg(const char *) name2;
1188 1.52 chs syscallarg(int) flags;
1189 1.52 chs };
1190 1.52 chs check_syscall_args(linux_sys_linkat)
1191 1.52 chs
1192 1.52 chs struct sys_symlinkat_args;
1193 1.52 chs
1194 1.52 chs struct sys_readlinkat_args;
1195 1.52 chs
1196 1.52 chs struct linux_sys_fchmodat_args {
1197 1.52 chs syscallarg(int) fd;
1198 1.52 chs syscallarg(const char *) path;
1199 1.52 chs syscallarg(linux_umode_t) mode;
1200 1.52 chs };
1201 1.52 chs check_syscall_args(linux_sys_fchmodat)
1202 1.52 chs
1203 1.52 chs struct linux_sys_faccessat_args {
1204 1.52 chs syscallarg(int) fd;
1205 1.52 chs syscallarg(const char *) path;
1206 1.52 chs syscallarg(int) amode;
1207 1.52 chs };
1208 1.52 chs check_syscall_args(linux_sys_faccessat)
1209 1.52 chs
1210 1.67 manu struct linux_sys_pselect6_args {
1211 1.67 manu syscallarg(int) nfds;
1212 1.67 manu syscallarg(fd_set *) readfds;
1213 1.67 manu syscallarg(fd_set *) writefds;
1214 1.67 manu syscallarg(fd_set *) exceptfds;
1215 1.67 manu syscallarg(struct linux_timespec *) timeout;
1216 1.67 manu syscallarg(linux_sized_sigset_t *) ss;
1217 1.67 manu };
1218 1.67 manu check_syscall_args(linux_sys_pselect6)
1219 1.67 manu
1220 1.48 pooka struct linux_sys_ppoll_args {
1221 1.48 pooka syscallarg(struct pollfd *) fds;
1222 1.61 njoly syscallarg(u_int) nfds;
1223 1.48 pooka syscallarg(struct linux_timespec *) timeout;
1224 1.48 pooka syscallarg(linux_sigset_t *) sigset;
1225 1.48 pooka };
1226 1.48 pooka check_syscall_args(linux_sys_ppoll)
1227 1.48 pooka
1228 1.79 thorpej struct sys___futex_set_robust_list_args;
1229 1.42 chs
1230 1.79 thorpej struct sys___futex_get_robust_list_args;
1231 1.42 chs
1232 1.90 christos struct linux_sys_getcpu_args {
1233 1.90 christos syscallarg(unsigned int *) cpu;
1234 1.90 christos syscallarg(unsigned int *) node;
1235 1.90 christos syscallarg(struct linux_getcpu_cache *) tcache;
1236 1.90 christos };
1237 1.90 christos check_syscall_args(linux_sys_getcpu)
1238 1.90 christos
1239 1.86 christos struct linux_sys_epoll_pwait_args {
1240 1.86 christos syscallarg(int) epfd;
1241 1.86 christos syscallarg(struct linux_epoll_event *) events;
1242 1.86 christos syscallarg(int) maxevents;
1243 1.86 christos syscallarg(int) timeout;
1244 1.86 christos syscallarg(const linux_sigset_t *) sigmask;
1245 1.86 christos };
1246 1.86 christos check_syscall_args(linux_sys_epoll_pwait)
1247 1.86 christos
1248 1.50 njoly struct linux_sys_utimensat_args {
1249 1.50 njoly syscallarg(int) fd;
1250 1.50 njoly syscallarg(const char *) path;
1251 1.50 njoly syscallarg(struct linux_timespec *) times;
1252 1.50 njoly syscallarg(int) flag;
1253 1.50 njoly };
1254 1.50 njoly check_syscall_args(linux_sys_utimensat)
1255 1.50 njoly
1256 1.82 thorpej struct linux_sys_eventfd_args {
1257 1.82 thorpej syscallarg(unsigned int) initval;
1258 1.82 thorpej };
1259 1.82 thorpej check_syscall_args(linux_sys_eventfd)
1260 1.82 thorpej
1261 1.78 jdolecek struct linux_sys_fallocate_args {
1262 1.78 jdolecek syscallarg(int) fd;
1263 1.78 jdolecek syscallarg(int) mode;
1264 1.78 jdolecek syscallarg(off_t) offset;
1265 1.78 jdolecek syscallarg(off_t) len;
1266 1.78 jdolecek };
1267 1.78 jdolecek check_syscall_args(linux_sys_fallocate)
1268 1.78 jdolecek
1269 1.81 thorpej struct linux_sys_timerfd_create_args {
1270 1.81 thorpej syscallarg(clockid_t) clock_id;
1271 1.81 thorpej syscallarg(int) flags;
1272 1.81 thorpej };
1273 1.81 thorpej check_syscall_args(linux_sys_timerfd_create)
1274 1.81 thorpej
1275 1.81 thorpej struct linux_sys_timerfd_gettime_args {
1276 1.81 thorpej syscallarg(int) fd;
1277 1.81 thorpej syscallarg(struct linux_itimerspec *) tim;
1278 1.81 thorpej };
1279 1.81 thorpej check_syscall_args(linux_sys_timerfd_gettime)
1280 1.81 thorpej
1281 1.81 thorpej struct linux_sys_timerfd_settime_args {
1282 1.81 thorpej syscallarg(int) fd;
1283 1.81 thorpej syscallarg(int) flags;
1284 1.81 thorpej syscallarg(const struct linux_itimerspec *) tim;
1285 1.81 thorpej syscallarg(struct linux_itimerspec *) otim;
1286 1.81 thorpej };
1287 1.81 thorpej check_syscall_args(linux_sys_timerfd_settime)
1288 1.81 thorpej
1289 1.82 thorpej struct linux_sys_eventfd2_args {
1290 1.82 thorpej syscallarg(unsigned int) initval;
1291 1.82 thorpej syscallarg(int) flags;
1292 1.82 thorpej };
1293 1.82 thorpej check_syscall_args(linux_sys_eventfd2)
1294 1.82 thorpej
1295 1.86 christos struct linux_sys_epoll_create1_args {
1296 1.86 christos syscallarg(int) flags;
1297 1.86 christos };
1298 1.86 christos check_syscall_args(linux_sys_epoll_create1)
1299 1.86 christos
1300 1.44 he struct linux_sys_dup3_args {
1301 1.44 he syscallarg(int) from;
1302 1.44 he syscallarg(int) to;
1303 1.44 he syscallarg(int) flags;
1304 1.44 he };
1305 1.44 he check_syscall_args(linux_sys_dup3)
1306 1.44 he
1307 1.44 he struct linux_sys_pipe2_args {
1308 1.44 he syscallarg(int *) pfds;
1309 1.44 he syscallarg(int) flags;
1310 1.44 he };
1311 1.44 he check_syscall_args(linux_sys_pipe2)
1312 1.44 he
1313 1.89 christos struct linux_sys_inotify_init1_args {
1314 1.89 christos syscallarg(int) flags;
1315 1.89 christos };
1316 1.89 christos check_syscall_args(linux_sys_inotify_init1)
1317 1.89 christos
1318 1.83 thorpej struct linux_sys_preadv_args {
1319 1.83 thorpej syscallarg(int) fd;
1320 1.83 thorpej syscallarg(const struct iovec *) iovp;
1321 1.83 thorpej syscallarg(int) iovcnt;
1322 1.83 thorpej syscallarg(unsigned long) off_lo;
1323 1.83 thorpej syscallarg(unsigned long) off_hi;
1324 1.83 thorpej };
1325 1.83 thorpej check_syscall_args(linux_sys_preadv)
1326 1.83 thorpej
1327 1.83 thorpej struct linux_sys_pwritev_args {
1328 1.83 thorpej syscallarg(int) fd;
1329 1.83 thorpej syscallarg(const struct iovcnt *) iovp;
1330 1.83 thorpej syscallarg(int) iovcnt;
1331 1.83 thorpej syscallarg(unsigned long) off_lo;
1332 1.83 thorpej syscallarg(unsigned long) off_hi;
1333 1.83 thorpej };
1334 1.83 thorpej check_syscall_args(linux_sys_pwritev)
1335 1.83 thorpej
1336 1.71 christos struct linux_sys_accept4_args {
1337 1.71 christos syscallarg(int) s;
1338 1.71 christos syscallarg(struct osockaddr *) name;
1339 1.71 christos syscallarg(int *) anamelen;
1340 1.71 christos syscallarg(int) flags;
1341 1.71 christos };
1342 1.71 christos check_syscall_args(linux_sys_accept4)
1343 1.71 christos
1344 1.72 christos struct linux_sys_recvmmsg_args {
1345 1.72 christos syscallarg(int) s;
1346 1.72 christos syscallarg(struct linux_mmsghdr *) msgvec;
1347 1.72 christos syscallarg(unsigned int) vlen;
1348 1.72 christos syscallarg(unsigned int) flags;
1349 1.72 christos syscallarg(struct timespec *) timeout;
1350 1.72 christos };
1351 1.72 christos check_syscall_args(linux_sys_recvmmsg)
1352 1.72 christos
1353 1.85 ryo struct linux_sys_prlimit64_args {
1354 1.85 ryo syscallarg(pid_t) pid;
1355 1.85 ryo syscallarg(int) which;
1356 1.85 ryo syscallarg(struct rlimit *) new_rlp;
1357 1.85 ryo syscallarg(struct rlimit *) old_rlp;
1358 1.85 ryo };
1359 1.85 ryo check_syscall_args(linux_sys_prlimit64)
1360 1.85 ryo
1361 1.72 christos struct linux_sys_sendmmsg_args {
1362 1.72 christos syscallarg(int) s;
1363 1.72 christos syscallarg(struct linux_mmsghdr *) msgvec;
1364 1.72 christos syscallarg(unsigned int) vlen;
1365 1.72 christos syscallarg(unsigned int) flags;
1366 1.72 christos };
1367 1.72 christos check_syscall_args(linux_sys_sendmmsg)
1368 1.72 christos
1369 1.84 ryo struct sys_getrandom_args;
1370 1.84 ryo
1371 1.87 christos struct linux_sys_memfd_create_args {
1372 1.87 christos syscallarg(const char *) name;
1373 1.87 christos syscallarg(unsigned int) flags;
1374 1.87 christos };
1375 1.87 christos check_syscall_args(linux_sys_memfd_create)
1376 1.87 christos
1377 1.87 christos struct linux_sys_statx_args {
1378 1.87 christos syscallarg(int) fd;
1379 1.87 christos syscallarg(const char *) path;
1380 1.87 christos syscallarg(int) flag;
1381 1.87 christos syscallarg(unsigned int) mask;
1382 1.87 christos syscallarg(struct linux_statx *) sp;
1383 1.87 christos };
1384 1.87 christos check_syscall_args(linux_sys_statx)
1385 1.87 christos
1386 1.87 christos struct linux_sys_close_range_args {
1387 1.87 christos syscallarg(unsigned int) first;
1388 1.87 christos syscallarg(unsigned int) last;
1389 1.87 christos syscallarg(unsigned int) flags;
1390 1.87 christos };
1391 1.87 christos check_syscall_args(linux_sys_close_range)
1392 1.87 christos
1393 1.86 christos struct linux_sys_epoll_pwait2_args {
1394 1.86 christos syscallarg(int) epfd;
1395 1.86 christos syscallarg(struct linux_epoll_event *) events;
1396 1.86 christos syscallarg(int) maxevents;
1397 1.86 christos syscallarg(const struct linux_timespec *) timeout;
1398 1.86 christos syscallarg(const linux_sigset_t *) sigmask;
1399 1.86 christos };
1400 1.86 christos check_syscall_args(linux_sys_epoll_pwait2)
1401 1.86 christos
1402 1.8 christos /*
1403 1.8 christos * System call prototypes.
1404 1.8 christos */
1405 1.8 christos
1406 1.28 dsl int linux_sys_nosys(struct lwp *, const void *, register_t *);
1407 1.16 jdolecek
1408 1.42 chs int linux_sys_exit(struct lwp *, const struct linux_sys_exit_args *, register_t *);
1409 1.16 jdolecek
1410 1.28 dsl int sys_fork(struct lwp *, const void *, register_t *);
1411 1.16 jdolecek
1412 1.28 dsl int sys_read(struct lwp *, const struct sys_read_args *, register_t *);
1413 1.16 jdolecek
1414 1.28 dsl int sys_write(struct lwp *, const struct sys_write_args *, register_t *);
1415 1.16 jdolecek
1416 1.28 dsl int linux_sys_open(struct lwp *, const struct linux_sys_open_args *, register_t *);
1417 1.16 jdolecek
1418 1.28 dsl int sys_close(struct lwp *, const struct sys_close_args *, register_t *);
1419 1.16 jdolecek
1420 1.28 dsl int linux_sys_waitpid(struct lwp *, const struct linux_sys_waitpid_args *, register_t *);
1421 1.16 jdolecek
1422 1.28 dsl int linux_sys_creat(struct lwp *, const struct linux_sys_creat_args *, register_t *);
1423 1.16 jdolecek
1424 1.28 dsl int sys_link(struct lwp *, const struct sys_link_args *, register_t *);
1425 1.16 jdolecek
1426 1.28 dsl int linux_sys_unlink(struct lwp *, const struct linux_sys_unlink_args *, register_t *);
1427 1.16 jdolecek
1428 1.28 dsl int sys_execve(struct lwp *, const struct sys_execve_args *, register_t *);
1429 1.16 jdolecek
1430 1.28 dsl int sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *);
1431 1.16 jdolecek
1432 1.28 dsl int linux_sys_time(struct lwp *, const struct linux_sys_time_args *, register_t *);
1433 1.16 jdolecek
1434 1.28 dsl int linux_sys_mknod(struct lwp *, const struct linux_sys_mknod_args *, register_t *);
1435 1.16 jdolecek
1436 1.28 dsl int sys_chmod(struct lwp *, const struct sys_chmod_args *, register_t *);
1437 1.16 jdolecek
1438 1.28 dsl int sys___posix_lchown(struct lwp *, const struct sys___posix_lchown_args *, register_t *);
1439 1.16 jdolecek
1440 1.28 dsl int compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *);
1441 1.16 jdolecek
1442 1.28 dsl int sys_getpid(struct lwp *, const void *, register_t *);
1443 1.16 jdolecek
1444 1.28 dsl int sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *);
1445 1.16 jdolecek
1446 1.28 dsl int sys_getuid(struct lwp *, const void *, register_t *);
1447 1.16 jdolecek
1448 1.28 dsl int linux_sys_stime(struct lwp *, const struct linux_sys_stime_args *, register_t *);
1449 1.16 jdolecek
1450 1.28 dsl int linux_sys_ptrace(struct lwp *, const struct linux_sys_ptrace_args *, register_t *);
1451 1.16 jdolecek
1452 1.28 dsl int linux_sys_alarm(struct lwp *, const struct linux_sys_alarm_args *, register_t *);
1453 1.16 jdolecek
1454 1.28 dsl int linux_sys_pause(struct lwp *, const void *, register_t *);
1455 1.16 jdolecek
1456 1.28 dsl int linux_sys_utime(struct lwp *, const struct linux_sys_utime_args *, register_t *);
1457 1.16 jdolecek
1458 1.28 dsl int sys_access(struct lwp *, const struct sys_access_args *, register_t *);
1459 1.16 jdolecek
1460 1.28 dsl int linux_sys_nice(struct lwp *, const struct linux_sys_nice_args *, register_t *);
1461 1.16 jdolecek
1462 1.28 dsl int sys_sync(struct lwp *, const void *, register_t *);
1463 1.16 jdolecek
1464 1.28 dsl int linux_sys_kill(struct lwp *, const struct linux_sys_kill_args *, register_t *);
1465 1.16 jdolecek
1466 1.28 dsl int sys___posix_rename(struct lwp *, const struct sys___posix_rename_args *, register_t *);
1467 1.16 jdolecek
1468 1.28 dsl int sys_mkdir(struct lwp *, const struct sys_mkdir_args *, register_t *);
1469 1.16 jdolecek
1470 1.28 dsl int sys_rmdir(struct lwp *, const struct sys_rmdir_args *, register_t *);
1471 1.16 jdolecek
1472 1.28 dsl int sys_dup(struct lwp *, const struct sys_dup_args *, register_t *);
1473 1.16 jdolecek
1474 1.28 dsl int linux_sys_pipe(struct lwp *, const struct linux_sys_pipe_args *, register_t *);
1475 1.16 jdolecek
1476 1.28 dsl int linux_sys_times(struct lwp *, const struct linux_sys_times_args *, register_t *);
1477 1.16 jdolecek
1478 1.28 dsl int linux_sys_brk(struct lwp *, const struct linux_sys_brk_args *, register_t *);
1479 1.16 jdolecek
1480 1.28 dsl int sys_setgid(struct lwp *, const struct sys_setgid_args *, register_t *);
1481 1.16 jdolecek
1482 1.28 dsl int sys_getgid(struct lwp *, const void *, register_t *);
1483 1.16 jdolecek
1484 1.28 dsl int linux_sys_signal(struct lwp *, const struct linux_sys_signal_args *, register_t *);
1485 1.16 jdolecek
1486 1.28 dsl int sys_geteuid(struct lwp *, const void *, register_t *);
1487 1.16 jdolecek
1488 1.28 dsl int sys_getegid(struct lwp *, const void *, register_t *);
1489 1.16 jdolecek
1490 1.28 dsl int sys_acct(struct lwp *, const struct sys_acct_args *, register_t *);
1491 1.16 jdolecek
1492 1.28 dsl int linux_sys_ioctl(struct lwp *, const struct linux_sys_ioctl_args *, register_t *);
1493 1.16 jdolecek
1494 1.28 dsl int linux_sys_fcntl(struct lwp *, const struct linux_sys_fcntl_args *, register_t *);
1495 1.16 jdolecek
1496 1.28 dsl int sys_setpgid(struct lwp *, const struct sys_setpgid_args *, register_t *);
1497 1.16 jdolecek
1498 1.28 dsl int linux_sys_olduname(struct lwp *, const struct linux_sys_olduname_args *, register_t *);
1499 1.16 jdolecek
1500 1.28 dsl int sys_umask(struct lwp *, const struct sys_umask_args *, register_t *);
1501 1.16 jdolecek
1502 1.28 dsl int sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *);
1503 1.16 jdolecek
1504 1.28 dsl int sys_dup2(struct lwp *, const struct sys_dup2_args *, register_t *);
1505 1.16 jdolecek
1506 1.28 dsl int sys_getppid(struct lwp *, const void *, register_t *);
1507 1.16 jdolecek
1508 1.28 dsl int sys_getpgrp(struct lwp *, const void *, register_t *);
1509 1.16 jdolecek
1510 1.28 dsl int sys_setsid(struct lwp *, const void *, register_t *);
1511 1.16 jdolecek
1512 1.28 dsl int linux_sys_sigaction(struct lwp *, const struct linux_sys_sigaction_args *, register_t *);
1513 1.16 jdolecek
1514 1.28 dsl int linux_sys_siggetmask(struct lwp *, const void *, register_t *);
1515 1.16 jdolecek
1516 1.28 dsl int linux_sys_sigsetmask(struct lwp *, const struct linux_sys_sigsetmask_args *, register_t *);
1517 1.16 jdolecek
1518 1.28 dsl int sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *);
1519 1.16 jdolecek
1520 1.28 dsl int sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *);
1521 1.16 jdolecek
1522 1.28 dsl int linux_sys_sigsuspend(struct lwp *, const struct linux_sys_sigsuspend_args *, register_t *);
1523 1.16 jdolecek
1524 1.28 dsl int linux_sys_sigpending(struct lwp *, const struct linux_sys_sigpending_args *, register_t *);
1525 1.16 jdolecek
1526 1.28 dsl int compat_43_sys_sethostname(struct lwp *, const struct compat_43_sys_sethostname_args *, register_t *);
1527 1.16 jdolecek
1528 1.28 dsl int linux_sys_setrlimit(struct lwp *, const struct linux_sys_setrlimit_args *, register_t *);
1529 1.16 jdolecek
1530 1.28 dsl int linux_sys_getrlimit(struct lwp *, const struct linux_sys_getrlimit_args *, register_t *);
1531 1.16 jdolecek
1532 1.36 njoly int compat_50_sys_getrusage(struct lwp *, const struct compat_50_sys_getrusage_args *, register_t *);
1533 1.16 jdolecek
1534 1.28 dsl int linux_sys_gettimeofday(struct lwp *, const struct linux_sys_gettimeofday_args *, register_t *);
1535 1.16 jdolecek
1536 1.28 dsl int linux_sys_settimeofday(struct lwp *, const struct linux_sys_settimeofday_args *, register_t *);
1537 1.16 jdolecek
1538 1.28 dsl int sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *);
1539 1.16 jdolecek
1540 1.28 dsl int sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *);
1541 1.16 jdolecek
1542 1.28 dsl int sys_symlink(struct lwp *, const struct sys_symlink_args *, register_t *);
1543 1.16 jdolecek
1544 1.28 dsl int compat_43_sys_lstat(struct lwp *, const struct compat_43_sys_lstat_args *, register_t *);
1545 1.16 jdolecek
1546 1.28 dsl int sys_readlink(struct lwp *, const struct sys_readlink_args *, register_t *);
1547 1.16 jdolecek
1548 1.28 dsl int linux_sys_swapon(struct lwp *, const struct linux_sys_swapon_args *, register_t *);
1549 1.16 jdolecek
1550 1.28 dsl int linux_sys_reboot(struct lwp *, const struct linux_sys_reboot_args *, register_t *);
1551 1.16 jdolecek
1552 1.28 dsl int linux_sys_readdir(struct lwp *, const struct linux_sys_readdir_args *, register_t *);
1553 1.16 jdolecek
1554 1.28 dsl int linux_sys_mmap(struct lwp *, const struct linux_sys_mmap_args *, register_t *);
1555 1.16 jdolecek
1556 1.28 dsl int sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
1557 1.16 jdolecek
1558 1.28 dsl int compat_43_sys_truncate(struct lwp *, const struct compat_43_sys_truncate_args *, register_t *);
1559 1.16 jdolecek
1560 1.28 dsl int compat_43_sys_ftruncate(struct lwp *, const struct compat_43_sys_ftruncate_args *, register_t *);
1561 1.16 jdolecek
1562 1.28 dsl int sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *);
1563 1.16 jdolecek
1564 1.28 dsl int sys___posix_fchown(struct lwp *, const struct sys___posix_fchown_args *, register_t *);
1565 1.16 jdolecek
1566 1.28 dsl int linux_sys_getpriority(struct lwp *, const struct linux_sys_getpriority_args *, register_t *);
1567 1.16 jdolecek
1568 1.28 dsl int sys_setpriority(struct lwp *, const struct sys_setpriority_args *, register_t *);
1569 1.16 jdolecek
1570 1.28 dsl int linux_sys_statfs(struct lwp *, const struct linux_sys_statfs_args *, register_t *);
1571 1.16 jdolecek
1572 1.28 dsl int linux_sys_fstatfs(struct lwp *, const struct linux_sys_fstatfs_args *, register_t *);
1573 1.16 jdolecek
1574 1.28 dsl int linux_sys_ioperm(struct lwp *, const struct linux_sys_ioperm_args *, register_t *);
1575 1.16 jdolecek
1576 1.28 dsl int linux_sys_socketcall(struct lwp *, const struct linux_sys_socketcall_args *, register_t *);
1577 1.16 jdolecek
1578 1.36 njoly int compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *);
1579 1.16 jdolecek
1580 1.36 njoly int compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *);
1581 1.16 jdolecek
1582 1.28 dsl int linux_sys_stat(struct lwp *, const struct linux_sys_stat_args *, register_t *);
1583 1.16 jdolecek
1584 1.28 dsl int linux_sys_lstat(struct lwp *, const struct linux_sys_lstat_args *, register_t *);
1585 1.16 jdolecek
1586 1.28 dsl int linux_sys_fstat(struct lwp *, const struct linux_sys_fstat_args *, register_t *);
1587 1.16 jdolecek
1588 1.28 dsl int linux_sys_uname(struct lwp *, const struct linux_sys_uname_args *, register_t *);
1589 1.16 jdolecek
1590 1.28 dsl int linux_sys_wait4(struct lwp *, const struct linux_sys_wait4_args *, register_t *);
1591 1.16 jdolecek
1592 1.28 dsl int linux_sys_swapoff(struct lwp *, const struct linux_sys_swapoff_args *, register_t *);
1593 1.16 jdolecek
1594 1.28 dsl int linux_sys_sysinfo(struct lwp *, const struct linux_sys_sysinfo_args *, register_t *);
1595 1.16 jdolecek
1596 1.28 dsl int linux_sys_ipc(struct lwp *, const struct linux_sys_ipc_args *, register_t *);
1597 1.16 jdolecek
1598 1.28 dsl int sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *);
1599 1.16 jdolecek
1600 1.28 dsl int linux_sys_sigreturn(struct lwp *, const struct linux_sys_sigreturn_args *, register_t *);
1601 1.16 jdolecek
1602 1.28 dsl int linux_sys_clone(struct lwp *, const struct linux_sys_clone_args *, register_t *);
1603 1.16 jdolecek
1604 1.28 dsl int linux_sys_setdomainname(struct lwp *, const struct linux_sys_setdomainname_args *, register_t *);
1605 1.16 jdolecek
1606 1.28 dsl int linux_sys_new_uname(struct lwp *, const struct linux_sys_new_uname_args *, register_t *);
1607 1.16 jdolecek
1608 1.28 dsl int linux_sys_mprotect(struct lwp *, const struct linux_sys_mprotect_args *, register_t *);
1609 1.16 jdolecek
1610 1.28 dsl int linux_sys_sigprocmask(struct lwp *, const struct linux_sys_sigprocmask_args *, register_t *);
1611 1.16 jdolecek
1612 1.30 njoly int sys_getpgid(struct lwp *, const struct sys_getpgid_args *, register_t *);
1613 1.16 jdolecek
1614 1.28 dsl int sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *);
1615 1.16 jdolecek
1616 1.28 dsl int linux_sys_personality(struct lwp *, const struct linux_sys_personality_args *, register_t *);
1617 1.16 jdolecek
1618 1.28 dsl int linux_sys_setfsuid(struct lwp *, const struct linux_sys_setfsuid_args *, register_t *);
1619 1.16 jdolecek
1620 1.29 njoly int linux_sys_setfsgid(struct lwp *, const struct linux_sys_setfsgid_args *, register_t *);
1621 1.16 jdolecek
1622 1.28 dsl int linux_sys_llseek(struct lwp *, const struct linux_sys_llseek_args *, register_t *);
1623 1.16 jdolecek
1624 1.28 dsl int linux_sys_getdents(struct lwp *, const struct linux_sys_getdents_args *, register_t *);
1625 1.16 jdolecek
1626 1.28 dsl int linux_sys_select(struct lwp *, const struct linux_sys_select_args *, register_t *);
1627 1.16 jdolecek
1628 1.28 dsl int sys_flock(struct lwp *, const struct sys_flock_args *, register_t *);
1629 1.16 jdolecek
1630 1.31 njoly int sys___msync13(struct lwp *, const struct sys___msync13_args *, register_t *);
1631 1.16 jdolecek
1632 1.28 dsl int sys_readv(struct lwp *, const struct sys_readv_args *, register_t *);
1633 1.16 jdolecek
1634 1.28 dsl int sys_writev(struct lwp *, const struct sys_writev_args *, register_t *);
1635 1.16 jdolecek
1636 1.28 dsl int linux_sys_cacheflush(struct lwp *, const struct linux_sys_cacheflush_args *, register_t *);
1637 1.16 jdolecek
1638 1.28 dsl int linux_sys_sysmips(struct lwp *, const struct linux_sys_sysmips_args *, register_t *);
1639 1.16 jdolecek
1640 1.28 dsl int sys_getsid(struct lwp *, const struct sys_getsid_args *, register_t *);
1641 1.16 jdolecek
1642 1.28 dsl int linux_sys_fdatasync(struct lwp *, const struct linux_sys_fdatasync_args *, register_t *);
1643 1.16 jdolecek
1644 1.28 dsl int linux_sys___sysctl(struct lwp *, const struct linux_sys___sysctl_args *, register_t *);
1645 1.16 jdolecek
1646 1.28 dsl int sys_mlock(struct lwp *, const struct sys_mlock_args *, register_t *);
1647 1.16 jdolecek
1648 1.28 dsl int sys_munlock(struct lwp *, const struct sys_munlock_args *, register_t *);
1649 1.16 jdolecek
1650 1.28 dsl int sys_mlockall(struct lwp *, const struct sys_mlockall_args *, register_t *);
1651 1.16 jdolecek
1652 1.28 dsl int sys_munlockall(struct lwp *, const void *, register_t *);
1653 1.16 jdolecek
1654 1.28 dsl int linux_sys_sched_setparam(struct lwp *, const struct linux_sys_sched_setparam_args *, register_t *);
1655 1.16 jdolecek
1656 1.28 dsl int linux_sys_sched_getparam(struct lwp *, const struct linux_sys_sched_getparam_args *, register_t *);
1657 1.16 jdolecek
1658 1.28 dsl int linux_sys_sched_setscheduler(struct lwp *, const struct linux_sys_sched_setscheduler_args *, register_t *);
1659 1.16 jdolecek
1660 1.28 dsl int linux_sys_sched_getscheduler(struct lwp *, const struct linux_sys_sched_getscheduler_args *, register_t *);
1661 1.16 jdolecek
1662 1.28 dsl int linux_sys_sched_yield(struct lwp *, const void *, register_t *);
1663 1.16 jdolecek
1664 1.28 dsl int linux_sys_sched_get_priority_max(struct lwp *, const struct linux_sys_sched_get_priority_max_args *, register_t *);
1665 1.16 jdolecek
1666 1.28 dsl int linux_sys_sched_get_priority_min(struct lwp *, const struct linux_sys_sched_get_priority_min_args *, register_t *);
1667 1.16 jdolecek
1668 1.33 njoly int linux_sys_nanosleep(struct lwp *, const struct linux_sys_nanosleep_args *, register_t *);
1669 1.16 jdolecek
1670 1.28 dsl int linux_sys_mremap(struct lwp *, const struct linux_sys_mremap_args *, register_t *);
1671 1.16 jdolecek
1672 1.28 dsl int linux_sys_accept(struct lwp *, const struct linux_sys_accept_args *, register_t *);
1673 1.16 jdolecek
1674 1.28 dsl int linux_sys_bind(struct lwp *, const struct linux_sys_bind_args *, register_t *);
1675 1.16 jdolecek
1676 1.28 dsl int linux_sys_connect(struct lwp *, const struct linux_sys_connect_args *, register_t *);
1677 1.16 jdolecek
1678 1.28 dsl int linux_sys_getpeername(struct lwp *, const struct linux_sys_getpeername_args *, register_t *);
1679 1.16 jdolecek
1680 1.28 dsl int linux_sys_getsockname(struct lwp *, const struct linux_sys_getsockname_args *, register_t *);
1681 1.16 jdolecek
1682 1.28 dsl int linux_sys_getsockopt(struct lwp *, const struct linux_sys_getsockopt_args *, register_t *);
1683 1.16 jdolecek
1684 1.75 christos int sys_listen(struct lwp *, const struct sys_listen_args *, register_t *);
1685 1.16 jdolecek
1686 1.28 dsl int linux_sys_recv(struct lwp *, const struct linux_sys_recv_args *, register_t *);
1687 1.16 jdolecek
1688 1.28 dsl int linux_sys_recvfrom(struct lwp *, const struct linux_sys_recvfrom_args *, register_t *);
1689 1.16 jdolecek
1690 1.28 dsl int linux_sys_recvmsg(struct lwp *, const struct linux_sys_recvmsg_args *, register_t *);
1691 1.16 jdolecek
1692 1.28 dsl int linux_sys_send(struct lwp *, const struct linux_sys_send_args *, register_t *);
1693 1.16 jdolecek
1694 1.28 dsl int linux_sys_sendmsg(struct lwp *, const struct linux_sys_sendmsg_args *, register_t *);
1695 1.16 jdolecek
1696 1.28 dsl int linux_sys_sendto(struct lwp *, const struct linux_sys_sendto_args *, register_t *);
1697 1.16 jdolecek
1698 1.28 dsl int linux_sys_setsockopt(struct lwp *, const struct linux_sys_setsockopt_args *, register_t *);
1699 1.16 jdolecek
1700 1.28 dsl int linux_sys_socket(struct lwp *, const struct linux_sys_socket_args *, register_t *);
1701 1.16 jdolecek
1702 1.28 dsl int linux_sys_socketpair(struct lwp *, const struct linux_sys_socketpair_args *, register_t *);
1703 1.16 jdolecek
1704 1.28 dsl int linux_sys_setresuid(struct lwp *, const struct linux_sys_setresuid_args *, register_t *);
1705 1.16 jdolecek
1706 1.28 dsl int linux_sys_getresuid(struct lwp *, const struct linux_sys_getresuid_args *, register_t *);
1707 1.16 jdolecek
1708 1.28 dsl int sys_poll(struct lwp *, const struct sys_poll_args *, register_t *);
1709 1.16 jdolecek
1710 1.28 dsl int linux_sys_setresgid(struct lwp *, const struct linux_sys_setresgid_args *, register_t *);
1711 1.16 jdolecek
1712 1.28 dsl int linux_sys_getresgid(struct lwp *, const struct linux_sys_getresgid_args *, register_t *);
1713 1.16 jdolecek
1714 1.28 dsl int linux_sys_rt_sigreturn(struct lwp *, const struct linux_sys_rt_sigreturn_args *, register_t *);
1715 1.16 jdolecek
1716 1.28 dsl int linux_sys_rt_sigaction(struct lwp *, const struct linux_sys_rt_sigaction_args *, register_t *);
1717 1.16 jdolecek
1718 1.28 dsl int linux_sys_rt_sigprocmask(struct lwp *, const struct linux_sys_rt_sigprocmask_args *, register_t *);
1719 1.16 jdolecek
1720 1.28 dsl int linux_sys_rt_sigpending(struct lwp *, const struct linux_sys_rt_sigpending_args *, register_t *);
1721 1.16 jdolecek
1722 1.47 christos int linux_sys_rt_sigtimedwait(struct lwp *, const struct linux_sys_rt_sigtimedwait_args *, register_t *);
1723 1.47 christos
1724 1.28 dsl int linux_sys_rt_queueinfo(struct lwp *, const struct linux_sys_rt_queueinfo_args *, register_t *);
1725 1.16 jdolecek
1726 1.28 dsl int linux_sys_rt_sigsuspend(struct lwp *, const struct linux_sys_rt_sigsuspend_args *, register_t *);
1727 1.16 jdolecek
1728 1.28 dsl int linux_sys_pread(struct lwp *, const struct linux_sys_pread_args *, register_t *);
1729 1.16 jdolecek
1730 1.28 dsl int linux_sys_pwrite(struct lwp *, const struct linux_sys_pwrite_args *, register_t *);
1731 1.16 jdolecek
1732 1.28 dsl int sys___posix_chown(struct lwp *, const struct sys___posix_chown_args *, register_t *);
1733 1.16 jdolecek
1734 1.28 dsl int sys___getcwd(struct lwp *, const struct sys___getcwd_args *, register_t *);
1735 1.16 jdolecek
1736 1.28 dsl int linux_sys_sigaltstack(struct lwp *, const struct linux_sys_sigaltstack_args *, register_t *);
1737 1.16 jdolecek
1738 1.28 dsl int linux_sys_mmap2(struct lwp *, const struct linux_sys_mmap2_args *, register_t *);
1739 1.16 jdolecek
1740 1.28 dsl int linux_sys_truncate64(struct lwp *, const struct linux_sys_truncate64_args *, register_t *);
1741 1.16 jdolecek
1742 1.28 dsl int linux_sys_ftruncate64(struct lwp *, const struct linux_sys_ftruncate64_args *, register_t *);
1743 1.16 jdolecek
1744 1.28 dsl int linux_sys_stat64(struct lwp *, const struct linux_sys_stat64_args *, register_t *);
1745 1.16 jdolecek
1746 1.28 dsl int linux_sys_lstat64(struct lwp *, const struct linux_sys_lstat64_args *, register_t *);
1747 1.16 jdolecek
1748 1.28 dsl int linux_sys_fstat64(struct lwp *, const struct linux_sys_fstat64_args *, register_t *);
1749 1.16 jdolecek
1750 1.28 dsl int sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *);
1751 1.16 jdolecek
1752 1.28 dsl int sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *);
1753 1.16 jdolecek
1754 1.28 dsl int linux_sys_getdents64(struct lwp *, const struct linux_sys_getdents64_args *, register_t *);
1755 1.16 jdolecek
1756 1.28 dsl int linux_sys_fcntl64(struct lwp *, const struct linux_sys_fcntl64_args *, register_t *);
1757 1.16 jdolecek
1758 1.42 chs int linux_sys_gettid(struct lwp *, const void *, register_t *);
1759 1.42 chs
1760 1.87 christos int linux_sys_readahead(struct lwp *, const struct linux_sys_readahead_args *, register_t *);
1761 1.87 christos
1762 1.28 dsl int linux_sys_setxattr(struct lwp *, const struct linux_sys_setxattr_args *, register_t *);
1763 1.22 fvdl
1764 1.28 dsl int linux_sys_lsetxattr(struct lwp *, const struct linux_sys_lsetxattr_args *, register_t *);
1765 1.22 fvdl
1766 1.28 dsl int linux_sys_fsetxattr(struct lwp *, const struct linux_sys_fsetxattr_args *, register_t *);
1767 1.22 fvdl
1768 1.28 dsl int linux_sys_getxattr(struct lwp *, const struct linux_sys_getxattr_args *, register_t *);
1769 1.22 fvdl
1770 1.28 dsl int linux_sys_lgetxattr(struct lwp *, const struct linux_sys_lgetxattr_args *, register_t *);
1771 1.22 fvdl
1772 1.28 dsl int linux_sys_fgetxattr(struct lwp *, const struct linux_sys_fgetxattr_args *, register_t *);
1773 1.22 fvdl
1774 1.28 dsl int linux_sys_listxattr(struct lwp *, const struct linux_sys_listxattr_args *, register_t *);
1775 1.22 fvdl
1776 1.28 dsl int linux_sys_llistxattr(struct lwp *, const struct linux_sys_llistxattr_args *, register_t *);
1777 1.22 fvdl
1778 1.28 dsl int linux_sys_flistxattr(struct lwp *, const struct linux_sys_flistxattr_args *, register_t *);
1779 1.22 fvdl
1780 1.28 dsl int linux_sys_removexattr(struct lwp *, const struct linux_sys_removexattr_args *, register_t *);
1781 1.22 fvdl
1782 1.28 dsl int linux_sys_lremovexattr(struct lwp *, const struct linux_sys_lremovexattr_args *, register_t *);
1783 1.22 fvdl
1784 1.28 dsl int linux_sys_fremovexattr(struct lwp *, const struct linux_sys_fremovexattr_args *, register_t *);
1785 1.22 fvdl
1786 1.42 chs int linux_sys_tkill(struct lwp *, const struct linux_sys_tkill_args *, register_t *);
1787 1.42 chs
1788 1.42 chs int linux_sys_futex(struct lwp *, const struct linux_sys_futex_args *, register_t *);
1789 1.42 chs
1790 1.42 chs int linux_sys_sched_setaffinity(struct lwp *, const struct linux_sys_sched_setaffinity_args *, register_t *);
1791 1.42 chs
1792 1.42 chs int linux_sys_sched_getaffinity(struct lwp *, const struct linux_sys_sched_getaffinity_args *, register_t *);
1793 1.42 chs
1794 1.28 dsl int linux_sys_exit_group(struct lwp *, const struct linux_sys_exit_group_args *, register_t *);
1795 1.18 jdolecek
1796 1.86 christos int linux_sys_epoll_create(struct lwp *, const struct linux_sys_epoll_create_args *, register_t *);
1797 1.86 christos
1798 1.86 christos int linux_sys_epoll_ctl(struct lwp *, const struct linux_sys_epoll_ctl_args *, register_t *);
1799 1.86 christos
1800 1.86 christos int linux_sys_epoll_wait(struct lwp *, const struct linux_sys_epoll_wait_args *, register_t *);
1801 1.86 christos
1802 1.42 chs int linux_sys_set_tid_address(struct lwp *, const struct linux_sys_set_tid_address_args *, register_t *);
1803 1.42 chs
1804 1.45 alnsn int linux_sys_fadvise64(struct lwp *, const struct linux_sys_fadvise64_args *, register_t *);
1805 1.45 alnsn
1806 1.28 dsl int linux_sys_statfs64(struct lwp *, const struct linux_sys_statfs64_args *, register_t *);
1807 1.19 jdolecek
1808 1.28 dsl int linux_sys_fstatfs64(struct lwp *, const struct linux_sys_fstatfs64_args *, register_t *);
1809 1.19 jdolecek
1810 1.80 thorpej int linux_sys_timer_create(struct lwp *, const struct linux_sys_timer_create_args *, register_t *);
1811 1.80 thorpej
1812 1.80 thorpej int linux_sys_timer_settime(struct lwp *, const struct linux_sys_timer_settime_args *, register_t *);
1813 1.80 thorpej
1814 1.80 thorpej int linux_sys_timer_gettime(struct lwp *, const struct linux_sys_timer_gettime_args *, register_t *);
1815 1.80 thorpej
1816 1.80 thorpej int sys_timer_getoverrun(struct lwp *, const struct sys_timer_getoverrun_args *, register_t *);
1817 1.80 thorpej
1818 1.80 thorpej int sys_timer_delete(struct lwp *, const struct sys_timer_delete_args *, register_t *);
1819 1.80 thorpej
1820 1.28 dsl int linux_sys_clock_settime(struct lwp *, const struct linux_sys_clock_settime_args *, register_t *);
1821 1.23 fvdl
1822 1.28 dsl int linux_sys_clock_gettime(struct lwp *, const struct linux_sys_clock_gettime_args *, register_t *);
1823 1.23 fvdl
1824 1.28 dsl int linux_sys_clock_getres(struct lwp *, const struct linux_sys_clock_getres_args *, register_t *);
1825 1.23 fvdl
1826 1.28 dsl int linux_sys_clock_nanosleep(struct lwp *, const struct linux_sys_clock_nanosleep_args *, register_t *);
1827 1.23 fvdl
1828 1.42 chs int linux_sys_tgkill(struct lwp *, const struct linux_sys_tgkill_args *, register_t *);
1829 1.42 chs
1830 1.59 njoly int compat_50_sys_utimes(struct lwp *, const struct compat_50_sys_utimes_args *, register_t *);
1831 1.49 pooka
1832 1.91 christos int linux_sys_mq_open(struct lwp *, const struct linux_sys_mq_open_args *, register_t *);
1833 1.91 christos
1834 1.91 christos int linux_sys_mq_unlink(struct lwp *, const struct linux_sys_mq_unlink_args *, register_t *);
1835 1.91 christos
1836 1.91 christos int linux_sys_mq_timedsend(struct lwp *, const struct linux_sys_mq_timedsend_args *, register_t *);
1837 1.91 christos
1838 1.91 christos int linux_sys_mq_timedreceive(struct lwp *, const struct linux_sys_mq_timedreceive_args *, register_t *);
1839 1.91 christos
1840 1.91 christos int linux_sys_mq_notify(struct lwp *, const struct linux_sys_mq_notify_args *, register_t *);
1841 1.91 christos
1842 1.91 christos int linux_sys_mq_getsetattr(struct lwp *, const struct linux_sys_mq_getsetattr_args *, register_t *);
1843 1.91 christos
1844 1.88 christos int linux_sys_waitid(struct lwp *, const struct linux_sys_waitid_args *, register_t *);
1845 1.88 christos
1846 1.42 chs int linux_sys_set_thread_area(struct lwp *, const struct linux_sys_set_thread_area_args *, register_t *);
1847 1.42 chs
1848 1.89 christos int linux_sys_inotify_init(struct lwp *, const void *, register_t *);
1849 1.89 christos
1850 1.89 christos int linux_sys_inotify_add_watch(struct lwp *, const struct linux_sys_inotify_add_watch_args *, register_t *);
1851 1.89 christos
1852 1.89 christos int linux_sys_inotify_rm_watch(struct lwp *, const struct linux_sys_inotify_rm_watch_args *, register_t *);
1853 1.89 christos
1854 1.52 chs int linux_sys_openat(struct lwp *, const struct linux_sys_openat_args *, register_t *);
1855 1.52 chs
1856 1.52 chs int sys_mkdirat(struct lwp *, const struct sys_mkdirat_args *, register_t *);
1857 1.52 chs
1858 1.52 chs int linux_sys_mknodat(struct lwp *, const struct linux_sys_mknodat_args *, register_t *);
1859 1.52 chs
1860 1.52 chs int linux_sys_fchownat(struct lwp *, const struct linux_sys_fchownat_args *, register_t *);
1861 1.52 chs
1862 1.52 chs int linux_sys_fstatat64(struct lwp *, const struct linux_sys_fstatat64_args *, register_t *);
1863 1.52 chs
1864 1.52 chs int linux_sys_unlinkat(struct lwp *, const struct linux_sys_unlinkat_args *, register_t *);
1865 1.52 chs
1866 1.52 chs int sys_renameat(struct lwp *, const struct sys_renameat_args *, register_t *);
1867 1.52 chs
1868 1.52 chs int linux_sys_linkat(struct lwp *, const struct linux_sys_linkat_args *, register_t *);
1869 1.52 chs
1870 1.52 chs int sys_symlinkat(struct lwp *, const struct sys_symlinkat_args *, register_t *);
1871 1.52 chs
1872 1.52 chs int sys_readlinkat(struct lwp *, const struct sys_readlinkat_args *, register_t *);
1873 1.52 chs
1874 1.52 chs int linux_sys_fchmodat(struct lwp *, const struct linux_sys_fchmodat_args *, register_t *);
1875 1.52 chs
1876 1.52 chs int linux_sys_faccessat(struct lwp *, const struct linux_sys_faccessat_args *, register_t *);
1877 1.52 chs
1878 1.67 manu int linux_sys_pselect6(struct lwp *, const struct linux_sys_pselect6_args *, register_t *);
1879 1.67 manu
1880 1.48 pooka int linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_args *, register_t *);
1881 1.48 pooka
1882 1.79 thorpej int sys___futex_set_robust_list(struct lwp *, const struct sys___futex_set_robust_list_args *, register_t *);
1883 1.42 chs
1884 1.79 thorpej int sys___futex_get_robust_list(struct lwp *, const struct sys___futex_get_robust_list_args *, register_t *);
1885 1.42 chs
1886 1.90 christos int linux_sys_getcpu(struct lwp *, const struct linux_sys_getcpu_args *, register_t *);
1887 1.90 christos
1888 1.86 christos int linux_sys_epoll_pwait(struct lwp *, const struct linux_sys_epoll_pwait_args *, register_t *);
1889 1.86 christos
1890 1.50 njoly int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
1891 1.50 njoly
1892 1.82 thorpej int linux_sys_eventfd(struct lwp *, const struct linux_sys_eventfd_args *, register_t *);
1893 1.82 thorpej
1894 1.78 jdolecek int linux_sys_fallocate(struct lwp *, const struct linux_sys_fallocate_args *, register_t *);
1895 1.78 jdolecek
1896 1.81 thorpej int linux_sys_timerfd_create(struct lwp *, const struct linux_sys_timerfd_create_args *, register_t *);
1897 1.81 thorpej
1898 1.81 thorpej int linux_sys_timerfd_gettime(struct lwp *, const struct linux_sys_timerfd_gettime_args *, register_t *);
1899 1.81 thorpej
1900 1.81 thorpej int linux_sys_timerfd_settime(struct lwp *, const struct linux_sys_timerfd_settime_args *, register_t *);
1901 1.81 thorpej
1902 1.82 thorpej int linux_sys_eventfd2(struct lwp *, const struct linux_sys_eventfd2_args *, register_t *);
1903 1.82 thorpej
1904 1.86 christos int linux_sys_epoll_create1(struct lwp *, const struct linux_sys_epoll_create1_args *, register_t *);
1905 1.86 christos
1906 1.44 he int linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *);
1907 1.44 he
1908 1.44 he int linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *);
1909 1.44 he
1910 1.89 christos int linux_sys_inotify_init1(struct lwp *, const struct linux_sys_inotify_init1_args *, register_t *);
1911 1.89 christos
1912 1.83 thorpej int linux_sys_preadv(struct lwp *, const struct linux_sys_preadv_args *, register_t *);
1913 1.83 thorpej
1914 1.83 thorpej int linux_sys_pwritev(struct lwp *, const struct linux_sys_pwritev_args *, register_t *);
1915 1.83 thorpej
1916 1.71 christos int linux_sys_accept4(struct lwp *, const struct linux_sys_accept4_args *, register_t *);
1917 1.71 christos
1918 1.72 christos int linux_sys_recvmmsg(struct lwp *, const struct linux_sys_recvmmsg_args *, register_t *);
1919 1.72 christos
1920 1.85 ryo int linux_sys_prlimit64(struct lwp *, const struct linux_sys_prlimit64_args *, register_t *);
1921 1.85 ryo
1922 1.72 christos int linux_sys_sendmmsg(struct lwp *, const struct linux_sys_sendmmsg_args *, register_t *);
1923 1.72 christos
1924 1.84 ryo int sys_getrandom(struct lwp *, const struct sys_getrandom_args *, register_t *);
1925 1.84 ryo
1926 1.87 christos int linux_sys_memfd_create(struct lwp *, const struct linux_sys_memfd_create_args *, register_t *);
1927 1.87 christos
1928 1.87 christos int linux_sys_statx(struct lwp *, const struct linux_sys_statx_args *, register_t *);
1929 1.87 christos
1930 1.87 christos int linux_sys_close_range(struct lwp *, const struct linux_sys_close_range_args *, register_t *);
1931 1.87 christos
1932 1.86 christos int linux_sys_epoll_pwait2(struct lwp *, const struct linux_sys_epoll_pwait2_args *, register_t *);
1933 1.86 christos
1934 1.25 christos #endif /* _LINUX_SYS_SYSCALLARGS_H_ */
1935