xref: /netbsd-src/sys/compat/linux/arch/m68k/syscalls.master (revision 7788a0781fe6ff2cce37368b4578a7ade0850cb1)
1	$NetBSD: syscalls.master,v 1.75 2013/04/08 20:54:48 pooka Exp $
2
3;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
4
5; NetBSD m68k 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_compat_netbsd.h"
38#include "opt_compat_43.h"
39#endif
40
41#include <sys/param.h>
42#include <sys/poll.h>
43#include <sys/systm.h>
44#include <sys/signal.h>
45#include <sys/mount.h>
46#include <sys/sched.h>
47#include <sys/syscallargs.h>
48
49#include <compat/linux/common/linux_types.h>
50#include <compat/linux/common/linux_signal.h>
51#include <compat/linux/common/linux_siginfo.h>
52#include <compat/linux/common/linux_machdep.h>
53#include <compat/linux/common/linux_mmap.h>
54
55#include <compat/linux/linux_syscallargs.h>
56
57%%
58
590	NOARGS		{ int|linux_sys||nosys(void); } syscall
601	STD		{ int|linux_sys||exit(int rval); }
612	NOARGS		{ int|sys||fork(void); }
623	NOARGS		{ int|sys||read(int fd, char *buf, u_int nbyte); }
634	NOARGS		{ int|sys||write(int fd, char *buf, u_int nbyte); }
645	STD		{ int|linux_sys||open(const char *path, int flags, \
65			    int mode); }
666	NOARGS		{ int|sys||close(int fd); }
677	STD		{ int|linux_sys||waitpid(int pid, int *status, \
68			    int options);}
698	STD		{ int|linux_sys||creat(const char *path, int mode); }
709	NOARGS		{ int|sys||link(const char *path, const char *link); }
7110	STD		{ int|linux_sys||unlink(const char *path); }
7211	NOARGS		{ int|sys||execve(const char *path, char **argp, \
73			    char **envp); }
7412	NOARGS		{ int|sys||chdir(const char *path); }
7513	STD		{ int|linux_sys||time(linux_time_t *t); }
7614	STD		{ int|linux_sys||mknod(const char *path, int mode, \
77			    int dev); }
7815	NOARGS		{ int|sys||chmod(const char *path, int mode); }
79;16 lchown on i386; chown on m68k.
8016	STD		{ int|linux_sys||chown16(const char *path, \
81			    linux_uid16_t uid, linux_gid16_t gid); }
8217	OBSOL		break
8318	OBSOL		ostat
84#if !defined(_KERNEL) || defined(COMPAT_43)
8519	NOARGS		{ long|compat_43_sys||lseek(int fd, long offset, \
86			    int whence); }
87#else
8819	UNIMPL		compat_43_sys_lseek
89#endif
9020	NOARGS 		{ pid_t|sys||getpid(void); }
9121	UNIMPL		mount
9222	OBSOL		umount
9323	NOARGS		linux_setuid16 { int|sys||setuid(uid_t uid); }
9424	NOARGS		linux_getuid16 { uid_t|sys||getuid(void); }
9525	STD		{ int|linux_sys||stime(linux_time_t *t); }
9626	STD		{ int|linux_sys||ptrace(int request, int pid, \
97			  int addr, int data); }
9827	STD		{ int|linux_sys||alarm(unsigned int secs); }
9928	OBSOL		ofstat
10029	STD		{ int|linux_sys||pause(void); }
10130	STD		{ int|linux_sys||utime(const char *path, \
102			    struct linux_utimbuf *times); }
10331	OBSOL		stty
10432	OBSOL		gtty
10533	NOARGS		{ int|sys||access(const char *path, int flags); }
10634	STD		{ int|linux_sys||nice(int incr); }
10735	OBSOL		ftime
10836	NOARGS		{ int|sys||sync(void); }
10937	STD		{ int|linux_sys||kill(int pid, int signum); }
11038	NOARGS		{ int|sys||__posix_rename(const char *from, \
111			    const char *to); }
11239	NOARGS		{ int|sys||mkdir(const char *path, int mode); }
11340	NOARGS		{ int|sys||rmdir(const char *path); }
11441	NOARGS		{ int|sys||dup(u_int fd); }
11542	STD		{ int|linux_sys||pipe(int *pfds); }
11643	STD		{ int|linux_sys||times(struct times *tms); }
11744	OBSOL		prof
11845	STD		{ int|linux_sys||brk(char *nsize); }
11946	NOARGS		linux_setgid16 { int|sys||setgid(gid_t gid); }
12047	NOARGS		linux_getgid16 { gid_t|sys||getgid(void); }
12148	STD		{ int|linux_sys||signal(int signum, \
122			    linux_handler_t handler); }
12349	NOARGS		linux_geteuid16 { uid_t|sys||geteuid(void); }
12450	NOARGS		linux_getegid16 { gid_t|sys||getegid(void); }
12551	NOARGS		{ int|sys||acct(char *path); }
12652	UNIMPL		umount
12753	OBSOL		lock
12854	STD		{ int|linux_sys||ioctl(int fd, u_long com, \
129			    void *data); }
13055	STD		{ int|linux_sys||fcntl(int fd, int cmd, void *arg); }
13156	OBSOL		mpx
13257	NOARGS		{ int|sys||setpgid(int pid, int pgid); }
13358	OBSOL		ulimit
13459	UNIMPL		oldolduname
13560	NOARGS		{ int|sys||umask(int newmask); }
13661	NOARGS		{ int|sys||chroot(char *path); }
13762	UNIMPL		ustat
13863	NOARGS		{ int|sys||dup2(u_int from, u_int to); }
13964	NOARGS		{ pid_t|sys||getppid(void); }
14065	NOARGS		{ int|sys||getpgrp(void); }
14166	NOARGS		{ int|sys||setsid(void); }
14267	STD		{ int|linux_sys||sigaction(int signum, \
143			    const struct linux_old_sigaction *nsa, \
144			    struct linux_old_sigaction *osa); }
14568	STD		{ int|linux_sys||siggetmask(void); }
14669	STD		{ int|linux_sys||sigsetmask(linux_old_sigset_t mask); }
14770	STD		{ int|linux_sys||setreuid16(linux_uid16_t ruid, \
148			    linux_uid16_t euid); }
14971	STD		{ int|linux_sys||setregid16(linux_gid16_t rgid, \
150			    linux_gid16_t egid); }
15172	STD		{ int|linux_sys||sigsuspend(void *restart, \
152			    int oldmask, int mask); }
15373	STD		{ int|linux_sys||sigpending(linux_old_sigset_t *set); }
154#if !defined(_KERNEL) || defined(COMPAT_43)
15574	NOARGS		{ int|compat_43_sys||sethostname(char *hostname, \
156			    u_int len);}
157#else
15874	UNIMPL		compat_43_sys_sethostname
159#endif
16075	STD		{ int|linux_sys||setrlimit(u_int which, \
161			    struct orlimit *rlp); }
16276	STD		{ int|linux_sys||getrlimit(u_int which, \
163			    struct orlimit *rlp); }
16477	NOARGS		{ int|compat_50_sys||getrusage(int who, \
165			    struct rusage50 *rusage); }
16678	STD		{ int|linux_sys||gettimeofday(struct timeval50 *tp, \
167			    struct timezone *tzp); }
16879	STD		{ int|linux_sys||settimeofday(struct timeval50 *tp, \
169			    struct timezone *tzp); }
17080	STD		{ int|linux_sys||getgroups16(int gidsetsize, \
171			    linux_gid16_t *gidset); }
17281	STD		{ int|linux_sys||setgroups16(int gidsetsize, \
173			    linux_gid16_t *gidset); }
17482	STD		{ int|linux_sys||oldselect(struct linux_oldselect *lsp); }
17583	NOARGS		{ int|sys||symlink(const char *path, const char *to); }
176#if !defined(_KERNEL) || defined(COMPAT_43)
17784	NOARGS		{ int|compat_43_sys||lstat(const char *path, \
178			    struct stat43 *up); } oolstat
179#else
18084	UNIMPL		compat_43_sys_lstat
181#endif
18285	NOARGS		{ int|sys||readlink(const char *name, char *buf, \
183			    int count); }
184#ifdef EXEC_AOUT
18586	STD		{ int|linux_sys||uselib(const char *path); }
186#else
18786	UNIMPL		sys_uselib
188#endif
18987	STD		{ int|linux_sys||swapon(char *name); }
19088	STD		{ int|linux_sys||reboot(int magic1, int magic2, \
191			    int cmd, void *arg); }
19289	STD		{ int|linux_sys||readdir(int fd, void *dent, \
193			    unsigned int count); }
19490	STD		{ int|linux_sys||old_mmap(struct linux_oldmmap *lmp); }
19591	NOARGS		{ int|sys||munmap(void *addr, int len); }
19692	NOARGS		{ int|compat_43_sys||truncate(const char *path, \
197			    long length); }
198#if !defined(_KERNEL) || defined(COMPAT_43)
19993	NOARGS		{ int|compat_43_sys||ftruncate(int fd, long length); }
200#else
20193	UNIMPL		compat_43_sys_ftruncate
202#endif
20394	NOARGS		{ int|sys||fchmod(int fd, int mode); }
20495	STD		{ int|linux_sys||fchown16(int fd, linux_uid16_t uid, \
205			    linux_gid16_t gid); }
20696	STD		{ int|linux_sys||getpriority(int which, int who); }
20797	NOARGS		{ int|sys||setpriority(int which, int who, int prio); }
20898	NOARGS		{ int|sys||profil(void *samples, u_int size, \
209			    u_int offset, u_int scale); }
21099	STD		{ int|linux_sys||statfs(const char *path, \
211			    struct linux_statfs *sp); }
212100	STD		{ int|linux_sys||fstatfs(int fd, \
213			    struct linux_statfs *sp); }
214101	UNIMPL		ioperm
215102	STD		{ int|linux_sys||socketcall(int what, void *args); }
216103	UNIMPL		syslog
217104	NOARGS		{ int|compat_50_sys||setitimer(int which, \
218			    struct itimerval50 *itv, \
219			    struct itimerval50 *oitv); }
220105	NOARGS		{ int|compat_50_sys||getitimer(int which, \
221			    struct itimerval50 *itv); }
222106	STD		{ int|linux_sys||stat(const char *path, \
223			    struct linux_stat *sp); }
224107	STD		{ int|linux_sys||lstat(const char *path, \
225			    struct linux_stat *sp); }
226108	STD		{ int|linux_sys||fstat(int fd, struct linux_stat *sp); }
227109	UNIMPL		olduname
228110	UNIMPL		iopl
229111	UNIMPL		vhangup
230112	UNIMPL		idle
231113	UNIMPL		vm86old
232114	STD		{ int|linux_sys||wait4(int pid, int *status, \
233			    int options, struct rusage50 *rusage); }
234115	STD		{ int|linux_sys||swapoff(const char *path); }
235116	STD		{ int|linux_sys||sysinfo(struct linux_sysinfo *arg); }
236117	STD		{ int|linux_sys||ipc(int what, int a1, int a2, int a3, \
237			    void *ptr); }
238118	NOARGS		{ int|sys||fsync(int fd); }
239119	STD		{ int|linux_sys||sigreturn(void); }
240120	STD		{ int|linux_sys||clone(int flags, void *stack, \
241			    void *parent_tidptr, void *tls, void *child_tidptr); }
242121	STD		{ int|linux_sys||setdomainname(char *domainname, \
243			    int len); }
244122	STD		{ int|linux_sys||uname(struct linux_utsname *up); }
245123	STD		{ int|linux_sys||cacheflush(unsigned long addr, \
246			    int scope, int cache, unsigned long len); }
247124	UNIMPL		adjtimex
248125	STD		{ int|linux_sys||mprotect(const void *start, \
249			    unsigned long len, int prot); }
250126	STD		{ int|linux_sys||sigprocmask(int how, \
251			    const linux_old_sigset_t *set, \
252			    linux_old_sigset_t *oset); }
253127	UNIMPL		create_module
254128	UNIMPL		init_module
255129	UNIMPL		delete_module
256130	UNIMPL		get_kernel_syms
257131	UNIMPL		quotactl
258132	NOARGS		{ pid_t|sys||getpgid(pid_t pid); }
259133	NOARGS		{ int|sys||fchdir(int fd); }
260134	UNIMPL		bdflush
261135	UNIMPL		sysfs
262136	STD		{ int|linux_sys||personality(unsigned long per); }
263137	UNIMPL		afs_syscall
264138	NOARGS		linux_setfsuid16 { int|linux_sys||setfsuid(uid_t uid); }
265139	NOARGS		linux_setfsgid16 { int|linux_sys||setfsgid(gid_t gid); }
266140	STD		{ int|linux_sys||llseek(int fd, u_int32_t ohigh, \
267			    u_int32_t olow, void *res, int whence); }
268141	STD		{ int|linux_sys||getdents(int fd, \
269			    struct linux_dirent *dent, unsigned int count); }
270142	STD		{ int|linux_sys||select(int nfds, fd_set *readfds, \
271			    fd_set *writefds, fd_set *exceptfds, \
272			    struct timeval50 *timeout); }
273143	NOARGS		{ int|sys||flock(int fd, int how); }
274144	NOARGS		{ int|sys|13|msync(void *addr, size_t len, int flags); }
275145	NOARGS		{ int|sys||readv(int fd, struct iovec *iovp, \
276				u_int iovcnt); }
277146	NOARGS		{ int|sys||writev(int fd, struct iovec *iovp, \
278				u_int iovcnt); }
279147	NOARGS		{ pid_t|sys||getsid(pid_t pid); }
280148	STD		{ int|linux_sys||fdatasync(int fd); }
281149	STD		{ int|linux_sys||__sysctl(struct linux___sysctl *lsp); }
282150	NOARGS		{ int|sys||mlock(void *addr, size_t len); }
283151	NOARGS		{ int|sys||munlock(void *addr, size_t len); }
284152	NOARGS		{ int|sys||mlockall(int flags); }
285153	NOARGS		{ int|sys||munlockall(void); }
286154	STD		{ int|linux_sys||sched_setparam(pid_t pid, \
287			    const struct linux_sched_param *sp); }
288155	STD		{ int|linux_sys||sched_getparam(pid_t pid, \
289			    struct linux_sched_param *sp); }
290156	STD		{ int|linux_sys||sched_setscheduler(pid_t pid, \
291			    int policy, const struct linux_sched_param *sp); }
292157	STD		{ int|linux_sys||sched_getscheduler(pid_t pid); }
293158	STD		{ int|linux_sys||sched_yield(void); }
294159	STD		{ int|linux_sys||sched_get_priority_max(int policy); }
295160	STD		{ int|linux_sys||sched_get_priority_min(int policy); }
296161	UNIMPL		sched_rr_get_interval
297162	STD		{ int|linux_sys||nanosleep( \
298			    const struct linux_timespec *rqtp, \
299			    struct linux_timespec *rmtp); }
300163	STD		{ void *|linux_sys||mremap(void *old_address, \
301			    size_t old_size, size_t new_size, u_long flags); }
302164	STD		{ int|linux_sys||setresuid16(linux_uid16_t ruid, \
303			    linux_uid16_t euid, linux_uid16_t suid); }
304165	STD		{ int|linux_sys||getresuid16(linux_uid16_t *ruid, \
305			    linux_uid16_t *euid, linux_uid16_t *suid); }
306166	UNIMPL		vm86
307167	UNIMPL		query_module
308168	NOARGS		{ int|sys||poll(struct pollfd *fds, u_int nfds, \
309			    int timeout); }
310169	UNIMPL		nfsservctl
311170	STD		{ int|linux_sys||setresgid16(linux_gid16_t rgid, \
312			    linux_gid16_t egid, linux_gid16_t sgid); }
313171	STD		{ int|linux_sys||getresgid16(linux_gid16_t *rgid, \
314			    linux_gid16_t *egid, linux_gid16_t *sgid); }
315172	UNIMPL		prctl
316173	STD		{ int|linux_sys||rt_sigreturn(void); }
317174	STD		{ int|linux_sys||rt_sigaction(int signum, \
318			    const struct linux_sigaction *nsa, \
319			    struct linux_sigaction *osa, \
320			    size_t sigsetsize); }
321175	STD		{ int|linux_sys||rt_sigprocmask(int how, \
322			    const linux_sigset_t *set, \
323			    linux_sigset_t *oset, \
324			    size_t sigsetsize); }
325176	STD		{ int|linux_sys||rt_sigpending( \
326			    linux_sigset_t *set, \
327			    size_t sigsetsize); }
328177	STD		{ int|linux_sys||rt_sigtimedwait( \
329			    const linux_sigset_t *set, \
330			    linux_siginfo_t *info, \
331			    const struct linux_timespec *timeout); }
332178	STD		{ int|linux_sys||rt_queueinfo(int pid, int signum, \
333			    linux_siginfo_t *uinfo); }
334179	STD		{ int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
335			    size_t sigsetsize); }
336180	STD		{ int|linux_sys||pread(int fd, char *buf, \
337			    size_t nbyte, linux_off_t offset); }
338181	STD		{ int|linux_sys||pwrite(int fd, char *buf, \
339			    size_t nbyte, linux_off_t offset); }
340;182 chown on i386; lchown on m68k.
341182	STD		{ int|linux_sys||lchown16(const char *path, \
342			    linux_uid16_t uid, linux_gid16_t gid); }
343183	NOARGS		{ int|sys||__getcwd(char *bufp, size_t length); }
344184	UNIMPL		capget
345185	UNIMPL		capset
346186	STD		{ int|linux_sys||sigaltstack( \
347			    const struct linux_sigaltstack *ss, \
348			    struct linux_sigaltstack *oss); }
349187	UNIMPL		sendfile
350188	UNIMPL		getpmsg
351189	UNIMPL		putpmsg
352190	NOARGS		{ int|sys|14|vfork(void); }
353191	STD		{ int|linux_sys||ugetrlimit(int which, \
354			    struct orlimit *rlp); }
355#define linux_sys_mmap2_args linux_sys_mmap_args
356192	NOARGS		{ linux_off_t|linux_sys||mmap2(unsigned long addr, \
357			    size_t len, int prot, int flags, int fd, \
358			    linux_off_t offset); }
359193	STD		{ int|linux_sys||truncate64(const char *path, \
360			    off_t length); }
361194	STD		{ int|linux_sys||ftruncate64(unsigned int fd, \
362			    off_t length); }
363195	STD		{ int|linux_sys||stat64(const char *path, \
364			    struct linux_stat64 *sp); }
365196	STD		{ int|linux_sys||lstat64(const char *path, \
366			    struct linux_stat64 *sp); }
367197	STD		{ int|linux_sys||fstat64(int fd, \
368			    struct linux_stat64 *sp); }
369198	NOARGS		 { int|sys||__posix_chown(const char *path, uid_t uid, \
370			    gid_t gid); }
371199	NOARGS		{ uid_t|sys||getuid(void); }
372200	NOARGS		{ gid_t|sys||getgid(void); }
373201	NOARGS		{ uid_t|sys||geteuid(void); }
374202	NOARGS		{ gid_t|sys||getegid(void); }
375203	NOARGS		{ int|sys||setreuid(uid_t ruid, uid_t euid); }
376204	NOARGS		{ int|sys||setregid(gid_t rgid, gid_t egid); }
377205	NOARGS		{ int|sys||getgroups(u_int gidsetsize, gid_t *gidset); }
378206	NOARGS		{ int|sys||setgroups(u_int gidsetsize, gid_t *gidset); }
379207	NOARGS		{ int|sys||__posix_fchown(int fd, uid_t uid, \
380			    gid_t gid); }
381208	STD		{ int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
382			    uid_t suid); }
383209	STD		{ int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \
384			    uid_t *suid); }
385210	STD		{ int|linux_sys||setresgid(gid_t rgid, gid_t egid, \
386			    gid_t sgid); }
387211	STD		{ int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \
388			    gid_t *sgid); }
389212	NOARGS		{ int|sys||__posix_lchown(const char *path, uid_t uid, \
390			    gid_t gid); }
391213	NOARGS		{ int|sys||setuid(uid_t uid); }
392214	NOARGS		{ int|sys||setgid(gid_t gid); }
393215	STD		{ int|linux_sys||setfsuid(uid_t uid); }
394216	STD		{ int|linux_sys||setfsgid(gid_t gid); }
395217	UNIMPL		/* unused */
396218	UNIMPL		/* unused */
397219	UNIMPL		/* unused */
398220	STD		{ int|linux_sys||getdents64(int fd, \
399			    struct linux_dirent64 *dent, unsigned int count); }
400221	NOARGS		{ pid_t|linux_sys||gettid(void); }
401222	STD		{ int|linux_sys||tkill(int tid, int sig); }
402223	STD		{ int|linux_sys||setxattr(char *path, char *name, \
403			    void *value, size_t size, int flags); }
404224	STD		{ int|linux_sys||lsetxattr(char *path, char *name, \
405			    void *value, size_t size, int flags); }
406225	STD		{ int|linux_sys||fsetxattr(int fd, char *name, \
407			    void *value, size_t size, int flags); }
408226	STD		{ ssize_t|linux_sys||getxattr(char *path, char *name, \
409			    void *value, size_t size); }
410227	STD		{ ssize_t|linux_sys||lgetxattr(char *path, char *name, \
411			    void *value, size_t size); }
412228	STD		{ ssize_t|linux_sys||fgetxattr(int fd, char *name, \
413			    void *value, size_t size); }
414229	STD		{ ssize_t|linux_sys||listxattr(char *path, char *list, \
415			    size_t size); }
416230	STD		{ ssize_t|linux_sys||llistxattr(char *path, char *list, \
417			    size_t size); }
418231	STD		{ ssize_t|linux_sys||flistxattr(int fd, char *list, \
419			    size_t size); }
420232	STD		{ int|linux_sys||removexattr(char *path, char *name); }
421233	STD		{ int|linux_sys||lremovexattr(char *path, char *name); }
422234	STD		{ int|linux_sys||fremovexattr(int fd, char *name); }
423235	STD		{ int|linux_sys||futex(int *uaddr, int op, int val, \
424			    const struct linux_timespec *timeout, int *uaddr2, \
425			    int val3); }
426236	UNIMPL		sendfile64
427237	UNIMPL		mincore
428238	UNIMPL		madvise
429239	UNIMPL		fcntl64
430240	UNIMPL		readahead
431241	UNIMPL		io_setup
432242	UNIMPL		io_destroy
433243	UNIMPL		io_getevents
434244	UNIMPL		io_submit
435245	UNIMPL		io_cancel
436246	STD		{ int|linux_sys||fadvise64(int fd, \
437			    linux_off_t offset, size_t len, int advice); }
438247	UNIMPL		exit_group
439248	UNIMPL		lookup_dcookie
440249	UNIMPL		epoll_create
441250	UNIMPL		epoll_ctl
442251	UNIMPL		epoll_wait
443252	UNIMPL		remap_file_pages
444253	STD		{ int|linux_sys||set_tid_address(int *tid); }
445254	UNIMPL		timer_create
446255	UNIMPL		timer_settime
447256	UNIMPL		timer_gettime
448257	UNIMPL		timer_getoverrun
449258	UNIMPL		timer_ delete
450259	STD		{ int|linux_sys||clock_settime(clockid_t which, \
451			    struct linux_timespec *tp); }
452260	STD		{ int|linux_sys||clock_gettime(clockid_t which, \
453			    struct linux_timespec *tp); }
454261	STD		{ int|linux_sys||clock_getres(clockid_t which, \
455			    struct linux_timespec *tp); }
456262	STD		{ int|linux_sys||clock_nanosleep(clockid_t which, \
457			    int flags, struct linux_timespec *rqtp, \
458			    struct linux_timespec *rmtp); }
459263	STD		{ int|linux_sys||statfs64(const char *path, \
460			    size_t sz, struct linux_statfs64 *sp); }
461264	STD		{ int|linux_sys||fstatfs64(int fd, \
462			    size_t sz, struct linux_statfs64 *sp); }
463265	STD		{ int|linux_sys||tgkill(int tgid, int tid, int sig); }
464266	STD		{ int|linux_sys||utimes(const char *path, struct linux_timeval *times); }
465267	STD		{ int|linux_sys||fadvise64_64(int fd, \
466			    linux_off_t offset, linux_off_t len, int advice); }
467268	UNIMPL		mbind
468269	UNIMPL		get_mempolicy
469270	UNIMPL		set_mempolicy
470271	UNIMPL		mq_open
471272	UNIMPL		mq_unlink
472273	UNIMPL		mq_timedsend
473274	UNIMPL		mq_timedreceive
474275	UNIMPL		mq_notify
475276	UNIMPL		mq_getsetattr
476277	UNIMPL		waitid
477278	UNIMPL		vserver
478279	UNIMPL		add_key
479280	UNIMPL		request_key
480281	UNIMPL		keyctl
481282	UNIMPL		ioprio_set
482283	UNIMPL		ioprio_get
483284	UNIMPL		inotify_init
484285	UNIMPL		inotify_add_watch
485286	UNIMPL		inotify_rm_watch
486287	UNIMPL		migrate_pages
487288	UNIMPL		openat
488289	UNIMPL		mkdirat
489290	UNIMPL		mknodat
490291	UNIMPL		fchownat
491292	UNIMPL		futimesat
492293	UNIMPL		fstatat64
493294	UNIMPL		unlinkat
494295	UNIMPL		renameat
495296	UNIMPL		linkat
496297	UNIMPL		symlinkat
497298	UNIMPL		readlinkat
498299	UNIMPL		fchmodat
499300	UNIMPL		faccessat
500301	UNIMPL		pselect6
501302	STD             { int|linux_sys||ppoll(struct pollfd *fds, int nfds, \
502			    struct linux_timespec *timeout, \
503			    linux_sigset_t *sigset); }
504303	UNIMPL		unshare
505304	STD		{ int|linux_sys||set_robust_list( \
506			    struct linux_robust_list_head *head, size_t len); }
507305	STD		{ int|linux_sys||get_robust_list(int pid, \
508			    struct linux_robust_list_head **head, \
509			    size_t *len); }
510306	UNIMPL		splice
511307	UNIMPL		sync_file_range
512308	UNIMPL		tee
513309	UNIMPL		vmsplice
514310	UNIMPL		move_pages
515311	STD		{ int|linux_sys||sched_setaffinity(pid_t pid, \
516			    unsigned int len, unsigned long *mask); }
517312	STD		{ int|linux_sys||sched_getaffinity(pid_t pid, \
518			    unsigned int len, unsigned long *mask); }
519313	UNIMPL		kexec_load
520314	UNIMPL		getcpu
521315	UNIMPL		epoll_wait
522316	UNIMPL		utimensat
523317	UNIMPL		signalfd
524318	UNIMPL		timerfd_create
525319	UNIMPL		eventfd
526320	UNIMPL		fallocate
527321	UNIMPL		timerfd_settime
528322	UNIMPL		timerfd_gettime
529323	UNIMPL		signalfd4
530324	UNIMPL		eventfd2
531325	UNIMPL		epoll_create1
532326	STD		{ int|linux_sys||dup3(int from, int to, int flags); }
533327	STD		{ int|linux_sys||pipe2(int *pfds, int flags); }
534328	UNIMPL		inotify_init1
535329	UNIMPL		preadv
536330	UNIMPL		pwritev
537331	UNIMPL		rt_tgsigqueueinfo
538332	UNIMPL		perf_counter_open
539333	UNIMPL		set_thread_area
540334	UNIMPL		get_thread_area
541335	UNIMPL		atomic_cmpxchg_32
542336	UNIMPL		atomic_barrier
543