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