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