xref: /netbsd-src/sys/compat/linux/arch/amd64/syscalls.master (revision c2f76ff004a2cb67efe5b12d97bd3ef7fe89e18d)
1	$NetBSD: syscalls.master,v 1.35 2010/07/07 01:30:33 chs Exp $
2
3;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
4
5; NetBSD amd64 COMPAT_LINUX system call name/number "master" file.
6; (See syscalls.conf to see what it is processed into.)
7;
8; Fields: number type [type-dependent ...]
9;	number	system call number, must be in order
10;	type	one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
11;		the compatibility options defined in syscalls.conf.
12;
13; types:
14;	STD	always included
15;	OBSOL	obsolete, not included in system
16;	UNIMPL	unimplemented, not included in system
17;	NODEF	included, but don't define the syscall number
18;	NOARGS	included, but don't define the syscall args structure
19;	INDIR	included, but don't define the syscall args structure
20;		and allow it to be "really" varargs.
21;
22; The compat options are defined in the syscalls.conf file, and the
23; compat option name is prefixed to the syscall name.  Other than
24; that, they're like NODEF (for 'compat' options), or STD (for
25; 'libcompat' options).
26;
27; The type-dependent arguments are as follows:
28; For STD, NODEF, NOARGS, and compat syscalls:
29;	{ pseudo-proto } [alias]
30; For other syscalls:
31;	[comment]
32;
33; #ifdef's, etc. may be included, and are copied to the output files.
34; #include's are copied to the syscall names and switch definition files only.
35
36#if defined(_KERNEL_OPT)
37#include "opt_sysv.h"
38#include "opt_compat_43.h"
39#include "opt_compat_netbsd.h"
40#endif
41
42
43#include <sys/param.h>
44#include <sys/poll.h>
45#include <sys/systm.h>
46#include <sys/signal.h>
47#include <sys/mount.h>
48#include <sys/syscallargs.h>
49#include <sys/time.h>
50
51#include <compat/sys/time.h>
52
53#include <compat/linux/common/linux_types.h>
54#include <compat/linux/common/linux_mmap.h>
55#include <compat/linux/common/linux_ipc.h>
56#include <compat/linux/common/linux_msg.h>
57#include <compat/linux/common/linux_sem.h>
58#include <compat/linux/common/linux_shm.h>
59#include <compat/linux/common/linux_signal.h>
60#include <compat/linux/common/linux_siginfo.h>
61#include <compat/linux/common/linux_machdep.h>
62
63#include <compat/linux/linux_syscallargs.h>
64
65%%
66
670	NOARGS		{ int|sys||read(int fd, char *buf, u_int nbyte); }
681	NOARGS		{ int|sys||write(int fd, char *buf, u_int nbyte); }
692	STD		{ int|linux_sys||open(const char *path, int flags, \
70			    int mode); }
713	NOARGS		{ int|sys||close(int fd); }
724	STD		{ int|linux_sys||stat64(const char *path, \
73			    struct linux_stat64 *sp); }
745	STD		{ int|linux_sys||fstat64(int fd, \
75			    struct linux_stat64 *sp); }
766	STD		{ int|linux_sys||lstat64(const char *path, \
77			    struct linux_stat64 *sp); }
787	NOARGS		{ int|sys||poll(struct pollfd *fds, u_int nfds, \
79			    int timeout); }
808	NOARGS		{ long|compat_43_sys||lseek(int fd, long offset, \
81			    int whence); }
829	NOARGS		{ linux_off_t|linux_sys||mmap(unsigned long addr, \
83			    size_t len, int prot, int flags, int fd, \
84			    linux_off_t offset); }
8510	STD		{ int|linux_sys||mprotect(const void *start, \
86			    unsigned long len, int prot); }
8711	NOARGS		{ int|sys||munmap(void *addr, int len); }
8812	STD		{ int|linux_sys||brk(char *nsize); }
8913	STD		{ int|linux_sys||rt_sigaction(int signum, \
90			    const struct linux_sigaction *nsa, \
91			    struct linux_sigaction *osa, \
92			    size_t sigsetsize); }
9314	STD		{ int|linux_sys||rt_sigprocmask(int how, \
94			    const linux_sigset_t *set, \
95			    linux_sigset_t *oset, \
96			    size_t sigsetsize); }
9715	NOARGS		{ int|linux_sys||rt_sigreturn(void); }
9816	STD		{ int|linux_sys||ioctl(int fd, u_long com, \
99			    void *data); }
10017	STD		{ int|linux_sys||pread(int fd, char *buf, \
101			    size_t nbyte, linux_off_t offset); }
10218	STD		{ int|linux_sys||pwrite(int fd, char *buf, \
103			    size_t nbyte, linux_off_t offset); }
10419	NOARGS		{ int|sys||readv(int fd, struct iovec *iovp, \
105				u_int iovcnt); }
10620	NOARGS		{ int|sys||writev(int fd, struct iovec *iovp, \
107				u_int iovcnt); }
10821	NOARGS		{ int|sys||access(const char *path, int flags); }
10922	STD		{ int|linux_sys||pipe(int *pfds); }
11023	STD		{ int|linux_sys||select(int nfds, fd_set *readfds, \
111			    fd_set *writefds, fd_set *exceptfds, \
112			    struct timeval50 *timeout); }
11324	STD		{ int|linux_sys||sched_yield(void); }
11425	STD		{ void *|linux_sys||mremap(void *old_address, \
115			    size_t old_size, size_t new_size, u_long flags); }
11626	NOARGS		{ int|sys|13|msync(void *addr, size_t len, int flags); }
11727	NOARGS		{ int|sys||mincore(void *addr, size_t len, char *vec); }
11828	NOARGS		{ int|sys||madvise(void *addr, size_t len, int behav); }
119#ifdef SYSVSHM
12029	NOARGS		{ int|linux_sys||shmget(key_t key, size_t size, \
121			    int shmflg); }
12230	NOARGS		{ int|sys||shmat(int shmid, void *shmaddr, int shmflg); }
12331	NOARGS		{ int|linux_sys||shmctl(int shmid, int cmd, \
124			    struct linux_shmid_ds *buf); }
125#else
12629	UNIMPL		shmget
12730	UNIMPL		shmat
12831	UNIMPL		shmctl
129#endif
13032	NOARGS		{ int|sys||dup(u_int fd); }
13133	NOARGS		{ int|sys||dup2(u_int from, u_int to); }
13234	STD		{ int|linux_sys||pause(void); }
13335	STD		{ int|linux_sys||nanosleep( \
134			    const struct linux_timespec *rqtp, \
135			    struct linux_timespec *rmtp); }
13636	NOARGS		{ int|compat_50_sys||getitimer(u_int which, \
137			    struct itimerval50 *itv); }
13837	STD		{ int|linux_sys||alarm(unsigned int secs); }
13938	NOARGS		{ int|compat_50_sys||setitimer(u_int which, \
140			    struct itimerval50 *itv, \
141			    struct itimerval50 *oitv); }
14239	STD		{ pid_t|sys||getpid(void); }
14340	UNIMPL		sendfile
14441	STD		{ int|linux_sys||socket(int domain, \
145			    int type, int protocol); }
14642	STD		{ int|linux_sys||connect(int s, \
147			    const struct osockaddr *name, \
148			    unsigned int namelen); }
14943	STD		{ int|linux_sys||accept(int s, struct osockaddr *name, \
150			    int *anamelen); } oaccept
15144	STD		{ ssize_t|linux_sys||sendto(int s, void *msg, int len, \
152			    int flags, struct osockaddr *to, int tolen); }
15345	STD		{ ssize_t|linux_sys||recvfrom(int s, void *buf, \
154			    size_t len, int flags, struct osockaddr *from, \
155			    unsigned int *fromlenaddr); }
15646	STD		{ int|linux_sys||sendmsg(int s, \
157			    const struct linux_msghdr *msg, int flags); }
15847	STD		{ ssize_t|linux_sys||recvmsg(int s, \
159			    struct linux_msghdr *msg, int flags); }
16048	NOARGS		{ int|sys||shutdown(int s, int how); }
16149	STD		{ int|linux_sys||bind(int s, \
162			    const struct osockaddr *name, \
163			    unsigned int namelen); }
16450	NOARGS		{ int|sys||listen(int s, int backlog); }
16551	STD		{ int|linux_sys||getsockname(int fdec, void *asa, \
166			    int *alen); }
16752	STD		{ int|linux_sys||getpeername(int fdes, \
168			    struct sockaddr *asa, unsigned int *alen); }
16953	STD		{ int|linux_sys||socketpair(int domain, int type, \
170			    int protocol, int *rsv); }
17154	STD		{ int|linux_sys||setsockopt(int s, int level, \
172			    int optname, void *optval, int optlen); }
17355	STD		{ int|linux_sys||getsockopt(int s, int level, \
174			    int optname, void *optval, int *optlen); }
17556	STD		{ int|linux_sys||clone(int flags, void *stack, \
176			    void *parent_tidptr, void *child_tidptr, void *tls); }
17757	NOARGS		{ int|sys||fork(void); }
17858	NOARGS		{ int|sys|14|vfork(void); }
17959	NOARGS		{ int|sys||execve(const char *path, char **argp, \
180			    char **envp); }
18160	STD		{ int|linux_sys||exit(int rval); }
18261	STD		{ int|linux_sys||wait4(int pid, int *status, \
183			    int options, struct rusage50 *rusage); }
18462	STD		{ int|linux_sys||kill(int pid, int signum); }
18563	STD		{ int|linux_sys||uname(struct linux_utsname *up); }
186#ifdef SYSVSEM
18764	NOARGS		{ int|sys||semget(key_t key, int nsems, int semflg); }
18865	NOARGS		{ int|sys||semop(int semid, struct sembuf *sops, \
189			    size_t nsops); }
19066	STD		{ int|linux_sys||semctl(int semid, int semnum, \
191			    int cmd, union linux_semun arg); }
192#else
19364	UNIMPL		semget
19465	UNIMPL		semop
19566	UNIMPL		semctl
196#endif
197#ifdef SYSVSHM
19867	NOARGS		{ int|sys||shmdt(const void *shmaddr); }
199#else
20067	UNIMPL		shmdt
201#endif
202#ifdef SYSVMSG
20368	NOARGS		{ int|sys||msgget(key_t key, int msgflg); }
20469	NOARGS		{ int|sys||msgsnd(int msqid, void *msgp, size_t msgsz, \
205			    int msgflg); }
20670	NOARGS		{ ssize_t|sys||msgrcv(int msqid, void *msgp, \
207			    size_t msgsz, long msgtyp, int msgflg); }
20871	NOARGS		{ int|linux_sys||msgctl(int msqid, int cmd, \
209			    struct linux_msqid_ds *buf); }
210#else
21168	UNIMPL		msgget
21269	UNIMPL		msgsnd
21370	UNIMPL		msgrcv
21471	UNIMPL		msgctl
215#endif
21672	STD		{ int|linux_sys||fcntl(int fd, int cmd, void *arg); }
21773	NOARGS		{ int|sys||flock(int fd, int how); }
21874	NOARGS		{ int|sys||fsync(int fd); }
21975	STD		{ int|linux_sys||fdatasync(int fd); }
22076	STD		{ int|linux_sys||truncate64(const char *path, \
221			    off_t length); }
22277	STD		{ int|linux_sys||ftruncate64(unsigned int fd, \
223			    off_t length); }
22478	STD		{ int|linux_sys||getdents(int fd, \
225			    struct linux_dirent *dent, unsigned int count); }
22679	NOARGS		{ int|sys||__getcwd(char *bufp, size_t length); }
22780	NOARGS		{ int|sys||chdir(const char *path); }
22881	NOARGS		{ int|sys||fchdir(int fd); }
22982	NOARGS		{ int|sys||__posix_rename(const char *from, \
230			    const char *to); }
23183	NOARGS		{ int|sys||mkdir(const char *path, int mode); }
23284	NOARGS		{ int|sys||rmdir(const char *path); }
23385	STD		{ int|linux_sys||creat(const char *path, int mode); }
23486	NOARGS		{ int|sys||link(const char *path, const char *link); }
23587	STD		{ int|linux_sys||unlink(const char *path); }
23688	NOARGS		{ int|sys||symlink(const char *path, const char *to); }
23789	NOARGS		{ int|sys||readlink(const char *name, char *buf, \
238			    int count); }
23990	NOARGS		{ int|sys||chmod(const char *path, int mode); }
24091	NOARGS		{ int|sys||fchmod(int fd, int mode); }
24192	NOARGS		{ int|sys||__posix_chown(const char *path, uid_t uid, \
242				gid_t gid); }
24393	NOARGS		{ int|sys||__posix_fchown(int fd, uid_t uid, \
244			    gid_t gid); }
24594	NOARGS		{ int|sys||__posix_lchown(const char *path, uid_t uid, \
246			    gid_t gid); }
24795	NOARGS		{ int|sys||umask(int newmask); }
24896	STD		{ int|linux_sys||gettimeofday(struct timeval50 *tp, \
249			    struct timezone *tzp); }
25097	STD		{ int|linux_sys||getrlimit(int which, \
251			    struct rlimit *rlp); }
25298	NOARGS		{ int|compat_50_sys||getrusage(int who, \
253			    struct rusage50 *rusage); }
25499	STD		{ int|linux_sys||sysinfo(struct linux_sysinfo *arg); }
255100	STD		{ int|linux_sys||times(struct times *tms); }
256101	STD		{ int|linux_sys||ptrace(long request, long pid, \
257			  long addr, long data); }
258102	NOARGS		{ uid_t|sys||getuid(void); }
259103	UNIMPL		syslog
260104	NOARGS		{ gid_t|sys||getgid(void); }
261105	NOARGS		{ void|sys||setuid(uid_t uid); }
262106	NOARGS		{ void|sys||setgid(gid_t gid); }
263107	NOARGS		{ uid_t|sys||geteuid(void); }
264108	NOARGS		{ gid_t|sys||getegid(void); }
265109	NOARGS		{ int|sys||setpgid(int pid, int pgid); }
266110	STD		{ pid_t|sys||getppid(void); }
267111	NOARGS		{ int|sys||getpgrp(void); }
268112	NOARGS		{ int|sys||setsid(void); }
269113	NOARGS		{ int|sys||setreuid(uid_t ruid, uid_t euid); }
270114	NOARGS		{ int|sys||setregid(gid_t rgid, gid_t egid); }
271115	NOARGS		{ int|sys||getgroups(u_int gidsetsize, gid_t *gidset); }
272116	NOARGS		{ int|sys||setgroups(u_int gidsetsize, gid_t *gidset); }
273117	STD		{ int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
274			    uid_t suid); }
275118	STD		{ int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \
276			    uid_t *suid); }
277119	STD		{ int|linux_sys||setresgid(gid_t rgid, gid_t egid, \
278			    gid_t sgid); }
279120	STD		{ int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \
280			    gid_t *sgid); }
281121	NOARGS		{ pid_t|sys||getpgid(pid_t pid); }
282122	STD		{ int|linux_sys||setfsuid(uid_t uid); }
283123	STD		{ int|linux_sys||setfsgid(gid_t gid); }
284124	NOARGS		{ pid_t|sys||getsid(pid_t pid); }
285125	UNIMPL		capget
286126	UNIMPL		capset
287127	STD		{ int|linux_sys||rt_sigpending( \
288			    linux_sigset_t *set, \
289			    size_t sigsetsize); }
290128	UNIMPL		rt_sigtimedwait
291129	STD		{ int|linux_sys||rt_queueinfo(int pid, int signum, \
292			    linux_siginfo_t *uinfo); }
293130	STD		{ int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
294			    size_t sigsetsize); }
295131	STD		{ int|linux_sys||sigaltstack( \
296			    const struct linux_sigaltstack *ss, \
297			    struct linux_sigaltstack *oss); }
298132	STD		{ int|linux_sys||utime(const char *path, \
299			    struct linux_utimbuf *times); }
300133	STD		{ int|linux_sys||mknod(const char *path, int mode, \
301			    int dev); }
302#ifdef EXEC_AOUT
303134	STD		{ int|linux_sys||uselib(const char *path); }
304#else
305134	UNIMPL		sys_uselib
306#endif
307135	STD		{ int|linux_sys||personality(unsigned long per); }
308136	UNIMPL		ustat
309137	STD		{ int|linux_sys||statfs(const char *path, \
310			    struct linux_statfs *sp); }
311138	STD		{ int|linux_sys||fstatfs(int fd, \
312			    struct linux_statfs *sp); }
313139	UNIMPL		sysfs
314140	STD		{ int|linux_sys||getpriority(int which, int who); }
315141	NOARGS		{ int|sys||setpriority(int which, int who, int prio); }
316142	STD		{ int|linux_sys||sched_setparam(pid_t pid, \
317			    const struct linux_sched_param *sp); }
318143	STD		{ int|linux_sys||sched_getparam(pid_t pid, \
319			    struct linux_sched_param *sp); }
320144	STD		{ int|linux_sys||sched_setscheduler(pid_t pid, \
321			    int policy, const struct linux_sched_param *sp); }
322145	STD		{ int|linux_sys||sched_getscheduler(pid_t pid); }
323146	STD		{ int|linux_sys||sched_get_priority_max(int policy); }
324147	STD		{ int|linux_sys||sched_get_priority_min(int policy); }
325148	UNIMPL		sys_sched_rr_get_interval
326149	NOARGS		{ int|sys||mlock(void *addr, size_t len); }
327150	NOARGS		{ int|sys||munlock(void *addr, size_t len); }
328151	NOARGS		{ int|sys||mlockall(int flags); }
329152	NOARGS		{ int|sys||munlockall(void); }
330153	UNIMPL		vhangup
331154	STD		{ int|linux_sys||modify_ldt(int func, void *ptr, \
332			    size_t bytecount); }
333155	UNIMPL		pivot_root
334156	STD		{ int|linux_sys||__sysctl(struct linux___sysctl *lsp); }
335157	UNIMPL		prctl
336158	STD		{ int|linux_sys||arch_prctl(int code, \
337			    unsigned long addr); }
338159	UNIMPL		adjtimex
339160	STD		{ int|linux_sys||setrlimit(u_int which, \
340			    struct rlimit *rlp); }
341161	NOARGS		{ int|sys||chroot(char *path); }
342162	NOARGS		{ int|sys||sync(void); }
343163	NOARGS		{ int|sys||acct(char *path); }
344164	STD		{ int|linux_sys||settimeofday(struct timeval50 *tp, \
345			    struct timezone *tzp); }
346165	UNIMPL		mount
347166	UNIMPL		umount2
348167	STD		{ int|linux_sys||swapon(char *name); }
349168	STD		{ int|linux_sys||swapoff(const char *path); }
350169	STD		{ int|linux_sys||reboot(int magic1, int magic2, \
351			    int cmd, void *arg); }
352170	NOARGS		{ int|compat_43_sys||sethostname(char *hostname, \
353			    u_int len);}
354171	STD		{ int|linux_sys||setdomainname(char *domainname, \
355			    int len); }
356172	STD		{ int|linux_sys||iopl(int level); }
357173	STD		{ int|linux_sys||ioperm(unsigned int lo, \
358			    unsigned int hi, int val); }
359174	UNIMPL		create_module
360175	UNIMPL		init_module
361176	UNIMPL		delete_module
362177	UNIMPL		get_kernel_syms
363178	UNIMPL		query_module
364179	UNIMPL		quotactl
365180	UNIMPL		nfsservctl
366181	UNIMPL		getpmsg
367182	UNIMPL		putpmsg
368183	UNIMPL		afs_syscall
369184	UNIMPL		tuxcall
370185	UNIMPL		security
371186	STD		{ pid_t|linux_sys||gettid(void); }
372187	UNIMPL		readahead
373188	STD		{ int|linux_sys||setxattr(char *path, char *name, \
374			    void *value, size_t size, int flags); }
375189	STD		{ int|linux_sys||lsetxattr(char *path, char *name, \
376			    void *value, size_t size, int flags); }
377190	STD		{ int|linux_sys||fsetxattr(int fd, char *name, \
378			    void *value, size_t size, int flags); }
379191	STD		{ ssize_t|linux_sys||getxattr(char *path, char *name, \
380			    void *value, size_t size); }
381192	STD		{ ssize_t|linux_sys||lgetxattr(char *path, char *name, \
382			    void *value, size_t size); }
383193	STD		{ ssize_t|linux_sys||fgetxattr(int fd, char *name, \
384			    void *value, size_t size); }
385194	STD		{ ssize_t|linux_sys||listxattr(char *path, char *list, \
386			    size_t size); }
387195	STD		{ ssize_t|linux_sys||llistxattr(char *path, char *list, \
388			    size_t size); }
389196	STD		{ ssize_t|linux_sys||flistxattr(int fd, char *list, \
390			    size_t size); }
391197	STD		{ int|linux_sys||removexattr(char *path, char *name); }
392198	STD		{ int|linux_sys||lremovexattr(char *path, char *name); }
393199	STD		{ int|linux_sys||fremovexattr(int fd, char *name); }
394200	STD		{ int|linux_sys||tkill(int tid, int sig); }
395201	STD		{ int|linux_sys||time(linux_time_t *t); }
396202	STD		{ int|linux_sys||futex(int *uaddr, int op, int val, \
397			    const struct linux_timespec *timeout, int *uaddr2, \
398			    int val3); }
399203	STD		{ int|linux_sys||sched_setaffinity(pid_t pid, \
400			    unsigned int len, unsigned long *mask); }
401204	STD		{ int|linux_sys||sched_getaffinity(pid_t pid, \
402			    unsigned int len, unsigned long *mask); }
403205	UNIMPL		set_thread_area
404206	UNIMPL		io_setup
405207	UNIMPL		io_destroy
406208	UNIMPL		io_getevents
407209	UNIMPL		io_submit
408210	UNIMPL		io_cancel
409211	UNIMPL		get_thread_area
410212	UNIMPL		lookup_dcookie
411213	UNIMPL		epoll_create
412214	UNIMPL		epoll_ctl_old
413215	UNIMPL		epoll_wait_old
414216	UNIMPL		remap_file_pages
415217	STD		{ int|linux_sys||getdents64(int fd, \
416			    struct linux_dirent64 *dent, unsigned int count); }
417218	STD		{ int|linux_sys||set_tid_address(int *tid); }
418219	UNIMPL		restart_syscall
419220	UNIMPL		semtimedop
420221	UNIMPL		fadvise64
421222	UNIMPL		timer_create
422223	UNIMPL		timer_settime
423224	UNIMPL		timer_gettime
424225	UNIMPL		timer_getoverrun
425226	UNIMPL		timer_delete
426227	STD		{ int|linux_sys||clock_settime(clockid_t which, \
427			    struct linux_timespec *tp); }
428228	STD		{ int|linux_sys||clock_gettime(clockid_t which, \
429			    struct linux_timespec *tp); }
430229	STD		{ int|linux_sys||clock_getres(clockid_t which, \
431			    struct linux_timespec *tp); }
432230	STD		{ int|linux_sys||clock_nanosleep(clockid_t which, \
433			    int flags, struct linux_timespec *rqtp, \
434			    struct linux_timespec *rmtp); }
435231	STD		{ int|linux_sys||exit_group(int error_code); }
436232	UNIMPL		epoll_wait
437233	UNIMPL		epoll_ctl
438234	STD		{ int|linux_sys||tgkill(int tgid, int tid, int sig); }
439235	UNIMPL		utimes
440236	UNIMPL		vserver
441237	UNIMPL		mbind
442238	UNIMPL		set_mempolicy
443239	UNIMPL		get_mempolicy
444240	UNIMPL		mq_open
445241	UNIMPL		mq_unlink
446242	UNIMPL		mq_timedsend
447243	UNIMPL		mq_timedreceive
448244	UNIMPL		mq_notify
449245	UNIMPL		mq_getsetattr
450246	UNIMPL		kexec_load
451247	UNIMPL		waitid
452248	UNIMPL		add_key
453249	UNIMPL		request_key
454250	UNIMPL		keyctl
455251	UNIMPL		ioprio_set
456252	UNIMPL		ioprio_get
457253	UNIMPL		inotify_init
458254	UNIMPL		inotify_add_watch
459255	UNIMPL		inotify_rm_watch
460256	UNIMPL		migrate_pages
461257	UNIMPL		openat
462258	UNIMPL		mkdirat
463259	UNIMPL		mknodat
464260	UNIMPL		fchownat
465261	UNIMPL		futimesat
466262	UNIMPL		newfstatat
467263	UNIMPL		unlinkat
468264	UNIMPL		renameat
469265	UNIMPL		linkat
470266	UNIMPL		symlinkat
471267	UNIMPL		readlinkat
472268	UNIMPL		fchmodat
473269	UNIMPL		faccessat
474270	UNIMPL		pselect6
475271	UNIMPL		ppoll
476272	UNIMPL		unshare
477273	STD		{ int|linux_sys||set_robust_list( \
478			    struct linux_robust_list_head *head, size_t len); }
479274	STD		{ int|linux_sys||get_robust_list(int pid, \
480			    struct linux_robust_list_head **head, \
481			    size_t *len); }
482275	UNIMPL		splice
483276	UNIMPL		tee
484277	UNIMPL		sync_file_range
485278	UNIMPL		vmsplice
486279	UNIMPL		move_pages
487280	UNIMPL		utimensat
488281	UNIMPL		epoll_pwait
489282	UNIMPL		signalfd
490283	UNIMPL		timerfd_create
491284	UNIMPL		eventfd
492285	UNIMPL		fallocate
493286	UNIMPL		timerfd_settime
494287	UNIMPL		timerfd_gettime
495288	UNIMPL		accept4
496289	UNIMPL		signalfd4
497290	UNIMPL		eventfd2
498291	UNIMPL		epoll_create1
499292	UNIMPL		dup3
500293	UNIMPL		pipe2
501294	UNIMPL		inotify_init1
502295	UNIMPL		preadv
503296	UNIMPL		pwritev
504297	UNIMPL		rt_tgsigqueueinfo
505298	UNIMPL		perf_counter_open
506299	UNIMPL		recvmmsg
507
508; we want a "nosys" syscall, we'll just add an extra entry for it.
509300	STD		{ int|linux_sys||nosys(void); }
510