linux_syscallargs.h revision 1.4.2.2 1 1.4.2.2 bouyer /* $NetBSD: linux_syscallargs.h,v 1.4.2.2 2001/02/11 19:13:55 bouyer Exp $ */
2 1.4.2.2 bouyer
3 1.4.2.2 bouyer /*
4 1.4.2.2 bouyer * System call argument lists.
5 1.4.2.2 bouyer *
6 1.4.2.2 bouyer * DO NOT EDIT-- this file is automatically generated.
7 1.4.2.2 bouyer * created from NetBSD: syscalls.master,v 1.2 2001/01/27 07:56:30 thorpej Exp
8 1.4.2.2 bouyer */
9 1.4.2.2 bouyer
10 1.4.2.2 bouyer #ifndef _LINUX_SYS__SYSCALLARGS_H_
11 1.4.2.2 bouyer #define _LINUX_SYS__SYSCALLARGS_H_
12 1.4.2.2 bouyer
13 1.4.2.2 bouyer #ifdef syscallarg
14 1.4.2.2 bouyer #undef syscallarg
15 1.4.2.2 bouyer #endif
16 1.4.2.2 bouyer
17 1.4.2.2 bouyer #define syscallarg(x) \
18 1.4.2.2 bouyer union { \
19 1.4.2.2 bouyer register_t pad; \
20 1.4.2.2 bouyer struct { x datum; } le; \
21 1.4.2.2 bouyer struct { \
22 1.4.2.2 bouyer int8_t pad[ (sizeof (register_t) < sizeof (x)) \
23 1.4.2.2 bouyer ? 0 \
24 1.4.2.2 bouyer : sizeof (register_t) - sizeof (x)]; \
25 1.4.2.2 bouyer x datum; \
26 1.4.2.2 bouyer } be; \
27 1.4.2.2 bouyer }
28 1.4.2.2 bouyer
29 1.4.2.2 bouyer struct linux_sys_open_args {
30 1.4.2.2 bouyer syscallarg(const char *) path;
31 1.4.2.2 bouyer syscallarg(int) flags;
32 1.4.2.2 bouyer syscallarg(int) mode;
33 1.4.2.2 bouyer };
34 1.4.2.2 bouyer
35 1.4.2.2 bouyer struct linux_sys_waitpid_args {
36 1.4.2.2 bouyer syscallarg(int) pid;
37 1.4.2.2 bouyer syscallarg(int *) status;
38 1.4.2.2 bouyer syscallarg(int) options;
39 1.4.2.2 bouyer };
40 1.4.2.2 bouyer
41 1.4.2.2 bouyer struct linux_sys_creat_args {
42 1.4.2.2 bouyer syscallarg(const char *) path;
43 1.4.2.2 bouyer syscallarg(int) mode;
44 1.4.2.2 bouyer };
45 1.4.2.2 bouyer
46 1.4.2.2 bouyer struct linux_sys_link_args {
47 1.4.2.2 bouyer syscallarg(const char *) path;
48 1.4.2.2 bouyer syscallarg(const char *) link;
49 1.4.2.2 bouyer };
50 1.4.2.2 bouyer
51 1.4.2.2 bouyer struct linux_sys_unlink_args {
52 1.4.2.2 bouyer syscallarg(const char *) path;
53 1.4.2.2 bouyer };
54 1.4.2.2 bouyer
55 1.4.2.2 bouyer struct linux_sys_execve_args {
56 1.4.2.2 bouyer syscallarg(const char *) path;
57 1.4.2.2 bouyer syscallarg(char **) argp;
58 1.4.2.2 bouyer syscallarg(char **) envp;
59 1.4.2.2 bouyer };
60 1.4.2.2 bouyer
61 1.4.2.2 bouyer struct linux_sys_chdir_args {
62 1.4.2.2 bouyer syscallarg(const char *) path;
63 1.4.2.2 bouyer };
64 1.4.2.2 bouyer
65 1.4.2.2 bouyer struct linux_sys_time_args {
66 1.4.2.2 bouyer syscallarg(linux_time_t *) t;
67 1.4.2.2 bouyer };
68 1.4.2.2 bouyer
69 1.4.2.2 bouyer struct linux_sys_mknod_args {
70 1.4.2.2 bouyer syscallarg(const char *) path;
71 1.4.2.2 bouyer syscallarg(int) mode;
72 1.4.2.2 bouyer syscallarg(int) dev;
73 1.4.2.2 bouyer };
74 1.4.2.2 bouyer
75 1.4.2.2 bouyer struct linux_sys_chmod_args {
76 1.4.2.2 bouyer syscallarg(const char *) path;
77 1.4.2.2 bouyer syscallarg(int) mode;
78 1.4.2.2 bouyer };
79 1.4.2.2 bouyer
80 1.4.2.2 bouyer struct linux_sys_lchown_args {
81 1.4.2.2 bouyer syscallarg(const char *) path;
82 1.4.2.2 bouyer syscallarg(int) uid;
83 1.4.2.2 bouyer syscallarg(int) gid;
84 1.4.2.2 bouyer };
85 1.4.2.2 bouyer
86 1.4.2.2 bouyer struct linux_sys_stime_args {
87 1.4.2.2 bouyer syscallarg(linux_time_t *) t;
88 1.4.2.2 bouyer };
89 1.4.2.2 bouyer
90 1.4.2.2 bouyer struct linux_sys_ptrace_args {
91 1.4.2.2 bouyer syscallarg(int) request;
92 1.4.2.2 bouyer syscallarg(int) pid;
93 1.4.2.2 bouyer syscallarg(int) addr;
94 1.4.2.2 bouyer syscallarg(int) data;
95 1.4.2.2 bouyer };
96 1.4.2.2 bouyer
97 1.4.2.2 bouyer struct linux_sys_alarm_args {
98 1.4.2.2 bouyer syscallarg(unsigned int) secs;
99 1.4.2.2 bouyer };
100 1.4.2.2 bouyer
101 1.4.2.2 bouyer struct linux_sys_utime_args {
102 1.4.2.2 bouyer syscallarg(const char *) path;
103 1.4.2.2 bouyer syscallarg(struct linux_utimbuf *) times;
104 1.4.2.2 bouyer };
105 1.4.2.2 bouyer
106 1.4.2.2 bouyer struct linux_sys_access_args {
107 1.4.2.2 bouyer syscallarg(const char *) path;
108 1.4.2.2 bouyer syscallarg(int) flags;
109 1.4.2.2 bouyer };
110 1.4.2.2 bouyer
111 1.4.2.2 bouyer struct linux_sys_nice_args {
112 1.4.2.2 bouyer syscallarg(int) incr;
113 1.4.2.2 bouyer };
114 1.4.2.2 bouyer
115 1.4.2.2 bouyer struct linux_sys_kill_args {
116 1.4.2.2 bouyer syscallarg(int) pid;
117 1.4.2.2 bouyer syscallarg(int) signum;
118 1.4.2.2 bouyer };
119 1.4.2.2 bouyer
120 1.4.2.2 bouyer struct linux_sys_rename_args {
121 1.4.2.2 bouyer syscallarg(const char *) from;
122 1.4.2.2 bouyer syscallarg(const char *) to;
123 1.4.2.2 bouyer };
124 1.4.2.2 bouyer
125 1.4.2.2 bouyer struct linux_sys_mkdir_args {
126 1.4.2.2 bouyer syscallarg(const char *) path;
127 1.4.2.2 bouyer syscallarg(int) mode;
128 1.4.2.2 bouyer };
129 1.4.2.2 bouyer
130 1.4.2.2 bouyer struct linux_sys_rmdir_args {
131 1.4.2.2 bouyer syscallarg(const char *) path;
132 1.4.2.2 bouyer };
133 1.4.2.2 bouyer
134 1.4.2.2 bouyer struct linux_sys_pipe_args {
135 1.4.2.2 bouyer syscallarg(int *) pfds;
136 1.4.2.2 bouyer };
137 1.4.2.2 bouyer
138 1.4.2.2 bouyer struct linux_sys_times_args {
139 1.4.2.2 bouyer syscallarg(struct times *) tms;
140 1.4.2.2 bouyer };
141 1.4.2.2 bouyer
142 1.4.2.2 bouyer struct linux_sys_brk_args {
143 1.4.2.2 bouyer syscallarg(char *) nsize;
144 1.4.2.2 bouyer };
145 1.4.2.2 bouyer
146 1.4.2.2 bouyer struct linux_sys_signal_args {
147 1.4.2.2 bouyer syscallarg(int) signum;
148 1.4.2.2 bouyer syscallarg(linux_handler_t) handler;
149 1.4.2.2 bouyer };
150 1.4.2.2 bouyer
151 1.4.2.2 bouyer struct linux_sys_ioctl_args {
152 1.4.2.2 bouyer syscallarg(int) fd;
153 1.4.2.2 bouyer syscallarg(u_long) com;
154 1.4.2.2 bouyer syscallarg(caddr_t) data;
155 1.4.2.2 bouyer };
156 1.4.2.2 bouyer
157 1.4.2.2 bouyer struct linux_sys_fcntl_args {
158 1.4.2.2 bouyer syscallarg(int) fd;
159 1.4.2.2 bouyer syscallarg(int) cmd;
160 1.4.2.2 bouyer syscallarg(void *) arg;
161 1.4.2.2 bouyer };
162 1.4.2.2 bouyer
163 1.4.2.2 bouyer struct linux_sys_olduname_args {
164 1.4.2.2 bouyer syscallarg(struct linux_old_utsname *) up;
165 1.4.2.2 bouyer };
166 1.4.2.2 bouyer
167 1.4.2.2 bouyer struct linux_sys_sigaction_args {
168 1.4.2.2 bouyer syscallarg(int) signum;
169 1.4.2.2 bouyer syscallarg(const struct linux_old_sigaction *) nsa;
170 1.4.2.2 bouyer syscallarg(struct linux_old_sigaction *) osa;
171 1.4.2.2 bouyer };
172 1.4.2.2 bouyer
173 1.4.2.2 bouyer struct linux_sys_sigsetmask_args {
174 1.4.2.2 bouyer syscallarg(linux_old_sigset_t) mask;
175 1.4.2.2 bouyer };
176 1.4.2.2 bouyer
177 1.4.2.2 bouyer struct linux_sys_sigsuspend_args {
178 1.4.2.2 bouyer syscallarg(caddr_t) restart;
179 1.4.2.2 bouyer syscallarg(int) oldmask;
180 1.4.2.2 bouyer syscallarg(int) mask;
181 1.4.2.2 bouyer };
182 1.4.2.2 bouyer
183 1.4.2.2 bouyer struct linux_sys_sigpending_args {
184 1.4.2.2 bouyer syscallarg(linux_old_sigset_t *) set;
185 1.4.2.2 bouyer };
186 1.4.2.2 bouyer
187 1.4.2.2 bouyer struct linux_sys_select_args {
188 1.4.2.2 bouyer syscallarg(int) nfds;
189 1.4.2.2 bouyer syscallarg(fd_set *) readfds;
190 1.4.2.2 bouyer syscallarg(fd_set *) writefds;
191 1.4.2.2 bouyer syscallarg(fd_set *) exceptfds;
192 1.4.2.2 bouyer syscallarg(struct timeval *) timeout;
193 1.4.2.2 bouyer };
194 1.4.2.2 bouyer
195 1.4.2.2 bouyer struct linux_sys_symlink_args {
196 1.4.2.2 bouyer syscallarg(const char *) path;
197 1.4.2.2 bouyer syscallarg(const char *) to;
198 1.4.2.2 bouyer };
199 1.4.2.2 bouyer
200 1.4.2.2 bouyer struct linux_sys_readlink_args {
201 1.4.2.2 bouyer syscallarg(const char *) name;
202 1.4.2.2 bouyer syscallarg(char *) buf;
203 1.4.2.2 bouyer syscallarg(int) count;
204 1.4.2.2 bouyer };
205 1.4.2.2 bouyer
206 1.4.2.2 bouyer struct linux_sys_uselib_args {
207 1.4.2.2 bouyer syscallarg(const char *) path;
208 1.4.2.2 bouyer };
209 1.4.2.2 bouyer
210 1.4.2.2 bouyer struct linux_sys_swapon_args {
211 1.4.2.2 bouyer syscallarg(char *) name;
212 1.4.2.2 bouyer };
213 1.4.2.2 bouyer
214 1.4.2.2 bouyer struct linux_sys_reboot_args {
215 1.4.2.2 bouyer syscallarg(int) magic1;
216 1.4.2.2 bouyer syscallarg(int) magic2;
217 1.4.2.2 bouyer syscallarg(int) cmd;
218 1.4.2.2 bouyer syscallarg(void *) arg;
219 1.4.2.2 bouyer };
220 1.4.2.2 bouyer
221 1.4.2.2 bouyer struct linux_sys_readdir_args {
222 1.4.2.2 bouyer syscallarg(int) fd;
223 1.4.2.2 bouyer syscallarg(caddr_t) dent;
224 1.4.2.2 bouyer syscallarg(unsigned int) count;
225 1.4.2.2 bouyer };
226 1.4.2.2 bouyer
227 1.4.2.2 bouyer struct linux_sys_powerpc_mmap_args {
228 1.4.2.2 bouyer syscallarg(unsigned long) addr;
229 1.4.2.2 bouyer syscallarg(size_t) len;
230 1.4.2.2 bouyer syscallarg(int) prot;
231 1.4.2.2 bouyer syscallarg(int) flags;
232 1.4.2.2 bouyer syscallarg(int) fd;
233 1.4.2.2 bouyer syscallarg(linux_off_t) offset;
234 1.4.2.2 bouyer };
235 1.4.2.2 bouyer
236 1.4.2.2 bouyer struct linux_sys_truncate_args {
237 1.4.2.2 bouyer syscallarg(const char *) path;
238 1.4.2.2 bouyer syscallarg(long) length;
239 1.4.2.2 bouyer };
240 1.4.2.2 bouyer
241 1.4.2.2 bouyer struct linux_sys_statfs_args {
242 1.4.2.2 bouyer syscallarg(const char *) path;
243 1.4.2.2 bouyer syscallarg(struct linux_statfs *) sp;
244 1.4.2.2 bouyer };
245 1.4.2.2 bouyer
246 1.4.2.2 bouyer struct linux_sys_fstatfs_args {
247 1.4.2.2 bouyer syscallarg(int) fd;
248 1.4.2.2 bouyer syscallarg(struct linux_statfs *) sp;
249 1.4.2.2 bouyer };
250 1.4.2.2 bouyer
251 1.4.2.2 bouyer struct linux_sys_ioperm_args {
252 1.4.2.2 bouyer syscallarg(unsigned int) lo;
253 1.4.2.2 bouyer syscallarg(unsigned int) hi;
254 1.4.2.2 bouyer syscallarg(int) val;
255 1.4.2.2 bouyer };
256 1.4.2.2 bouyer
257 1.4.2.2 bouyer struct linux_sys_socketcall_args {
258 1.4.2.2 bouyer syscallarg(int) what;
259 1.4.2.2 bouyer syscallarg(void *) args;
260 1.4.2.2 bouyer };
261 1.4.2.2 bouyer
262 1.4.2.2 bouyer struct linux_sys_stat_args {
263 1.4.2.2 bouyer syscallarg(const char *) path;
264 1.4.2.2 bouyer syscallarg(struct linux_stat *) sp;
265 1.4.2.2 bouyer };
266 1.4.2.2 bouyer
267 1.4.2.2 bouyer struct linux_sys_lstat_args {
268 1.4.2.2 bouyer syscallarg(const char *) path;
269 1.4.2.2 bouyer syscallarg(struct linux_stat *) sp;
270 1.4.2.2 bouyer };
271 1.4.2.2 bouyer
272 1.4.2.2 bouyer struct linux_sys_fstat_args {
273 1.4.2.2 bouyer syscallarg(int) fd;
274 1.4.2.2 bouyer syscallarg(struct linux_stat *) sp;
275 1.4.2.2 bouyer };
276 1.4.2.2 bouyer
277 1.4.2.2 bouyer struct linux_sys_uname_args {
278 1.4.2.2 bouyer syscallarg(struct linux_utsname *) up;
279 1.4.2.2 bouyer };
280 1.4.2.2 bouyer
281 1.4.2.2 bouyer struct linux_sys_wait4_args {
282 1.4.2.2 bouyer syscallarg(int) pid;
283 1.4.2.2 bouyer syscallarg(int *) status;
284 1.4.2.2 bouyer syscallarg(int) options;
285 1.4.2.2 bouyer syscallarg(struct rusage *) rusage;
286 1.4.2.2 bouyer };
287 1.4.2.2 bouyer
288 1.4.2.2 bouyer struct linux_sys_swapoff_args {
289 1.4.2.2 bouyer syscallarg(const char *) path;
290 1.4.2.2 bouyer };
291 1.4.2.2 bouyer
292 1.4.2.2 bouyer struct linux_sys_sysinfo_args {
293 1.4.2.2 bouyer syscallarg(struct linux_sysinfo *) arg;
294 1.4.2.2 bouyer };
295 1.4.2.2 bouyer
296 1.4.2.2 bouyer struct linux_sys_ipc_args {
297 1.4.2.2 bouyer syscallarg(int) what;
298 1.4.2.2 bouyer syscallarg(int) a1;
299 1.4.2.2 bouyer syscallarg(int) a2;
300 1.4.2.2 bouyer syscallarg(int) a3;
301 1.4.2.2 bouyer syscallarg(caddr_t) ptr;
302 1.4.2.2 bouyer };
303 1.4.2.2 bouyer
304 1.4.2.2 bouyer struct linux_sys_sigreturn_args {
305 1.4.2.2 bouyer syscallarg(struct linux_sigcontext *) scp;
306 1.4.2.2 bouyer };
307 1.4.2.2 bouyer
308 1.4.2.2 bouyer struct linux_sys_clone_args {
309 1.4.2.2 bouyer syscallarg(int) flags;
310 1.4.2.2 bouyer syscallarg(void *) stack;
311 1.4.2.2 bouyer };
312 1.4.2.2 bouyer
313 1.4.2.2 bouyer struct linux_sys_setdomainname_args {
314 1.4.2.2 bouyer syscallarg(char *) domainname;
315 1.4.2.2 bouyer syscallarg(int) len;
316 1.4.2.2 bouyer };
317 1.4.2.2 bouyer
318 1.4.2.2 bouyer struct linux_sys_new_uname_args {
319 1.4.2.2 bouyer syscallarg(struct linux_utsname *) up;
320 1.4.2.2 bouyer };
321 1.4.2.2 bouyer
322 1.4.2.2 bouyer struct linux_sys_sigprocmask_args {
323 1.4.2.2 bouyer syscallarg(int) how;
324 1.4.2.2 bouyer syscallarg(const linux_old_sigset_t *) set;
325 1.4.2.2 bouyer syscallarg(linux_old_sigset_t *) oset;
326 1.4.2.2 bouyer };
327 1.4.2.2 bouyer
328 1.4.2.2 bouyer struct linux_sys_getpgid_args {
329 1.4.2.2 bouyer syscallarg(int) pid;
330 1.4.2.2 bouyer };
331 1.4.2.2 bouyer
332 1.4.2.2 bouyer struct linux_sys_personality_args {
333 1.4.2.2 bouyer syscallarg(int) per;
334 1.4.2.2 bouyer };
335 1.4.2.2 bouyer
336 1.4.2.2 bouyer struct linux_sys_setfsuid_args {
337 1.4.2.2 bouyer syscallarg(uid_t) uid;
338 1.4.2.2 bouyer };
339 1.4.2.2 bouyer
340 1.4.2.2 bouyer struct linux_sys_llseek_args {
341 1.4.2.2 bouyer syscallarg(int) fd;
342 1.4.2.2 bouyer syscallarg(u_int32_t) ohigh;
343 1.4.2.2 bouyer syscallarg(u_int32_t) olow;
344 1.4.2.2 bouyer syscallarg(caddr_t) res;
345 1.4.2.2 bouyer syscallarg(int) whence;
346 1.4.2.2 bouyer };
347 1.4.2.2 bouyer
348 1.4.2.2 bouyer struct linux_sys_getdents_args {
349 1.4.2.2 bouyer syscallarg(int) fd;
350 1.4.2.2 bouyer syscallarg(struct linux_dirent *) dent;
351 1.4.2.2 bouyer syscallarg(unsigned int) count;
352 1.4.2.2 bouyer };
353 1.4.2.2 bouyer
354 1.4.2.2 bouyer struct linux_sys_new_select_args {
355 1.4.2.2 bouyer syscallarg(int) nfds;
356 1.4.2.2 bouyer syscallarg(fd_set *) readfds;
357 1.4.2.2 bouyer syscallarg(fd_set *) writefds;
358 1.4.2.2 bouyer syscallarg(fd_set *) exceptfds;
359 1.4.2.2 bouyer syscallarg(struct timeval *) timeout;
360 1.4.2.2 bouyer };
361 1.4.2.2 bouyer
362 1.4.2.2 bouyer struct linux_sys_msync_args {
363 1.4.2.2 bouyer syscallarg(caddr_t) addr;
364 1.4.2.2 bouyer syscallarg(int) len;
365 1.4.2.2 bouyer syscallarg(int) fl;
366 1.4.2.2 bouyer };
367 1.4.2.2 bouyer
368 1.4.2.2 bouyer struct linux_sys_fdatasync_args {
369 1.4.2.2 bouyer syscallarg(int) fd;
370 1.4.2.2 bouyer };
371 1.4.2.2 bouyer
372 1.4.2.2 bouyer struct linux_sys___sysctl_args {
373 1.4.2.2 bouyer syscallarg(struct linux___sysctl *) lsp;
374 1.4.2.2 bouyer };
375 1.4.2.2 bouyer
376 1.4.2.2 bouyer struct linux_sys_sched_setparam_args {
377 1.4.2.2 bouyer syscallarg(pid_t) pid;
378 1.4.2.2 bouyer syscallarg(const struct linux_sched_param *) sp;
379 1.4.2.2 bouyer };
380 1.4.2.2 bouyer
381 1.4.2.2 bouyer struct linux_sys_sched_getparam_args {
382 1.4.2.2 bouyer syscallarg(pid_t) pid;
383 1.4.2.2 bouyer syscallarg(struct linux_sched_param *) sp;
384 1.4.2.2 bouyer };
385 1.4.2.2 bouyer
386 1.4.2.2 bouyer struct linux_sys_sched_setscheduler_args {
387 1.4.2.2 bouyer syscallarg(pid_t) pid;
388 1.4.2.2 bouyer syscallarg(int) policy;
389 1.4.2.2 bouyer syscallarg(const struct linux_sched_param *) sp;
390 1.4.2.2 bouyer };
391 1.4.2.2 bouyer
392 1.4.2.2 bouyer struct linux_sys_sched_getscheduler_args {
393 1.4.2.2 bouyer syscallarg(pid_t) pid;
394 1.4.2.2 bouyer };
395 1.4.2.2 bouyer
396 1.4.2.2 bouyer struct linux_sys_sched_get_priority_max_args {
397 1.4.2.2 bouyer syscallarg(int) policy;
398 1.4.2.2 bouyer };
399 1.4.2.2 bouyer
400 1.4.2.2 bouyer struct linux_sys_sched_get_priority_min_args {
401 1.4.2.2 bouyer syscallarg(int) policy;
402 1.4.2.2 bouyer };
403 1.4.2.2 bouyer
404 1.4.2.2 bouyer struct linux_sys_mremap_args {
405 1.4.2.2 bouyer syscallarg(void *) old_address;
406 1.4.2.2 bouyer syscallarg(size_t) old_size;
407 1.4.2.2 bouyer syscallarg(size_t) new_size;
408 1.4.2.2 bouyer syscallarg(u_long) flags;
409 1.4.2.2 bouyer };
410 1.4.2.2 bouyer
411 1.4.2.2 bouyer struct linux_sys_setresuid_args {
412 1.4.2.2 bouyer syscallarg(uid_t) ruid;
413 1.4.2.2 bouyer syscallarg(uid_t) euid;
414 1.4.2.2 bouyer syscallarg(uid_t) suid;
415 1.4.2.2 bouyer };
416 1.4.2.2 bouyer
417 1.4.2.2 bouyer struct linux_sys_getresuid_args {
418 1.4.2.2 bouyer syscallarg(uid_t *) ruid;
419 1.4.2.2 bouyer syscallarg(uid_t *) euid;
420 1.4.2.2 bouyer syscallarg(uid_t *) suid;
421 1.4.2.2 bouyer };
422 1.4.2.2 bouyer
423 1.4.2.2 bouyer struct linux_sys_setresgid_args {
424 1.4.2.2 bouyer syscallarg(gid_t) rgid;
425 1.4.2.2 bouyer syscallarg(gid_t) egid;
426 1.4.2.2 bouyer syscallarg(gid_t) sgid;
427 1.4.2.2 bouyer };
428 1.4.2.2 bouyer
429 1.4.2.2 bouyer struct linux_sys_getresgid_args {
430 1.4.2.2 bouyer syscallarg(gid_t *) rgid;
431 1.4.2.2 bouyer syscallarg(gid_t *) egid;
432 1.4.2.2 bouyer syscallarg(gid_t *) sgid;
433 1.4.2.2 bouyer };
434 1.4.2.2 bouyer
435 1.4.2.2 bouyer struct linux_sys_rt_sigreturn_args {
436 1.4.2.2 bouyer syscallarg(struct linux_rt_sigframe *) sfp;
437 1.4.2.2 bouyer };
438 1.4.2.2 bouyer
439 1.4.2.2 bouyer struct linux_sys_rt_sigaction_args {
440 1.4.2.2 bouyer syscallarg(int) signum;
441 1.4.2.2 bouyer syscallarg(const struct linux_sigaction *) nsa;
442 1.4.2.2 bouyer syscallarg(struct linux_sigaction *) osa;
443 1.4.2.2 bouyer syscallarg(size_t) sigsetsize;
444 1.4.2.2 bouyer };
445 1.4.2.2 bouyer
446 1.4.2.2 bouyer struct linux_sys_rt_sigprocmask_args {
447 1.4.2.2 bouyer syscallarg(int) how;
448 1.4.2.2 bouyer syscallarg(const linux_sigset_t *) set;
449 1.4.2.2 bouyer syscallarg(linux_sigset_t *) oset;
450 1.4.2.2 bouyer syscallarg(size_t) sigsetsize;
451 1.4.2.2 bouyer };
452 1.4.2.2 bouyer
453 1.4.2.2 bouyer struct linux_sys_rt_sigpending_args {
454 1.4.2.2 bouyer syscallarg(linux_sigset_t *) set;
455 1.4.2.2 bouyer syscallarg(size_t) sigsetsize;
456 1.4.2.2 bouyer };
457 1.4.2.2 bouyer
458 1.4.2.2 bouyer struct linux_sys_rt_queueinfo_args {
459 1.4.2.2 bouyer syscallarg(int) pid;
460 1.4.2.2 bouyer syscallarg(int) signum;
461 1.4.2.2 bouyer syscallarg(void *) uinfo;
462 1.4.2.2 bouyer };
463 1.4.2.2 bouyer
464 1.4.2.2 bouyer struct linux_sys_rt_sigsuspend_args {
465 1.4.2.2 bouyer syscallarg(linux_sigset_t *) unewset;
466 1.4.2.2 bouyer syscallarg(size_t) sigsetsize;
467 1.4.2.2 bouyer };
468 1.4.2.2 bouyer
469 1.4.2.2 bouyer struct linux_sys_pread_args {
470 1.4.2.2 bouyer syscallarg(int) fd;
471 1.4.2.2 bouyer syscallarg(char *) buf;
472 1.4.2.2 bouyer syscallarg(size_t) nbyte;
473 1.4.2.2 bouyer syscallarg(linux_off_t) offset;
474 1.4.2.2 bouyer };
475 1.4.2.2 bouyer
476 1.4.2.2 bouyer struct linux_sys_pwrite_args {
477 1.4.2.2 bouyer syscallarg(int) fd;
478 1.4.2.2 bouyer syscallarg(char *) buf;
479 1.4.2.2 bouyer syscallarg(size_t) nbyte;
480 1.4.2.2 bouyer syscallarg(linux_off_t) offset;
481 1.4.2.2 bouyer };
482 1.4.2.2 bouyer
483 1.4.2.2 bouyer struct linux_sys_chown_args {
484 1.4.2.2 bouyer syscallarg(const char *) path;
485 1.4.2.2 bouyer syscallarg(int) uid;
486 1.4.2.2 bouyer syscallarg(int) gid;
487 1.4.2.2 bouyer };
488 1.4.2.2 bouyer
489 1.4.2.2 bouyer struct linux_sys_sigaltstack_args {
490 1.4.2.2 bouyer syscallarg(const struct linux_sigaltstack *) ss;
491 1.4.2.2 bouyer syscallarg(struct linux_sigaltstack *) oss;
492 1.4.2.2 bouyer };
493 1.4.2.2 bouyer
494 1.4.2.2 bouyer /*
495 1.4.2.2 bouyer * System call prototypes.
496 1.4.2.2 bouyer */
497 1.4.2.2 bouyer
498 1.4.2.2 bouyer int sys_nosys(struct proc *, void *, register_t *);
499 1.4.2.2 bouyer int sys_exit(struct proc *, void *, register_t *);
500 1.4.2.2 bouyer int sys_fork(struct proc *, void *, register_t *);
501 1.4.2.2 bouyer int sys_read(struct proc *, void *, register_t *);
502 1.4.2.2 bouyer int sys_write(struct proc *, void *, register_t *);
503 1.4.2.2 bouyer int linux_sys_open(struct proc *, void *, register_t *);
504 1.4.2.2 bouyer int sys_close(struct proc *, void *, register_t *);
505 1.4.2.2 bouyer int linux_sys_waitpid(struct proc *, void *, register_t *);
506 1.4.2.2 bouyer int linux_sys_creat(struct proc *, void *, register_t *);
507 1.4.2.2 bouyer int linux_sys_link(struct proc *, void *, register_t *);
508 1.4.2.2 bouyer int linux_sys_unlink(struct proc *, void *, register_t *);
509 1.4.2.2 bouyer int linux_sys_execve(struct proc *, void *, register_t *);
510 1.4.2.2 bouyer int linux_sys_chdir(struct proc *, void *, register_t *);
511 1.4.2.2 bouyer int linux_sys_time(struct proc *, void *, register_t *);
512 1.4.2.2 bouyer int linux_sys_mknod(struct proc *, void *, register_t *);
513 1.4.2.2 bouyer int linux_sys_chmod(struct proc *, void *, register_t *);
514 1.4.2.2 bouyer int linux_sys_lchown(struct proc *, void *, register_t *);
515 1.4.2.2 bouyer int compat_43_sys_lseek(struct proc *, void *, register_t *);
516 1.4.2.2 bouyer int sys_getpid(struct proc *, void *, register_t *);
517 1.4.2.2 bouyer int sys_setuid(struct proc *, void *, register_t *);
518 1.4.2.2 bouyer int sys_getuid(struct proc *, void *, register_t *);
519 1.4.2.2 bouyer int linux_sys_stime(struct proc *, void *, register_t *);
520 1.4.2.2 bouyer int linux_sys_ptrace(struct proc *, void *, register_t *);
521 1.4.2.2 bouyer int linux_sys_alarm(struct proc *, void *, register_t *);
522 1.4.2.2 bouyer int linux_sys_pause(struct proc *, void *, register_t *);
523 1.4.2.2 bouyer int linux_sys_utime(struct proc *, void *, register_t *);
524 1.4.2.2 bouyer int linux_sys_access(struct proc *, void *, register_t *);
525 1.4.2.2 bouyer int linux_sys_nice(struct proc *, void *, register_t *);
526 1.4.2.2 bouyer int sys_sync(struct proc *, void *, register_t *);
527 1.4.2.2 bouyer int linux_sys_kill(struct proc *, void *, register_t *);
528 1.4.2.2 bouyer int linux_sys_rename(struct proc *, void *, register_t *);
529 1.4.2.2 bouyer int linux_sys_mkdir(struct proc *, void *, register_t *);
530 1.4.2.2 bouyer int linux_sys_rmdir(struct proc *, void *, register_t *);
531 1.4.2.2 bouyer int sys_dup(struct proc *, void *, register_t *);
532 1.4.2.2 bouyer int linux_sys_pipe(struct proc *, void *, register_t *);
533 1.4.2.2 bouyer int linux_sys_times(struct proc *, void *, register_t *);
534 1.4.2.2 bouyer int linux_sys_brk(struct proc *, void *, register_t *);
535 1.4.2.2 bouyer int sys_setgid(struct proc *, void *, register_t *);
536 1.4.2.2 bouyer int sys_getgid(struct proc *, void *, register_t *);
537 1.4.2.2 bouyer int linux_sys_signal(struct proc *, void *, register_t *);
538 1.4.2.2 bouyer int sys_geteuid(struct proc *, void *, register_t *);
539 1.4.2.2 bouyer int sys_getegid(struct proc *, void *, register_t *);
540 1.4.2.2 bouyer int sys_acct(struct proc *, void *, register_t *);
541 1.4.2.2 bouyer int linux_sys_ioctl(struct proc *, void *, register_t *);
542 1.4.2.2 bouyer int linux_sys_fcntl(struct proc *, void *, register_t *);
543 1.4.2.2 bouyer int sys_setpgid(struct proc *, void *, register_t *);
544 1.4.2.2 bouyer int linux_sys_olduname(struct proc *, void *, register_t *);
545 1.4.2.2 bouyer int sys_umask(struct proc *, void *, register_t *);
546 1.4.2.2 bouyer int sys_chroot(struct proc *, void *, register_t *);
547 1.4.2.2 bouyer int sys_dup2(struct proc *, void *, register_t *);
548 1.4.2.2 bouyer int sys_getppid(struct proc *, void *, register_t *);
549 1.4.2.2 bouyer int sys_getpgrp(struct proc *, void *, register_t *);
550 1.4.2.2 bouyer int sys_setsid(struct proc *, void *, register_t *);
551 1.4.2.2 bouyer int linux_sys_sigaction(struct proc *, void *, register_t *);
552 1.4.2.2 bouyer int linux_sys_siggetmask(struct proc *, void *, register_t *);
553 1.4.2.2 bouyer int linux_sys_sigsetmask(struct proc *, void *, register_t *);
554 1.4.2.2 bouyer int sys_setreuid(struct proc *, void *, register_t *);
555 1.4.2.2 bouyer int sys_setregid(struct proc *, void *, register_t *);
556 1.4.2.2 bouyer int linux_sys_sigsuspend(struct proc *, void *, register_t *);
557 1.4.2.2 bouyer int linux_sys_sigpending(struct proc *, void *, register_t *);
558 1.4.2.2 bouyer int compat_43_sys_sethostname(struct proc *, void *, register_t *);
559 1.4.2.2 bouyer int compat_43_sys_setrlimit(struct proc *, void *, register_t *);
560 1.4.2.2 bouyer int compat_43_sys_getrlimit(struct proc *, void *, register_t *);
561 1.4.2.2 bouyer int sys_getrusage(struct proc *, void *, register_t *);
562 1.4.2.2 bouyer int sys_gettimeofday(struct proc *, void *, register_t *);
563 1.4.2.2 bouyer int sys_settimeofday(struct proc *, void *, register_t *);
564 1.4.2.2 bouyer int sys_getgroups(struct proc *, void *, register_t *);
565 1.4.2.2 bouyer int sys_setgroups(struct proc *, void *, register_t *);
566 1.4.2.2 bouyer int linux_sys_select(struct proc *, void *, register_t *);
567 1.4.2.2 bouyer int linux_sys_symlink(struct proc *, void *, register_t *);
568 1.4.2.2 bouyer int compat_43_sys_lstat(struct proc *, void *, register_t *);
569 1.4.2.2 bouyer int linux_sys_readlink(struct proc *, void *, register_t *);
570 1.4.2.2 bouyer int linux_sys_uselib(struct proc *, void *, register_t *);
571 1.4.2.2 bouyer int linux_sys_swapon(struct proc *, void *, register_t *);
572 1.4.2.2 bouyer int linux_sys_reboot(struct proc *, void *, register_t *);
573 1.4.2.2 bouyer int linux_sys_readdir(struct proc *, void *, register_t *);
574 1.4.2.2 bouyer int linux_sys_powerpc_mmap(struct proc *, void *, register_t *);
575 1.4.2.2 bouyer int sys_munmap(struct proc *, void *, register_t *);
576 1.4.2.2 bouyer int linux_sys_truncate(struct proc *, void *, register_t *);
577 1.4.2.2 bouyer int compat_43_sys_ftruncate(struct proc *, void *, register_t *);
578 1.4.2.2 bouyer int sys_fchmod(struct proc *, void *, register_t *);
579 1.4.2.2 bouyer int sys___posix_fchown(struct proc *, void *, register_t *);
580 1.4.2.2 bouyer int sys_getpriority(struct proc *, void *, register_t *);
581 1.4.2.2 bouyer int sys_setpriority(struct proc *, void *, register_t *);
582 1.4.2.2 bouyer int sys_profil(struct proc *, void *, register_t *);
583 1.4.2.2 bouyer int linux_sys_statfs(struct proc *, void *, register_t *);
584 1.4.2.2 bouyer int linux_sys_fstatfs(struct proc *, void *, register_t *);
585 1.4.2.2 bouyer int linux_sys_ioperm(struct proc *, void *, register_t *);
586 1.4.2.2 bouyer int linux_sys_socketcall(struct proc *, void *, register_t *);
587 1.4.2.2 bouyer int sys_setitimer(struct proc *, void *, register_t *);
588 1.4.2.2 bouyer int sys_getitimer(struct proc *, void *, register_t *);
589 1.4.2.2 bouyer int linux_sys_stat(struct proc *, void *, register_t *);
590 1.4.2.2 bouyer int linux_sys_lstat(struct proc *, void *, register_t *);
591 1.4.2.2 bouyer int linux_sys_fstat(struct proc *, void *, register_t *);
592 1.4.2.2 bouyer int linux_sys_uname(struct proc *, void *, register_t *);
593 1.4.2.2 bouyer int linux_sys_wait4(struct proc *, void *, register_t *);
594 1.4.2.2 bouyer int linux_sys_swapoff(struct proc *, void *, register_t *);
595 1.4.2.2 bouyer int linux_sys_sysinfo(struct proc *, void *, register_t *);
596 1.4.2.2 bouyer int linux_sys_ipc(struct proc *, void *, register_t *);
597 1.4.2.2 bouyer int sys_fsync(struct proc *, void *, register_t *);
598 1.4.2.2 bouyer int linux_sys_sigreturn(struct proc *, void *, register_t *);
599 1.4.2.2 bouyer int linux_sys_clone(struct proc *, void *, register_t *);
600 1.4.2.2 bouyer int linux_sys_setdomainname(struct proc *, void *, register_t *);
601 1.4.2.2 bouyer int linux_sys_new_uname(struct proc *, void *, register_t *);
602 1.4.2.2 bouyer int sys_mprotect(struct proc *, void *, register_t *);
603 1.4.2.2 bouyer int linux_sys_sigprocmask(struct proc *, void *, register_t *);
604 1.4.2.2 bouyer int linux_sys_getpgid(struct proc *, void *, register_t *);
605 1.4.2.2 bouyer int sys_fchdir(struct proc *, void *, register_t *);
606 1.4.2.2 bouyer int linux_sys_personality(struct proc *, void *, register_t *);
607 1.4.2.2 bouyer int linux_sys_setfsuid(struct proc *, void *, register_t *);
608 1.4.2.2 bouyer int linux_sys_getfsuid(struct proc *, void *, register_t *);
609 1.4.2.2 bouyer int linux_sys_llseek(struct proc *, void *, register_t *);
610 1.4.2.2 bouyer int linux_sys_getdents(struct proc *, void *, register_t *);
611 1.4.2.2 bouyer int linux_sys_new_select(struct proc *, void *, register_t *);
612 1.4.2.2 bouyer int sys_flock(struct proc *, void *, register_t *);
613 1.4.2.2 bouyer int linux_sys_msync(struct proc *, void *, register_t *);
614 1.4.2.2 bouyer int sys_readv(struct proc *, void *, register_t *);
615 1.4.2.2 bouyer int sys_writev(struct proc *, void *, register_t *);
616 1.4.2.2 bouyer int sys_getsid(struct proc *, void *, register_t *);
617 1.4.2.2 bouyer int linux_sys_fdatasync(struct proc *, void *, register_t *);
618 1.4.2.2 bouyer int linux_sys___sysctl(struct proc *, void *, register_t *);
619 1.4.2.2 bouyer int sys_mlock(struct proc *, void *, register_t *);
620 1.4.2.2 bouyer int sys_munlock(struct proc *, void *, register_t *);
621 1.4.2.2 bouyer int sys_mlockall(struct proc *, void *, register_t *);
622 1.4.2.2 bouyer int sys_munlockall(struct proc *, void *, register_t *);
623 1.4.2.2 bouyer int linux_sys_sched_setparam(struct proc *, void *, register_t *);
624 1.4.2.2 bouyer int linux_sys_sched_getparam(struct proc *, void *, register_t *);
625 1.4.2.2 bouyer int linux_sys_sched_setscheduler(struct proc *, void *, register_t *);
626 1.4.2.2 bouyer int linux_sys_sched_getscheduler(struct proc *, void *, register_t *);
627 1.4.2.2 bouyer int linux_sys_sched_yield(struct proc *, void *, register_t *);
628 1.4.2.2 bouyer int linux_sys_sched_get_priority_max(struct proc *, void *, register_t *);
629 1.4.2.2 bouyer int linux_sys_sched_get_priority_min(struct proc *, void *, register_t *);
630 1.4.2.2 bouyer int sys_nanosleep(struct proc *, void *, register_t *);
631 1.4.2.2 bouyer int linux_sys_mremap(struct proc *, void *, register_t *);
632 1.4.2.2 bouyer int linux_sys_setresuid(struct proc *, void *, register_t *);
633 1.4.2.2 bouyer int linux_sys_getresuid(struct proc *, void *, register_t *);
634 1.4.2.2 bouyer int sys_poll(struct proc *, void *, register_t *);
635 1.4.2.2 bouyer int linux_sys_setresgid(struct proc *, void *, register_t *);
636 1.4.2.2 bouyer int linux_sys_getresgid(struct proc *, void *, register_t *);
637 1.4.2.2 bouyer int linux_sys_rt_sigreturn(struct proc *, void *, register_t *);
638 1.4.2.2 bouyer int linux_sys_rt_sigaction(struct proc *, void *, register_t *);
639 1.4.2.2 bouyer int linux_sys_rt_sigprocmask(struct proc *, void *, register_t *);
640 1.4.2.2 bouyer int linux_sys_rt_sigpending(struct proc *, void *, register_t *);
641 1.4.2.2 bouyer int linux_sys_rt_queueinfo(struct proc *, void *, register_t *);
642 1.4.2.2 bouyer int linux_sys_rt_sigsuspend(struct proc *, void *, register_t *);
643 1.4.2.2 bouyer int linux_sys_pread(struct proc *, void *, register_t *);
644 1.4.2.2 bouyer int linux_sys_pwrite(struct proc *, void *, register_t *);
645 1.4.2.2 bouyer int linux_sys_chown(struct proc *, void *, register_t *);
646 1.4.2.2 bouyer int sys___getcwd(struct proc *, void *, register_t *);
647 1.4.2.2 bouyer int linux_sys_sigaltstack(struct proc *, void *, register_t *);
648 1.4.2.2 bouyer int sys___vfork14(struct proc *, void *, register_t *);
649 1.4.2.2 bouyer #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
650