xref: /netbsd-src/sys/compat/linux32/arch/amd64/syscalls.master (revision c2f76ff004a2cb67efe5b12d97bd3ef7fe89e18d)
1	$NetBSD: syscalls.master,v 1.57 2010/11/02 18:14:06 chs Exp $
2
3; NetBSD i386 COMPAT_LINUX32 system call name/number "master" file.
4; (See syscalls.conf to see what it is processed into.)
5;
6; Fields: number type [type-dependent ...]
7;	number	system call number, must be in order
8;	type	one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
9;		the compatibility options defined in syscalls.conf.
10;
11; types:
12;	STD	always included
13;	OBSOL	obsolete, not included in system
14;	UNIMPL	unimplemented, not included in system
15;	NODEF	included, but don't define the syscall number
16;
17;	INDIR	included, but don't define the syscall args structure
18;		and allow it to be "really" varargs.
19;
20; The compat options are defined in the syscalls.conf file, and the
21; compat option name is prefixed to the syscall name.  Other than
22; that, they're like NODEF (for 'compat' options), or STD (for
23; 'libcompat' options).
24;
25; The type-dependent arguments are as follows:
26; For STD, NODEF, NOARGS, and compat syscalls:
27;	{ pseudo-proto } [alias]
28; For other syscalls:
29;	[comment]
30;
31; #ifdef's, etc. may be included, and are copied to the output files.
32; #include's are copied to the syscall names and switch definition files only.
33
34#include <sys/param.h>
35#include <sys/poll.h>
36#include <sys/systm.h>
37#include <sys/signal.h>
38#include <sys/mount.h>
39#include <sys/syscallargs.h>
40
41#include <machine/netbsd32_machdep.h>
42
43#include <compat/netbsd32/netbsd32.h>
44#include <compat/netbsd32/netbsd32_syscallargs.h>
45
46#include <compat/linux32/common/linux32_types.h>
47#include <compat/linux32/common/linux32_signal.h>
48#include <compat/linux32/arch/amd64/linux32_missing.h>
49#include <compat/linux32/linux32_syscallargs.h>
50
51#include <compat/linux/common/linux_types.h>
52#include <compat/linux/common/linux_mmap.h>
53#include <compat/linux/common/linux_signal.h>
54#include <compat/linux/common/linux_siginfo.h>
55#include <compat/linux/common/linux_machdep.h>
56#include <compat/linux/common/linux_ipc.h>
57#include <compat/linux/common/linux_sem.h>
58#include <compat/linux/linux_syscallargs.h>
59
60%%
61
620	NOARGS	{ int|linux_sys||nosys(void); } syscall
631	STD	{ int|linux32_sys||exit(int rval); }
642	NOARGS	{ int|sys||fork(void); }
653	NOARGS	{ netbsd32_ssize_t|netbsd32||read(int fd, \
66		    netbsd32_voidp buf, netbsd32_size_t nbyte); }
674	NOARGS	{ netbsd32_ssize_t|netbsd32||write(int fd, \
68		    netbsd32_voidp buf, netbsd32_size_t nbyte); }
695	STD	{ int|linux32_sys||open(netbsd32_charp path, int flags, \
70		    int mode); }
716	NOARGS	{ int|netbsd32||close(int fd); }
727	STD	{ int|linux32_sys||waitpid(int pid, netbsd32_intp status, \
73		    int options);}
748	STD	{ int|linux32_sys||creat(netbsd32_charp path, int mode); }
759	NOARGS	{ int|netbsd32||link(netbsd32_charp path, \
76		    netbsd32_charp link); }
7710	STD	{ int|linux32_sys||unlink(netbsd32_charp path); }
7811	NOARGS	{ int|netbsd32||execve(netbsd32_charp path, \
79		    netbsd32_charpp argp, netbsd32_charpp envp); }
8012	NOARGS	{ int|netbsd32||chdir(netbsd32_charp path); }
8113	STD	{ int|linux32_sys||time(linux32_timep_t t); }
8214	STD	{ int|linux32_sys||mknod(netbsd32_charp path, \
83		    int mode, int dev); }
8415	NOARGS	{ int|netbsd32||chmod(netbsd32_charp path, int mode); }
8516	STD	{ int|linux32_sys||lchown16(netbsd32_charp path, \
86		    linux32_uid16_t uid, linux32_gid16_t gid); }
8717	STD	{ int|linux32_sys||break(netbsd32_charp nsize); }
8818	OBSOL	ostat
8919	NOARGS	{ netbsd32_long|compat_43_netbsd32||olseek(int fd, \
90		    netbsd32_long offset, int chence); }
9120	NOARGS 	{ pid_t|sys||getpid(void); }
9221	UNIMPL	mount
9322	UNIMPL	umount
9423	NOARGS	linux_setuid16 { int|netbsd32||setuid(uid_t uid); }
9524	NOARGS	linux_getuid16 { uid_t|sys||getuid(void); }
9625	STD	{ int|linux32_sys||stime(linux32_timep_t t); }
9726	STD	{ int|linux32_sys||ptrace(int request, int pid, \
98		  int addr, int data); }
9927	STD	{ int|linux32_sys||alarm(unsigned int secs); }
10028	OBSOL	ofstat
10129	NOARGS	{ int|linux_sys||pause(void); }
10230	STD	{ int|linux32_sys||utime(netbsd32_charp path, \
103		    linux32_utimbufp_t times); }
10431	OBSOL	stty
10532	OBSOL	gtty
10633	NOARGS	{ int|netbsd32||access(netbsd32_charp path, \
107		    int flags); }
10834	STD	{ int|linux32_sys||nice(int incr); }
10935	OBSOL	ftime
11036	NOARGS	{ int|sys||sync(void); }
11137	STD	{ int|linux32_sys||kill(int pid, int signum); }
11238	NOARGS	{ int|netbsd32||__posix_rename(netbsd32_charp from, \
113		    netbsd32_charp to); }
11439	NOARGS	{ int|netbsd32||mkdir(netbsd32_charp path, int mode); }
11540	NOARGS	{ int|netbsd32||rmdir(netbsd32_charp path); }
11641	NOARGS	{ int|netbsd32||dup(u_int fd); }
11742	STD	{ int|linux32_sys||pipe(netbsd32_intp fd); }
11843	STD	{ int|linux32_sys||times(linux32_tmsp_t tms); }
11944	OBSOL	prof
12045	STD	{ int|linux32_sys||brk(netbsd32_charp nsize); }
12146	NOARGS	linux_setgid16 { int|netbsd32||setgid(gid_t gid); }
12247	NOARGS	linux_getgid16 { gid_t|sys||getgid(void); }
12348	STD	{ int|linux32_sys||signal(int signum, \
124		    linux32_handler_t handler); }
12549	NOARGS	linux_geteuid16 { uid_t|sys||geteuid(void); }
12650	NOARGS	linux_getegid16 { gid_t|sys||getegid(void); }
12751	NOARGS	{ int|netbsd32||acct(netbsd32_charp path); }
12852	OBSOL	phys
12953	OBSOL	lock
13054	STD	{ int|linux32_sys||ioctl(int fd, netbsd32_u_long com, \
131		    netbsd32_charp data); }
13255	STD	{ int|linux32_sys||fcntl(int fd, \
133		    int cmd, netbsd32_voidp arg); }
13456	OBSOL	mpx
13557	NOARGS	{ int|netbsd32||setpgid(int pid, int pgid); }
13658	OBSOL	ulimit
13759	STD	{ int|linux32_sys||oldolduname( \
138		    linux32_oldold_utsnamep_t up); }
13960	NOARGS	{ int|netbsd32||umask(int newmask); }
14061	NOARGS	{ int|netbsd32||chroot(netbsd32_charp path); }
14162	UNIMPL	ustat
14263	NOARGS	{ int|netbsd32||dup2(int from, int to); }
14364	NOARGS	{ pid_t|sys||getppid(void); }
14465	NOARGS	{ int|sys||getpgrp(void); }
14566	NOARGS	{ int|sys||setsid(void); }
14667	UNIMPL	sigaction
14768	STD	{ int|linux32_sys||siggetmask(void); }
14869	STD	{ int|linux32_sys||sigsetmask(linux32_old_sigset_t mask); }
14970	STD	{ int|linux32_sys||setreuid16(linux32_uid16_t ruid, \
150		    linux32_uid16_t euid); }
15171	STD	{ int|linux32_sys||setregid16(linux32_gid16_t rgid, \
152		    linux32_gid16_t egid); }
15372	UNIMPL	sigsuspend
15473	UNIMPL	sigpending
15574	NOARGS	{ int|compat_43_netbsd32||osethostname(netbsd32_charp hostname, \
156		    u_int len); }
15775	STD	{ int|linux32_sys||setrlimit(u_int which, \
158		    netbsd32_orlimitp_t rlp); }
15976	STD	{ int|linux32_sys||getrlimit(u_int which, \
160		    netbsd32_orlimitp_t rlp); }
16177	NOARGS	{ int|compat_50_netbsd32||getrusage(int who, \
162		    netbsd32_rusage50p_t rusage); }
16378	STD	{ int|linux32_sys||gettimeofday(netbsd32_timeval50p_t tp, \
164		    netbsd32_timezonep_t tzp); }
16579	STD	{ int|linux32_sys||settimeofday(netbsd32_timeval50p_t tp, \
166		    netbsd32_timezonep_t tzp); }
16780	STD	{ int|linux32_sys||getgroups16(int gidsetsize, \
168		    linux32_gid16p_t gidset); }
16981	STD	{ int|linux32_sys||setgroups16(int gidsetsize, \
170		    linux32_gid16p_t gidset); }
17182	STD	{ int|linux32_sys||oldselect(linux32_oldselectp_t lsp); }
17283	NOARGS	{ int|netbsd32||symlink(netbsd32_charp path, \
173		    netbsd32_charp link); }
17484	NOARGS	{ int|compat_43_netbsd32||lstat43(netbsd32_charp \
175		    path, netbsd32_stat43p_t ub); }
17685	NOARGS	{ int|netbsd32||readlink(netbsd32_charp name, \
177		    netbsd32_charp buf, netbsd32_size_t count); }
17886	UNIMPL	uselib
17987	STD	{ int|linux32_sys||swapon(netbsd32_charp name); }
18088	STD	{ int|linux32_sys||reboot(int magic1, int magic2, int cmd, \
181		    netbsd32_voidp arg); }
18289	STD	{ int|linux32_sys||readdir(int fd, netbsd32_voidp dent, \
183		    unsigned int count); }
18490	STD	{ int|linux32_sys||old_mmap(linux32_oldmmapp lmp); }
18591	NOARGS	{ int|netbsd32||munmap(netbsd32_voidp addr, \
186		    netbsd32_size_t len); }
18792	NOARGS	{ int|compat_43_netbsd32||otruncate(netbsd32_charp path, \
188		    netbsd32_long length); }
18993	NOARGS	{ int|compat_43_netbsd32||oftruncate(int fd, \
190		    netbsd32_long length); }
19194	NOARGS	{ int|netbsd32||fchmod(int fd, int mode); }
19295	STD	{ int|linux32_sys||fchown16(int fd, linux32_uid16_t uid, \
193		    linux32_gid16_t gid); }
19496	STD	{ int|linux32_sys||getpriority(int which, int who); }
19597	NOARGS	{ int|netbsd32||setpriority(int which, int who, int prio); }
19698	NOARGS	{ int|netbsd32||profil(netbsd32_voidp samples, \
197		    netbsd32_size_t size, netbsd32_u_long offset, \
198		    u_int scale); }
19999	STD	{ int|linux32_sys||statfs(netbsd32_charp path, \
200		    linux32_statfsp sp); }
201100	STD	{ int|linux32_sys||fstatfs(int fd, linux32_statfsp sp); }
202101	NOARGS	{ int|linux_sys||ioperm(unsigned int lo, \
203		    unsigned int hi, int val); }
204102	STD	{ int|linux32_sys||socketcall(int what, netbsd32_voidp args); }
205103	UNIMPL	syslog
206104	NOARGS	{ int|compat_50_netbsd32||setitimer(int which, \
207		    netbsd32_itimerval50p_t itv, netbsd32_itimerval50p_t oitv); }
208105	NOARGS	{ int|compat_50_netbsd32||getitimer(int which, \
209		    netbsd32_itimerval50p_t itv); }
210106	STD	{ int|linux32_sys||stat(netbsd32_charp path, \
211		    linux32_statp sp); }
212107	STD	{ int|linux32_sys||lstat(netbsd32_charp path, \
213		    linux32_statp sp); }
214108	STD	{ int|linux32_sys||fstat(int fd, \
215		    linux32_statp sp); }
216109	STD	{ int|linux32_sys||olduname(linux32_oldutsnamep_t up); }
217110	NOARGS	{ int|linux_sys||iopl(int level); }
218111	UNIMPL	vhangup
219112	UNIMPL	idle
220113	UNIMPL	vm86old
221114	STD	{ int|linux32_sys||wait4(int pid, netbsd32_intp status, \
222		    int options, netbsd32_rusage50p_t rusage); }
223115	STD	{ int|linux32_sys||swapoff(netbsd32_charp path); }
224116	STD	{ int|linux32_sys||sysinfo(linux32_sysinfop_t arg); }
225117	STD	{ int|linux32_sys||ipc(int what, int a1, int a2, int a3, \
226		    netbsd32_voidp ptr); }
227118	NOARGS	{ int|netbsd32||fsync(int fd); }
228119	STD	{ int|linux32_sys||sigreturn(linux32_sigcontextp_t scp); }
229120	STD	{ int|linux32_sys||clone(int flags, netbsd32_voidp stack, \
230		    netbsd32_voidp parent_tidptr, netbsd32_voidp tls, \
231		    netbsd32_voidp child_tidptr); }
232121	STD	{ int|linux32_sys||setdomainname(netbsd32_charp domainname, \
233		    int len); }
234122	STD	{ int|linux32_sys||uname(linux32_utsnamep up); }
235123	STD	{ int|linux32_sys||modify_ldt(int func, netbsd32_charp ptr, \
236		    netbsd32_size_t bytecount); }
237124	UNIMPL	adjtimex
238125	STD	{ int|linux32_sys||mprotect(netbsd32_voidp start, \
239		    netbsd32_size_t len, int prot); }
240126	UNIMPL	sigprocmask
241127	UNIMPL	create_module
242128	UNIMPL	init_module
243129	UNIMPL	delete_module
244130	UNIMPL	get_kernel_syms
245131	UNIMPL	quotactl
246132	NOARGS	{ int|netbsd32||getpgid(pid_t pid); }
247133	NOARGS	{ int|netbsd32||fchdir(int fd); }
248134	UNIMPL	bdflush
249135	UNIMPL	sysfs
250136	STD	{ int|linux32_sys||personality(netbsd32_u_long per); }
251137	UNIMPL	afs_syscall
252138	NOARGS	setfsuid16 { int|linux32_sys||setfsuid(uid_t uid); }
253139	NOARGS	setfsgid16 { int|linux32_sys||setfsgid(gid_t gid); }
254140	STD	{ int|linux32_sys||llseek(int fd, u_int32_t ohigh, \
255		    u_int32_t olow, netbsd32_voidp res, int whence); }
256141	STD	{ int|linux32_sys||getdents(int fd, \
257		    linux32_direntp_t dent, unsigned int count); }
258142	STD	{ int|linux32_sys||select(int nfds, \
259		    netbsd32_fd_setp_t readfds, \
260		    netbsd32_fd_setp_t writefds, \
261		    netbsd32_fd_setp_t exceptfds, \
262		    netbsd32_timeval50p_t timeout); }
263143	NOARGS	{ int|netbsd32||flock(int fd, int how); }
264144	NOARGS	{ int|netbsd32|13|msync(netbsd32_voidp addr, \
265		    netbsd32_size_t len, int flags); }
266145	NOARGS	{ int|netbsd32||readv(int fd, \
267		    netbsd32_iovecp_t iovp, int iovcnt); }
268146	NOARGS	{ netbsd32_ssize_t|netbsd32||writev(int fd, \
269		    netbsd32_iovecp_t iovp, int iovcnt); }
270147	NOARGS	{ pid_t|netbsd32||getsid(pid_t pid); }
271148	STD	{ int|linux32_sys||fdatasync(int fd); }
272149	STD	{ int|linux32_sys||__sysctl(linux32___sysctlp_t lsp); }
273150	NOARGS	{ int|netbsd32||mlock(netbsd32_voidp addr, \
274		    netbsd32_size_t len); }
275151	NOARGS	{ int|netbsd32||munlock(netbsd32_voidp addr, \
276		    netbsd32_size_t len); }
277152	NOARGS	{ int|netbsd32||mlockall(int flags); }
278153	NOARGS	{ int|sys||munlockall(void); }
279154	STD	{ int|linux32_sys||sched_setparam(pid_t pid, \
280		    const linux32_sched_paramp_t sp); }
281155	STD	{ int|linux32_sys||sched_getparam(pid_t pid, \
282		    linux32_sched_paramp_t sp); }
283156	STD	{ int|linux32_sys||sched_setscheduler(pid_t pid, \
284		    int policy, linux32_sched_paramp_t sp); }
285157	STD	{ int|linux32_sys||sched_getscheduler(pid_t pid); }
286158	NOARGS	{ int|linux_sys||sched_yield(void); }
287159	STD	{ int|linux32_sys||sched_get_priority_max(int policy); }
288160	STD	{ int|linux32_sys||sched_get_priority_min(int policy); }
289161	UNIMPL	sched_rr_get_interval
290162	STD	{ int|linux32_sys||nanosleep(linux32_timespecp_t rqtp, \
291		    linux32_timespecp_t rmtp); }
292163	STD	{ int|linux32_sys||mremap(netbsd32_voidp old_address, \
293		    netbsd32_size_t old_size, netbsd32_size_t new_size, \
294		    netbsd32_u_long flags); }
295164	STD	{ int|linux32_sys||setresuid16(linux32_uid16_t ruid, \
296		    linux32_uid16_t euid, linux32_uid16_t suid); }
297165	STD	{ int|linux32_sys||getresuid16(linux32_uid16p_t ruid, \
298		    linux32_uid16p_t euid, linux32_uid16p_t suid); }
299166	UNIMPL	vm86
300167	UNIMPL	query_module
301168	NOARGS	{ int|netbsd32||poll(netbsd32_pollfdp_t fds, u_int nfds, \
302		    int timeout); }
303169	UNIMPL	nfsservctl
304170	STD	{ int|linux32_sys||setresgid16(linux32_gid16_t rgid, \
305		    linux32_gid16_t egid, linux32_gid16_t sgid); }
306171	STD	{ int|linux32_sys||getresgid16(linux32_gid16p_t rgid, \
307		    linux32_gid16p_t egid, linux32_gid16p_t sgid); }
308172	UNIMPL	prctl
309173	STD	{ int|linux32_sys||rt_sigreturn(linux32_ucontextp_t ucp); }
310174	STD	{ int|linux32_sys||rt_sigaction(int signum, \
311		    linux32_sigactionp_t nsa, \
312		    linux32_sigactionp_t osa, \
313		    netbsd32_size_t sigsetsize); }
314175	STD	{ int|linux32_sys||rt_sigprocmask(int how, \
315		     linux32_sigsetp_t set, \
316		     linux32_sigsetp_t oset, \
317		     netbsd32_size_t sigsetsize); }
318176	STD	{ int|linux32_sys||rt_sigpending(linux32_sigsetp_t set, \
319		    netbsd32_size_t sigsetsize); }
320177	UNIMPL	rt_sigtimedwait
321178	STD	{ int|linux32_sys||rt_queueinfo(int pid, int sig, \
322		    linux32_siginfop_t uinfo); }
323179	STD	{ int|linux32_sys||rt_sigsuspend(linux32_sigsetp_t unewset, \
324		    netbsd32_size_t sigsetsize); }
325180	STD	{ netbsd32_ssize_t|linux32_sys||pread(int fd, \
326		    netbsd32_voidp buf, netbsd32_size_t nbyte, \
327		    linux32_off_t offset); }
328181	STD	{ netbsd32_ssize_t|linux32_sys||pwrite(int fd, \
329		    netbsd32_voidp buf, netbsd32_size_t nbyte, \
330		    linux32_off_t offset); }
331182	STD	{ int|linux32_sys||chown16(netbsd32_charp path, \
332		    linux32_uid16_t uid, linux32_gid16_t gid); }
333183	NOARGS	{ int|netbsd32||__getcwd(netbsd32_charp bufp, \
334		    netbsd32_size_t length); }
335184	UNIMPL	capget
336185	UNIMPL	capset
337186	UNIMPL	sigaltstack
338187	UNIMPL	sendfile
339188	UNIMPL	getpmsg
340189	UNIMPL	putpmsg
341190	NOARGS	{ int|sys|14|vfork(void); }
342191	STD	{ int|linux32_sys||ugetrlimit(int which, \
343		    netbsd32_orlimitp_t rlp); }
344192	STD	{ linux32_off_t|linux32_sys||mmap2(netbsd32_u_long addr, \
345		    netbsd32_size_t len, int prot, int flags, int fd, \
346		    linux32_off_t offset); }
347193	STD	{ int|linux32_sys||truncate64(netbsd32_charp path, \
348		    uint32_t lenlo, uint32_t lenhi); }
349194	STD	{ int|linux32_sys||ftruncate64(unsigned int fd, \
350		    uint32_t lenlo, uint32_t lenhi); }
351195	STD	{ int|linux32_sys||stat64(netbsd32_charp path, \
352		    linux32_stat64p sp); }
353196	STD	{ int|linux32_sys||lstat64(netbsd32_charp path, \
354		    linux32_stat64p sp); }
355197	STD	{ int|linux32_sys||fstat64(int fd, \
356		    linux32_stat64p sp); }
357198	NOARGS	{ int|netbsd32||__posix_lchown(netbsd32_charp path, \
358		    uid_t uid, gid_t gid); }
359199	NOARGS	{ uid_t|sys||getuid(void); }
360200	NOARGS	{ gid_t|sys||getgid(void); }
361201	NOARGS	{ uid_t|sys||geteuid(void); }
362202	NOARGS	{ gid_t|sys||getegid(void); }
363203	NOARGS	{ int|netbsd32||setreuid(uid_t ruid, uid_t euid); }
364204	NOARGS	{ int|netbsd32||setregid(gid_t rgid, gid_t egid); }
365205	NOARGS	{ int|netbsd32||getgroups(int gidsetsize, \
366		    netbsd32_gid_tp gidset); }
367206	NOARGS	{ int|netbsd32||setgroups(int gidsetsize, \
368		    netbsd32_gid_tp gidset); }
369207	NOARGS	{ int|netbsd32||__posix_fchown(int fd, uid_t uid, gid_t gid); }
370208	STD	{ int|linux32_sys||setresuid(uid_t ruid, uid_t euid, \
371		    uid_t suid); }
372209	STD	{ int|linux32_sys||getresuid(linux32_uidp_t ruid, \
373		    linux32_uidp_t euid, linux32_uidp_t suid); }
374210	STD	{ int|linux32_sys||setresgid(gid_t rgid, gid_t egid, \
375		    gid_t sgid); }
376211	STD	{ int|linux32_sys||getresgid(linux32_gidp_t rgid, \
377		    linux32_gidp_t egid, linux32_gidp_t sgid); }
378212	NOARGS	{ int|netbsd32||__posix_chown(netbsd32_charp path, \
379		    uid_t uid, gid_t gid); }
380213 	NOARGS	{ int|netbsd32||setuid(uid_t uid); }
381214	NOARGS	{ int|netbsd32||setgid(gid_t gid); }
382215	STD	{ int|linux32_sys||setfsuid(uid_t uid); }
383216	STD	{ int|linux32_sys||setfsgid(gid_t gid); }
384217	UNIMPL	pivot_root
385218	NOARGS	{ int|netbsd32||mincore(netbsd32_voidp addr, \
386		    netbsd32_size_t len, netbsd32_charp vec); }
387219	NOARGS	{ int|netbsd32||madvise(netbsd32_voidp addr, \
388		    netbsd32_size_t len, int behav); }
389220	STD	{ int|linux32_sys||getdents64(int fd, \
390		    linux32_dirent64p_t dent, unsigned int count); }
391; fcntl64() - Exactly the same as fcntl()
392#define linux32_sys_fcntl64 linux32_sys_fcntl
393#define linux32_sys_fcntl64_args linux32_sys_fcntl_args
394221	NOARGS	{ int|linux32_sys||fcntl64(int fd, \
395		    int cmd, netbsd32_voidp arg); }
396222	UNIMPL	/*	unused	*/
397223	UNIMPL	/*	unused	*/
398224	NOARGS	{ pid_t|linux_sys||gettid(void); }
399225	UNIMPL	readahead
400226	UNIMPL	setxattr
401227	UNIMPL	lsetxattr
402228	UNIMPL	fsetxattr
403229	UNIMPL	getxattr
404230	UNIMPL	lgetxattr
405231	UNIMPL	fgetxattr
406232	UNIMPL	listxattr
407233	UNIMPL	llistxattr
408234	UNIMPL	flistxattr
409235	UNIMPL	removexattr
410236	UNIMPL	lremovexattr
411237	UNIMPL	fremovexattr
412238	STD	{ int|linux32_sys||tkill(int tid, int sig); }
413239	UNIMPL	sendfile64
414240	STD	{ int|linux32_sys||futex(linux32_intp_t uaddr, int op, int val, \
415		    linux32_timespecp_t timeout, linux32_intp_t uaddr2, \
416		    int val3); }
417241	STD	{ int|linux32_sys||sched_setaffinity(pid_t pid, \
418		    unsigned int len, linux32_ulongp_t mask); }
419242	STD	{ int|linux32_sys||sched_getaffinity(pid_t pid, \
420		    unsigned int len, linux32_ulongp_t mask); }
421243	STD	{ int|linux32_sys||set_thread_area(linux32_user_descp_t desc); }
422244	STD	{ int|linux32_sys||get_thread_area(linux32_user_descp_t desc); }
423245	UNIMPL	io_setup
424246	UNIMPL	io_destroy
425247	UNIMPL	io_getevents
426248	UNIMPL	io_submit
427249	UNIMPL	io_cancel
428250	UNIMPL	fadvise64
429251	UNIMPL	/*	unused	*/
430252	STD	{ int|linux32_sys||exit_group(int error_code); }
431253	UNIMPL	lookup_dcookie
432254	UNIMPL	epoll_create
433255	UNIMPL	epoll_ctl
434256	UNIMPL	epoll_wait
435257	UNIMPL	remap_file_pages
436258	STD	{ int|linux32_sys||set_tid_address(linux32_intp_t tid); }
437259	UNIMPL	timer_create
438260	UNIMPL	timer_settime
439261	UNIMPL	timer_gettime
440262	UNIMPL	timer_getoverrun
441263	UNIMPL	timer_delete
442264	STD	{ int|linux32_sys||clock_settime(clockid_t which, \
443		    linux32_timespecp_t tp); }
444265	STD	{ int|linux32_sys||clock_gettime(clockid_t which, \
445		    linux32_timespecp_t tp); }
446266	STD	{ int|linux32_sys||clock_getres(clockid_t which, \
447		    linux32_timespecp_t tp); }
448267	STD	{ int|linux32_sys||clock_nanosleep(clockid_t which, int flags, \
449		    linux32_timespecp_t rqtp, linux32_timespecp_t rmtp); }
450268	STD	{ int|linux32_sys||statfs64(netbsd32_charp path, \
451		    netbsd32_size_t sz, linux32_statfs64p sp); }
452269	STD	{ int|linux32_sys||fstatfs64(int fd, \
453		    netbsd32_size_t sz, linux32_statfs64p sp); }
454270	STD	{ int|linux32_sys||tgkill(int tgid, int tid, int sig); }
455271	UNIMPL	utimes
456272	UNIMPL	fadvise64_64
457273	UNIMPL	vserver
458274	UNIMPL	mbind
459275	UNIMPL	get_mempolicy
460276	UNIMPL	set_mempolicy
461277	UNIMPL	mq_open
462278	UNIMPL	mq_unlink
463279	UNIMPL	mq_timedsend
464280	UNIMPL	mq_timedreceive
465281	UNIMPL	mq_notify
466282	UNIMPL	mq_getsetattr
467283	UNIMPL	kexec_load
468284	UNIMPL	waitid
469285	UNIMPL	/* unused */
470286	UNIMPL	add_key
471287	UNIMPL	request_key
472288	UNIMPL	keyctl
473289	UNIMPL	ioprio_set
474290	UNIMPL	ioprio_get
475291	UNIMPL	inotify_init
476292	UNIMPL	inotify_add_watch
477293	UNIMPL	inotify_rm_watch
478294	UNIMPL	migrate_pages
479295	UNIMPL	openat
480296	UNIMPL	mkdirat
481297	UNIMPL	mknodat
482298	UNIMPL	fchownat
483299	UNIMPL	futimesat
484300	UNIMPL	fstatat64
485301	UNIMPL	unlinkat
486302	UNIMPL	renameat
487303	UNIMPL	linkat
488304	UNIMPL	symlinkat
489305	UNIMPL	readlinkat
490306	UNIMPL	fchmodat
491307	UNIMPL	faccessat
492308	UNIMPL	pselect6
493309	UNIMPL	ppoll
494310	UNIMPL	unshare
495311	STD	{ int|linux32_sys||set_robust_list( \
496		    linux32_robust_list_headp_t head, linux32_size_t len); }
497312	STD	{ int|linux32_sys||get_robust_list(linux32_pid_t pid, \
498		    linux32_robust_list_headpp_t head, linux32_sizep_t len); }
499313	UNIMPL	splice
500314	UNIMPL	sync_file_range
501315	UNIMPL	tee
502316	UNIMPL	vmsplice
503317	UNIMPL	move_pages
504318	UNIMPL	getcpu
505319	UNIMPL	epoll_wait
506320	UNIMPL	utimensat
507321	UNIMPL	signalfd
508322	UNIMPL	timerfd_create
509323	UNIMPL	eventfd
510324	UNIMPL	fallocate
511325	UNIMPL	timerfd_settime
512326	UNIMPL	timerfd_gettime
513327	UNIMPL	signalfd4
514328	UNIMPL	eventfd2
515329	UNIMPL	epoll_create1
516330	UNIMPL	dup3
517331	UNIMPL	pipe2
518332	UNIMPL	inotify_init1
519333	UNIMPL	preadv
520334	UNIMPL	pwritev
521335	UNIMPL	rt_tgsigqueueinfo
522336	UNIMPL	perf_counter_open
523337	UNIMPL	recvmmsg
524