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