linux32_syscallargs.h revision 1.58.2.1 1 1.49 pooka /* $NetBSD: linux32_syscallargs.h,v 1.58.2.1 2010/08/17 06:45:50 uebayasi Exp $ */
2 1.1 manu
3 1.1 manu /*
4 1.1 manu * System call argument lists.
5 1.1 manu *
6 1.1 manu * DO NOT EDIT-- this file is automatically generated.
7 1.58.2.1 uebayasi * created from NetBSD: syscalls.master,v 1.56 2010/07/07 01:30:35 chs Exp
8 1.1 manu */
9 1.1 manu
10 1.1 manu #ifndef _LINUX32_SYS_SYSCALLARGS_H_
11 1.1 manu #define _LINUX32_SYS_SYSCALLARGS_H_
12 1.1 manu
13 1.22 christos #define LINUX32_SYS_MAXSYSARGS 8
14 1.22 christos
15 1.1 manu #undef syscallarg
16 1.1 manu #define syscallarg(x) \
17 1.1 manu union { \
18 1.1 manu register32_t pad; \
19 1.1 manu struct { x datum; } le; \
20 1.1 manu struct { /* LINTED zero array dimension */ \
21 1.1 manu int8_t pad[ /* CONSTCOND */ \
22 1.1 manu (sizeof (register32_t) < sizeof (x)) \
23 1.1 manu ? 0 \
24 1.1 manu : sizeof (register32_t) - sizeof (x)]; \
25 1.1 manu x datum; \
26 1.1 manu } be; \
27 1.1 manu }
28 1.1 manu
29 1.22 christos #undef check_syscall_args
30 1.22 christos #define check_syscall_args(call) \
31 1.22 christos typedef char call##_check_args[sizeof (struct call##_args) \
32 1.22 christos <= LINUX32_SYS_MAXSYSARGS * sizeof (register32_t) ? 1 : -1];
33 1.22 christos
34 1.58.2.1 uebayasi struct linux32_sys_exit_args {
35 1.58.2.1 uebayasi syscallarg(int) rval;
36 1.58.2.1 uebayasi };
37 1.58.2.1 uebayasi check_syscall_args(linux32_sys_exit)
38 1.24 dsl
39 1.24 dsl struct netbsd32_read_args;
40 1.24 dsl
41 1.24 dsl struct netbsd32_write_args;
42 1.24 dsl
43 1.1 manu struct linux32_sys_open_args {
44 1.41 njoly syscallarg(netbsd32_charp) path;
45 1.1 manu syscallarg(int) flags;
46 1.1 manu syscallarg(int) mode;
47 1.1 manu };
48 1.22 christos check_syscall_args(linux32_sys_open)
49 1.1 manu
50 1.24 dsl struct netbsd32_close_args;
51 1.24 dsl
52 1.1 manu struct linux32_sys_waitpid_args {
53 1.1 manu syscallarg(int) pid;
54 1.1 manu syscallarg(netbsd32_intp) status;
55 1.1 manu syscallarg(int) options;
56 1.1 manu };
57 1.22 christos check_syscall_args(linux32_sys_waitpid)
58 1.1 manu
59 1.1 manu struct linux32_sys_creat_args {
60 1.41 njoly syscallarg(netbsd32_charp) path;
61 1.1 manu syscallarg(int) mode;
62 1.1 manu };
63 1.22 christos check_syscall_args(linux32_sys_creat)
64 1.1 manu
65 1.24 dsl struct netbsd32_link_args;
66 1.24 dsl
67 1.1 manu struct linux32_sys_unlink_args {
68 1.41 njoly syscallarg(netbsd32_charp) path;
69 1.1 manu };
70 1.22 christos check_syscall_args(linux32_sys_unlink)
71 1.1 manu
72 1.24 dsl struct netbsd32_execve_args;
73 1.24 dsl
74 1.24 dsl struct netbsd32_chdir_args;
75 1.24 dsl
76 1.1 manu struct linux32_sys_time_args {
77 1.1 manu syscallarg(linux32_timep_t) t;
78 1.1 manu };
79 1.22 christos check_syscall_args(linux32_sys_time)
80 1.1 manu
81 1.1 manu struct linux32_sys_mknod_args {
82 1.41 njoly syscallarg(netbsd32_charp) path;
83 1.1 manu syscallarg(int) mode;
84 1.1 manu syscallarg(int) dev;
85 1.1 manu };
86 1.22 christos check_syscall_args(linux32_sys_mknod)
87 1.1 manu
88 1.24 dsl struct netbsd32_chmod_args;
89 1.24 dsl
90 1.1 manu struct linux32_sys_lchown16_args {
91 1.41 njoly syscallarg(netbsd32_charp) path;
92 1.30 njoly syscallarg(linux32_uid16_t) uid;
93 1.30 njoly syscallarg(linux32_gid16_t) gid;
94 1.1 manu };
95 1.22 christos check_syscall_args(linux32_sys_lchown16)
96 1.1 manu
97 1.1 manu struct linux32_sys_break_args {
98 1.1 manu syscallarg(netbsd32_charp) nsize;
99 1.1 manu };
100 1.22 christos check_syscall_args(linux32_sys_break)
101 1.1 manu
102 1.24 dsl struct compat_43_netbsd32_olseek_args;
103 1.24 dsl
104 1.24 dsl struct netbsd32_setuid_args;
105 1.24 dsl
106 1.1 manu struct linux32_sys_stime_args {
107 1.1 manu syscallarg(linux32_timep_t) t;
108 1.1 manu };
109 1.22 christos check_syscall_args(linux32_sys_stime)
110 1.1 manu
111 1.38 christos struct linux32_sys_ptrace_args {
112 1.38 christos syscallarg(int) request;
113 1.38 christos syscallarg(int) pid;
114 1.38 christos syscallarg(int) addr;
115 1.38 christos syscallarg(int) data;
116 1.38 christos };
117 1.38 christos check_syscall_args(linux32_sys_ptrace)
118 1.38 christos
119 1.21 njoly struct linux32_sys_alarm_args {
120 1.21 njoly syscallarg(unsigned int) secs;
121 1.21 njoly };
122 1.22 christos check_syscall_args(linux32_sys_alarm)
123 1.21 njoly
124 1.1 manu struct linux32_sys_utime_args {
125 1.41 njoly syscallarg(netbsd32_charp) path;
126 1.1 manu syscallarg(linux32_utimbufp_t) times;
127 1.1 manu };
128 1.22 christos check_syscall_args(linux32_sys_utime)
129 1.1 manu
130 1.24 dsl struct netbsd32_access_args;
131 1.24 dsl
132 1.21 njoly struct linux32_sys_nice_args {
133 1.21 njoly syscallarg(int) incr;
134 1.21 njoly };
135 1.22 christos check_syscall_args(linux32_sys_nice)
136 1.21 njoly
137 1.1 manu struct linux32_sys_kill_args {
138 1.1 manu syscallarg(int) pid;
139 1.1 manu syscallarg(int) signum;
140 1.1 manu };
141 1.22 christos check_syscall_args(linux32_sys_kill)
142 1.1 manu
143 1.40 njoly struct netbsd32___posix_rename_args;
144 1.1 manu
145 1.24 dsl struct netbsd32_mkdir_args;
146 1.24 dsl
147 1.24 dsl struct netbsd32_rmdir_args;
148 1.24 dsl
149 1.24 dsl struct netbsd32_dup_args;
150 1.24 dsl
151 1.1 manu struct linux32_sys_pipe_args {
152 1.1 manu syscallarg(netbsd32_intp) fd;
153 1.1 manu };
154 1.22 christos check_syscall_args(linux32_sys_pipe)
155 1.1 manu
156 1.1 manu struct linux32_sys_times_args {
157 1.1 manu syscallarg(linux32_tmsp_t) tms;
158 1.1 manu };
159 1.22 christos check_syscall_args(linux32_sys_times)
160 1.1 manu
161 1.1 manu struct linux32_sys_brk_args {
162 1.1 manu syscallarg(netbsd32_charp) nsize;
163 1.1 manu };
164 1.22 christos check_syscall_args(linux32_sys_brk)
165 1.1 manu
166 1.24 dsl struct netbsd32_setgid_args;
167 1.24 dsl
168 1.1 manu struct linux32_sys_signal_args {
169 1.1 manu syscallarg(int) signum;
170 1.1 manu syscallarg(linux32_handler_t) handler;
171 1.1 manu };
172 1.22 christos check_syscall_args(linux32_sys_signal)
173 1.1 manu
174 1.24 dsl struct netbsd32_acct_args;
175 1.24 dsl
176 1.1 manu struct linux32_sys_ioctl_args {
177 1.1 manu syscallarg(int) fd;
178 1.1 manu syscallarg(netbsd32_u_long) com;
179 1.1 manu syscallarg(netbsd32_charp) data;
180 1.1 manu };
181 1.22 christos check_syscall_args(linux32_sys_ioctl)
182 1.1 manu
183 1.1 manu struct linux32_sys_fcntl_args {
184 1.1 manu syscallarg(int) fd;
185 1.1 manu syscallarg(int) cmd;
186 1.1 manu syscallarg(netbsd32_voidp) arg;
187 1.1 manu };
188 1.22 christos check_syscall_args(linux32_sys_fcntl)
189 1.1 manu
190 1.24 dsl struct netbsd32_setpgid_args;
191 1.24 dsl
192 1.1 manu struct linux32_sys_oldolduname_args {
193 1.1 manu syscallarg(linux32_oldold_utsnamep_t) up;
194 1.1 manu };
195 1.22 christos check_syscall_args(linux32_sys_oldolduname)
196 1.1 manu
197 1.24 dsl struct netbsd32_umask_args;
198 1.24 dsl
199 1.24 dsl struct netbsd32_chroot_args;
200 1.24 dsl
201 1.24 dsl struct netbsd32_dup2_args;
202 1.24 dsl
203 1.54 njoly struct linux32_sys_sigsetmask_args {
204 1.54 njoly syscallarg(linux32_old_sigset_t) mask;
205 1.54 njoly };
206 1.54 njoly check_syscall_args(linux32_sys_sigsetmask)
207 1.54 njoly
208 1.21 njoly struct linux32_sys_setreuid16_args {
209 1.30 njoly syscallarg(linux32_uid16_t) ruid;
210 1.30 njoly syscallarg(linux32_uid16_t) euid;
211 1.1 manu };
212 1.22 christos check_syscall_args(linux32_sys_setreuid16)
213 1.1 manu
214 1.21 njoly struct linux32_sys_setregid16_args {
215 1.30 njoly syscallarg(linux32_gid16_t) rgid;
216 1.30 njoly syscallarg(linux32_gid16_t) egid;
217 1.1 manu };
218 1.22 christos check_syscall_args(linux32_sys_setregid16)
219 1.1 manu
220 1.24 dsl struct compat_43_netbsd32_osethostname_args;
221 1.24 dsl
222 1.1 manu struct linux32_sys_setrlimit_args {
223 1.1 manu syscallarg(u_int) which;
224 1.1 manu syscallarg(netbsd32_orlimitp_t) rlp;
225 1.1 manu };
226 1.22 christos check_syscall_args(linux32_sys_setrlimit)
227 1.1 manu
228 1.1 manu struct linux32_sys_getrlimit_args {
229 1.1 manu syscallarg(u_int) which;
230 1.1 manu syscallarg(netbsd32_orlimitp_t) rlp;
231 1.1 manu };
232 1.22 christos check_syscall_args(linux32_sys_getrlimit)
233 1.1 manu
234 1.48 christos struct compat_50_netbsd32_getrusage_args;
235 1.24 dsl
236 1.1 manu struct linux32_sys_gettimeofday_args {
237 1.50 njoly syscallarg(netbsd32_timeval50p_t) tp;
238 1.1 manu syscallarg(netbsd32_timezonep_t) tzp;
239 1.1 manu };
240 1.22 christos check_syscall_args(linux32_sys_gettimeofday)
241 1.1 manu
242 1.1 manu struct linux32_sys_settimeofday_args {
243 1.50 njoly syscallarg(netbsd32_timeval50p_t) tp;
244 1.1 manu syscallarg(netbsd32_timezonep_t) tzp;
245 1.1 manu };
246 1.22 christos check_syscall_args(linux32_sys_settimeofday)
247 1.1 manu
248 1.1 manu struct linux32_sys_getgroups16_args {
249 1.1 manu syscallarg(int) gidsetsize;
250 1.30 njoly syscallarg(linux32_gid16p_t) gidset;
251 1.1 manu };
252 1.22 christos check_syscall_args(linux32_sys_getgroups16)
253 1.1 manu
254 1.1 manu struct linux32_sys_setgroups16_args {
255 1.1 manu syscallarg(int) gidsetsize;
256 1.30 njoly syscallarg(linux32_gid16p_t) gidset;
257 1.1 manu };
258 1.22 christos check_syscall_args(linux32_sys_setgroups16)
259 1.1 manu
260 1.1 manu struct linux32_sys_oldselect_args {
261 1.1 manu syscallarg(linux32_oldselectp_t) lsp;
262 1.1 manu };
263 1.22 christos check_syscall_args(linux32_sys_oldselect)
264 1.1 manu
265 1.24 dsl struct netbsd32_symlink_args;
266 1.24 dsl
267 1.24 dsl struct compat_43_netbsd32_lstat43_args;
268 1.24 dsl
269 1.24 dsl struct netbsd32_readlink_args;
270 1.24 dsl
271 1.1 manu struct linux32_sys_swapon_args {
272 1.1 manu syscallarg(netbsd32_charp) name;
273 1.1 manu };
274 1.22 christos check_syscall_args(linux32_sys_swapon)
275 1.1 manu
276 1.1 manu struct linux32_sys_reboot_args {
277 1.1 manu syscallarg(int) magic1;
278 1.1 manu syscallarg(int) magic2;
279 1.1 manu syscallarg(int) cmd;
280 1.1 manu syscallarg(netbsd32_voidp) arg;
281 1.1 manu };
282 1.22 christos check_syscall_args(linux32_sys_reboot)
283 1.1 manu
284 1.28 njoly struct linux32_sys_readdir_args {
285 1.28 njoly syscallarg(int) fd;
286 1.28 njoly syscallarg(netbsd32_voidp) dent;
287 1.28 njoly syscallarg(unsigned int) count;
288 1.28 njoly };
289 1.28 njoly check_syscall_args(linux32_sys_readdir)
290 1.28 njoly
291 1.1 manu struct linux32_sys_old_mmap_args {
292 1.1 manu syscallarg(linux32_oldmmapp) lmp;
293 1.1 manu };
294 1.22 christos check_syscall_args(linux32_sys_old_mmap)
295 1.1 manu
296 1.24 dsl struct netbsd32_munmap_args;
297 1.24 dsl
298 1.40 njoly struct compat_43_netbsd32_otruncate_args;
299 1.1 manu
300 1.24 dsl struct compat_43_netbsd32_oftruncate_args;
301 1.24 dsl
302 1.24 dsl struct netbsd32_fchmod_args;
303 1.24 dsl
304 1.1 manu struct linux32_sys_fchown16_args {
305 1.1 manu syscallarg(int) fd;
306 1.30 njoly syscallarg(linux32_uid16_t) uid;
307 1.30 njoly syscallarg(linux32_gid16_t) gid;
308 1.1 manu };
309 1.22 christos check_syscall_args(linux32_sys_fchown16)
310 1.1 manu
311 1.4 manu struct linux32_sys_getpriority_args {
312 1.4 manu syscallarg(int) which;
313 1.4 manu syscallarg(int) who;
314 1.4 manu };
315 1.22 christos check_syscall_args(linux32_sys_getpriority)
316 1.4 manu
317 1.40 njoly struct netbsd32_setpriority_args;
318 1.4 manu
319 1.16 njoly struct linux32_sys_statfs_args {
320 1.41 njoly syscallarg(netbsd32_charp) path;
321 1.16 njoly syscallarg(linux32_statfsp) sp;
322 1.16 njoly };
323 1.22 christos check_syscall_args(linux32_sys_statfs)
324 1.16 njoly
325 1.56 njoly struct linux32_sys_fstatfs_args {
326 1.56 njoly syscallarg(int) fd;
327 1.56 njoly syscallarg(linux32_statfsp) sp;
328 1.56 njoly };
329 1.56 njoly check_syscall_args(linux32_sys_fstatfs)
330 1.56 njoly
331 1.1 manu struct linux32_sys_socketcall_args {
332 1.1 manu syscallarg(int) what;
333 1.1 manu syscallarg(netbsd32_voidp) args;
334 1.1 manu };
335 1.22 christos check_syscall_args(linux32_sys_socketcall)
336 1.1 manu
337 1.48 christos struct compat_50_netbsd32_setitimer_args;
338 1.24 dsl
339 1.48 christos struct compat_50_netbsd32_getitimer_args;
340 1.24 dsl
341 1.55 njoly struct linux32_sys_stat_args {
342 1.55 njoly syscallarg(netbsd32_charp) path;
343 1.55 njoly syscallarg(linux32_statp) sp;
344 1.55 njoly };
345 1.55 njoly check_syscall_args(linux32_sys_stat)
346 1.55 njoly
347 1.55 njoly struct linux32_sys_lstat_args {
348 1.55 njoly syscallarg(netbsd32_charp) path;
349 1.55 njoly syscallarg(linux32_statp) sp;
350 1.55 njoly };
351 1.55 njoly check_syscall_args(linux32_sys_lstat)
352 1.55 njoly
353 1.55 njoly struct linux32_sys_fstat_args {
354 1.55 njoly syscallarg(int) fd;
355 1.55 njoly syscallarg(linux32_statp) sp;
356 1.55 njoly };
357 1.55 njoly check_syscall_args(linux32_sys_fstat)
358 1.55 njoly
359 1.27 njoly struct linux32_sys_olduname_args {
360 1.27 njoly syscallarg(linux32_oldutsnamep_t) up;
361 1.27 njoly };
362 1.27 njoly check_syscall_args(linux32_sys_olduname)
363 1.27 njoly
364 1.1 manu struct linux32_sys_wait4_args {
365 1.1 manu syscallarg(int) pid;
366 1.1 manu syscallarg(netbsd32_intp) status;
367 1.1 manu syscallarg(int) options;
368 1.51 njoly syscallarg(netbsd32_rusage50p_t) rusage;
369 1.1 manu };
370 1.22 christos check_syscall_args(linux32_sys_wait4)
371 1.1 manu
372 1.1 manu struct linux32_sys_swapoff_args {
373 1.41 njoly syscallarg(netbsd32_charp) path;
374 1.1 manu };
375 1.22 christos check_syscall_args(linux32_sys_swapoff)
376 1.1 manu
377 1.10 manu struct linux32_sys_sysinfo_args {
378 1.10 manu syscallarg(linux32_sysinfop_t) arg;
379 1.10 manu };
380 1.22 christos check_syscall_args(linux32_sys_sysinfo)
381 1.10 manu
382 1.37 njoly struct linux32_sys_ipc_args {
383 1.37 njoly syscallarg(int) what;
384 1.37 njoly syscallarg(int) a1;
385 1.37 njoly syscallarg(int) a2;
386 1.37 njoly syscallarg(int) a3;
387 1.37 njoly syscallarg(netbsd32_voidp) ptr;
388 1.37 njoly };
389 1.37 njoly check_syscall_args(linux32_sys_ipc)
390 1.37 njoly
391 1.24 dsl struct netbsd32_fsync_args;
392 1.24 dsl
393 1.1 manu struct linux32_sys_sigreturn_args {
394 1.1 manu syscallarg(linux32_sigcontextp_t) scp;
395 1.1 manu };
396 1.22 christos check_syscall_args(linux32_sys_sigreturn)
397 1.1 manu
398 1.1 manu struct linux32_sys_clone_args {
399 1.1 manu syscallarg(int) flags;
400 1.1 manu syscallarg(netbsd32_voidp) stack;
401 1.58.2.1 uebayasi syscallarg(netbsd32_voidp) parent_tidptr;
402 1.58.2.1 uebayasi syscallarg(netbsd32_voidp) tls;
403 1.58.2.1 uebayasi syscallarg(netbsd32_voidp) child_tidptr;
404 1.1 manu };
405 1.22 christos check_syscall_args(linux32_sys_clone)
406 1.1 manu
407 1.1 manu struct linux32_sys_uname_args {
408 1.1 manu syscallarg(linux32_utsnamep) up;
409 1.1 manu };
410 1.22 christos check_syscall_args(linux32_sys_uname)
411 1.1 manu
412 1.1 manu struct linux32_sys_mprotect_args {
413 1.24 dsl syscallarg(netbsd32_voidp) start;
414 1.1 manu syscallarg(netbsd32_size_t) len;
415 1.1 manu syscallarg(int) prot;
416 1.1 manu };
417 1.22 christos check_syscall_args(linux32_sys_mprotect)
418 1.1 manu
419 1.26 njoly struct netbsd32_getpgid_args;
420 1.26 njoly
421 1.24 dsl struct netbsd32_fchdir_args;
422 1.24 dsl
423 1.52 njoly struct linux32_sys_personality_args {
424 1.58 njoly syscallarg(netbsd32_u_long) per;
425 1.52 njoly };
426 1.52 njoly check_syscall_args(linux32_sys_personality)
427 1.52 njoly
428 1.24 dsl struct linux32_sys_setfsuid_args;
429 1.24 dsl
430 1.25 njoly struct linux32_sys_setfsgid_args;
431 1.25 njoly
432 1.1 manu struct linux32_sys_llseek_args {
433 1.1 manu syscallarg(int) fd;
434 1.1 manu syscallarg(u_int32_t) ohigh;
435 1.1 manu syscallarg(u_int32_t) olow;
436 1.46 njoly syscallarg(netbsd32_voidp) res;
437 1.1 manu syscallarg(int) whence;
438 1.1 manu };
439 1.22 christos check_syscall_args(linux32_sys_llseek)
440 1.1 manu
441 1.1 manu struct linux32_sys_getdents_args {
442 1.1 manu syscallarg(int) fd;
443 1.1 manu syscallarg(linux32_direntp_t) dent;
444 1.1 manu syscallarg(unsigned int) count;
445 1.1 manu };
446 1.22 christos check_syscall_args(linux32_sys_getdents)
447 1.1 manu
448 1.1 manu struct linux32_sys_select_args {
449 1.1 manu syscallarg(int) nfds;
450 1.1 manu syscallarg(netbsd32_fd_setp_t) readfds;
451 1.1 manu syscallarg(netbsd32_fd_setp_t) writefds;
452 1.1 manu syscallarg(netbsd32_fd_setp_t) exceptfds;
453 1.50 njoly syscallarg(netbsd32_timeval50p_t) timeout;
454 1.1 manu };
455 1.22 christos check_syscall_args(linux32_sys_select)
456 1.1 manu
457 1.24 dsl struct netbsd32_flock_args;
458 1.24 dsl
459 1.35 njoly struct netbsd32___msync13_args;
460 1.35 njoly
461 1.24 dsl struct netbsd32_readv_args;
462 1.24 dsl
463 1.24 dsl struct netbsd32_writev_args;
464 1.24 dsl
465 1.24 dsl struct netbsd32_getsid_args;
466 1.24 dsl
467 1.21 njoly struct linux32_sys_fdatasync_args {
468 1.21 njoly syscallarg(int) fd;
469 1.21 njoly };
470 1.22 christos check_syscall_args(linux32_sys_fdatasync)
471 1.21 njoly
472 1.1 manu struct linux32_sys___sysctl_args {
473 1.1 manu syscallarg(linux32___sysctlp_t) lsp;
474 1.1 manu };
475 1.22 christos check_syscall_args(linux32_sys___sysctl)
476 1.1 manu
477 1.34 njoly struct netbsd32_mlock_args;
478 1.34 njoly
479 1.34 njoly struct netbsd32_munlock_args;
480 1.34 njoly
481 1.24 dsl struct netbsd32_mlockall_args;
482 1.24 dsl
483 1.58.2.1 uebayasi struct linux32_sys_sched_setparam_args {
484 1.58.2.1 uebayasi syscallarg(pid_t) pid;
485 1.58.2.1 uebayasi syscallarg(const linux32_sched_paramp_t) sp;
486 1.58.2.1 uebayasi };
487 1.58.2.1 uebayasi check_syscall_args(linux32_sys_sched_setparam)
488 1.58.2.1 uebayasi
489 1.10 manu struct linux32_sys_sched_getparam_args {
490 1.10 manu syscallarg(pid_t) pid;
491 1.10 manu syscallarg(linux32_sched_paramp_t) sp;
492 1.10 manu };
493 1.22 christos check_syscall_args(linux32_sys_sched_getparam)
494 1.10 manu
495 1.1 manu struct linux32_sys_sched_setscheduler_args {
496 1.1 manu syscallarg(pid_t) pid;
497 1.1 manu syscallarg(int) policy;
498 1.41 njoly syscallarg(linux32_sched_paramp_t) sp;
499 1.1 manu };
500 1.22 christos check_syscall_args(linux32_sys_sched_setscheduler)
501 1.1 manu
502 1.21 njoly struct linux32_sys_sched_getscheduler_args {
503 1.21 njoly syscallarg(pid_t) pid;
504 1.21 njoly };
505 1.22 christos check_syscall_args(linux32_sys_sched_getscheduler)
506 1.21 njoly
507 1.44 njoly struct linux32_sys_sched_get_priority_max_args {
508 1.44 njoly syscallarg(int) policy;
509 1.44 njoly };
510 1.44 njoly check_syscall_args(linux32_sys_sched_get_priority_max)
511 1.44 njoly
512 1.44 njoly struct linux32_sys_sched_get_priority_min_args {
513 1.44 njoly syscallarg(int) policy;
514 1.44 njoly };
515 1.44 njoly check_syscall_args(linux32_sys_sched_get_priority_min)
516 1.44 njoly
517 1.42 njoly struct linux32_sys_nanosleep_args {
518 1.42 njoly syscallarg(linux32_timespecp_t) rqtp;
519 1.42 njoly syscallarg(linux32_timespecp_t) rmtp;
520 1.42 njoly };
521 1.42 njoly check_syscall_args(linux32_sys_nanosleep)
522 1.24 dsl
523 1.10 manu struct linux32_sys_mremap_args {
524 1.10 manu syscallarg(netbsd32_voidp) old_address;
525 1.10 manu syscallarg(netbsd32_size_t) old_size;
526 1.10 manu syscallarg(netbsd32_size_t) new_size;
527 1.10 manu syscallarg(netbsd32_u_long) flags;
528 1.10 manu };
529 1.22 christos check_syscall_args(linux32_sys_mremap)
530 1.10 manu
531 1.21 njoly struct linux32_sys_setresuid16_args {
532 1.30 njoly syscallarg(linux32_uid16_t) ruid;
533 1.30 njoly syscallarg(linux32_uid16_t) euid;
534 1.30 njoly syscallarg(linux32_uid16_t) suid;
535 1.21 njoly };
536 1.22 christos check_syscall_args(linux32_sys_setresuid16)
537 1.21 njoly
538 1.30 njoly struct linux32_sys_getresuid16_args {
539 1.30 njoly syscallarg(linux32_uid16p_t) ruid;
540 1.30 njoly syscallarg(linux32_uid16p_t) euid;
541 1.30 njoly syscallarg(linux32_uid16p_t) suid;
542 1.30 njoly };
543 1.30 njoly check_syscall_args(linux32_sys_getresuid16)
544 1.30 njoly
545 1.24 dsl struct netbsd32_poll_args;
546 1.24 dsl
547 1.21 njoly struct linux32_sys_setresgid16_args {
548 1.30 njoly syscallarg(linux32_gid16_t) rgid;
549 1.30 njoly syscallarg(linux32_gid16_t) egid;
550 1.30 njoly syscallarg(linux32_gid16_t) sgid;
551 1.21 njoly };
552 1.22 christos check_syscall_args(linux32_sys_setresgid16)
553 1.21 njoly
554 1.30 njoly struct linux32_sys_getresgid16_args {
555 1.30 njoly syscallarg(linux32_gid16p_t) rgid;
556 1.30 njoly syscallarg(linux32_gid16p_t) egid;
557 1.30 njoly syscallarg(linux32_gid16p_t) sgid;
558 1.30 njoly };
559 1.30 njoly check_syscall_args(linux32_sys_getresgid16)
560 1.30 njoly
561 1.1 manu struct linux32_sys_rt_sigreturn_args {
562 1.1 manu syscallarg(linux32_ucontextp_t) ucp;
563 1.1 manu };
564 1.22 christos check_syscall_args(linux32_sys_rt_sigreturn)
565 1.1 manu
566 1.1 manu struct linux32_sys_rt_sigaction_args {
567 1.1 manu syscallarg(int) signum;
568 1.41 njoly syscallarg(linux32_sigactionp_t) nsa;
569 1.1 manu syscallarg(linux32_sigactionp_t) osa;
570 1.1 manu syscallarg(netbsd32_size_t) sigsetsize;
571 1.1 manu };
572 1.22 christos check_syscall_args(linux32_sys_rt_sigaction)
573 1.1 manu
574 1.1 manu struct linux32_sys_rt_sigprocmask_args {
575 1.1 manu syscallarg(int) how;
576 1.41 njoly syscallarg(linux32_sigsetp_t) set;
577 1.1 manu syscallarg(linux32_sigsetp_t) oset;
578 1.1 manu syscallarg(netbsd32_size_t) sigsetsize;
579 1.1 manu };
580 1.22 christos check_syscall_args(linux32_sys_rt_sigprocmask)
581 1.1 manu
582 1.39 njoly struct linux32_sys_rt_sigpending_args {
583 1.39 njoly syscallarg(linux32_sigsetp_t) set;
584 1.39 njoly syscallarg(netbsd32_size_t) sigsetsize;
585 1.39 njoly };
586 1.39 njoly check_syscall_args(linux32_sys_rt_sigpending)
587 1.39 njoly
588 1.57 njoly struct linux32_sys_rt_queueinfo_args {
589 1.57 njoly syscallarg(int) pid;
590 1.57 njoly syscallarg(int) sig;
591 1.57 njoly syscallarg(linux32_siginfop_t) uinfo;
592 1.57 njoly };
593 1.57 njoly check_syscall_args(linux32_sys_rt_queueinfo)
594 1.57 njoly
595 1.1 manu struct linux32_sys_rt_sigsuspend_args {
596 1.1 manu syscallarg(linux32_sigsetp_t) unewset;
597 1.1 manu syscallarg(netbsd32_size_t) sigsetsize;
598 1.1 manu };
599 1.22 christos check_syscall_args(linux32_sys_rt_sigsuspend)
600 1.1 manu
601 1.31 dsl struct linux32_sys_pread_args {
602 1.31 dsl syscallarg(int) fd;
603 1.33 njoly syscallarg(netbsd32_voidp) buf;
604 1.31 dsl syscallarg(netbsd32_size_t) nbyte;
605 1.33 njoly syscallarg(linux32_off_t) offset;
606 1.31 dsl };
607 1.31 dsl check_syscall_args(linux32_sys_pread)
608 1.31 dsl
609 1.31 dsl struct linux32_sys_pwrite_args {
610 1.31 dsl syscallarg(int) fd;
611 1.41 njoly syscallarg(netbsd32_voidp) buf;
612 1.31 dsl syscallarg(netbsd32_size_t) nbyte;
613 1.33 njoly syscallarg(linux32_off_t) offset;
614 1.31 dsl };
615 1.31 dsl check_syscall_args(linux32_sys_pwrite)
616 1.31 dsl
617 1.18 njoly struct linux32_sys_chown16_args {
618 1.41 njoly syscallarg(netbsd32_charp) path;
619 1.30 njoly syscallarg(linux32_uid16_t) uid;
620 1.30 njoly syscallarg(linux32_gid16_t) gid;
621 1.18 njoly };
622 1.22 christos check_syscall_args(linux32_sys_chown16)
623 1.18 njoly
624 1.24 dsl struct netbsd32___getcwd_args;
625 1.24 dsl
626 1.1 manu struct linux32_sys_ugetrlimit_args {
627 1.1 manu syscallarg(int) which;
628 1.1 manu syscallarg(netbsd32_orlimitp_t) rlp;
629 1.1 manu };
630 1.22 christos check_syscall_args(linux32_sys_ugetrlimit)
631 1.1 manu
632 1.10 manu struct linux32_sys_mmap2_args {
633 1.10 manu syscallarg(netbsd32_u_long) addr;
634 1.10 manu syscallarg(netbsd32_size_t) len;
635 1.10 manu syscallarg(int) prot;
636 1.10 manu syscallarg(int) flags;
637 1.10 manu syscallarg(int) fd;
638 1.10 manu syscallarg(linux32_off_t) offset;
639 1.10 manu };
640 1.22 christos check_syscall_args(linux32_sys_mmap2)
641 1.10 manu
642 1.1 manu struct linux32_sys_stat64_args {
643 1.41 njoly syscallarg(netbsd32_charp) path;
644 1.1 manu syscallarg(linux32_stat64p) sp;
645 1.1 manu };
646 1.22 christos check_syscall_args(linux32_sys_stat64)
647 1.1 manu
648 1.1 manu struct linux32_sys_lstat64_args {
649 1.41 njoly syscallarg(netbsd32_charp) path;
650 1.1 manu syscallarg(linux32_stat64p) sp;
651 1.1 manu };
652 1.22 christos check_syscall_args(linux32_sys_lstat64)
653 1.1 manu
654 1.1 manu struct linux32_sys_fstat64_args {
655 1.1 manu syscallarg(int) fd;
656 1.1 manu syscallarg(linux32_stat64p) sp;
657 1.1 manu };
658 1.22 christos check_syscall_args(linux32_sys_fstat64)
659 1.1 manu
660 1.24 dsl struct netbsd32___posix_lchown_args;
661 1.24 dsl
662 1.24 dsl struct netbsd32_setreuid_args;
663 1.24 dsl
664 1.24 dsl struct netbsd32_setregid_args;
665 1.24 dsl
666 1.24 dsl struct netbsd32_getgroups_args;
667 1.24 dsl
668 1.24 dsl struct netbsd32_setgroups_args;
669 1.24 dsl
670 1.24 dsl struct netbsd32___posix_fchown_args;
671 1.24 dsl
672 1.8 manu struct linux32_sys_setresuid_args {
673 1.8 manu syscallarg(uid_t) ruid;
674 1.8 manu syscallarg(uid_t) euid;
675 1.8 manu syscallarg(uid_t) suid;
676 1.8 manu };
677 1.22 christos check_syscall_args(linux32_sys_setresuid)
678 1.8 manu
679 1.45 njoly struct linux32_sys_getresuid_args {
680 1.45 njoly syscallarg(linux32_uidp_t) ruid;
681 1.45 njoly syscallarg(linux32_uidp_t) euid;
682 1.45 njoly syscallarg(linux32_uidp_t) suid;
683 1.45 njoly };
684 1.45 njoly check_syscall_args(linux32_sys_getresuid)
685 1.45 njoly
686 1.8 manu struct linux32_sys_setresgid_args {
687 1.8 manu syscallarg(gid_t) rgid;
688 1.8 manu syscallarg(gid_t) egid;
689 1.8 manu syscallarg(gid_t) sgid;
690 1.8 manu };
691 1.22 christos check_syscall_args(linux32_sys_setresgid)
692 1.8 manu
693 1.45 njoly struct linux32_sys_getresgid_args {
694 1.45 njoly syscallarg(linux32_gidp_t) rgid;
695 1.45 njoly syscallarg(linux32_gidp_t) egid;
696 1.45 njoly syscallarg(linux32_gidp_t) sgid;
697 1.45 njoly };
698 1.45 njoly check_syscall_args(linux32_sys_getresgid)
699 1.45 njoly
700 1.24 dsl struct netbsd32___posix_chown_args;
701 1.24 dsl
702 1.24 dsl struct netbsd32_setuid_args;
703 1.24 dsl
704 1.24 dsl struct netbsd32_setgid_args;
705 1.24 dsl
706 1.21 njoly struct linux32_sys_setfsuid_args {
707 1.21 njoly syscallarg(uid_t) uid;
708 1.21 njoly };
709 1.22 christos check_syscall_args(linux32_sys_setfsuid)
710 1.21 njoly
711 1.25 njoly struct linux32_sys_setfsgid_args {
712 1.25 njoly syscallarg(gid_t) gid;
713 1.25 njoly };
714 1.25 njoly check_syscall_args(linux32_sys_setfsgid)
715 1.25 njoly
716 1.53 njoly struct netbsd32_mincore_args;
717 1.53 njoly
718 1.24 dsl struct netbsd32_madvise_args;
719 1.24 dsl
720 1.1 manu struct linux32_sys_getdents64_args {
721 1.1 manu syscallarg(int) fd;
722 1.1 manu syscallarg(linux32_dirent64p_t) dent;
723 1.1 manu syscallarg(unsigned int) count;
724 1.1 manu };
725 1.22 christos check_syscall_args(linux32_sys_getdents64)
726 1.32 dsl #define linux32_sys_fcntl64 linux32_sys_fcntl
727 1.32 dsl #define linux32_sys_fcntl64_args linux32_sys_fcntl_args
728 1.1 manu
729 1.32 dsl struct linux32_sys_fcntl64_args;
730 1.1 manu
731 1.58.2.1 uebayasi struct linux32_sys_tkill_args {
732 1.58.2.1 uebayasi syscallarg(int) tid;
733 1.58.2.1 uebayasi syscallarg(int) sig;
734 1.58.2.1 uebayasi };
735 1.58.2.1 uebayasi check_syscall_args(linux32_sys_tkill)
736 1.58.2.1 uebayasi
737 1.58.2.1 uebayasi struct linux32_sys_futex_args {
738 1.58.2.1 uebayasi syscallarg(linux32_intp_t) uaddr;
739 1.58.2.1 uebayasi syscallarg(int) op;
740 1.58.2.1 uebayasi syscallarg(int) val;
741 1.58.2.1 uebayasi syscallarg(linux32_timespecp_t) timeout;
742 1.58.2.1 uebayasi syscallarg(linux32_intp_t) uaddr2;
743 1.58.2.1 uebayasi syscallarg(int) val3;
744 1.58.2.1 uebayasi };
745 1.58.2.1 uebayasi check_syscall_args(linux32_sys_futex)
746 1.58.2.1 uebayasi
747 1.58.2.1 uebayasi struct linux32_sys_sched_setaffinity_args {
748 1.58.2.1 uebayasi syscallarg(pid_t) pid;
749 1.58.2.1 uebayasi syscallarg(unsigned int) len;
750 1.58.2.1 uebayasi syscallarg(linux32_ulongp_t) mask;
751 1.58.2.1 uebayasi };
752 1.58.2.1 uebayasi check_syscall_args(linux32_sys_sched_setaffinity)
753 1.58.2.1 uebayasi
754 1.58.2.1 uebayasi struct linux32_sys_sched_getaffinity_args {
755 1.58.2.1 uebayasi syscallarg(pid_t) pid;
756 1.58.2.1 uebayasi syscallarg(unsigned int) len;
757 1.58.2.1 uebayasi syscallarg(linux32_ulongp_t) mask;
758 1.58.2.1 uebayasi };
759 1.58.2.1 uebayasi check_syscall_args(linux32_sys_sched_getaffinity)
760 1.58.2.1 uebayasi
761 1.58.2.1 uebayasi struct linux32_sys_set_thread_area_args {
762 1.58.2.1 uebayasi syscallarg(linux32_user_descp_t) desc;
763 1.58.2.1 uebayasi };
764 1.58.2.1 uebayasi check_syscall_args(linux32_sys_set_thread_area)
765 1.58.2.1 uebayasi
766 1.58.2.1 uebayasi struct linux32_sys_get_thread_area_args {
767 1.58.2.1 uebayasi syscallarg(linux32_user_descp_t) desc;
768 1.58.2.1 uebayasi };
769 1.58.2.1 uebayasi check_syscall_args(linux32_sys_get_thread_area)
770 1.58.2.1 uebayasi
771 1.21 njoly struct linux32_sys_exit_group_args {
772 1.21 njoly syscallarg(int) error_code;
773 1.21 njoly };
774 1.22 christos check_syscall_args(linux32_sys_exit_group)
775 1.21 njoly
776 1.58.2.1 uebayasi struct linux32_sys_set_tid_address_args {
777 1.58.2.1 uebayasi syscallarg(linux32_intp_t) tid;
778 1.58.2.1 uebayasi };
779 1.58.2.1 uebayasi check_syscall_args(linux32_sys_set_tid_address)
780 1.58.2.1 uebayasi
781 1.36 njoly struct linux32_sys_clock_settime_args {
782 1.36 njoly syscallarg(clockid_t) which;
783 1.36 njoly syscallarg(linux32_timespecp_t) tp;
784 1.36 njoly };
785 1.36 njoly check_syscall_args(linux32_sys_clock_settime)
786 1.36 njoly
787 1.36 njoly struct linux32_sys_clock_gettime_args {
788 1.36 njoly syscallarg(clockid_t) which;
789 1.36 njoly syscallarg(linux32_timespecp_t) tp;
790 1.36 njoly };
791 1.36 njoly check_syscall_args(linux32_sys_clock_gettime)
792 1.36 njoly
793 1.36 njoly struct linux32_sys_clock_getres_args {
794 1.36 njoly syscallarg(clockid_t) which;
795 1.36 njoly syscallarg(linux32_timespecp_t) tp;
796 1.36 njoly };
797 1.36 njoly check_syscall_args(linux32_sys_clock_getres)
798 1.36 njoly
799 1.47 njoly struct linux32_sys_clock_nanosleep_args {
800 1.47 njoly syscallarg(clockid_t) which;
801 1.47 njoly syscallarg(int) flags;
802 1.47 njoly syscallarg(linux32_timespecp_t) rqtp;
803 1.47 njoly syscallarg(linux32_timespecp_t) rmtp;
804 1.47 njoly };
805 1.47 njoly check_syscall_args(linux32_sys_clock_nanosleep)
806 1.47 njoly
807 1.58.2.1 uebayasi struct linux32_sys_tgkill_args {
808 1.58.2.1 uebayasi syscallarg(int) tgid;
809 1.58.2.1 uebayasi syscallarg(int) tid;
810 1.58.2.1 uebayasi syscallarg(int) sig;
811 1.58.2.1 uebayasi };
812 1.58.2.1 uebayasi check_syscall_args(linux32_sys_tgkill)
813 1.58.2.1 uebayasi
814 1.58.2.1 uebayasi struct linux32_sys_set_robust_list_args {
815 1.58.2.1 uebayasi syscallarg(linux32_robust_list_headp_t) head;
816 1.58.2.1 uebayasi syscallarg(linux32_size_t) len;
817 1.58.2.1 uebayasi };
818 1.58.2.1 uebayasi check_syscall_args(linux32_sys_set_robust_list)
819 1.58.2.1 uebayasi
820 1.58.2.1 uebayasi struct linux32_sys_get_robust_list_args {
821 1.58.2.1 uebayasi syscallarg(linux32_pid_t) pid;
822 1.58.2.1 uebayasi syscallarg(linux32_robust_list_headpp_t) head;
823 1.58.2.1 uebayasi syscallarg(linux32_sizep_t) len;
824 1.58.2.1 uebayasi };
825 1.58.2.1 uebayasi check_syscall_args(linux32_sys_get_robust_list)
826 1.58.2.1 uebayasi
827 1.1 manu /*
828 1.1 manu * System call prototypes.
829 1.1 manu */
830 1.1 manu
831 1.24 dsl int linux_sys_nosys(struct lwp *, const void *, register_t *);
832 1.1 manu
833 1.58.2.1 uebayasi int linux32_sys_exit(struct lwp *, const struct linux32_sys_exit_args *, register_t *);
834 1.1 manu
835 1.24 dsl int sys_fork(struct lwp *, const void *, register_t *);
836 1.1 manu
837 1.24 dsl int netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *);
838 1.1 manu
839 1.24 dsl int netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *);
840 1.1 manu
841 1.24 dsl int linux32_sys_open(struct lwp *, const struct linux32_sys_open_args *, register_t *);
842 1.1 manu
843 1.24 dsl int netbsd32_close(struct lwp *, const struct netbsd32_close_args *, register_t *);
844 1.1 manu
845 1.24 dsl int linux32_sys_waitpid(struct lwp *, const struct linux32_sys_waitpid_args *, register_t *);
846 1.1 manu
847 1.24 dsl int linux32_sys_creat(struct lwp *, const struct linux32_sys_creat_args *, register_t *);
848 1.1 manu
849 1.24 dsl int netbsd32_link(struct lwp *, const struct netbsd32_link_args *, register_t *);
850 1.1 manu
851 1.24 dsl int linux32_sys_unlink(struct lwp *, const struct linux32_sys_unlink_args *, register_t *);
852 1.1 manu
853 1.24 dsl int netbsd32_execve(struct lwp *, const struct netbsd32_execve_args *, register_t *);
854 1.1 manu
855 1.24 dsl int netbsd32_chdir(struct lwp *, const struct netbsd32_chdir_args *, register_t *);
856 1.1 manu
857 1.24 dsl int linux32_sys_time(struct lwp *, const struct linux32_sys_time_args *, register_t *);
858 1.1 manu
859 1.24 dsl int linux32_sys_mknod(struct lwp *, const struct linux32_sys_mknod_args *, register_t *);
860 1.1 manu
861 1.24 dsl int netbsd32_chmod(struct lwp *, const struct netbsd32_chmod_args *, register_t *);
862 1.1 manu
863 1.24 dsl int linux32_sys_lchown16(struct lwp *, const struct linux32_sys_lchown16_args *, register_t *);
864 1.1 manu
865 1.24 dsl int linux32_sys_break(struct lwp *, const struct linux32_sys_break_args *, register_t *);
866 1.1 manu
867 1.24 dsl int compat_43_netbsd32_olseek(struct lwp *, const struct compat_43_netbsd32_olseek_args *, register_t *);
868 1.1 manu
869 1.58.2.1 uebayasi int sys_getpid(struct lwp *, const void *, register_t *);
870 1.1 manu
871 1.24 dsl int netbsd32_setuid(struct lwp *, const struct netbsd32_setuid_args *, register_t *);
872 1.1 manu
873 1.24 dsl int sys_getuid(struct lwp *, const void *, register_t *);
874 1.1 manu
875 1.24 dsl int linux32_sys_stime(struct lwp *, const struct linux32_sys_stime_args *, register_t *);
876 1.1 manu
877 1.38 christos int linux32_sys_ptrace(struct lwp *, const struct linux32_sys_ptrace_args *, register_t *);
878 1.38 christos
879 1.24 dsl int linux32_sys_alarm(struct lwp *, const struct linux32_sys_alarm_args *, register_t *);
880 1.1 manu
881 1.24 dsl int linux_sys_pause(struct lwp *, const void *, register_t *);
882 1.1 manu
883 1.24 dsl int linux32_sys_utime(struct lwp *, const struct linux32_sys_utime_args *, register_t *);
884 1.1 manu
885 1.24 dsl int netbsd32_access(struct lwp *, const struct netbsd32_access_args *, register_t *);
886 1.1 manu
887 1.24 dsl int linux32_sys_nice(struct lwp *, const struct linux32_sys_nice_args *, register_t *);
888 1.1 manu
889 1.24 dsl int sys_sync(struct lwp *, const void *, register_t *);
890 1.1 manu
891 1.24 dsl int linux32_sys_kill(struct lwp *, const struct linux32_sys_kill_args *, register_t *);
892 1.1 manu
893 1.40 njoly int netbsd32___posix_rename(struct lwp *, const struct netbsd32___posix_rename_args *, register_t *);
894 1.1 manu
895 1.24 dsl int netbsd32_mkdir(struct lwp *, const struct netbsd32_mkdir_args *, register_t *);
896 1.1 manu
897 1.24 dsl int netbsd32_rmdir(struct lwp *, const struct netbsd32_rmdir_args *, register_t *);
898 1.1 manu
899 1.24 dsl int netbsd32_dup(struct lwp *, const struct netbsd32_dup_args *, register_t *);
900 1.1 manu
901 1.24 dsl int linux32_sys_pipe(struct lwp *, const struct linux32_sys_pipe_args *, register_t *);
902 1.1 manu
903 1.24 dsl int linux32_sys_times(struct lwp *, const struct linux32_sys_times_args *, register_t *);
904 1.1 manu
905 1.24 dsl int linux32_sys_brk(struct lwp *, const struct linux32_sys_brk_args *, register_t *);
906 1.1 manu
907 1.24 dsl int netbsd32_setgid(struct lwp *, const struct netbsd32_setgid_args *, register_t *);
908 1.1 manu
909 1.24 dsl int sys_getgid(struct lwp *, const void *, register_t *);
910 1.1 manu
911 1.24 dsl int linux32_sys_signal(struct lwp *, const struct linux32_sys_signal_args *, register_t *);
912 1.1 manu
913 1.24 dsl int sys_geteuid(struct lwp *, const void *, register_t *);
914 1.1 manu
915 1.24 dsl int sys_getegid(struct lwp *, const void *, register_t *);
916 1.1 manu
917 1.24 dsl int netbsd32_acct(struct lwp *, const struct netbsd32_acct_args *, register_t *);
918 1.1 manu
919 1.24 dsl int linux32_sys_ioctl(struct lwp *, const struct linux32_sys_ioctl_args *, register_t *);
920 1.1 manu
921 1.24 dsl int linux32_sys_fcntl(struct lwp *, const struct linux32_sys_fcntl_args *, register_t *);
922 1.1 manu
923 1.24 dsl int netbsd32_setpgid(struct lwp *, const struct netbsd32_setpgid_args *, register_t *);
924 1.1 manu
925 1.24 dsl int linux32_sys_oldolduname(struct lwp *, const struct linux32_sys_oldolduname_args *, register_t *);
926 1.1 manu
927 1.24 dsl int netbsd32_umask(struct lwp *, const struct netbsd32_umask_args *, register_t *);
928 1.1 manu
929 1.24 dsl int netbsd32_chroot(struct lwp *, const struct netbsd32_chroot_args *, register_t *);
930 1.1 manu
931 1.24 dsl int netbsd32_dup2(struct lwp *, const struct netbsd32_dup2_args *, register_t *);
932 1.1 manu
933 1.58.2.1 uebayasi int sys_getppid(struct lwp *, const void *, register_t *);
934 1.1 manu
935 1.24 dsl int sys_getpgrp(struct lwp *, const void *, register_t *);
936 1.1 manu
937 1.24 dsl int sys_setsid(struct lwp *, const void *, register_t *);
938 1.1 manu
939 1.54 njoly int linux32_sys_siggetmask(struct lwp *, const void *, register_t *);
940 1.54 njoly
941 1.54 njoly int linux32_sys_sigsetmask(struct lwp *, const struct linux32_sys_sigsetmask_args *, register_t *);
942 1.54 njoly
943 1.24 dsl int linux32_sys_setreuid16(struct lwp *, const struct linux32_sys_setreuid16_args *, register_t *);
944 1.1 manu
945 1.24 dsl int linux32_sys_setregid16(struct lwp *, const struct linux32_sys_setregid16_args *, register_t *);
946 1.1 manu
947 1.24 dsl int compat_43_netbsd32_osethostname(struct lwp *, const struct compat_43_netbsd32_osethostname_args *, register_t *);
948 1.1 manu
949 1.24 dsl int linux32_sys_setrlimit(struct lwp *, const struct linux32_sys_setrlimit_args *, register_t *);
950 1.1 manu
951 1.24 dsl int linux32_sys_getrlimit(struct lwp *, const struct linux32_sys_getrlimit_args *, register_t *);
952 1.1 manu
953 1.48 christos int compat_50_netbsd32_getrusage(struct lwp *, const struct compat_50_netbsd32_getrusage_args *, register_t *);
954 1.1 manu
955 1.24 dsl int linux32_sys_gettimeofday(struct lwp *, const struct linux32_sys_gettimeofday_args *, register_t *);
956 1.1 manu
957 1.24 dsl int linux32_sys_settimeofday(struct lwp *, const struct linux32_sys_settimeofday_args *, register_t *);
958 1.1 manu
959 1.24 dsl int linux32_sys_getgroups16(struct lwp *, const struct linux32_sys_getgroups16_args *, register_t *);
960 1.1 manu
961 1.24 dsl int linux32_sys_setgroups16(struct lwp *, const struct linux32_sys_setgroups16_args *, register_t *);
962 1.1 manu
963 1.24 dsl int linux32_sys_oldselect(struct lwp *, const struct linux32_sys_oldselect_args *, register_t *);
964 1.1 manu
965 1.24 dsl int netbsd32_symlink(struct lwp *, const struct netbsd32_symlink_args *, register_t *);
966 1.1 manu
967 1.24 dsl int compat_43_netbsd32_lstat43(struct lwp *, const struct compat_43_netbsd32_lstat43_args *, register_t *);
968 1.1 manu
969 1.24 dsl int netbsd32_readlink(struct lwp *, const struct netbsd32_readlink_args *, register_t *);
970 1.1 manu
971 1.24 dsl int linux32_sys_swapon(struct lwp *, const struct linux32_sys_swapon_args *, register_t *);
972 1.1 manu
973 1.24 dsl int linux32_sys_reboot(struct lwp *, const struct linux32_sys_reboot_args *, register_t *);
974 1.1 manu
975 1.28 njoly int linux32_sys_readdir(struct lwp *, const struct linux32_sys_readdir_args *, register_t *);
976 1.28 njoly
977 1.24 dsl int linux32_sys_old_mmap(struct lwp *, const struct linux32_sys_old_mmap_args *, register_t *);
978 1.1 manu
979 1.24 dsl int netbsd32_munmap(struct lwp *, const struct netbsd32_munmap_args *, register_t *);
980 1.1 manu
981 1.40 njoly int compat_43_netbsd32_otruncate(struct lwp *, const struct compat_43_netbsd32_otruncate_args *, register_t *);
982 1.1 manu
983 1.24 dsl int compat_43_netbsd32_oftruncate(struct lwp *, const struct compat_43_netbsd32_oftruncate_args *, register_t *);
984 1.1 manu
985 1.24 dsl int netbsd32_fchmod(struct lwp *, const struct netbsd32_fchmod_args *, register_t *);
986 1.1 manu
987 1.24 dsl int linux32_sys_fchown16(struct lwp *, const struct linux32_sys_fchown16_args *, register_t *);
988 1.1 manu
989 1.24 dsl int linux32_sys_getpriority(struct lwp *, const struct linux32_sys_getpriority_args *, register_t *);
990 1.1 manu
991 1.40 njoly int netbsd32_setpriority(struct lwp *, const struct netbsd32_setpriority_args *, register_t *);
992 1.1 manu
993 1.24 dsl int linux32_sys_statfs(struct lwp *, const struct linux32_sys_statfs_args *, register_t *);
994 1.16 njoly
995 1.56 njoly int linux32_sys_fstatfs(struct lwp *, const struct linux32_sys_fstatfs_args *, register_t *);
996 1.56 njoly
997 1.24 dsl int linux32_sys_socketcall(struct lwp *, const struct linux32_sys_socketcall_args *, register_t *);
998 1.1 manu
999 1.48 christos int compat_50_netbsd32_setitimer(struct lwp *, const struct compat_50_netbsd32_setitimer_args *, register_t *);
1000 1.1 manu
1001 1.48 christos int compat_50_netbsd32_getitimer(struct lwp *, const struct compat_50_netbsd32_getitimer_args *, register_t *);
1002 1.1 manu
1003 1.55 njoly int linux32_sys_stat(struct lwp *, const struct linux32_sys_stat_args *, register_t *);
1004 1.55 njoly
1005 1.55 njoly int linux32_sys_lstat(struct lwp *, const struct linux32_sys_lstat_args *, register_t *);
1006 1.55 njoly
1007 1.55 njoly int linux32_sys_fstat(struct lwp *, const struct linux32_sys_fstat_args *, register_t *);
1008 1.55 njoly
1009 1.27 njoly int linux32_sys_olduname(struct lwp *, const struct linux32_sys_olduname_args *, register_t *);
1010 1.27 njoly
1011 1.24 dsl int linux32_sys_wait4(struct lwp *, const struct linux32_sys_wait4_args *, register_t *);
1012 1.1 manu
1013 1.24 dsl int linux32_sys_swapoff(struct lwp *, const struct linux32_sys_swapoff_args *, register_t *);
1014 1.1 manu
1015 1.24 dsl int linux32_sys_sysinfo(struct lwp *, const struct linux32_sys_sysinfo_args *, register_t *);
1016 1.10 manu
1017 1.37 njoly int linux32_sys_ipc(struct lwp *, const struct linux32_sys_ipc_args *, register_t *);
1018 1.37 njoly
1019 1.24 dsl int netbsd32_fsync(struct lwp *, const struct netbsd32_fsync_args *, register_t *);
1020 1.1 manu
1021 1.24 dsl int linux32_sys_sigreturn(struct lwp *, const struct linux32_sys_sigreturn_args *, register_t *);
1022 1.1 manu
1023 1.24 dsl int linux32_sys_clone(struct lwp *, const struct linux32_sys_clone_args *, register_t *);
1024 1.1 manu
1025 1.24 dsl int linux32_sys_uname(struct lwp *, const struct linux32_sys_uname_args *, register_t *);
1026 1.1 manu
1027 1.24 dsl int linux32_sys_mprotect(struct lwp *, const struct linux32_sys_mprotect_args *, register_t *);
1028 1.1 manu
1029 1.26 njoly int netbsd32_getpgid(struct lwp *, const struct netbsd32_getpgid_args *, register_t *);
1030 1.26 njoly
1031 1.24 dsl int netbsd32_fchdir(struct lwp *, const struct netbsd32_fchdir_args *, register_t *);
1032 1.1 manu
1033 1.52 njoly int linux32_sys_personality(struct lwp *, const struct linux32_sys_personality_args *, register_t *);
1034 1.52 njoly
1035 1.24 dsl int linux32_sys_setfsuid(struct lwp *, const struct linux32_sys_setfsuid_args *, register_t *);
1036 1.13 njoly
1037 1.25 njoly int linux32_sys_setfsgid(struct lwp *, const struct linux32_sys_setfsgid_args *, register_t *);
1038 1.13 njoly
1039 1.24 dsl int linux32_sys_llseek(struct lwp *, const struct linux32_sys_llseek_args *, register_t *);
1040 1.1 manu
1041 1.24 dsl int linux32_sys_getdents(struct lwp *, const struct linux32_sys_getdents_args *, register_t *);
1042 1.1 manu
1043 1.24 dsl int linux32_sys_select(struct lwp *, const struct linux32_sys_select_args *, register_t *);
1044 1.1 manu
1045 1.24 dsl int netbsd32_flock(struct lwp *, const struct netbsd32_flock_args *, register_t *);
1046 1.1 manu
1047 1.35 njoly int netbsd32___msync13(struct lwp *, const struct netbsd32___msync13_args *, register_t *);
1048 1.35 njoly
1049 1.24 dsl int netbsd32_readv(struct lwp *, const struct netbsd32_readv_args *, register_t *);
1050 1.1 manu
1051 1.24 dsl int netbsd32_writev(struct lwp *, const struct netbsd32_writev_args *, register_t *);
1052 1.1 manu
1053 1.24 dsl int netbsd32_getsid(struct lwp *, const struct netbsd32_getsid_args *, register_t *);
1054 1.1 manu
1055 1.24 dsl int linux32_sys_fdatasync(struct lwp *, const struct linux32_sys_fdatasync_args *, register_t *);
1056 1.9 manu
1057 1.24 dsl int linux32_sys___sysctl(struct lwp *, const struct linux32_sys___sysctl_args *, register_t *);
1058 1.1 manu
1059 1.34 njoly int netbsd32_mlock(struct lwp *, const struct netbsd32_mlock_args *, register_t *);
1060 1.34 njoly
1061 1.34 njoly int netbsd32_munlock(struct lwp *, const struct netbsd32_munlock_args *, register_t *);
1062 1.34 njoly
1063 1.24 dsl int netbsd32_mlockall(struct lwp *, const struct netbsd32_mlockall_args *, register_t *);
1064 1.1 manu
1065 1.24 dsl int sys_munlockall(struct lwp *, const void *, register_t *);
1066 1.1 manu
1067 1.58.2.1 uebayasi int linux32_sys_sched_setparam(struct lwp *, const struct linux32_sys_sched_setparam_args *, register_t *);
1068 1.58.2.1 uebayasi
1069 1.24 dsl int linux32_sys_sched_getparam(struct lwp *, const struct linux32_sys_sched_getparam_args *, register_t *);
1070 1.10 manu
1071 1.24 dsl int linux32_sys_sched_setscheduler(struct lwp *, const struct linux32_sys_sched_setscheduler_args *, register_t *);
1072 1.1 manu
1073 1.24 dsl int linux32_sys_sched_getscheduler(struct lwp *, const struct linux32_sys_sched_getscheduler_args *, register_t *);
1074 1.10 manu
1075 1.24 dsl int linux_sys_sched_yield(struct lwp *, const void *, register_t *);
1076 1.13 njoly
1077 1.44 njoly int linux32_sys_sched_get_priority_max(struct lwp *, const struct linux32_sys_sched_get_priority_max_args *, register_t *);
1078 1.44 njoly
1079 1.44 njoly int linux32_sys_sched_get_priority_min(struct lwp *, const struct linux32_sys_sched_get_priority_min_args *, register_t *);
1080 1.44 njoly
1081 1.42 njoly int linux32_sys_nanosleep(struct lwp *, const struct linux32_sys_nanosleep_args *, register_t *);
1082 1.1 manu
1083 1.24 dsl int linux32_sys_mremap(struct lwp *, const struct linux32_sys_mremap_args *, register_t *);
1084 1.10 manu
1085 1.24 dsl int linux32_sys_setresuid16(struct lwp *, const struct linux32_sys_setresuid16_args *, register_t *);
1086 1.1 manu
1087 1.30 njoly int linux32_sys_getresuid16(struct lwp *, const struct linux32_sys_getresuid16_args *, register_t *);
1088 1.30 njoly
1089 1.24 dsl int netbsd32_poll(struct lwp *, const struct netbsd32_poll_args *, register_t *);
1090 1.1 manu
1091 1.24 dsl int linux32_sys_setresgid16(struct lwp *, const struct linux32_sys_setresgid16_args *, register_t *);
1092 1.1 manu
1093 1.30 njoly int linux32_sys_getresgid16(struct lwp *, const struct linux32_sys_getresgid16_args *, register_t *);
1094 1.30 njoly
1095 1.24 dsl int linux32_sys_rt_sigreturn(struct lwp *, const struct linux32_sys_rt_sigreturn_args *, register_t *);
1096 1.1 manu
1097 1.24 dsl int linux32_sys_rt_sigaction(struct lwp *, const struct linux32_sys_rt_sigaction_args *, register_t *);
1098 1.1 manu
1099 1.24 dsl int linux32_sys_rt_sigprocmask(struct lwp *, const struct linux32_sys_rt_sigprocmask_args *, register_t *);
1100 1.1 manu
1101 1.39 njoly int linux32_sys_rt_sigpending(struct lwp *, const struct linux32_sys_rt_sigpending_args *, register_t *);
1102 1.39 njoly
1103 1.57 njoly int linux32_sys_rt_queueinfo(struct lwp *, const struct linux32_sys_rt_queueinfo_args *, register_t *);
1104 1.57 njoly
1105 1.24 dsl int linux32_sys_rt_sigsuspend(struct lwp *, const struct linux32_sys_rt_sigsuspend_args *, register_t *);
1106 1.1 manu
1107 1.31 dsl int linux32_sys_pread(struct lwp *, const struct linux32_sys_pread_args *, register_t *);
1108 1.31 dsl
1109 1.31 dsl int linux32_sys_pwrite(struct lwp *, const struct linux32_sys_pwrite_args *, register_t *);
1110 1.31 dsl
1111 1.24 dsl int linux32_sys_chown16(struct lwp *, const struct linux32_sys_chown16_args *, register_t *);
1112 1.18 njoly
1113 1.24 dsl int netbsd32___getcwd(struct lwp *, const struct netbsd32___getcwd_args *, register_t *);
1114 1.2 manu
1115 1.24 dsl int sys___vfork14(struct lwp *, const void *, register_t *);
1116 1.1 manu
1117 1.24 dsl int linux32_sys_ugetrlimit(struct lwp *, const struct linux32_sys_ugetrlimit_args *, register_t *);
1118 1.1 manu
1119 1.24 dsl int linux32_sys_mmap2(struct lwp *, const struct linux32_sys_mmap2_args *, register_t *);
1120 1.10 manu
1121 1.24 dsl int linux32_sys_stat64(struct lwp *, const struct linux32_sys_stat64_args *, register_t *);
1122 1.1 manu
1123 1.24 dsl int linux32_sys_lstat64(struct lwp *, const struct linux32_sys_lstat64_args *, register_t *);
1124 1.1 manu
1125 1.24 dsl int linux32_sys_fstat64(struct lwp *, const struct linux32_sys_fstat64_args *, register_t *);
1126 1.1 manu
1127 1.24 dsl int netbsd32___posix_lchown(struct lwp *, const struct netbsd32___posix_lchown_args *, register_t *);
1128 1.18 njoly
1129 1.24 dsl int netbsd32_setreuid(struct lwp *, const struct netbsd32_setreuid_args *, register_t *);
1130 1.1 manu
1131 1.24 dsl int netbsd32_setregid(struct lwp *, const struct netbsd32_setregid_args *, register_t *);
1132 1.1 manu
1133 1.24 dsl int netbsd32_getgroups(struct lwp *, const struct netbsd32_getgroups_args *, register_t *);
1134 1.3 manu
1135 1.24 dsl int netbsd32_setgroups(struct lwp *, const struct netbsd32_setgroups_args *, register_t *);
1136 1.3 manu
1137 1.24 dsl int netbsd32___posix_fchown(struct lwp *, const struct netbsd32___posix_fchown_args *, register_t *);
1138 1.1 manu
1139 1.24 dsl int linux32_sys_setresuid(struct lwp *, const struct linux32_sys_setresuid_args *, register_t *);
1140 1.1 manu
1141 1.45 njoly int linux32_sys_getresuid(struct lwp *, const struct linux32_sys_getresuid_args *, register_t *);
1142 1.45 njoly
1143 1.24 dsl int linux32_sys_setresgid(struct lwp *, const struct linux32_sys_setresgid_args *, register_t *);
1144 1.1 manu
1145 1.45 njoly int linux32_sys_getresgid(struct lwp *, const struct linux32_sys_getresgid_args *, register_t *);
1146 1.45 njoly
1147 1.24 dsl int netbsd32___posix_chown(struct lwp *, const struct netbsd32___posix_chown_args *, register_t *);
1148 1.18 njoly
1149 1.53 njoly int netbsd32_mincore(struct lwp *, const struct netbsd32_mincore_args *, register_t *);
1150 1.53 njoly
1151 1.24 dsl int netbsd32_madvise(struct lwp *, const struct netbsd32_madvise_args *, register_t *);
1152 1.10 manu
1153 1.24 dsl int linux32_sys_getdents64(struct lwp *, const struct linux32_sys_getdents64_args *, register_t *);
1154 1.1 manu
1155 1.32 dsl #define linux32_sys_fcntl64 linux32_sys_fcntl
1156 1.32 dsl #define linux32_sys_fcntl64_args linux32_sys_fcntl_args
1157 1.24 dsl int linux32_sys_fcntl64(struct lwp *, const struct linux32_sys_fcntl64_args *, register_t *);
1158 1.1 manu
1159 1.24 dsl int linux_sys_gettid(struct lwp *, const void *, register_t *);
1160 1.4 manu
1161 1.58.2.1 uebayasi int linux32_sys_tkill(struct lwp *, const struct linux32_sys_tkill_args *, register_t *);
1162 1.58.2.1 uebayasi
1163 1.58.2.1 uebayasi int linux32_sys_futex(struct lwp *, const struct linux32_sys_futex_args *, register_t *);
1164 1.58.2.1 uebayasi
1165 1.58.2.1 uebayasi int linux32_sys_sched_setaffinity(struct lwp *, const struct linux32_sys_sched_setaffinity_args *, register_t *);
1166 1.58.2.1 uebayasi
1167 1.58.2.1 uebayasi int linux32_sys_sched_getaffinity(struct lwp *, const struct linux32_sys_sched_getaffinity_args *, register_t *);
1168 1.58.2.1 uebayasi
1169 1.58.2.1 uebayasi int linux32_sys_set_thread_area(struct lwp *, const struct linux32_sys_set_thread_area_args *, register_t *);
1170 1.58.2.1 uebayasi
1171 1.58.2.1 uebayasi int linux32_sys_get_thread_area(struct lwp *, const struct linux32_sys_get_thread_area_args *, register_t *);
1172 1.58.2.1 uebayasi
1173 1.24 dsl int linux32_sys_exit_group(struct lwp *, const struct linux32_sys_exit_group_args *, register_t *);
1174 1.1 manu
1175 1.58.2.1 uebayasi int linux32_sys_set_tid_address(struct lwp *, const struct linux32_sys_set_tid_address_args *, register_t *);
1176 1.58.2.1 uebayasi
1177 1.36 njoly int linux32_sys_clock_settime(struct lwp *, const struct linux32_sys_clock_settime_args *, register_t *);
1178 1.36 njoly
1179 1.36 njoly int linux32_sys_clock_gettime(struct lwp *, const struct linux32_sys_clock_gettime_args *, register_t *);
1180 1.36 njoly
1181 1.36 njoly int linux32_sys_clock_getres(struct lwp *, const struct linux32_sys_clock_getres_args *, register_t *);
1182 1.36 njoly
1183 1.47 njoly int linux32_sys_clock_nanosleep(struct lwp *, const struct linux32_sys_clock_nanosleep_args *, register_t *);
1184 1.47 njoly
1185 1.58.2.1 uebayasi int linux32_sys_tgkill(struct lwp *, const struct linux32_sys_tgkill_args *, register_t *);
1186 1.58.2.1 uebayasi
1187 1.58.2.1 uebayasi int linux32_sys_set_robust_list(struct lwp *, const struct linux32_sys_set_robust_list_args *, register_t *);
1188 1.58.2.1 uebayasi
1189 1.58.2.1 uebayasi int linux32_sys_get_robust_list(struct lwp *, const struct linux32_sys_get_robust_list_args *, register_t *);
1190 1.58.2.1 uebayasi
1191 1.1 manu #endif /* _LINUX32_SYS_SYSCALLARGS_H_ */
1192