xref: /netbsd-src/sys/compat/linux/arch/amd64/syscalls.master (revision 7788a0781fe6ff2cce37368b4578a7ade0850cb1)
1	$NetBSD: syscalls.master,v 1.42 2013/04/08 20:54:47 pooka 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(int which, \
137			    struct itimerval50 *itv); }
13837	STD		{ int|linux_sys||alarm(unsigned int secs); }
13938	NOARGS		{ int|compat_50_sys||setitimer(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	STD		{ int|linux_sys||rt_sigtimedwait( \
291			    const linux_sigset_t *set, \
292			    linux_siginfo_t *info, \
293			    const struct linux_timespec *timeout); }
294129	STD		{ int|linux_sys||rt_queueinfo(int pid, int signum, \
295			    linux_siginfo_t *uinfo); }
296130	STD		{ int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
297			    size_t sigsetsize); }
298131	STD		{ int|linux_sys||sigaltstack( \
299			    const struct linux_sigaltstack *ss, \
300			    struct linux_sigaltstack *oss); }
301132	STD		{ int|linux_sys||utime(const char *path, \
302			    struct linux_utimbuf *times); }
303133	STD		{ int|linux_sys||mknod(const char *path, int mode, \
304			    int dev); }
305#ifdef EXEC_AOUT
306134	STD		{ int|linux_sys||uselib(const char *path); }
307#else
308134	UNIMPL		sys_uselib
309#endif
310135	STD		{ int|linux_sys||personality(unsigned long per); }
311136	UNIMPL		ustat
312137	STD		{ int|linux_sys||statfs(const char *path, \
313			    struct linux_statfs *sp); }
314138	STD		{ int|linux_sys||fstatfs(int fd, \
315			    struct linux_statfs *sp); }
316139	UNIMPL		sysfs
317140	STD		{ int|linux_sys||getpriority(int which, int who); }
318141	NOARGS		{ int|sys||setpriority(int which, int who, int prio); }
319142	STD		{ int|linux_sys||sched_setparam(pid_t pid, \
320			    const struct linux_sched_param *sp); }
321143	STD		{ int|linux_sys||sched_getparam(pid_t pid, \
322			    struct linux_sched_param *sp); }
323144	STD		{ int|linux_sys||sched_setscheduler(pid_t pid, \
324			    int policy, const struct linux_sched_param *sp); }
325145	STD		{ int|linux_sys||sched_getscheduler(pid_t pid); }
326146	STD		{ int|linux_sys||sched_get_priority_max(int policy); }
327147	STD		{ int|linux_sys||sched_get_priority_min(int policy); }
328148	UNIMPL		sys_sched_rr_get_interval
329149	NOARGS		{ int|sys||mlock(void *addr, size_t len); }
330150	NOARGS		{ int|sys||munlock(void *addr, size_t len); }
331151	NOARGS		{ int|sys||mlockall(int flags); }
332152	NOARGS		{ int|sys||munlockall(void); }
333153	UNIMPL		vhangup
334154	STD		{ int|linux_sys||modify_ldt(int func, void *ptr, \
335			    size_t bytecount); }
336155	UNIMPL		pivot_root
337156	STD		{ int|linux_sys||__sysctl(struct linux___sysctl *lsp); }
338157	UNIMPL		prctl
339158	STD		{ int|linux_sys||arch_prctl(int code, \
340			    unsigned long addr); }
341159	UNIMPL		adjtimex
342160	STD		{ int|linux_sys||setrlimit(u_int which, \
343			    struct rlimit *rlp); }
344161	NOARGS		{ int|sys||chroot(char *path); }
345162	NOARGS		{ int|sys||sync(void); }
346163	NOARGS		{ int|sys||acct(char *path); }
347164	STD		{ int|linux_sys||settimeofday(struct timeval50 *tp, \
348			    struct timezone *tzp); }
349165	UNIMPL		mount
350166	UNIMPL		umount2
351167	STD		{ int|linux_sys||swapon(char *name); }
352168	STD		{ int|linux_sys||swapoff(const char *path); }
353169	STD		{ int|linux_sys||reboot(int magic1, int magic2, \
354			    int cmd, void *arg); }
355170	NOARGS		{ int|compat_43_sys||sethostname(char *hostname, \
356			    u_int len);}
357171	STD		{ int|linux_sys||setdomainname(char *domainname, \
358			    int len); }
359172	STD		{ int|linux_sys||iopl(int level); }
360173	STD		{ int|linux_sys||ioperm(unsigned int lo, \
361			    unsigned int hi, int val); }
362174	UNIMPL		create_module
363175	UNIMPL		init_module
364176	UNIMPL		delete_module
365177	UNIMPL		get_kernel_syms
366178	UNIMPL		query_module
367179	UNIMPL		quotactl
368180	UNIMPL		nfsservctl
369181	UNIMPL		getpmsg
370182	UNIMPL		putpmsg
371183	UNIMPL		afs_syscall
372184	UNIMPL		tuxcall
373185	UNIMPL		security
374186	STD		{ pid_t|linux_sys||gettid(void); }
375187	UNIMPL		readahead
376188	STD		{ int|linux_sys||setxattr(char *path, char *name, \
377			    void *value, size_t size, int flags); }
378189	STD		{ int|linux_sys||lsetxattr(char *path, char *name, \
379			    void *value, size_t size, int flags); }
380190	STD		{ int|linux_sys||fsetxattr(int fd, char *name, \
381			    void *value, size_t size, int flags); }
382191	STD		{ ssize_t|linux_sys||getxattr(char *path, char *name, \
383			    void *value, size_t size); }
384192	STD		{ ssize_t|linux_sys||lgetxattr(char *path, char *name, \
385			    void *value, size_t size); }
386193	STD		{ ssize_t|linux_sys||fgetxattr(int fd, char *name, \
387			    void *value, size_t size); }
388194	STD		{ ssize_t|linux_sys||listxattr(char *path, char *list, \
389			    size_t size); }
390195	STD		{ ssize_t|linux_sys||llistxattr(char *path, char *list, \
391			    size_t size); }
392196	STD		{ ssize_t|linux_sys||flistxattr(int fd, char *list, \
393			    size_t size); }
394197	STD		{ int|linux_sys||removexattr(char *path, char *name); }
395198	STD		{ int|linux_sys||lremovexattr(char *path, char *name); }
396199	STD		{ int|linux_sys||fremovexattr(int fd, char *name); }
397200	STD		{ int|linux_sys||tkill(int tid, int sig); }
398201	STD		{ int|linux_sys||time(linux_time_t *t); }
399202	STD		{ int|linux_sys||futex(int *uaddr, int op, int val, \
400			    const struct linux_timespec *timeout, int *uaddr2, \
401			    int val3); }
402203	STD		{ int|linux_sys||sched_setaffinity(pid_t pid, \
403			    unsigned int len, unsigned long *mask); }
404204	STD		{ int|linux_sys||sched_getaffinity(pid_t pid, \
405			    unsigned int len, unsigned long *mask); }
406205	UNIMPL		set_thread_area
407206	UNIMPL		io_setup
408207	UNIMPL		io_destroy
409208	UNIMPL		io_getevents
410209	UNIMPL		io_submit
411210	UNIMPL		io_cancel
412211	UNIMPL		get_thread_area
413212	UNIMPL		lookup_dcookie
414213	UNIMPL		epoll_create
415214	UNIMPL		epoll_ctl_old
416215	UNIMPL		epoll_wait_old
417216	UNIMPL		remap_file_pages
418217	STD		{ int|linux_sys||getdents64(int fd, \
419			    struct linux_dirent64 *dent, unsigned int count); }
420218	STD		{ int|linux_sys||set_tid_address(int *tid); }
421219	UNIMPL		restart_syscall
422220	UNIMPL		semtimedop
423221	STD		{ int|linux_sys||fadvise64(int fd, \
424			    linux_off_t offset, size_t len, int advice); }
425222	UNIMPL		timer_create
426223	UNIMPL		timer_settime
427224	UNIMPL		timer_gettime
428225	UNIMPL		timer_getoverrun
429226	UNIMPL		timer_delete
430227	STD		{ int|linux_sys||clock_settime(clockid_t which, \
431			    struct linux_timespec *tp); }
432228	STD		{ int|linux_sys||clock_gettime(clockid_t which, \
433			    struct linux_timespec *tp); }
434229	STD		{ int|linux_sys||clock_getres(clockid_t which, \
435			    struct linux_timespec *tp); }
436230	STD		{ int|linux_sys||clock_nanosleep(clockid_t which, \
437			    int flags, struct linux_timespec *rqtp, \
438			    struct linux_timespec *rmtp); }
439231	STD		{ int|linux_sys||exit_group(int error_code); }
440232	UNIMPL		epoll_wait
441233	UNIMPL		epoll_ctl
442234	STD		{ int|linux_sys||tgkill(int tgid, int tid, int sig); }
443235	STD		{ int|linux_sys||utimes(const char *path, struct linux_timeval *times); }
444236	UNIMPL		vserver
445237	UNIMPL		mbind
446238	UNIMPL		set_mempolicy
447239	UNIMPL		get_mempolicy
448240	UNIMPL		mq_open
449241	UNIMPL		mq_unlink
450242	UNIMPL		mq_timedsend
451243	UNIMPL		mq_timedreceive
452244	UNIMPL		mq_notify
453245	UNIMPL		mq_getsetattr
454246	UNIMPL		kexec_load
455247	UNIMPL		waitid
456248	UNIMPL		add_key
457249	UNIMPL		request_key
458250	UNIMPL		keyctl
459251	UNIMPL		ioprio_set
460252	UNIMPL		ioprio_get
461253	UNIMPL		inotify_init
462254	UNIMPL		inotify_add_watch
463255	UNIMPL		inotify_rm_watch
464256	UNIMPL		migrate_pages
465257	UNIMPL		openat
466258	UNIMPL		mkdirat
467259	UNIMPL		mknodat
468260	UNIMPL		fchownat
469261	UNIMPL		futimesat
470262	UNIMPL		newfstatat
471263	UNIMPL		unlinkat
472264	UNIMPL		renameat
473265	UNIMPL		linkat
474266	UNIMPL		symlinkat
475267	UNIMPL		readlinkat
476268	UNIMPL		fchmodat
477269	UNIMPL		faccessat
478270	UNIMPL		pselect6
479271	STD		{ int|linux_sys||ppoll(struct pollfd *fds, int nfds, \
480			    struct linux_timespec *timeout, \
481			    linux_sigset_t *sigset); }
482272	UNIMPL		unshare
483273	STD		{ int|linux_sys||set_robust_list( \
484			    struct linux_robust_list_head *head, size_t len); }
485274	STD		{ int|linux_sys||get_robust_list(int pid, \
486			    struct linux_robust_list_head **head, \
487			    size_t *len); }
488275	UNIMPL		splice
489276	UNIMPL		tee
490277	UNIMPL		sync_file_range
491278	UNIMPL		vmsplice
492279	UNIMPL		move_pages
493280	UNIMPL		utimensat
494281	UNIMPL		epoll_pwait
495282	UNIMPL		signalfd
496283	UNIMPL		timerfd_create
497284	UNIMPL		eventfd
498285	UNIMPL		fallocate
499286	UNIMPL		timerfd_settime
500287	UNIMPL		timerfd_gettime
501288	UNIMPL		accept4
502289	UNIMPL		signalfd4
503290	UNIMPL		eventfd2
504291	UNIMPL		epoll_create1
505292	STD		{ int|linux_sys||dup3(int from, int to, int flags); }
506293	STD		{ int|linux_sys||pipe2(int *pfds, int flags); }
507294	UNIMPL		inotify_init1
508295	UNIMPL		preadv
509296	UNIMPL		pwritev
510297	UNIMPL		rt_tgsigqueueinfo
511298	UNIMPL		perf_counter_open
512299	UNIMPL		recvmmsg
513
514; we want a "nosys" syscall, we'll just add an extra entry for it.
515300	STD		{ int|linux_sys||nosys(void); }
516