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