xref: /netbsd-src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h (revision dc0b6747b2753110ebd833a949de63afe8a79f00)
1*dc0b6747Sryo /* $NetBSD: linux32_syscallargs.h,v 1.87 2021/12/02 04:39:45 ryo Exp $ */
2ee0c5b44Smanu 
3ee0c5b44Smanu /*
4ee0c5b44Smanu  * System call argument lists.
5ee0c5b44Smanu  *
6ee0c5b44Smanu  * DO NOT EDIT-- this file is automatically generated.
732432d67Sryo  * created from	NetBSD: syscalls.master,v 1.76 2021/11/27 21:15:07 ryo Exp
8ee0c5b44Smanu  */
9ee0c5b44Smanu 
10ee0c5b44Smanu #ifndef _LINUX32_SYS_SYSCALLARGS_H_
11ee0c5b44Smanu #define	_LINUX32_SYS_SYSCALLARGS_H_
12ee0c5b44Smanu 
139c329004Sriastradh /* Forward declaration */
149c329004Sriastradh struct lwp;
159c329004Sriastradh 
162e3ee66dSchristos #define	LINUX32_SYS_MAXSYSARGS	8
17ee0c5b44Smanu 
182e3ee66dSchristos #undef	syscallarg
19ee0c5b44Smanu #define	syscallarg(x)							\
20ee0c5b44Smanu 	union {								\
21ee0c5b44Smanu 		register32_t pad;						\
22ee0c5b44Smanu 		struct { x datum; } le;					\
23ee0c5b44Smanu 		struct { /* LINTED zero array dimension */		\
24ee0c5b44Smanu 			int8_t pad[  /* CONSTCOND */			\
25ee0c5b44Smanu 				(sizeof (register32_t) < sizeof (x))	\
26ee0c5b44Smanu 				? 0					\
27ee0c5b44Smanu 				: sizeof (register32_t) - sizeof (x)];	\
28ee0c5b44Smanu 			x datum;					\
29ee0c5b44Smanu 		} be;							\
30ee0c5b44Smanu 	}
31ee0c5b44Smanu 
322e3ee66dSchristos #undef check_syscall_args
3353dcc526Schristos #define check_syscall_args(call) /*LINTED*/ \
342e3ee66dSchristos 	typedef char call##_check_args[sizeof (struct call##_args) \
352e3ee66dSchristos 		<= LINUX32_SYS_MAXSYSARGS * sizeof (register32_t) ? 1 : -1];
362e3ee66dSchristos 
37d916122eSchs struct linux32_sys_exit_args {
38d916122eSchs 	syscallarg(int) rval;
39d916122eSchs };
40d916122eSchs check_syscall_args(linux32_sys_exit)
416fb2884cSdsl 
426fb2884cSdsl struct netbsd32_read_args;
436fb2884cSdsl 
446fb2884cSdsl struct netbsd32_write_args;
456fb2884cSdsl 
46ee0c5b44Smanu struct linux32_sys_open_args {
47249f1f85Snjoly 	syscallarg(netbsd32_charp) path;
48ee0c5b44Smanu 	syscallarg(int) flags;
49c1e3376bSchs 	syscallarg(linux_umode_t) mode;
50ee0c5b44Smanu };
512e3ee66dSchristos check_syscall_args(linux32_sys_open)
52ee0c5b44Smanu 
536fb2884cSdsl struct netbsd32_close_args;
546fb2884cSdsl 
55ee0c5b44Smanu struct linux32_sys_waitpid_args {
56ee0c5b44Smanu 	syscallarg(int) pid;
57ee0c5b44Smanu 	syscallarg(netbsd32_intp) status;
58ee0c5b44Smanu 	syscallarg(int) options;
59ee0c5b44Smanu };
602e3ee66dSchristos check_syscall_args(linux32_sys_waitpid)
61ee0c5b44Smanu 
62ee0c5b44Smanu struct linux32_sys_creat_args {
63249f1f85Snjoly 	syscallarg(netbsd32_charp) path;
64c1e3376bSchs 	syscallarg(linux_umode_t) mode;
65ee0c5b44Smanu };
662e3ee66dSchristos check_syscall_args(linux32_sys_creat)
67ee0c5b44Smanu 
686fb2884cSdsl struct netbsd32_link_args;
696fb2884cSdsl 
70ee0c5b44Smanu struct linux32_sys_unlink_args {
71249f1f85Snjoly 	syscallarg(netbsd32_charp) path;
72ee0c5b44Smanu };
732e3ee66dSchristos check_syscall_args(linux32_sys_unlink)
74ee0c5b44Smanu 
756fb2884cSdsl struct netbsd32_execve_args;
766fb2884cSdsl 
776fb2884cSdsl struct netbsd32_chdir_args;
786fb2884cSdsl 
79ee0c5b44Smanu struct linux32_sys_time_args {
80ee0c5b44Smanu 	syscallarg(linux32_timep_t) t;
81ee0c5b44Smanu };
822e3ee66dSchristos check_syscall_args(linux32_sys_time)
83ee0c5b44Smanu 
84ee0c5b44Smanu struct linux32_sys_mknod_args {
85249f1f85Snjoly 	syscallarg(netbsd32_charp) path;
86c1e3376bSchs 	syscallarg(linux_umode_t) mode;
87c1e3376bSchs 	syscallarg(unsigned) dev;
88ee0c5b44Smanu };
892e3ee66dSchristos check_syscall_args(linux32_sys_mknod)
90ee0c5b44Smanu 
916fb2884cSdsl struct netbsd32_chmod_args;
926fb2884cSdsl 
93ee0c5b44Smanu struct linux32_sys_lchown16_args {
94249f1f85Snjoly 	syscallarg(netbsd32_charp) path;
95f5183fcaSnjoly 	syscallarg(linux32_uid16_t) uid;
96f5183fcaSnjoly 	syscallarg(linux32_gid16_t) gid;
97ee0c5b44Smanu };
982e3ee66dSchristos check_syscall_args(linux32_sys_lchown16)
99ee0c5b44Smanu 
100ee0c5b44Smanu struct linux32_sys_break_args {
101ee0c5b44Smanu 	syscallarg(netbsd32_charp) nsize;
102ee0c5b44Smanu };
1032e3ee66dSchristos check_syscall_args(linux32_sys_break)
104ee0c5b44Smanu 
1056fb2884cSdsl struct compat_43_netbsd32_olseek_args;
1066fb2884cSdsl 
1076fb2884cSdsl struct netbsd32_setuid_args;
1086fb2884cSdsl 
109ee0c5b44Smanu struct linux32_sys_stime_args {
110ee0c5b44Smanu 	syscallarg(linux32_timep_t) t;
111ee0c5b44Smanu };
1122e3ee66dSchristos check_syscall_args(linux32_sys_stime)
113ee0c5b44Smanu 
1147a9a590eSchristos struct linux32_sys_ptrace_args {
1157a9a590eSchristos 	syscallarg(int) request;
1167a9a590eSchristos 	syscallarg(int) pid;
1177a9a590eSchristos 	syscallarg(int) addr;
1187a9a590eSchristos 	syscallarg(int) data;
1197a9a590eSchristos };
1207a9a590eSchristos check_syscall_args(linux32_sys_ptrace)
1217a9a590eSchristos 
122577cb108Snjoly struct linux32_sys_alarm_args {
123577cb108Snjoly 	syscallarg(unsigned int) secs;
124577cb108Snjoly };
1252e3ee66dSchristos check_syscall_args(linux32_sys_alarm)
126577cb108Snjoly 
127ee0c5b44Smanu struct linux32_sys_utime_args {
128249f1f85Snjoly 	syscallarg(netbsd32_charp) path;
129ee0c5b44Smanu 	syscallarg(linux32_utimbufp_t) times;
130ee0c5b44Smanu };
1312e3ee66dSchristos check_syscall_args(linux32_sys_utime)
132ee0c5b44Smanu 
1336fb2884cSdsl struct netbsd32_access_args;
1346fb2884cSdsl 
135577cb108Snjoly struct linux32_sys_nice_args {
136577cb108Snjoly 	syscallarg(int) incr;
137577cb108Snjoly };
1382e3ee66dSchristos check_syscall_args(linux32_sys_nice)
139577cb108Snjoly 
140ee0c5b44Smanu struct linux32_sys_kill_args {
141ee0c5b44Smanu 	syscallarg(int) pid;
142ee0c5b44Smanu 	syscallarg(int) signum;
143ee0c5b44Smanu };
1442e3ee66dSchristos check_syscall_args(linux32_sys_kill)
145ee0c5b44Smanu 
146b6ef5a15Snjoly struct netbsd32___posix_rename_args;
147ee0c5b44Smanu 
1486fb2884cSdsl struct netbsd32_mkdir_args;
1496fb2884cSdsl 
1506fb2884cSdsl struct netbsd32_rmdir_args;
1516fb2884cSdsl 
1526fb2884cSdsl struct netbsd32_dup_args;
1536fb2884cSdsl 
154ee0c5b44Smanu struct linux32_sys_pipe_args {
155ee0c5b44Smanu 	syscallarg(netbsd32_intp) fd;
156ee0c5b44Smanu };
1572e3ee66dSchristos check_syscall_args(linux32_sys_pipe)
158ee0c5b44Smanu 
159ee0c5b44Smanu struct linux32_sys_times_args {
160ee0c5b44Smanu 	syscallarg(linux32_tmsp_t) tms;
161ee0c5b44Smanu };
1622e3ee66dSchristos check_syscall_args(linux32_sys_times)
163ee0c5b44Smanu 
164ee0c5b44Smanu struct linux32_sys_brk_args {
165ee0c5b44Smanu 	syscallarg(netbsd32_charp) nsize;
166ee0c5b44Smanu };
1672e3ee66dSchristos check_syscall_args(linux32_sys_brk)
168ee0c5b44Smanu 
1696fb2884cSdsl struct netbsd32_setgid_args;
1706fb2884cSdsl 
171ee0c5b44Smanu struct linux32_sys_signal_args {
172ee0c5b44Smanu 	syscallarg(int) signum;
173dd3b3616Schristos 	syscallarg(linux32_handlerp_t) handler;
174ee0c5b44Smanu };
1752e3ee66dSchristos check_syscall_args(linux32_sys_signal)
176ee0c5b44Smanu 
1776fb2884cSdsl struct netbsd32_acct_args;
1786fb2884cSdsl 
179ee0c5b44Smanu struct linux32_sys_ioctl_args {
180ee0c5b44Smanu 	syscallarg(int) fd;
181ee0c5b44Smanu 	syscallarg(netbsd32_u_long) com;
182ee0c5b44Smanu 	syscallarg(netbsd32_charp) data;
183ee0c5b44Smanu };
1842e3ee66dSchristos check_syscall_args(linux32_sys_ioctl)
185ee0c5b44Smanu 
186ee0c5b44Smanu struct linux32_sys_fcntl_args {
187ee0c5b44Smanu 	syscallarg(int) fd;
188ee0c5b44Smanu 	syscallarg(int) cmd;
189ee0c5b44Smanu 	syscallarg(netbsd32_voidp) arg;
190ee0c5b44Smanu };
1912e3ee66dSchristos check_syscall_args(linux32_sys_fcntl)
192ee0c5b44Smanu 
1936fb2884cSdsl struct netbsd32_setpgid_args;
1946fb2884cSdsl 
195ee0c5b44Smanu struct linux32_sys_oldolduname_args {
196ee0c5b44Smanu 	syscallarg(linux32_oldold_utsnamep_t) up;
197ee0c5b44Smanu };
1982e3ee66dSchristos check_syscall_args(linux32_sys_oldolduname)
199ee0c5b44Smanu 
2006fb2884cSdsl struct netbsd32_umask_args;
2016fb2884cSdsl 
2026fb2884cSdsl struct netbsd32_chroot_args;
2036fb2884cSdsl 
2046fb2884cSdsl struct netbsd32_dup2_args;
2056fb2884cSdsl 
20649c8536fSnjoly struct linux32_sys_sigsetmask_args {
20749c8536fSnjoly 	syscallarg(linux32_old_sigset_t) mask;
20849c8536fSnjoly };
20949c8536fSnjoly check_syscall_args(linux32_sys_sigsetmask)
21049c8536fSnjoly 
211577cb108Snjoly struct linux32_sys_setreuid16_args {
212f5183fcaSnjoly 	syscallarg(linux32_uid16_t) ruid;
213f5183fcaSnjoly 	syscallarg(linux32_uid16_t) euid;
214ee0c5b44Smanu };
2152e3ee66dSchristos check_syscall_args(linux32_sys_setreuid16)
216ee0c5b44Smanu 
217577cb108Snjoly struct linux32_sys_setregid16_args {
218f5183fcaSnjoly 	syscallarg(linux32_gid16_t) rgid;
219f5183fcaSnjoly 	syscallarg(linux32_gid16_t) egid;
220ee0c5b44Smanu };
2212e3ee66dSchristos check_syscall_args(linux32_sys_setregid16)
222ee0c5b44Smanu 
2236fb2884cSdsl struct compat_43_netbsd32_osethostname_args;
2246fb2884cSdsl 
225ee0c5b44Smanu struct linux32_sys_setrlimit_args {
226ee0c5b44Smanu 	syscallarg(u_int) which;
227ee0c5b44Smanu 	syscallarg(netbsd32_orlimitp_t) rlp;
228ee0c5b44Smanu };
2292e3ee66dSchristos check_syscall_args(linux32_sys_setrlimit)
230ee0c5b44Smanu 
231ee0c5b44Smanu struct linux32_sys_getrlimit_args {
232ee0c5b44Smanu 	syscallarg(u_int) which;
233ee0c5b44Smanu 	syscallarg(netbsd32_orlimitp_t) rlp;
234ee0c5b44Smanu };
2352e3ee66dSchristos check_syscall_args(linux32_sys_getrlimit)
236ee0c5b44Smanu 
237461a86f9Schristos struct compat_50_netbsd32_getrusage_args;
2386fb2884cSdsl 
239ee0c5b44Smanu struct linux32_sys_gettimeofday_args {
2408ff5603cSnjoly 	syscallarg(netbsd32_timeval50p_t) tp;
241ee0c5b44Smanu 	syscallarg(netbsd32_timezonep_t) tzp;
242ee0c5b44Smanu };
2432e3ee66dSchristos check_syscall_args(linux32_sys_gettimeofday)
244ee0c5b44Smanu 
245ee0c5b44Smanu struct linux32_sys_settimeofday_args {
2468ff5603cSnjoly 	syscallarg(netbsd32_timeval50p_t) tp;
247ee0c5b44Smanu 	syscallarg(netbsd32_timezonep_t) tzp;
248ee0c5b44Smanu };
2492e3ee66dSchristos check_syscall_args(linux32_sys_settimeofday)
250ee0c5b44Smanu 
251ee0c5b44Smanu struct linux32_sys_getgroups16_args {
252ee0c5b44Smanu 	syscallarg(int) gidsetsize;
253f5183fcaSnjoly 	syscallarg(linux32_gid16p_t) gidset;
254ee0c5b44Smanu };
2552e3ee66dSchristos check_syscall_args(linux32_sys_getgroups16)
256ee0c5b44Smanu 
257ee0c5b44Smanu struct linux32_sys_setgroups16_args {
258ee0c5b44Smanu 	syscallarg(int) gidsetsize;
259f5183fcaSnjoly 	syscallarg(linux32_gid16p_t) gidset;
260ee0c5b44Smanu };
2612e3ee66dSchristos check_syscall_args(linux32_sys_setgroups16)
262ee0c5b44Smanu 
263ee0c5b44Smanu struct linux32_sys_oldselect_args {
264ee0c5b44Smanu 	syscallarg(linux32_oldselectp_t) lsp;
265ee0c5b44Smanu };
2662e3ee66dSchristos check_syscall_args(linux32_sys_oldselect)
267ee0c5b44Smanu 
2686fb2884cSdsl struct netbsd32_symlink_args;
2696fb2884cSdsl 
2706fb2884cSdsl struct compat_43_netbsd32_lstat43_args;
2716fb2884cSdsl 
2726fb2884cSdsl struct netbsd32_readlink_args;
2736fb2884cSdsl 
274ee0c5b44Smanu struct linux32_sys_swapon_args {
275ee0c5b44Smanu 	syscallarg(netbsd32_charp) name;
276ee0c5b44Smanu };
2772e3ee66dSchristos check_syscall_args(linux32_sys_swapon)
278ee0c5b44Smanu 
279ee0c5b44Smanu struct linux32_sys_reboot_args {
280ee0c5b44Smanu 	syscallarg(int) magic1;
281ee0c5b44Smanu 	syscallarg(int) magic2;
282ee0c5b44Smanu 	syscallarg(int) cmd;
283ee0c5b44Smanu 	syscallarg(netbsd32_voidp) arg;
284ee0c5b44Smanu };
2852e3ee66dSchristos check_syscall_args(linux32_sys_reboot)
286ee0c5b44Smanu 
287890b6243Snjoly struct linux32_sys_readdir_args {
288890b6243Snjoly 	syscallarg(int) fd;
289890b6243Snjoly 	syscallarg(netbsd32_voidp) dent;
290890b6243Snjoly 	syscallarg(unsigned int) count;
291890b6243Snjoly };
292890b6243Snjoly check_syscall_args(linux32_sys_readdir)
293890b6243Snjoly 
294ee0c5b44Smanu struct linux32_sys_old_mmap_args {
295ee0c5b44Smanu 	syscallarg(linux32_oldmmapp) lmp;
296ee0c5b44Smanu };
2972e3ee66dSchristos check_syscall_args(linux32_sys_old_mmap)
298ee0c5b44Smanu 
2996fb2884cSdsl struct netbsd32_munmap_args;
3006fb2884cSdsl 
301b6ef5a15Snjoly struct compat_43_netbsd32_otruncate_args;
302ee0c5b44Smanu 
3036fb2884cSdsl struct compat_43_netbsd32_oftruncate_args;
3046fb2884cSdsl 
3056fb2884cSdsl struct netbsd32_fchmod_args;
3066fb2884cSdsl 
307ee0c5b44Smanu struct linux32_sys_fchown16_args {
308ee0c5b44Smanu 	syscallarg(int) fd;
309f5183fcaSnjoly 	syscallarg(linux32_uid16_t) uid;
310f5183fcaSnjoly 	syscallarg(linux32_gid16_t) gid;
311ee0c5b44Smanu };
3122e3ee66dSchristos check_syscall_args(linux32_sys_fchown16)
313ee0c5b44Smanu 
314b7432513Smanu struct linux32_sys_getpriority_args {
315b7432513Smanu 	syscallarg(int) which;
316b7432513Smanu 	syscallarg(int) who;
317b7432513Smanu };
3182e3ee66dSchristos check_syscall_args(linux32_sys_getpriority)
319b7432513Smanu 
320b6ef5a15Snjoly struct netbsd32_setpriority_args;
321b7432513Smanu 
32245bce0e5Schs struct netbsd32_profil_args;
32345bce0e5Schs 
324bc7c2c3bSnjoly struct linux32_sys_statfs_args {
325249f1f85Snjoly 	syscallarg(netbsd32_charp) path;
326bc7c2c3bSnjoly 	syscallarg(linux32_statfsp) sp;
327bc7c2c3bSnjoly };
3282e3ee66dSchristos check_syscall_args(linux32_sys_statfs)
329bc7c2c3bSnjoly 
330b0b09eacSnjoly struct linux32_sys_fstatfs_args {
331b0b09eacSnjoly 	syscallarg(int) fd;
332b0b09eacSnjoly 	syscallarg(linux32_statfsp) sp;
333b0b09eacSnjoly };
334b0b09eacSnjoly check_syscall_args(linux32_sys_fstatfs)
335b0b09eacSnjoly 
33645bce0e5Schs struct linux_sys_ioperm_args;
33745bce0e5Schs 
338ee0c5b44Smanu struct linux32_sys_socketcall_args {
339ee0c5b44Smanu 	syscallarg(int) what;
340ee0c5b44Smanu 	syscallarg(netbsd32_voidp) args;
341ee0c5b44Smanu };
3422e3ee66dSchristos check_syscall_args(linux32_sys_socketcall)
343ee0c5b44Smanu 
344461a86f9Schristos struct compat_50_netbsd32_setitimer_args;
3456fb2884cSdsl 
346461a86f9Schristos struct compat_50_netbsd32_getitimer_args;
3476fb2884cSdsl 
3484c8893bbSnjoly struct linux32_sys_stat_args {
3494c8893bbSnjoly 	syscallarg(netbsd32_charp) path;
3504c8893bbSnjoly 	syscallarg(linux32_statp) sp;
3514c8893bbSnjoly };
3524c8893bbSnjoly check_syscall_args(linux32_sys_stat)
3534c8893bbSnjoly 
3544c8893bbSnjoly struct linux32_sys_lstat_args {
3554c8893bbSnjoly 	syscallarg(netbsd32_charp) path;
3564c8893bbSnjoly 	syscallarg(linux32_statp) sp;
3574c8893bbSnjoly };
3584c8893bbSnjoly check_syscall_args(linux32_sys_lstat)
3594c8893bbSnjoly 
3604c8893bbSnjoly struct linux32_sys_fstat_args {
3614c8893bbSnjoly 	syscallarg(int) fd;
3624c8893bbSnjoly 	syscallarg(linux32_statp) sp;
3634c8893bbSnjoly };
3644c8893bbSnjoly check_syscall_args(linux32_sys_fstat)
3654c8893bbSnjoly 
3661a1f7ef9Snjoly struct linux32_sys_olduname_args {
3671a1f7ef9Snjoly 	syscallarg(linux32_oldutsnamep_t) up;
3681a1f7ef9Snjoly };
3691a1f7ef9Snjoly check_syscall_args(linux32_sys_olduname)
3701a1f7ef9Snjoly 
37145bce0e5Schs struct linux_sys_iopl_args;
37245bce0e5Schs 
373ee0c5b44Smanu struct linux32_sys_wait4_args {
374ee0c5b44Smanu 	syscallarg(int) pid;
375ee0c5b44Smanu 	syscallarg(netbsd32_intp) status;
376ee0c5b44Smanu 	syscallarg(int) options;
37777237e1cSnjoly 	syscallarg(netbsd32_rusage50p_t) rusage;
378ee0c5b44Smanu };
3792e3ee66dSchristos check_syscall_args(linux32_sys_wait4)
380ee0c5b44Smanu 
381ee0c5b44Smanu struct linux32_sys_swapoff_args {
382249f1f85Snjoly 	syscallarg(netbsd32_charp) path;
383ee0c5b44Smanu };
3842e3ee66dSchristos check_syscall_args(linux32_sys_swapoff)
385ee0c5b44Smanu 
386717102f4Smanu struct linux32_sys_sysinfo_args {
387717102f4Smanu 	syscallarg(linux32_sysinfop_t) arg;
388717102f4Smanu };
3892e3ee66dSchristos check_syscall_args(linux32_sys_sysinfo)
390717102f4Smanu 
391da21dc40Snjoly struct linux32_sys_ipc_args {
392da21dc40Snjoly 	syscallarg(int) what;
393da21dc40Snjoly 	syscallarg(int) a1;
394da21dc40Snjoly 	syscallarg(int) a2;
395da21dc40Snjoly 	syscallarg(int) a3;
396da21dc40Snjoly 	syscallarg(netbsd32_voidp) ptr;
397da21dc40Snjoly };
398da21dc40Snjoly check_syscall_args(linux32_sys_ipc)
399da21dc40Snjoly 
4006fb2884cSdsl struct netbsd32_fsync_args;
4016fb2884cSdsl 
402ee0c5b44Smanu struct linux32_sys_sigreturn_args {
403ee0c5b44Smanu 	syscallarg(linux32_sigcontextp_t) scp;
404ee0c5b44Smanu };
4052e3ee66dSchristos check_syscall_args(linux32_sys_sigreturn)
406ee0c5b44Smanu 
407ee0c5b44Smanu struct linux32_sys_clone_args {
408ee0c5b44Smanu 	syscallarg(int) flags;
409ee0c5b44Smanu 	syscallarg(netbsd32_voidp) stack;
410d916122eSchs 	syscallarg(netbsd32_voidp) parent_tidptr;
411d916122eSchs 	syscallarg(netbsd32_voidp) tls;
412d916122eSchs 	syscallarg(netbsd32_voidp) child_tidptr;
413ee0c5b44Smanu };
4142e3ee66dSchristos check_syscall_args(linux32_sys_clone)
415ee0c5b44Smanu 
41645bce0e5Schs struct linux32_sys_setdomainname_args {
41745bce0e5Schs 	syscallarg(netbsd32_charp) domainname;
41845bce0e5Schs 	syscallarg(int) len;
41945bce0e5Schs };
42045bce0e5Schs check_syscall_args(linux32_sys_setdomainname)
42145bce0e5Schs 
422ee0c5b44Smanu struct linux32_sys_uname_args {
423ee0c5b44Smanu 	syscallarg(linux32_utsnamep) up;
424ee0c5b44Smanu };
4252e3ee66dSchristos check_syscall_args(linux32_sys_uname)
426ee0c5b44Smanu 
42745bce0e5Schs struct linux32_sys_modify_ldt_args {
42845bce0e5Schs 	syscallarg(int) func;
42945bce0e5Schs 	syscallarg(netbsd32_charp) ptr;
43045bce0e5Schs 	syscallarg(netbsd32_size_t) bytecount;
43145bce0e5Schs };
43245bce0e5Schs check_syscall_args(linux32_sys_modify_ldt)
43345bce0e5Schs 
434ee0c5b44Smanu struct linux32_sys_mprotect_args {
4356fb2884cSdsl 	syscallarg(netbsd32_voidp) start;
436ee0c5b44Smanu 	syscallarg(netbsd32_size_t) len;
437ee0c5b44Smanu 	syscallarg(int) prot;
438ee0c5b44Smanu };
4392e3ee66dSchristos check_syscall_args(linux32_sys_mprotect)
440ee0c5b44Smanu 
4410cebe57bSnjoly struct netbsd32_getpgid_args;
4420cebe57bSnjoly 
4436fb2884cSdsl struct netbsd32_fchdir_args;
4446fb2884cSdsl 
4458ed9e9ebSnjoly struct linux32_sys_personality_args {
4464898628cSnjoly 	syscallarg(netbsd32_u_long) per;
4478ed9e9ebSnjoly };
4488ed9e9ebSnjoly check_syscall_args(linux32_sys_personality)
4498ed9e9ebSnjoly 
4506fb2884cSdsl struct linux32_sys_setfsuid_args;
4516fb2884cSdsl 
45290dee752Snjoly struct linux32_sys_setfsgid_args;
45390dee752Snjoly 
454ee0c5b44Smanu struct linux32_sys_llseek_args {
455ee0c5b44Smanu 	syscallarg(int) fd;
456ee0c5b44Smanu 	syscallarg(u_int32_t) ohigh;
457ee0c5b44Smanu 	syscallarg(u_int32_t) olow;
458adf5b0a5Snjoly 	syscallarg(netbsd32_voidp) res;
459ee0c5b44Smanu 	syscallarg(int) whence;
460ee0c5b44Smanu };
4612e3ee66dSchristos check_syscall_args(linux32_sys_llseek)
462ee0c5b44Smanu 
463ee0c5b44Smanu struct linux32_sys_getdents_args {
464ee0c5b44Smanu 	syscallarg(int) fd;
465ee0c5b44Smanu 	syscallarg(linux32_direntp_t) dent;
466ee0c5b44Smanu 	syscallarg(unsigned int) count;
467ee0c5b44Smanu };
4682e3ee66dSchristos check_syscall_args(linux32_sys_getdents)
469ee0c5b44Smanu 
470ee0c5b44Smanu struct linux32_sys_select_args {
471ee0c5b44Smanu 	syscallarg(int) nfds;
472ee0c5b44Smanu 	syscallarg(netbsd32_fd_setp_t) readfds;
473ee0c5b44Smanu 	syscallarg(netbsd32_fd_setp_t) writefds;
474ee0c5b44Smanu 	syscallarg(netbsd32_fd_setp_t) exceptfds;
4758ff5603cSnjoly 	syscallarg(netbsd32_timeval50p_t) timeout;
476ee0c5b44Smanu };
4772e3ee66dSchristos check_syscall_args(linux32_sys_select)
478ee0c5b44Smanu 
4796fb2884cSdsl struct netbsd32_flock_args;
4806fb2884cSdsl 
4818c5bd726Snjoly struct netbsd32___msync13_args;
4828c5bd726Snjoly 
4836fb2884cSdsl struct netbsd32_readv_args;
4846fb2884cSdsl 
4856fb2884cSdsl struct netbsd32_writev_args;
4866fb2884cSdsl 
4876fb2884cSdsl struct netbsd32_getsid_args;
4886fb2884cSdsl 
489577cb108Snjoly struct linux32_sys_fdatasync_args {
490577cb108Snjoly 	syscallarg(int) fd;
491577cb108Snjoly };
4922e3ee66dSchristos check_syscall_args(linux32_sys_fdatasync)
493577cb108Snjoly 
494ee0c5b44Smanu struct linux32_sys___sysctl_args {
495ee0c5b44Smanu 	syscallarg(linux32___sysctlp_t) lsp;
496ee0c5b44Smanu };
4972e3ee66dSchristos check_syscall_args(linux32_sys___sysctl)
498ee0c5b44Smanu 
499ac6668f3Snjoly struct netbsd32_mlock_args;
500ac6668f3Snjoly 
501ac6668f3Snjoly struct netbsd32_munlock_args;
502ac6668f3Snjoly 
5036fb2884cSdsl struct netbsd32_mlockall_args;
5046fb2884cSdsl 
505d916122eSchs struct linux32_sys_sched_setparam_args {
506d916122eSchs 	syscallarg(pid_t) pid;
507d916122eSchs 	syscallarg(const linux32_sched_paramp_t) sp;
508d916122eSchs };
509d916122eSchs check_syscall_args(linux32_sys_sched_setparam)
510d916122eSchs 
511717102f4Smanu struct linux32_sys_sched_getparam_args {
512717102f4Smanu 	syscallarg(pid_t) pid;
513717102f4Smanu 	syscallarg(linux32_sched_paramp_t) sp;
514717102f4Smanu };
5152e3ee66dSchristos check_syscall_args(linux32_sys_sched_getparam)
516717102f4Smanu 
517ee0c5b44Smanu struct linux32_sys_sched_setscheduler_args {
518ee0c5b44Smanu 	syscallarg(pid_t) pid;
519ee0c5b44Smanu 	syscallarg(int) policy;
520249f1f85Snjoly 	syscallarg(linux32_sched_paramp_t) sp;
521ee0c5b44Smanu };
5222e3ee66dSchristos check_syscall_args(linux32_sys_sched_setscheduler)
523ee0c5b44Smanu 
524577cb108Snjoly struct linux32_sys_sched_getscheduler_args {
525577cb108Snjoly 	syscallarg(pid_t) pid;
526577cb108Snjoly };
5272e3ee66dSchristos check_syscall_args(linux32_sys_sched_getscheduler)
528577cb108Snjoly 
529d42a74a9Snjoly struct linux32_sys_sched_get_priority_max_args {
530d42a74a9Snjoly 	syscallarg(int) policy;
531d42a74a9Snjoly };
532d42a74a9Snjoly check_syscall_args(linux32_sys_sched_get_priority_max)
533d42a74a9Snjoly 
534d42a74a9Snjoly struct linux32_sys_sched_get_priority_min_args {
535d42a74a9Snjoly 	syscallarg(int) policy;
536d42a74a9Snjoly };
537d42a74a9Snjoly check_syscall_args(linux32_sys_sched_get_priority_min)
538d42a74a9Snjoly 
5397712a0fcSnjoly struct linux32_sys_nanosleep_args {
5407712a0fcSnjoly 	syscallarg(linux32_timespecp_t) rqtp;
5417712a0fcSnjoly 	syscallarg(linux32_timespecp_t) rmtp;
5427712a0fcSnjoly };
5437712a0fcSnjoly check_syscall_args(linux32_sys_nanosleep)
5446fb2884cSdsl 
545717102f4Smanu struct linux32_sys_mremap_args {
546717102f4Smanu 	syscallarg(netbsd32_voidp) old_address;
547717102f4Smanu 	syscallarg(netbsd32_size_t) old_size;
548717102f4Smanu 	syscallarg(netbsd32_size_t) new_size;
549717102f4Smanu 	syscallarg(netbsd32_u_long) flags;
550717102f4Smanu };
5512e3ee66dSchristos check_syscall_args(linux32_sys_mremap)
552717102f4Smanu 
553577cb108Snjoly struct linux32_sys_setresuid16_args {
554f5183fcaSnjoly 	syscallarg(linux32_uid16_t) ruid;
555f5183fcaSnjoly 	syscallarg(linux32_uid16_t) euid;
556f5183fcaSnjoly 	syscallarg(linux32_uid16_t) suid;
557577cb108Snjoly };
5582e3ee66dSchristos check_syscall_args(linux32_sys_setresuid16)
559577cb108Snjoly 
560f5183fcaSnjoly struct linux32_sys_getresuid16_args {
561f5183fcaSnjoly 	syscallarg(linux32_uid16p_t) ruid;
562f5183fcaSnjoly 	syscallarg(linux32_uid16p_t) euid;
563f5183fcaSnjoly 	syscallarg(linux32_uid16p_t) suid;
564f5183fcaSnjoly };
565f5183fcaSnjoly check_syscall_args(linux32_sys_getresuid16)
566f5183fcaSnjoly 
5676fb2884cSdsl struct netbsd32_poll_args;
5686fb2884cSdsl 
569577cb108Snjoly struct linux32_sys_setresgid16_args {
570f5183fcaSnjoly 	syscallarg(linux32_gid16_t) rgid;
571f5183fcaSnjoly 	syscallarg(linux32_gid16_t) egid;
572f5183fcaSnjoly 	syscallarg(linux32_gid16_t) sgid;
573577cb108Snjoly };
5742e3ee66dSchristos check_syscall_args(linux32_sys_setresgid16)
575577cb108Snjoly 
576f5183fcaSnjoly struct linux32_sys_getresgid16_args {
577f5183fcaSnjoly 	syscallarg(linux32_gid16p_t) rgid;
578f5183fcaSnjoly 	syscallarg(linux32_gid16p_t) egid;
579f5183fcaSnjoly 	syscallarg(linux32_gid16p_t) sgid;
580f5183fcaSnjoly };
581f5183fcaSnjoly check_syscall_args(linux32_sys_getresgid16)
582f5183fcaSnjoly 
583ee0c5b44Smanu struct linux32_sys_rt_sigreturn_args {
584ee0c5b44Smanu 	syscallarg(linux32_ucontextp_t) ucp;
585ee0c5b44Smanu };
5862e3ee66dSchristos check_syscall_args(linux32_sys_rt_sigreturn)
587ee0c5b44Smanu 
588ee0c5b44Smanu struct linux32_sys_rt_sigaction_args {
589ee0c5b44Smanu 	syscallarg(int) signum;
590249f1f85Snjoly 	syscallarg(linux32_sigactionp_t) nsa;
591ee0c5b44Smanu 	syscallarg(linux32_sigactionp_t) osa;
592ee0c5b44Smanu 	syscallarg(netbsd32_size_t) sigsetsize;
593ee0c5b44Smanu };
5942e3ee66dSchristos check_syscall_args(linux32_sys_rt_sigaction)
595ee0c5b44Smanu 
596ee0c5b44Smanu struct linux32_sys_rt_sigprocmask_args {
597ee0c5b44Smanu 	syscallarg(int) how;
598249f1f85Snjoly 	syscallarg(linux32_sigsetp_t) set;
599ee0c5b44Smanu 	syscallarg(linux32_sigsetp_t) oset;
600ee0c5b44Smanu 	syscallarg(netbsd32_size_t) sigsetsize;
601ee0c5b44Smanu };
6022e3ee66dSchristos check_syscall_args(linux32_sys_rt_sigprocmask)
603ee0c5b44Smanu 
604c1c4ce88Snjoly struct linux32_sys_rt_sigpending_args {
605c1c4ce88Snjoly 	syscallarg(linux32_sigsetp_t) set;
606c1c4ce88Snjoly 	syscallarg(netbsd32_size_t) sigsetsize;
607c1c4ce88Snjoly };
608c1c4ce88Snjoly check_syscall_args(linux32_sys_rt_sigpending)
609c1c4ce88Snjoly 
61030d1f33eSchristos struct linux32_sys_rt_sigtimedwait_args {
61115c591f4Schristos 	syscallarg(const linux32_sigsetp_t) set;
61215c591f4Schristos 	syscallarg(linux32_siginfop_t) info;
61315c591f4Schristos 	syscallarg(const linux32_timespecp_t) timeout;
61430d1f33eSchristos };
61530d1f33eSchristos check_syscall_args(linux32_sys_rt_sigtimedwait)
61630d1f33eSchristos 
617e1a778e4Snjoly struct linux32_sys_rt_queueinfo_args {
618e1a778e4Snjoly 	syscallarg(int) pid;
619e1a778e4Snjoly 	syscallarg(int) sig;
620e1a778e4Snjoly 	syscallarg(linux32_siginfop_t) uinfo;
621e1a778e4Snjoly };
622e1a778e4Snjoly check_syscall_args(linux32_sys_rt_queueinfo)
623e1a778e4Snjoly 
624ee0c5b44Smanu struct linux32_sys_rt_sigsuspend_args {
625ee0c5b44Smanu 	syscallarg(linux32_sigsetp_t) unewset;
626ee0c5b44Smanu 	syscallarg(netbsd32_size_t) sigsetsize;
627ee0c5b44Smanu };
6282e3ee66dSchristos check_syscall_args(linux32_sys_rt_sigsuspend)
629ee0c5b44Smanu 
6309d820ef0Sdsl struct linux32_sys_pread_args {
6319d820ef0Sdsl 	syscallarg(int) fd;
6326d397564Snjoly 	syscallarg(netbsd32_voidp) buf;
6339d820ef0Sdsl 	syscallarg(netbsd32_size_t) nbyte;
6347d21c207Snjoly 	syscallarg(netbsd32_off_t) offset;
6359d820ef0Sdsl };
6369d820ef0Sdsl check_syscall_args(linux32_sys_pread)
6379d820ef0Sdsl 
6389d820ef0Sdsl struct linux32_sys_pwrite_args {
6399d820ef0Sdsl 	syscallarg(int) fd;
640249f1f85Snjoly 	syscallarg(netbsd32_voidp) buf;
6419d820ef0Sdsl 	syscallarg(netbsd32_size_t) nbyte;
6427d21c207Snjoly 	syscallarg(netbsd32_off_t) offset;
6439d820ef0Sdsl };
6449d820ef0Sdsl check_syscall_args(linux32_sys_pwrite)
6459d820ef0Sdsl 
646d57ae6a6Snjoly struct linux32_sys_chown16_args {
647249f1f85Snjoly 	syscallarg(netbsd32_charp) path;
648f5183fcaSnjoly 	syscallarg(linux32_uid16_t) uid;
649f5183fcaSnjoly 	syscallarg(linux32_gid16_t) gid;
650d57ae6a6Snjoly };
6512e3ee66dSchristos check_syscall_args(linux32_sys_chown16)
652d57ae6a6Snjoly 
6536fb2884cSdsl struct netbsd32___getcwd_args;
6546fb2884cSdsl 
655ee0c5b44Smanu struct linux32_sys_ugetrlimit_args {
656ee0c5b44Smanu 	syscallarg(int) which;
657ee0c5b44Smanu 	syscallarg(netbsd32_orlimitp_t) rlp;
658ee0c5b44Smanu };
6592e3ee66dSchristos check_syscall_args(linux32_sys_ugetrlimit)
660ee0c5b44Smanu 
661717102f4Smanu struct linux32_sys_mmap2_args {
662717102f4Smanu 	syscallarg(netbsd32_u_long) addr;
663717102f4Smanu 	syscallarg(netbsd32_size_t) len;
664717102f4Smanu 	syscallarg(int) prot;
665717102f4Smanu 	syscallarg(int) flags;
666717102f4Smanu 	syscallarg(int) fd;
667717102f4Smanu 	syscallarg(linux32_off_t) offset;
668717102f4Smanu };
6692e3ee66dSchristos check_syscall_args(linux32_sys_mmap2)
670717102f4Smanu 
67145bce0e5Schs struct linux32_sys_truncate64_args {
67245bce0e5Schs 	syscallarg(netbsd32_charp) path;
67345bce0e5Schs 	syscallarg(uint32_t) lenlo;
67445bce0e5Schs 	syscallarg(uint32_t) lenhi;
67545bce0e5Schs };
67645bce0e5Schs check_syscall_args(linux32_sys_truncate64)
67745bce0e5Schs 
67845bce0e5Schs struct linux32_sys_ftruncate64_args {
67945bce0e5Schs 	syscallarg(unsigned int) fd;
68045bce0e5Schs 	syscallarg(uint32_t) lenlo;
68145bce0e5Schs 	syscallarg(uint32_t) lenhi;
68245bce0e5Schs };
68345bce0e5Schs check_syscall_args(linux32_sys_ftruncate64)
68445bce0e5Schs 
685ee0c5b44Smanu struct linux32_sys_stat64_args {
686249f1f85Snjoly 	syscallarg(netbsd32_charp) path;
687ee0c5b44Smanu 	syscallarg(linux32_stat64p) sp;
688ee0c5b44Smanu };
6892e3ee66dSchristos check_syscall_args(linux32_sys_stat64)
690ee0c5b44Smanu 
691ee0c5b44Smanu struct linux32_sys_lstat64_args {
692249f1f85Snjoly 	syscallarg(netbsd32_charp) path;
693ee0c5b44Smanu 	syscallarg(linux32_stat64p) sp;
694ee0c5b44Smanu };
6952e3ee66dSchristos check_syscall_args(linux32_sys_lstat64)
696ee0c5b44Smanu 
697ee0c5b44Smanu struct linux32_sys_fstat64_args {
698ee0c5b44Smanu 	syscallarg(int) fd;
699ee0c5b44Smanu 	syscallarg(linux32_stat64p) sp;
700ee0c5b44Smanu };
7012e3ee66dSchristos check_syscall_args(linux32_sys_fstat64)
702ee0c5b44Smanu 
7036fb2884cSdsl struct netbsd32___posix_lchown_args;
7046fb2884cSdsl 
7056fb2884cSdsl struct netbsd32_setreuid_args;
7066fb2884cSdsl 
7076fb2884cSdsl struct netbsd32_setregid_args;
7086fb2884cSdsl 
7096fb2884cSdsl struct netbsd32_getgroups_args;
7106fb2884cSdsl 
7116fb2884cSdsl struct netbsd32_setgroups_args;
7126fb2884cSdsl 
7136fb2884cSdsl struct netbsd32___posix_fchown_args;
7146fb2884cSdsl 
71584b03d19Smanu struct linux32_sys_setresuid_args {
71684b03d19Smanu 	syscallarg(uid_t) ruid;
71784b03d19Smanu 	syscallarg(uid_t) euid;
71884b03d19Smanu 	syscallarg(uid_t) suid;
71984b03d19Smanu };
7202e3ee66dSchristos check_syscall_args(linux32_sys_setresuid)
72184b03d19Smanu 
72214e966b9Snjoly struct linux32_sys_getresuid_args {
72314e966b9Snjoly 	syscallarg(linux32_uidp_t) ruid;
72414e966b9Snjoly 	syscallarg(linux32_uidp_t) euid;
72514e966b9Snjoly 	syscallarg(linux32_uidp_t) suid;
72614e966b9Snjoly };
72714e966b9Snjoly check_syscall_args(linux32_sys_getresuid)
72814e966b9Snjoly 
72984b03d19Smanu struct linux32_sys_setresgid_args {
73084b03d19Smanu 	syscallarg(gid_t) rgid;
73184b03d19Smanu 	syscallarg(gid_t) egid;
73284b03d19Smanu 	syscallarg(gid_t) sgid;
73384b03d19Smanu };
7342e3ee66dSchristos check_syscall_args(linux32_sys_setresgid)
73584b03d19Smanu 
73614e966b9Snjoly struct linux32_sys_getresgid_args {
73714e966b9Snjoly 	syscallarg(linux32_gidp_t) rgid;
73814e966b9Snjoly 	syscallarg(linux32_gidp_t) egid;
73914e966b9Snjoly 	syscallarg(linux32_gidp_t) sgid;
74014e966b9Snjoly };
74114e966b9Snjoly check_syscall_args(linux32_sys_getresgid)
74214e966b9Snjoly 
7436fb2884cSdsl struct netbsd32___posix_chown_args;
7446fb2884cSdsl 
7456fb2884cSdsl struct netbsd32_setuid_args;
7466fb2884cSdsl 
7476fb2884cSdsl struct netbsd32_setgid_args;
7486fb2884cSdsl 
749577cb108Snjoly struct linux32_sys_setfsuid_args {
750577cb108Snjoly 	syscallarg(uid_t) uid;
751577cb108Snjoly };
7522e3ee66dSchristos check_syscall_args(linux32_sys_setfsuid)
753577cb108Snjoly 
75490dee752Snjoly struct linux32_sys_setfsgid_args {
75590dee752Snjoly 	syscallarg(gid_t) gid;
75690dee752Snjoly };
75790dee752Snjoly check_syscall_args(linux32_sys_setfsgid)
75890dee752Snjoly 
759bc0bccb4Snjoly struct netbsd32_mincore_args;
760bc0bccb4Snjoly 
7616fb2884cSdsl struct netbsd32_madvise_args;
7626fb2884cSdsl 
763ee0c5b44Smanu struct linux32_sys_getdents64_args {
764ee0c5b44Smanu 	syscallarg(int) fd;
765ee0c5b44Smanu 	syscallarg(linux32_dirent64p_t) dent;
766ee0c5b44Smanu 	syscallarg(unsigned int) count;
767ee0c5b44Smanu };
7682e3ee66dSchristos check_syscall_args(linux32_sys_getdents64)
769c0601913Sdsl #define linux32_sys_fcntl64 linux32_sys_fcntl
770c0601913Sdsl #define linux32_sys_fcntl64_args linux32_sys_fcntl_args
771ee0c5b44Smanu 
772c0601913Sdsl struct linux32_sys_fcntl64_args;
773ee0c5b44Smanu 
774ae496e15Schristos struct netbsd32_setxattr_args;
775c35446cdSchristos 
776ae496e15Schristos struct netbsd32_lsetxattr_args;
777c35446cdSchristos 
778ae496e15Schristos struct netbsd32_fsetxattr_args;
779c35446cdSchristos 
780ae496e15Schristos struct netbsd32_getxattr_args;
781c35446cdSchristos 
782ae496e15Schristos struct netbsd32_lgetxattr_args;
783c35446cdSchristos 
784ae496e15Schristos struct netbsd32_fgetxattr_args;
785c35446cdSchristos 
786ae496e15Schristos struct netbsd32_listxattr_args;
787c35446cdSchristos 
788ae496e15Schristos struct netbsd32_llistxattr_args;
789c35446cdSchristos 
790ae496e15Schristos struct netbsd32_flistxattr_args;
791c35446cdSchristos 
792ae496e15Schristos struct netbsd32_removexattr_args;
793c35446cdSchristos 
794ae496e15Schristos struct netbsd32_lremovexattr_args;
795c35446cdSchristos 
796ae496e15Schristos struct netbsd32_fremovexattr_args;
797c35446cdSchristos 
798d916122eSchs struct linux32_sys_tkill_args {
799d916122eSchs 	syscallarg(int) tid;
800d916122eSchs 	syscallarg(int) sig;
801d916122eSchs };
802d916122eSchs check_syscall_args(linux32_sys_tkill)
803d916122eSchs 
804d916122eSchs struct linux32_sys_futex_args {
805d916122eSchs 	syscallarg(linux32_intp_t) uaddr;
806d916122eSchs 	syscallarg(int) op;
807d916122eSchs 	syscallarg(int) val;
808d916122eSchs 	syscallarg(linux32_timespecp_t) timeout;
809d916122eSchs 	syscallarg(linux32_intp_t) uaddr2;
810d916122eSchs 	syscallarg(int) val3;
811d916122eSchs };
812d916122eSchs check_syscall_args(linux32_sys_futex)
813d916122eSchs 
814d916122eSchs struct linux32_sys_sched_setaffinity_args {
815d916122eSchs 	syscallarg(pid_t) pid;
816d916122eSchs 	syscallarg(unsigned int) len;
817d916122eSchs 	syscallarg(linux32_ulongp_t) mask;
818d916122eSchs };
819d916122eSchs check_syscall_args(linux32_sys_sched_setaffinity)
820d916122eSchs 
821d916122eSchs struct linux32_sys_sched_getaffinity_args {
822d916122eSchs 	syscallarg(pid_t) pid;
823d916122eSchs 	syscallarg(unsigned int) len;
824d916122eSchs 	syscallarg(linux32_ulongp_t) mask;
825d916122eSchs };
826d916122eSchs check_syscall_args(linux32_sys_sched_getaffinity)
827d916122eSchs 
828d916122eSchs struct linux32_sys_set_thread_area_args {
829d916122eSchs 	syscallarg(linux32_user_descp_t) desc;
830d916122eSchs };
831d916122eSchs check_syscall_args(linux32_sys_set_thread_area)
832d916122eSchs 
833d916122eSchs struct linux32_sys_get_thread_area_args {
834d916122eSchs 	syscallarg(linux32_user_descp_t) desc;
835d916122eSchs };
836d916122eSchs check_syscall_args(linux32_sys_get_thread_area)
837d916122eSchs 
838dab2e0b5Salnsn struct linux32_sys_fadvise64_args {
839dab2e0b5Salnsn 	syscallarg(int) fd;
840dab2e0b5Salnsn 	syscallarg(uint32_t) offlo;
841dab2e0b5Salnsn 	syscallarg(uint32_t) offhi;
842dab2e0b5Salnsn 	syscallarg(linux32_size_t) len;
843dab2e0b5Salnsn 	syscallarg(int) advice;
844dab2e0b5Salnsn };
845dab2e0b5Salnsn check_syscall_args(linux32_sys_fadvise64)
846dab2e0b5Salnsn 
847577cb108Snjoly struct linux32_sys_exit_group_args {
848577cb108Snjoly 	syscallarg(int) error_code;
849577cb108Snjoly };
8502e3ee66dSchristos check_syscall_args(linux32_sys_exit_group)
851577cb108Snjoly 
852d916122eSchs struct linux32_sys_set_tid_address_args {
853d916122eSchs 	syscallarg(linux32_intp_t) tid;
854d916122eSchs };
855d916122eSchs check_syscall_args(linux32_sys_set_tid_address)
856d916122eSchs 
857a108364eSthorpej struct linux32_sys_timer_create_args {
858a108364eSthorpej 	syscallarg(clockid_t) clockid;
859a108364eSthorpej 	syscallarg(struct linux32_sigevent *) evp;
860a108364eSthorpej 	syscallarg(timer_t *) timerid;
861a108364eSthorpej };
862a108364eSthorpej check_syscall_args(linux32_sys_timer_create)
863a108364eSthorpej 
864a108364eSthorpej struct linux32_sys_timer_settime_args {
865a108364eSthorpej 	syscallarg(timer_t) timerid;
866a108364eSthorpej 	syscallarg(int) flags;
867a108364eSthorpej 	syscallarg(const struct linux32_itimerspec *) tim;
868a108364eSthorpej 	syscallarg(struct linux32_itimerspec *) otim;
869a108364eSthorpej };
870a108364eSthorpej check_syscall_args(linux32_sys_timer_settime)
871a108364eSthorpej 
872a108364eSthorpej struct linux32_sys_timer_gettime_args {
873a108364eSthorpej 	syscallarg(timer_t) timerid;
874a108364eSthorpej 	syscallarg(struct linux32_itimerspec *) tim;
875a108364eSthorpej };
876a108364eSthorpej check_syscall_args(linux32_sys_timer_gettime)
877a108364eSthorpej 
878a108364eSthorpej struct sys_timer_getoverrun_args;
879a108364eSthorpej 
880a108364eSthorpej struct sys_timer_delete_args;
881a108364eSthorpej 
8823dadb2a2Snjoly struct linux32_sys_clock_settime_args {
8833dadb2a2Snjoly 	syscallarg(clockid_t) which;
8843dadb2a2Snjoly 	syscallarg(linux32_timespecp_t) tp;
8853dadb2a2Snjoly };
8863dadb2a2Snjoly check_syscall_args(linux32_sys_clock_settime)
8873dadb2a2Snjoly 
8883dadb2a2Snjoly struct linux32_sys_clock_gettime_args {
8893dadb2a2Snjoly 	syscallarg(clockid_t) which;
8903dadb2a2Snjoly 	syscallarg(linux32_timespecp_t) tp;
8913dadb2a2Snjoly };
8923dadb2a2Snjoly check_syscall_args(linux32_sys_clock_gettime)
8933dadb2a2Snjoly 
8943dadb2a2Snjoly struct linux32_sys_clock_getres_args {
8953dadb2a2Snjoly 	syscallarg(clockid_t) which;
8963dadb2a2Snjoly 	syscallarg(linux32_timespecp_t) tp;
8973dadb2a2Snjoly };
8983dadb2a2Snjoly check_syscall_args(linux32_sys_clock_getres)
8993dadb2a2Snjoly 
9006b9fe023Snjoly struct linux32_sys_clock_nanosleep_args {
9016b9fe023Snjoly 	syscallarg(clockid_t) which;
9026b9fe023Snjoly 	syscallarg(int) flags;
9036b9fe023Snjoly 	syscallarg(linux32_timespecp_t) rqtp;
9046b9fe023Snjoly 	syscallarg(linux32_timespecp_t) rmtp;
9056b9fe023Snjoly };
9066b9fe023Snjoly check_syscall_args(linux32_sys_clock_nanosleep)
9076b9fe023Snjoly 
90845bce0e5Schs struct linux32_sys_statfs64_args {
90945bce0e5Schs 	syscallarg(netbsd32_charp) path;
91045bce0e5Schs 	syscallarg(netbsd32_size_t) sz;
91145bce0e5Schs 	syscallarg(linux32_statfs64p) sp;
91245bce0e5Schs };
91345bce0e5Schs check_syscall_args(linux32_sys_statfs64)
91445bce0e5Schs 
91545bce0e5Schs struct linux32_sys_fstatfs64_args {
91645bce0e5Schs 	syscallarg(int) fd;
91745bce0e5Schs 	syscallarg(netbsd32_size_t) sz;
91845bce0e5Schs 	syscallarg(linux32_statfs64p) sp;
91945bce0e5Schs };
92045bce0e5Schs check_syscall_args(linux32_sys_fstatfs64)
92145bce0e5Schs 
922d916122eSchs struct linux32_sys_tgkill_args {
923d916122eSchs 	syscallarg(int) tgid;
924d916122eSchs 	syscallarg(int) tid;
925d916122eSchs 	syscallarg(int) sig;
926d916122eSchs };
927d916122eSchs check_syscall_args(linux32_sys_tgkill)
928d916122eSchs 
929c45e6d87Snjoly struct compat_50_netbsd32_utimes_args;
930c45e6d87Snjoly 
931dab2e0b5Salnsn struct linux32_sys_fadvise64_64_args {
932dab2e0b5Salnsn 	syscallarg(int) fd;
933dab2e0b5Salnsn 	syscallarg(uint32_t) offlo;
934dab2e0b5Salnsn 	syscallarg(uint32_t) offhi;
935dab2e0b5Salnsn 	syscallarg(uint32_t) lenlo;
936dab2e0b5Salnsn 	syscallarg(uint32_t) lenhi;
937dab2e0b5Salnsn 	syscallarg(int) advice;
938dab2e0b5Salnsn };
939dab2e0b5Salnsn check_syscall_args(linux32_sys_fadvise64_64)
940dab2e0b5Salnsn 
941c1e3376bSchs struct linux32_sys_openat_args {
942c1e3376bSchs 	syscallarg(int) fd;
943c1e3376bSchs 	syscallarg(netbsd32_charp) path;
944c1e3376bSchs 	syscallarg(int) flags;
945c1e3376bSchs 	syscallarg(linux_umode_t) mode;
946c1e3376bSchs };
947c1e3376bSchs check_syscall_args(linux32_sys_openat)
948c1e3376bSchs 
949c1e3376bSchs struct netbsd32_mkdirat_args;
950c1e3376bSchs 
951c1e3376bSchs struct linux32_sys_mknodat_args {
952c1e3376bSchs 	syscallarg(int) fd;
953c1e3376bSchs 	syscallarg(netbsd32_charp) path;
954c1e3376bSchs 	syscallarg(linux_umode_t) mode;
955c1e3376bSchs 	syscallarg(unsigned) dev;
956c1e3376bSchs };
957c1e3376bSchs check_syscall_args(linux32_sys_mknodat)
958c1e3376bSchs 
959c1e3376bSchs struct linux32_sys_fchownat_args {
960c1e3376bSchs 	syscallarg(int) fd;
961c1e3376bSchs 	syscallarg(netbsd32_charp) path;
962c1e3376bSchs 	syscallarg(uid_t) owner;
963c1e3376bSchs 	syscallarg(gid_t) group;
964c1e3376bSchs 	syscallarg(int) flag;
965c1e3376bSchs };
966c1e3376bSchs check_syscall_args(linux32_sys_fchownat)
967c1e3376bSchs 
968c1e3376bSchs struct linux32_sys_fstatat64_args {
969c1e3376bSchs 	syscallarg(int) fd;
970c1e3376bSchs 	syscallarg(netbsd32_charp) path;
971c1e3376bSchs 	syscallarg(linux32_stat64p) sp;
972c1e3376bSchs 	syscallarg(int) flag;
973c1e3376bSchs };
974c1e3376bSchs check_syscall_args(linux32_sys_fstatat64)
975c1e3376bSchs 
976c1e3376bSchs struct linux32_sys_unlinkat_args {
977c1e3376bSchs 	syscallarg(int) fd;
978c1e3376bSchs 	syscallarg(netbsd32_charp) path;
979c1e3376bSchs 	syscallarg(int) flag;
980c1e3376bSchs };
981c1e3376bSchs check_syscall_args(linux32_sys_unlinkat)
982c1e3376bSchs 
983c1e3376bSchs struct netbsd32_renameat_args;
984c1e3376bSchs 
985c1e3376bSchs struct linux32_sys_linkat_args {
986c1e3376bSchs 	syscallarg(int) fd1;
987c1e3376bSchs 	syscallarg(netbsd32_charp) name1;
988c1e3376bSchs 	syscallarg(int) fd2;
989c1e3376bSchs 	syscallarg(netbsd32_charp) name2;
990c1e3376bSchs 	syscallarg(int) flags;
991c1e3376bSchs };
992c1e3376bSchs check_syscall_args(linux32_sys_linkat)
993c1e3376bSchs 
994c1e3376bSchs struct netbsd32_symlinkat_args;
995c1e3376bSchs 
996c1e3376bSchs struct netbsd32_readlinkat_args;
997c1e3376bSchs 
998c1e3376bSchs struct linux32_sys_fchmodat_args {
999c1e3376bSchs 	syscallarg(int) fd;
1000c1e3376bSchs 	syscallarg(netbsd32_charp) path;
1001c1e3376bSchs 	syscallarg(linux_umode_t) mode;
1002c1e3376bSchs };
1003c1e3376bSchs check_syscall_args(linux32_sys_fchmodat)
1004c1e3376bSchs 
1005c1e3376bSchs struct linux32_sys_faccessat_args {
1006c1e3376bSchs 	syscallarg(int) fd;
1007c1e3376bSchs 	syscallarg(netbsd32_charp) path;
1008c1e3376bSchs 	syscallarg(int) amode;
1009c1e3376bSchs };
1010c1e3376bSchs check_syscall_args(linux32_sys_faccessat)
1011c1e3376bSchs 
101232432d67Sryo struct linux32_sys_pselect6_args {
101332432d67Sryo 	syscallarg(int) nfds;
101432432d67Sryo 	syscallarg(netbsd32_fd_setp_t) readfds;
101532432d67Sryo 	syscallarg(netbsd32_fd_setp_t) writefds;
101632432d67Sryo 	syscallarg(netbsd32_fd_setp_t) exceptfds;
101732432d67Sryo 	syscallarg(linux32_timespecp_t) timeout;
101832432d67Sryo 	syscallarg(linux32_sized_sigsetp_t) ss;
101932432d67Sryo };
102032432d67Sryo check_syscall_args(linux32_sys_pselect6)
102132432d67Sryo 
1022aee571dfSnjoly struct linux32_sys_ppoll_args {
1023aee571dfSnjoly 	syscallarg(netbsd32_pollfdp_t) fds;
1024aee571dfSnjoly 	syscallarg(u_int) nfds;
1025aee571dfSnjoly 	syscallarg(linux32_timespecp_t) timeout;
1026aee571dfSnjoly 	syscallarg(linux32_sigsetp_t) sigset;
1027aee571dfSnjoly };
1028aee571dfSnjoly check_syscall_args(linux32_sys_ppoll)
1029aee571dfSnjoly 
1030cb9aba0eSthorpej struct netbsd32___futex_set_robust_list_args;
1031d916122eSchs 
1032cb9aba0eSthorpej struct netbsd32___futex_get_robust_list_args;
1033d916122eSchs 
1034c1e3376bSchs struct linux32_sys_utimensat_args {
1035c1e3376bSchs 	syscallarg(int) fd;
1036c1e3376bSchs 	syscallarg(netbsd32_charp) path;
1037c1e3376bSchs 	syscallarg(linux32_timespecp_t) times;
1038c1e3376bSchs 	syscallarg(int) flag;
1039c1e3376bSchs };
1040c1e3376bSchs check_syscall_args(linux32_sys_utimensat)
1041c1e3376bSchs 
104230226473Sthorpej struct linux_sys_timerfd_create_args;
104330226473Sthorpej 
10447a09b9c7Sthorpej struct linux32_sys_eventfd_args {
10457a09b9c7Sthorpej 	syscallarg(unsigned int) initval;
10467a09b9c7Sthorpej };
10477a09b9c7Sthorpej check_syscall_args(linux32_sys_eventfd)
10487a09b9c7Sthorpej 
1049d61dd23cSjdolecek struct linux32_sys_fallocate_args {
1050d61dd23cSjdolecek 	syscallarg(int) fd;
1051d61dd23cSjdolecek 	syscallarg(int) mode;
1052d61dd23cSjdolecek 	syscallarg(off_t) offset;
1053d61dd23cSjdolecek 	syscallarg(off_t) len;
1054d61dd23cSjdolecek };
1055d61dd23cSjdolecek check_syscall_args(linux32_sys_fallocate)
1056d61dd23cSjdolecek 
105730226473Sthorpej struct linux32_sys_timerfd_settime_args {
105830226473Sthorpej 	syscallarg(int) fd;
105930226473Sthorpej 	syscallarg(int) flags;
106030226473Sthorpej 	syscallarg(const struct linux32_itimerspec *) tim;
106130226473Sthorpej 	syscallarg(struct linux32_itimerspec *) otim;
106230226473Sthorpej };
106330226473Sthorpej check_syscall_args(linux32_sys_timerfd_settime)
106430226473Sthorpej 
106530226473Sthorpej struct linux32_sys_timerfd_gettime_args {
106630226473Sthorpej 	syscallarg(int) fd;
106730226473Sthorpej 	syscallarg(struct linux32_itimerspec *) tim;
106830226473Sthorpej };
106930226473Sthorpej check_syscall_args(linux32_sys_timerfd_gettime)
107030226473Sthorpej 
10717a09b9c7Sthorpej struct linux32_sys_eventfd2_args {
10727a09b9c7Sthorpej 	syscallarg(unsigned int) initval;
10737a09b9c7Sthorpej 	syscallarg(int) flags;
10747a09b9c7Sthorpej };
10757a09b9c7Sthorpej check_syscall_args(linux32_sys_eventfd2)
10767a09b9c7Sthorpej 
107753dcc526Schristos struct linux32_sys_dup3_args {
107853dcc526Schristos 	syscallarg(int) from;
107953dcc526Schristos 	syscallarg(int) to;
108053dcc526Schristos 	syscallarg(int) flags;
108153dcc526Schristos };
108253dcc526Schristos check_syscall_args(linux32_sys_dup3)
108353dcc526Schristos 
108453dcc526Schristos struct linux32_sys_pipe2_args {
108553dcc526Schristos 	syscallarg(netbsd32_intp) fd;
108653dcc526Schristos 	syscallarg(int) flags;
108753dcc526Schristos };
108853dcc526Schristos check_syscall_args(linux32_sys_pipe2)
108953dcc526Schristos 
1090d007899aSthorpej struct linux32_sys_preadv_args {
1091d007899aSthorpej 	syscallarg(int) fd;
1092d007899aSthorpej 	syscallarg(const netbsd32_iovecp_t) iovp;
1093d007899aSthorpej 	syscallarg(int) iovcnt;
1094d007899aSthorpej 	syscallarg(netbsd32_u_long) off_lo;
1095d007899aSthorpej 	syscallarg(netbsd32_u_long) off_hi;
1096d007899aSthorpej };
1097d007899aSthorpej check_syscall_args(linux32_sys_preadv)
1098d007899aSthorpej 
1099d007899aSthorpej struct linux32_sys_pwritev_args {
1100d007899aSthorpej 	syscallarg(int) fd;
1101d007899aSthorpej 	syscallarg(const netbsd32_iovecp_t) iovp;
1102d007899aSthorpej 	syscallarg(int) iovcnt;
1103d007899aSthorpej 	syscallarg(netbsd32_u_long) off_lo;
1104d007899aSthorpej 	syscallarg(netbsd32_u_long) off_hi;
1105d007899aSthorpej };
1106d007899aSthorpej check_syscall_args(linux32_sys_pwritev)
1107d007899aSthorpej 
1108*dc0b6747Sryo struct linux32_sys_prlimit64_args {
1109*dc0b6747Sryo 	syscallarg(pid_t) pid;
1110*dc0b6747Sryo 	syscallarg(int) which;
1111*dc0b6747Sryo 	syscallarg(netbsd32_rlimitp_t) new_rlp;
1112*dc0b6747Sryo 	syscallarg(netbsd32_rlimitp_t) old_rlp;
1113*dc0b6747Sryo };
1114*dc0b6747Sryo check_syscall_args(linux32_sys_prlimit64)
1115*dc0b6747Sryo 
1116ee0c5b44Smanu /*
1117ee0c5b44Smanu  * System call prototypes.
1118ee0c5b44Smanu  */
1119ee0c5b44Smanu 
11206fb2884cSdsl int	linux_sys_nosys(struct lwp *, const void *, register_t *);
1121ee0c5b44Smanu 
1122d916122eSchs int	linux32_sys_exit(struct lwp *, const struct linux32_sys_exit_args *, register_t *);
1123ee0c5b44Smanu 
11246fb2884cSdsl int	sys_fork(struct lwp *, const void *, register_t *);
1125ee0c5b44Smanu 
11266fb2884cSdsl int	netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *);
1127ee0c5b44Smanu 
11286fb2884cSdsl int	netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *);
1129ee0c5b44Smanu 
11306fb2884cSdsl int	linux32_sys_open(struct lwp *, const struct linux32_sys_open_args *, register_t *);
1131ee0c5b44Smanu 
11326fb2884cSdsl int	netbsd32_close(struct lwp *, const struct netbsd32_close_args *, register_t *);
1133ee0c5b44Smanu 
11346fb2884cSdsl int	linux32_sys_waitpid(struct lwp *, const struct linux32_sys_waitpid_args *, register_t *);
1135ee0c5b44Smanu 
11366fb2884cSdsl int	linux32_sys_creat(struct lwp *, const struct linux32_sys_creat_args *, register_t *);
1137ee0c5b44Smanu 
11386fb2884cSdsl int	netbsd32_link(struct lwp *, const struct netbsd32_link_args *, register_t *);
1139ee0c5b44Smanu 
11406fb2884cSdsl int	linux32_sys_unlink(struct lwp *, const struct linux32_sys_unlink_args *, register_t *);
1141ee0c5b44Smanu 
11426fb2884cSdsl int	netbsd32_execve(struct lwp *, const struct netbsd32_execve_args *, register_t *);
1143ee0c5b44Smanu 
11446fb2884cSdsl int	netbsd32_chdir(struct lwp *, const struct netbsd32_chdir_args *, register_t *);
1145ee0c5b44Smanu 
11466fb2884cSdsl int	linux32_sys_time(struct lwp *, const struct linux32_sys_time_args *, register_t *);
1147ee0c5b44Smanu 
11486fb2884cSdsl int	linux32_sys_mknod(struct lwp *, const struct linux32_sys_mknod_args *, register_t *);
1149ee0c5b44Smanu 
11506fb2884cSdsl int	netbsd32_chmod(struct lwp *, const struct netbsd32_chmod_args *, register_t *);
1151ee0c5b44Smanu 
11526fb2884cSdsl int	linux32_sys_lchown16(struct lwp *, const struct linux32_sys_lchown16_args *, register_t *);
1153ee0c5b44Smanu 
11546fb2884cSdsl int	linux32_sys_break(struct lwp *, const struct linux32_sys_break_args *, register_t *);
1155ee0c5b44Smanu 
11566fb2884cSdsl int	compat_43_netbsd32_olseek(struct lwp *, const struct compat_43_netbsd32_olseek_args *, register_t *);
1157ee0c5b44Smanu 
1158d916122eSchs int	sys_getpid(struct lwp *, const void *, register_t *);
1159ee0c5b44Smanu 
11606fb2884cSdsl int	netbsd32_setuid(struct lwp *, const struct netbsd32_setuid_args *, register_t *);
1161ee0c5b44Smanu 
11626fb2884cSdsl int	sys_getuid(struct lwp *, const void *, register_t *);
1163ee0c5b44Smanu 
11646fb2884cSdsl int	linux32_sys_stime(struct lwp *, const struct linux32_sys_stime_args *, register_t *);
1165ee0c5b44Smanu 
11667a9a590eSchristos int	linux32_sys_ptrace(struct lwp *, const struct linux32_sys_ptrace_args *, register_t *);
11677a9a590eSchristos 
11686fb2884cSdsl int	linux32_sys_alarm(struct lwp *, const struct linux32_sys_alarm_args *, register_t *);
1169ee0c5b44Smanu 
11706fb2884cSdsl int	linux_sys_pause(struct lwp *, const void *, register_t *);
1171ee0c5b44Smanu 
11726fb2884cSdsl int	linux32_sys_utime(struct lwp *, const struct linux32_sys_utime_args *, register_t *);
1173ee0c5b44Smanu 
11746fb2884cSdsl int	netbsd32_access(struct lwp *, const struct netbsd32_access_args *, register_t *);
1175ee0c5b44Smanu 
11766fb2884cSdsl int	linux32_sys_nice(struct lwp *, const struct linux32_sys_nice_args *, register_t *);
1177ee0c5b44Smanu 
11786fb2884cSdsl int	sys_sync(struct lwp *, const void *, register_t *);
1179ee0c5b44Smanu 
11806fb2884cSdsl int	linux32_sys_kill(struct lwp *, const struct linux32_sys_kill_args *, register_t *);
1181ee0c5b44Smanu 
1182b6ef5a15Snjoly int	netbsd32___posix_rename(struct lwp *, const struct netbsd32___posix_rename_args *, register_t *);
1183ee0c5b44Smanu 
11846fb2884cSdsl int	netbsd32_mkdir(struct lwp *, const struct netbsd32_mkdir_args *, register_t *);
1185ee0c5b44Smanu 
11866fb2884cSdsl int	netbsd32_rmdir(struct lwp *, const struct netbsd32_rmdir_args *, register_t *);
1187ee0c5b44Smanu 
11886fb2884cSdsl int	netbsd32_dup(struct lwp *, const struct netbsd32_dup_args *, register_t *);
1189ee0c5b44Smanu 
11906fb2884cSdsl int	linux32_sys_pipe(struct lwp *, const struct linux32_sys_pipe_args *, register_t *);
1191ee0c5b44Smanu 
11926fb2884cSdsl int	linux32_sys_times(struct lwp *, const struct linux32_sys_times_args *, register_t *);
1193ee0c5b44Smanu 
11946fb2884cSdsl int	linux32_sys_brk(struct lwp *, const struct linux32_sys_brk_args *, register_t *);
1195ee0c5b44Smanu 
11966fb2884cSdsl int	netbsd32_setgid(struct lwp *, const struct netbsd32_setgid_args *, register_t *);
1197ee0c5b44Smanu 
11986fb2884cSdsl int	sys_getgid(struct lwp *, const void *, register_t *);
1199ee0c5b44Smanu 
12006fb2884cSdsl int	linux32_sys_signal(struct lwp *, const struct linux32_sys_signal_args *, register_t *);
1201ee0c5b44Smanu 
12026fb2884cSdsl int	sys_geteuid(struct lwp *, const void *, register_t *);
1203ee0c5b44Smanu 
12046fb2884cSdsl int	sys_getegid(struct lwp *, const void *, register_t *);
1205ee0c5b44Smanu 
12066fb2884cSdsl int	netbsd32_acct(struct lwp *, const struct netbsd32_acct_args *, register_t *);
1207ee0c5b44Smanu 
12086fb2884cSdsl int	linux32_sys_ioctl(struct lwp *, const struct linux32_sys_ioctl_args *, register_t *);
1209ee0c5b44Smanu 
12106fb2884cSdsl int	linux32_sys_fcntl(struct lwp *, const struct linux32_sys_fcntl_args *, register_t *);
1211ee0c5b44Smanu 
12126fb2884cSdsl int	netbsd32_setpgid(struct lwp *, const struct netbsd32_setpgid_args *, register_t *);
1213ee0c5b44Smanu 
12146fb2884cSdsl int	linux32_sys_oldolduname(struct lwp *, const struct linux32_sys_oldolduname_args *, register_t *);
1215ee0c5b44Smanu 
12166fb2884cSdsl int	netbsd32_umask(struct lwp *, const struct netbsd32_umask_args *, register_t *);
1217ee0c5b44Smanu 
12186fb2884cSdsl int	netbsd32_chroot(struct lwp *, const struct netbsd32_chroot_args *, register_t *);
1219ee0c5b44Smanu 
12206fb2884cSdsl int	netbsd32_dup2(struct lwp *, const struct netbsd32_dup2_args *, register_t *);
1221ee0c5b44Smanu 
1222d916122eSchs int	sys_getppid(struct lwp *, const void *, register_t *);
1223ee0c5b44Smanu 
12246fb2884cSdsl int	sys_getpgrp(struct lwp *, const void *, register_t *);
1225ee0c5b44Smanu 
12266fb2884cSdsl int	sys_setsid(struct lwp *, const void *, register_t *);
1227ee0c5b44Smanu 
122849c8536fSnjoly int	linux32_sys_siggetmask(struct lwp *, const void *, register_t *);
122949c8536fSnjoly 
123049c8536fSnjoly int	linux32_sys_sigsetmask(struct lwp *, const struct linux32_sys_sigsetmask_args *, register_t *);
123149c8536fSnjoly 
12326fb2884cSdsl int	linux32_sys_setreuid16(struct lwp *, const struct linux32_sys_setreuid16_args *, register_t *);
1233ee0c5b44Smanu 
12346fb2884cSdsl int	linux32_sys_setregid16(struct lwp *, const struct linux32_sys_setregid16_args *, register_t *);
1235ee0c5b44Smanu 
12366fb2884cSdsl int	compat_43_netbsd32_osethostname(struct lwp *, const struct compat_43_netbsd32_osethostname_args *, register_t *);
1237ee0c5b44Smanu 
12386fb2884cSdsl int	linux32_sys_setrlimit(struct lwp *, const struct linux32_sys_setrlimit_args *, register_t *);
1239ee0c5b44Smanu 
12406fb2884cSdsl int	linux32_sys_getrlimit(struct lwp *, const struct linux32_sys_getrlimit_args *, register_t *);
1241ee0c5b44Smanu 
1242461a86f9Schristos int	compat_50_netbsd32_getrusage(struct lwp *, const struct compat_50_netbsd32_getrusage_args *, register_t *);
1243ee0c5b44Smanu 
12446fb2884cSdsl int	linux32_sys_gettimeofday(struct lwp *, const struct linux32_sys_gettimeofday_args *, register_t *);
1245ee0c5b44Smanu 
12466fb2884cSdsl int	linux32_sys_settimeofday(struct lwp *, const struct linux32_sys_settimeofday_args *, register_t *);
1247ee0c5b44Smanu 
12486fb2884cSdsl int	linux32_sys_getgroups16(struct lwp *, const struct linux32_sys_getgroups16_args *, register_t *);
1249ee0c5b44Smanu 
12506fb2884cSdsl int	linux32_sys_setgroups16(struct lwp *, const struct linux32_sys_setgroups16_args *, register_t *);
1251ee0c5b44Smanu 
12526fb2884cSdsl int	linux32_sys_oldselect(struct lwp *, const struct linux32_sys_oldselect_args *, register_t *);
1253ee0c5b44Smanu 
12546fb2884cSdsl int	netbsd32_symlink(struct lwp *, const struct netbsd32_symlink_args *, register_t *);
1255ee0c5b44Smanu 
12566fb2884cSdsl int	compat_43_netbsd32_lstat43(struct lwp *, const struct compat_43_netbsd32_lstat43_args *, register_t *);
1257ee0c5b44Smanu 
12586fb2884cSdsl int	netbsd32_readlink(struct lwp *, const struct netbsd32_readlink_args *, register_t *);
1259ee0c5b44Smanu 
12606fb2884cSdsl int	linux32_sys_swapon(struct lwp *, const struct linux32_sys_swapon_args *, register_t *);
1261ee0c5b44Smanu 
12626fb2884cSdsl int	linux32_sys_reboot(struct lwp *, const struct linux32_sys_reboot_args *, register_t *);
1263ee0c5b44Smanu 
1264890b6243Snjoly int	linux32_sys_readdir(struct lwp *, const struct linux32_sys_readdir_args *, register_t *);
1265890b6243Snjoly 
12666fb2884cSdsl int	linux32_sys_old_mmap(struct lwp *, const struct linux32_sys_old_mmap_args *, register_t *);
1267ee0c5b44Smanu 
12686fb2884cSdsl int	netbsd32_munmap(struct lwp *, const struct netbsd32_munmap_args *, register_t *);
1269ee0c5b44Smanu 
1270b6ef5a15Snjoly int	compat_43_netbsd32_otruncate(struct lwp *, const struct compat_43_netbsd32_otruncate_args *, register_t *);
1271ee0c5b44Smanu 
12726fb2884cSdsl int	compat_43_netbsd32_oftruncate(struct lwp *, const struct compat_43_netbsd32_oftruncate_args *, register_t *);
1273ee0c5b44Smanu 
12746fb2884cSdsl int	netbsd32_fchmod(struct lwp *, const struct netbsd32_fchmod_args *, register_t *);
1275ee0c5b44Smanu 
12766fb2884cSdsl int	linux32_sys_fchown16(struct lwp *, const struct linux32_sys_fchown16_args *, register_t *);
1277ee0c5b44Smanu 
12786fb2884cSdsl int	linux32_sys_getpriority(struct lwp *, const struct linux32_sys_getpriority_args *, register_t *);
1279ee0c5b44Smanu 
1280b6ef5a15Snjoly int	netbsd32_setpriority(struct lwp *, const struct netbsd32_setpriority_args *, register_t *);
1281ee0c5b44Smanu 
128245bce0e5Schs int	netbsd32_profil(struct lwp *, const struct netbsd32_profil_args *, register_t *);
128345bce0e5Schs 
12846fb2884cSdsl int	linux32_sys_statfs(struct lwp *, const struct linux32_sys_statfs_args *, register_t *);
1285bc7c2c3bSnjoly 
1286b0b09eacSnjoly int	linux32_sys_fstatfs(struct lwp *, const struct linux32_sys_fstatfs_args *, register_t *);
1287b0b09eacSnjoly 
128845bce0e5Schs int	linux_sys_ioperm(struct lwp *, const struct linux_sys_ioperm_args *, register_t *);
128945bce0e5Schs 
12906fb2884cSdsl int	linux32_sys_socketcall(struct lwp *, const struct linux32_sys_socketcall_args *, register_t *);
1291ee0c5b44Smanu 
1292461a86f9Schristos int	compat_50_netbsd32_setitimer(struct lwp *, const struct compat_50_netbsd32_setitimer_args *, register_t *);
1293ee0c5b44Smanu 
1294461a86f9Schristos int	compat_50_netbsd32_getitimer(struct lwp *, const struct compat_50_netbsd32_getitimer_args *, register_t *);
1295ee0c5b44Smanu 
12964c8893bbSnjoly int	linux32_sys_stat(struct lwp *, const struct linux32_sys_stat_args *, register_t *);
12974c8893bbSnjoly 
12984c8893bbSnjoly int	linux32_sys_lstat(struct lwp *, const struct linux32_sys_lstat_args *, register_t *);
12994c8893bbSnjoly 
13004c8893bbSnjoly int	linux32_sys_fstat(struct lwp *, const struct linux32_sys_fstat_args *, register_t *);
13014c8893bbSnjoly 
13021a1f7ef9Snjoly int	linux32_sys_olduname(struct lwp *, const struct linux32_sys_olduname_args *, register_t *);
13031a1f7ef9Snjoly 
130445bce0e5Schs int	linux_sys_iopl(struct lwp *, const struct linux_sys_iopl_args *, register_t *);
130545bce0e5Schs 
13066fb2884cSdsl int	linux32_sys_wait4(struct lwp *, const struct linux32_sys_wait4_args *, register_t *);
1307ee0c5b44Smanu 
13086fb2884cSdsl int	linux32_sys_swapoff(struct lwp *, const struct linux32_sys_swapoff_args *, register_t *);
1309ee0c5b44Smanu 
13106fb2884cSdsl int	linux32_sys_sysinfo(struct lwp *, const struct linux32_sys_sysinfo_args *, register_t *);
1311717102f4Smanu 
1312da21dc40Snjoly int	linux32_sys_ipc(struct lwp *, const struct linux32_sys_ipc_args *, register_t *);
1313da21dc40Snjoly 
13146fb2884cSdsl int	netbsd32_fsync(struct lwp *, const struct netbsd32_fsync_args *, register_t *);
1315ee0c5b44Smanu 
13166fb2884cSdsl int	linux32_sys_sigreturn(struct lwp *, const struct linux32_sys_sigreturn_args *, register_t *);
1317ee0c5b44Smanu 
13186fb2884cSdsl int	linux32_sys_clone(struct lwp *, const struct linux32_sys_clone_args *, register_t *);
1319ee0c5b44Smanu 
132045bce0e5Schs int	linux32_sys_setdomainname(struct lwp *, const struct linux32_sys_setdomainname_args *, register_t *);
132145bce0e5Schs 
13226fb2884cSdsl int	linux32_sys_uname(struct lwp *, const struct linux32_sys_uname_args *, register_t *);
1323ee0c5b44Smanu 
132445bce0e5Schs int	linux32_sys_modify_ldt(struct lwp *, const struct linux32_sys_modify_ldt_args *, register_t *);
132545bce0e5Schs 
13266fb2884cSdsl int	linux32_sys_mprotect(struct lwp *, const struct linux32_sys_mprotect_args *, register_t *);
1327ee0c5b44Smanu 
13280cebe57bSnjoly int	netbsd32_getpgid(struct lwp *, const struct netbsd32_getpgid_args *, register_t *);
13290cebe57bSnjoly 
13306fb2884cSdsl int	netbsd32_fchdir(struct lwp *, const struct netbsd32_fchdir_args *, register_t *);
1331ee0c5b44Smanu 
13328ed9e9ebSnjoly int	linux32_sys_personality(struct lwp *, const struct linux32_sys_personality_args *, register_t *);
13338ed9e9ebSnjoly 
13346fb2884cSdsl int	linux32_sys_setfsuid(struct lwp *, const struct linux32_sys_setfsuid_args *, register_t *);
13355f6b6270Snjoly 
133690dee752Snjoly int	linux32_sys_setfsgid(struct lwp *, const struct linux32_sys_setfsgid_args *, register_t *);
13375f6b6270Snjoly 
13386fb2884cSdsl int	linux32_sys_llseek(struct lwp *, const struct linux32_sys_llseek_args *, register_t *);
1339ee0c5b44Smanu 
13406fb2884cSdsl int	linux32_sys_getdents(struct lwp *, const struct linux32_sys_getdents_args *, register_t *);
1341ee0c5b44Smanu 
13426fb2884cSdsl int	linux32_sys_select(struct lwp *, const struct linux32_sys_select_args *, register_t *);
1343ee0c5b44Smanu 
13446fb2884cSdsl int	netbsd32_flock(struct lwp *, const struct netbsd32_flock_args *, register_t *);
1345ee0c5b44Smanu 
13468c5bd726Snjoly int	netbsd32___msync13(struct lwp *, const struct netbsd32___msync13_args *, register_t *);
13478c5bd726Snjoly 
13486fb2884cSdsl int	netbsd32_readv(struct lwp *, const struct netbsd32_readv_args *, register_t *);
1349ee0c5b44Smanu 
13506fb2884cSdsl int	netbsd32_writev(struct lwp *, const struct netbsd32_writev_args *, register_t *);
1351ee0c5b44Smanu 
13526fb2884cSdsl int	netbsd32_getsid(struct lwp *, const struct netbsd32_getsid_args *, register_t *);
1353ee0c5b44Smanu 
13546fb2884cSdsl int	linux32_sys_fdatasync(struct lwp *, const struct linux32_sys_fdatasync_args *, register_t *);
1355f0cbe4f3Smanu 
13566fb2884cSdsl int	linux32_sys___sysctl(struct lwp *, const struct linux32_sys___sysctl_args *, register_t *);
1357ee0c5b44Smanu 
1358ac6668f3Snjoly int	netbsd32_mlock(struct lwp *, const struct netbsd32_mlock_args *, register_t *);
1359ac6668f3Snjoly 
1360ac6668f3Snjoly int	netbsd32_munlock(struct lwp *, const struct netbsd32_munlock_args *, register_t *);
1361ac6668f3Snjoly 
13626fb2884cSdsl int	netbsd32_mlockall(struct lwp *, const struct netbsd32_mlockall_args *, register_t *);
1363ee0c5b44Smanu 
13646fb2884cSdsl int	sys_munlockall(struct lwp *, const void *, register_t *);
1365ee0c5b44Smanu 
1366d916122eSchs int	linux32_sys_sched_setparam(struct lwp *, const struct linux32_sys_sched_setparam_args *, register_t *);
1367d916122eSchs 
13686fb2884cSdsl int	linux32_sys_sched_getparam(struct lwp *, const struct linux32_sys_sched_getparam_args *, register_t *);
1369717102f4Smanu 
13706fb2884cSdsl int	linux32_sys_sched_setscheduler(struct lwp *, const struct linux32_sys_sched_setscheduler_args *, register_t *);
1371ee0c5b44Smanu 
13726fb2884cSdsl int	linux32_sys_sched_getscheduler(struct lwp *, const struct linux32_sys_sched_getscheduler_args *, register_t *);
1373717102f4Smanu 
13746fb2884cSdsl int	linux_sys_sched_yield(struct lwp *, const void *, register_t *);
13755f6b6270Snjoly 
1376d42a74a9Snjoly int	linux32_sys_sched_get_priority_max(struct lwp *, const struct linux32_sys_sched_get_priority_max_args *, register_t *);
1377d42a74a9Snjoly 
1378d42a74a9Snjoly int	linux32_sys_sched_get_priority_min(struct lwp *, const struct linux32_sys_sched_get_priority_min_args *, register_t *);
1379d42a74a9Snjoly 
13807712a0fcSnjoly int	linux32_sys_nanosleep(struct lwp *, const struct linux32_sys_nanosleep_args *, register_t *);
1381ee0c5b44Smanu 
13826fb2884cSdsl int	linux32_sys_mremap(struct lwp *, const struct linux32_sys_mremap_args *, register_t *);
1383717102f4Smanu 
13846fb2884cSdsl int	linux32_sys_setresuid16(struct lwp *, const struct linux32_sys_setresuid16_args *, register_t *);
1385ee0c5b44Smanu 
1386f5183fcaSnjoly int	linux32_sys_getresuid16(struct lwp *, const struct linux32_sys_getresuid16_args *, register_t *);
1387f5183fcaSnjoly 
13886fb2884cSdsl int	netbsd32_poll(struct lwp *, const struct netbsd32_poll_args *, register_t *);
1389ee0c5b44Smanu 
13906fb2884cSdsl int	linux32_sys_setresgid16(struct lwp *, const struct linux32_sys_setresgid16_args *, register_t *);
1391ee0c5b44Smanu 
1392f5183fcaSnjoly int	linux32_sys_getresgid16(struct lwp *, const struct linux32_sys_getresgid16_args *, register_t *);
1393f5183fcaSnjoly 
13946fb2884cSdsl int	linux32_sys_rt_sigreturn(struct lwp *, const struct linux32_sys_rt_sigreturn_args *, register_t *);
1395ee0c5b44Smanu 
13966fb2884cSdsl int	linux32_sys_rt_sigaction(struct lwp *, const struct linux32_sys_rt_sigaction_args *, register_t *);
1397ee0c5b44Smanu 
13986fb2884cSdsl int	linux32_sys_rt_sigprocmask(struct lwp *, const struct linux32_sys_rt_sigprocmask_args *, register_t *);
1399ee0c5b44Smanu 
1400c1c4ce88Snjoly int	linux32_sys_rt_sigpending(struct lwp *, const struct linux32_sys_rt_sigpending_args *, register_t *);
1401c1c4ce88Snjoly 
140230d1f33eSchristos int	linux32_sys_rt_sigtimedwait(struct lwp *, const struct linux32_sys_rt_sigtimedwait_args *, register_t *);
140330d1f33eSchristos 
1404e1a778e4Snjoly int	linux32_sys_rt_queueinfo(struct lwp *, const struct linux32_sys_rt_queueinfo_args *, register_t *);
1405e1a778e4Snjoly 
14066fb2884cSdsl int	linux32_sys_rt_sigsuspend(struct lwp *, const struct linux32_sys_rt_sigsuspend_args *, register_t *);
1407ee0c5b44Smanu 
14089d820ef0Sdsl int	linux32_sys_pread(struct lwp *, const struct linux32_sys_pread_args *, register_t *);
14099d820ef0Sdsl 
14109d820ef0Sdsl int	linux32_sys_pwrite(struct lwp *, const struct linux32_sys_pwrite_args *, register_t *);
14119d820ef0Sdsl 
14126fb2884cSdsl int	linux32_sys_chown16(struct lwp *, const struct linux32_sys_chown16_args *, register_t *);
1413d57ae6a6Snjoly 
14146fb2884cSdsl int	netbsd32___getcwd(struct lwp *, const struct netbsd32___getcwd_args *, register_t *);
1415f806470fSmanu 
14166fb2884cSdsl int	sys___vfork14(struct lwp *, const void *, register_t *);
1417ee0c5b44Smanu 
14186fb2884cSdsl int	linux32_sys_ugetrlimit(struct lwp *, const struct linux32_sys_ugetrlimit_args *, register_t *);
1419ee0c5b44Smanu 
14206fb2884cSdsl int	linux32_sys_mmap2(struct lwp *, const struct linux32_sys_mmap2_args *, register_t *);
1421717102f4Smanu 
142245bce0e5Schs int	linux32_sys_truncate64(struct lwp *, const struct linux32_sys_truncate64_args *, register_t *);
142345bce0e5Schs 
142445bce0e5Schs int	linux32_sys_ftruncate64(struct lwp *, const struct linux32_sys_ftruncate64_args *, register_t *);
142545bce0e5Schs 
14266fb2884cSdsl int	linux32_sys_stat64(struct lwp *, const struct linux32_sys_stat64_args *, register_t *);
1427ee0c5b44Smanu 
14286fb2884cSdsl int	linux32_sys_lstat64(struct lwp *, const struct linux32_sys_lstat64_args *, register_t *);
1429ee0c5b44Smanu 
14306fb2884cSdsl int	linux32_sys_fstat64(struct lwp *, const struct linux32_sys_fstat64_args *, register_t *);
1431ee0c5b44Smanu 
14326fb2884cSdsl int	netbsd32___posix_lchown(struct lwp *, const struct netbsd32___posix_lchown_args *, register_t *);
1433d57ae6a6Snjoly 
14346fb2884cSdsl int	netbsd32_setreuid(struct lwp *, const struct netbsd32_setreuid_args *, register_t *);
1435ee0c5b44Smanu 
14366fb2884cSdsl int	netbsd32_setregid(struct lwp *, const struct netbsd32_setregid_args *, register_t *);
1437ee0c5b44Smanu 
14386fb2884cSdsl int	netbsd32_getgroups(struct lwp *, const struct netbsd32_getgroups_args *, register_t *);
14395e9b532bSmanu 
14406fb2884cSdsl int	netbsd32_setgroups(struct lwp *, const struct netbsd32_setgroups_args *, register_t *);
14415e9b532bSmanu 
14426fb2884cSdsl int	netbsd32___posix_fchown(struct lwp *, const struct netbsd32___posix_fchown_args *, register_t *);
1443ee0c5b44Smanu 
14446fb2884cSdsl int	linux32_sys_setresuid(struct lwp *, const struct linux32_sys_setresuid_args *, register_t *);
1445ee0c5b44Smanu 
144614e966b9Snjoly int	linux32_sys_getresuid(struct lwp *, const struct linux32_sys_getresuid_args *, register_t *);
144714e966b9Snjoly 
14486fb2884cSdsl int	linux32_sys_setresgid(struct lwp *, const struct linux32_sys_setresgid_args *, register_t *);
1449ee0c5b44Smanu 
145014e966b9Snjoly int	linux32_sys_getresgid(struct lwp *, const struct linux32_sys_getresgid_args *, register_t *);
145114e966b9Snjoly 
14526fb2884cSdsl int	netbsd32___posix_chown(struct lwp *, const struct netbsd32___posix_chown_args *, register_t *);
1453d57ae6a6Snjoly 
1454bc0bccb4Snjoly int	netbsd32_mincore(struct lwp *, const struct netbsd32_mincore_args *, register_t *);
1455bc0bccb4Snjoly 
14566fb2884cSdsl int	netbsd32_madvise(struct lwp *, const struct netbsd32_madvise_args *, register_t *);
1457717102f4Smanu 
14586fb2884cSdsl int	linux32_sys_getdents64(struct lwp *, const struct linux32_sys_getdents64_args *, register_t *);
1459ee0c5b44Smanu 
1460c0601913Sdsl #define linux32_sys_fcntl64 linux32_sys_fcntl
1461c0601913Sdsl #define linux32_sys_fcntl64_args linux32_sys_fcntl_args
14626fb2884cSdsl int	linux32_sys_fcntl64(struct lwp *, const struct linux32_sys_fcntl64_args *, register_t *);
1463ee0c5b44Smanu 
14646fb2884cSdsl int	linux_sys_gettid(struct lwp *, const void *, register_t *);
1465b7432513Smanu 
1466ae496e15Schristos int	netbsd32_setxattr(struct lwp *, const struct netbsd32_setxattr_args *, register_t *);
1467c35446cdSchristos 
1468ae496e15Schristos int	netbsd32_lsetxattr(struct lwp *, const struct netbsd32_lsetxattr_args *, register_t *);
1469c35446cdSchristos 
1470ae496e15Schristos int	netbsd32_fsetxattr(struct lwp *, const struct netbsd32_fsetxattr_args *, register_t *);
1471c35446cdSchristos 
1472ae496e15Schristos int	netbsd32_getxattr(struct lwp *, const struct netbsd32_getxattr_args *, register_t *);
1473c35446cdSchristos 
1474ae496e15Schristos int	netbsd32_lgetxattr(struct lwp *, const struct netbsd32_lgetxattr_args *, register_t *);
1475c35446cdSchristos 
1476ae496e15Schristos int	netbsd32_fgetxattr(struct lwp *, const struct netbsd32_fgetxattr_args *, register_t *);
1477c35446cdSchristos 
1478ae496e15Schristos int	netbsd32_listxattr(struct lwp *, const struct netbsd32_listxattr_args *, register_t *);
1479c35446cdSchristos 
1480ae496e15Schristos int	netbsd32_llistxattr(struct lwp *, const struct netbsd32_llistxattr_args *, register_t *);
1481c35446cdSchristos 
1482ae496e15Schristos int	netbsd32_flistxattr(struct lwp *, const struct netbsd32_flistxattr_args *, register_t *);
1483c35446cdSchristos 
1484ae496e15Schristos int	netbsd32_removexattr(struct lwp *, const struct netbsd32_removexattr_args *, register_t *);
1485c35446cdSchristos 
1486ae496e15Schristos int	netbsd32_lremovexattr(struct lwp *, const struct netbsd32_lremovexattr_args *, register_t *);
1487c35446cdSchristos 
1488ae496e15Schristos int	netbsd32_fremovexattr(struct lwp *, const struct netbsd32_fremovexattr_args *, register_t *);
1489c35446cdSchristos 
1490d916122eSchs int	linux32_sys_tkill(struct lwp *, const struct linux32_sys_tkill_args *, register_t *);
1491d916122eSchs 
1492d916122eSchs int	linux32_sys_futex(struct lwp *, const struct linux32_sys_futex_args *, register_t *);
1493d916122eSchs 
1494d916122eSchs int	linux32_sys_sched_setaffinity(struct lwp *, const struct linux32_sys_sched_setaffinity_args *, register_t *);
1495d916122eSchs 
1496d916122eSchs int	linux32_sys_sched_getaffinity(struct lwp *, const struct linux32_sys_sched_getaffinity_args *, register_t *);
1497d916122eSchs 
1498d916122eSchs int	linux32_sys_set_thread_area(struct lwp *, const struct linux32_sys_set_thread_area_args *, register_t *);
1499d916122eSchs 
1500d916122eSchs int	linux32_sys_get_thread_area(struct lwp *, const struct linux32_sys_get_thread_area_args *, register_t *);
1501d916122eSchs 
1502dab2e0b5Salnsn int	linux32_sys_fadvise64(struct lwp *, const struct linux32_sys_fadvise64_args *, register_t *);
1503dab2e0b5Salnsn 
15046fb2884cSdsl int	linux32_sys_exit_group(struct lwp *, const struct linux32_sys_exit_group_args *, register_t *);
1505ee0c5b44Smanu 
1506d916122eSchs int	linux32_sys_set_tid_address(struct lwp *, const struct linux32_sys_set_tid_address_args *, register_t *);
1507d916122eSchs 
1508a108364eSthorpej int	linux32_sys_timer_create(struct lwp *, const struct linux32_sys_timer_create_args *, register_t *);
1509a108364eSthorpej 
1510a108364eSthorpej int	linux32_sys_timer_settime(struct lwp *, const struct linux32_sys_timer_settime_args *, register_t *);
1511a108364eSthorpej 
1512a108364eSthorpej int	linux32_sys_timer_gettime(struct lwp *, const struct linux32_sys_timer_gettime_args *, register_t *);
1513a108364eSthorpej 
1514a108364eSthorpej int	sys_timer_getoverrun(struct lwp *, const struct sys_timer_getoverrun_args *, register_t *);
1515a108364eSthorpej 
1516a108364eSthorpej int	sys_timer_delete(struct lwp *, const struct sys_timer_delete_args *, register_t *);
1517a108364eSthorpej 
15183dadb2a2Snjoly int	linux32_sys_clock_settime(struct lwp *, const struct linux32_sys_clock_settime_args *, register_t *);
15193dadb2a2Snjoly 
15203dadb2a2Snjoly int	linux32_sys_clock_gettime(struct lwp *, const struct linux32_sys_clock_gettime_args *, register_t *);
15213dadb2a2Snjoly 
15223dadb2a2Snjoly int	linux32_sys_clock_getres(struct lwp *, const struct linux32_sys_clock_getres_args *, register_t *);
15233dadb2a2Snjoly 
15246b9fe023Snjoly int	linux32_sys_clock_nanosleep(struct lwp *, const struct linux32_sys_clock_nanosleep_args *, register_t *);
15256b9fe023Snjoly 
152645bce0e5Schs int	linux32_sys_statfs64(struct lwp *, const struct linux32_sys_statfs64_args *, register_t *);
152745bce0e5Schs 
152845bce0e5Schs int	linux32_sys_fstatfs64(struct lwp *, const struct linux32_sys_fstatfs64_args *, register_t *);
152945bce0e5Schs 
1530d916122eSchs int	linux32_sys_tgkill(struct lwp *, const struct linux32_sys_tgkill_args *, register_t *);
1531d916122eSchs 
1532c45e6d87Snjoly int	compat_50_netbsd32_utimes(struct lwp *, const struct compat_50_netbsd32_utimes_args *, register_t *);
1533c45e6d87Snjoly 
1534dab2e0b5Salnsn int	linux32_sys_fadvise64_64(struct lwp *, const struct linux32_sys_fadvise64_64_args *, register_t *);
1535dab2e0b5Salnsn 
1536c1e3376bSchs int	linux32_sys_openat(struct lwp *, const struct linux32_sys_openat_args *, register_t *);
1537c1e3376bSchs 
1538c1e3376bSchs int	netbsd32_mkdirat(struct lwp *, const struct netbsd32_mkdirat_args *, register_t *);
1539c1e3376bSchs 
1540c1e3376bSchs int	linux32_sys_mknodat(struct lwp *, const struct linux32_sys_mknodat_args *, register_t *);
1541c1e3376bSchs 
1542c1e3376bSchs int	linux32_sys_fchownat(struct lwp *, const struct linux32_sys_fchownat_args *, register_t *);
1543c1e3376bSchs 
1544c1e3376bSchs int	linux32_sys_fstatat64(struct lwp *, const struct linux32_sys_fstatat64_args *, register_t *);
1545c1e3376bSchs 
1546c1e3376bSchs int	linux32_sys_unlinkat(struct lwp *, const struct linux32_sys_unlinkat_args *, register_t *);
1547c1e3376bSchs 
1548c1e3376bSchs int	netbsd32_renameat(struct lwp *, const struct netbsd32_renameat_args *, register_t *);
1549c1e3376bSchs 
1550c1e3376bSchs int	linux32_sys_linkat(struct lwp *, const struct linux32_sys_linkat_args *, register_t *);
1551c1e3376bSchs 
1552c1e3376bSchs int	netbsd32_symlinkat(struct lwp *, const struct netbsd32_symlinkat_args *, register_t *);
1553c1e3376bSchs 
1554c1e3376bSchs int	netbsd32_readlinkat(struct lwp *, const struct netbsd32_readlinkat_args *, register_t *);
1555c1e3376bSchs 
1556c1e3376bSchs int	linux32_sys_fchmodat(struct lwp *, const struct linux32_sys_fchmodat_args *, register_t *);
1557c1e3376bSchs 
1558c1e3376bSchs int	linux32_sys_faccessat(struct lwp *, const struct linux32_sys_faccessat_args *, register_t *);
1559c1e3376bSchs 
156032432d67Sryo int	linux32_sys_pselect6(struct lwp *, const struct linux32_sys_pselect6_args *, register_t *);
156132432d67Sryo 
1562aee571dfSnjoly int	linux32_sys_ppoll(struct lwp *, const struct linux32_sys_ppoll_args *, register_t *);
1563aee571dfSnjoly 
1564cb9aba0eSthorpej int	netbsd32___futex_set_robust_list(struct lwp *, const struct netbsd32___futex_set_robust_list_args *, register_t *);
1565d916122eSchs 
1566cb9aba0eSthorpej int	netbsd32___futex_get_robust_list(struct lwp *, const struct netbsd32___futex_get_robust_list_args *, register_t *);
1567d916122eSchs 
1568c1e3376bSchs int	linux32_sys_utimensat(struct lwp *, const struct linux32_sys_utimensat_args *, register_t *);
1569c1e3376bSchs 
157030226473Sthorpej int	linux_sys_timerfd_create(struct lwp *, const struct linux_sys_timerfd_create_args *, register_t *);
157130226473Sthorpej 
15727a09b9c7Sthorpej int	linux32_sys_eventfd(struct lwp *, const struct linux32_sys_eventfd_args *, register_t *);
15737a09b9c7Sthorpej 
1574d61dd23cSjdolecek int	linux32_sys_fallocate(struct lwp *, const struct linux32_sys_fallocate_args *, register_t *);
1575d61dd23cSjdolecek 
157630226473Sthorpej int	linux32_sys_timerfd_settime(struct lwp *, const struct linux32_sys_timerfd_settime_args *, register_t *);
157730226473Sthorpej 
157830226473Sthorpej int	linux32_sys_timerfd_gettime(struct lwp *, const struct linux32_sys_timerfd_gettime_args *, register_t *);
157930226473Sthorpej 
15807a09b9c7Sthorpej int	linux32_sys_eventfd2(struct lwp *, const struct linux32_sys_eventfd2_args *, register_t *);
15817a09b9c7Sthorpej 
158253dcc526Schristos int	linux32_sys_dup3(struct lwp *, const struct linux32_sys_dup3_args *, register_t *);
158353dcc526Schristos 
158453dcc526Schristos int	linux32_sys_pipe2(struct lwp *, const struct linux32_sys_pipe2_args *, register_t *);
158553dcc526Schristos 
1586d007899aSthorpej int	linux32_sys_preadv(struct lwp *, const struct linux32_sys_preadv_args *, register_t *);
1587d007899aSthorpej 
1588d007899aSthorpej int	linux32_sys_pwritev(struct lwp *, const struct linux32_sys_pwritev_args *, register_t *);
1589d007899aSthorpej 
1590*dc0b6747Sryo int	linux32_sys_prlimit64(struct lwp *, const struct linux32_sys_prlimit64_args *, register_t *);
1591*dc0b6747Sryo 
1592ee0c5b44Smanu #endif /* _LINUX32_SYS_SYSCALLARGS_H_ */
1593