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