xref: /netbsd-src/sys/compat/linux/arch/mips/syscalls.master (revision b757af438b42b93f8c6571f026d8b8ef3eaf5fc9)
1	$NetBSD: syscalls.master,v 1.43 2011/11/18 04:03:51 christos Exp $
2
3;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
4
5; Derived from NetBSD's sys/compat/linux/arch/powerpc/syscalls.master
6; from Linux's arch/mips/kernel/syscalls.h
7
8; NetBSD mips COMPAT_LINUX system call name/number "master" file.
9; (See syscalls.conf to see what it is processed into.)
10;
11; Expect problems with
12;  48 signal: undefined in Linux???
13;  86 uselib: needs a.out
14;
15; Fields: number type [type-dependent ...]
16;	number	system call number, must be in order
17;	type	one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
18;		the compatibility options defined in syscalls.conf.
19;
20; types:
21;	STD	always included
22;	OBSOL	obsolete, not included in system
23;	UNIMPL	unimplemented, not included in system
24;	NODEF	included, but don't define the syscall number
25;	NOARGS	included, but don't define the syscall args structure
26;	INDIR	included, but don't define the syscall args structure
27;		and allow it to be "really" varargs.
28;
29; The compat options are defined in the syscalls.conf file, and the
30; compat option name is prefixed to the syscall name.  Other than
31; that, they're like NODEF (for 'compat' options), or STD (for
32; 'libcompat' options).
33;
34; The type-dependent arguments are as follows:
35; For STD, NODEF, NOARGS, and compat syscalls:
36;	{ pseudo-proto } [alias]
37; For other syscalls:
38;	[comment]
39;
40; #ifdef's, etc. may be included, and are copied to the output files.
41; #include's are copied to the syscall names and switch definition files only.
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
50#include <compat/linux/common/linux_types.h>
51#include <compat/linux/common/linux_signal.h>
52#include <compat/linux/common/linux_siginfo.h>
53#include <compat/linux/common/linux_machdep.h>
54#include <compat/linux/common/linux_mmap.h>
55#include <compat/linux/common/linux_socketcall.h>
56
57#include <compat/linux/linux_syscallargs.h>
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); }
7916	NOARGS		{ int|sys||__posix_lchown(const char *path, int uid, \
80			    int gid); }
8117	UNIMPL
8218	OBSOL		ostat
8319	NOARGS		{ long|compat_43_sys||lseek(int fd, long offset, \
84			    int whence); }
8520	NOARGS 		{ pid_t|sys||getpid(void); }
8621	UNIMPL		mount
8722	OBSOL		umount
8823	NOARGS		{ int|sys||setuid(uid_t uid); }
8924	NOARGS		{ uid_t|sys||getuid(void); }
9025	STD		{ int|linux_sys||stime(linux_time_t *t); }
9126	STD		{ int|linux_sys||ptrace(long request, long pid, \
92			  long addr, long data); }
9327	STD		{ int|linux_sys||alarm(unsigned int secs); }
9428	OBSOL		ofstat
9529	STD		{ int|linux_sys||pause(void); }
9630	STD		{ int|linux_sys||utime(const char *path, \
97			    struct linux_utimbuf *times); }
9831	UNIMPL
9932	UNIMPL
10033	NOARGS		{ int|sys||access(const char *path, int flags); }
10134	STD		{ int|linux_sys||nice(int incr); }
10235	UNIMPL
10336	NOARGS		{ int|sys||sync(void); }
10437	STD		{ int|linux_sys||kill(int pid, int signum); }
10538	NOARGS		{ int|sys||__posix_rename(const char *from, \
106			    const char *to); }
10739	NOARGS		{ int|sys||mkdir(const char *path, int mode); }
10840	NOARGS		{ int|sys||rmdir(const char *path); }
10941	NOARGS		{ int|sys||dup(u_int fd); }
11042	STD		{ int|linux_sys||pipe(int *pfds); }
11143	STD		{ int|linux_sys||times(struct times *tms); }
11244	UNIMPL
11345	STD		{ int|linux_sys||brk(char *nsize); }
11446	NOARGS		{ int|sys||setgid(gid_t gid); }
11547	NOARGS		{ gid_t|sys||getgid(void); }
11648	STD		{ int|linux_sys||signal(int signum, \
117			    linux___sighandler_t handler); }
11849	NOARGS		{ uid_t|sys||geteuid(void); }
11950	NOARGS		{ gid_t|sys||getegid(void); }
12051	NOARGS		{ int|sys||acct(char *path); }
12152	UNIMPL		umount
12253	UNIMPL
12354	STD		{ int|linux_sys||ioctl(int fd, u_long com, \
124			    void *data); }
12555	STD		{ int|linux_sys||fcntl(int fd, int cmd, void *arg); }
12656	OBSOL		mpx
12757	NOARGS		{ int|sys||setpgid(int pid, int pgid); }
12858	UNIMPL
12959 	STD  		    { int|linux_sys||olduname(struct linux_old_utsname \
130			    *up); }
13160	NOARGS		{ int|sys||umask(int newmask); }
13261	NOARGS		{ int|sys||chroot(char *path); }
13362	UNIMPL		ustat
13463	NOARGS		{ int|sys||dup2(u_int from, u_int to); }
13564	NOARGS		{ pid_t|sys||getppid(void); }
13665	NOARGS		{ int|sys||getpgrp(void); }
13766	NOARGS		{ int|sys||setsid(void); }
13867	STD		{ int|linux_sys||sigaction(int signum, \
139			    const struct linux_old_sigaction *nsa, \
140			    struct linux_old_sigaction *osa); }
14168	STD		{ int|linux_sys||siggetmask(void); }
14269	STD		{ int|linux_sys||sigsetmask(linux_old_sigset_t mask); }
14370	NOARGS		{ int|sys||setreuid(uid_t ruid, uid_t euid); }
14471	NOARGS		{ int|sys||setregid(gid_t rgid, gid_t egid); }
14572	STD		{ int|linux_sys||sigsuspend(void *restart, \
146			    int oldmask, int mask); }
14773	STD		{ int|linux_sys||sigpending(linux_old_sigset_t *set); }
14874	NOARGS		{ int|compat_43_sys||sethostname(char *hostname, \
149			    u_int len);}
15075	STD		{ int|linux_sys||setrlimit(u_int which, \
151			    struct orlimit *rlp); }
15276	STD		{ int|linux_sys||getrlimit(u_int which, \
153			    struct orlimit *rlp); }
15477	NOARGS		{ int|compat_50_sys||getrusage(int who, \
155			    struct rusage50 *rusage); }
15678	STD		{ int|linux_sys||gettimeofday(struct timeval50 *tp, \
157			    struct timezone *tzp); }
15879	STD		{ int|linux_sys||settimeofday(struct timeval50 *tp, \
159			    struct timezone *tzp); }
16080	NOARGS		{ int|sys||getgroups(u_int gidsetsize, gid_t *gidset); }
16181	NOARGS		{ int|sys||setgroups(u_int gidsetsize, gid_t *gidset); }
16282	UNIMPL		old_select
16383	NOARGS		{ int|sys||symlink(const char *path, const char *to); }
16484	NOARGS		{ int|compat_43_sys||lstat(const char *path, \
165			    struct stat43 *up); } oolstat
16685	NOARGS		{ int|sys||readlink(const char *name, char *buf, \
167			    int count); }
16886	UNIMPL		uselib
169;86	STD		{ int|linux_sys||uselib(const char *path); }
17087	STD		{ int|linux_sys||swapon(char *name); }
17188	STD		{ int|linux_sys||reboot(int magic1, int magic2, \
172			    int cmd, void *arg); }
17389	STD		{ int|linux_sys||readdir(int fd, void *dent, \
174			    unsigned int count); }
17590	NOARGS      	{ int|linux_sys||mmap(unsigned long addr, size_t len, \
176			    int prot, int flags, int fd, linux_off_t offset); }
17791	NOARGS		{ int|sys||munmap(void *addr, int len); }
17892	NOARGS		{ int|compat_43_sys||truncate(const char *path, \
179			    long length); }
18093	NOARGS		{ int|compat_43_sys||ftruncate(int fd, long length); }
18194	NOARGS		{ int|sys||fchmod(int fd, int mode); }
18295 	NOARGS		{ int|sys||__posix_fchown(int fd, int uid, int gid); }
18396	STD		{ int|linux_sys||getpriority(int which, int who); }
18497	NOARGS		{ int|sys||setpriority(int which, int who, int prio); }
18598	UNIMPL
18699	STD		{ int|linux_sys||statfs(const char *path, \
187			    struct linux_statfs *sp); }
188100	STD		{ int|linux_sys||fstatfs(int fd, \
189			    struct linux_statfs *sp); }
190101	STD		{ int|linux_sys||ioperm(unsigned int lo, \
191			    unsigned int hi, int val); }
192102	STD		{ int|linux_sys||socketcall(int what, void *args); }
193103	UNIMPL		syslog
194104	NOARGS		{ int|compat_50_sys||setitimer(int which, \
195			    struct itimerval50 *itv, \
196			    struct itimerval50 *oitv); }
197105	NOARGS		{ int|compat_50_sys||getitimer(int which, \
198			    struct itimerval50 *itv); }
199106	STD		{ int|linux_sys||stat(const char *path, \
200			    struct linux_stat *sp); }
201107	STD		{ int|linux_sys||lstat(const char *path, \
202			    struct linux_stat *sp); }
203108	STD		{ int|linux_sys||fstat(int fd, struct linux_stat *sp); }
204109	STD		{ int|linux_sys||uname(struct linux_utsname *up); }
205110	UNIMPL		iopl
206111	UNIMPL		vhangup
207112	UNIMPL		idle
208113	UNIMPL		vm86old
209114	STD		{ int|linux_sys||wait4(int pid, int *status, \
210			    int options, struct rusage50 *rusage); }
211115	STD		{ int|linux_sys||swapoff(const char *path); }
212116	STD		{ int|linux_sys||sysinfo(struct linux_sysinfo *arg); }
213117	STD		{ int|linux_sys||ipc(int what, long a1, long a2, \
214			    long a3, void *ptr); }
215118	NOARGS		{ int|sys||fsync(int fd); }
216119	STD		{ int|linux_sys||sigreturn(struct linux_sigframe *sf); }
217120	STD		{ int|linux_sys||clone(int flags, void *stack, \
218			    void *parent_tidptr, void *tls, void *child_tidptr); }
219121	STD		{ int|linux_sys||setdomainname(char *domainname, \
220			    int len); }
221122	STD		{ int|linux_sys||new_uname(struct linux_utsname *up); }
222123	UNIMPL		modify_ldt
223124	UNIMPL		adjtimex
224125	STD		{ int|linux_sys||mprotect(const void *start, \
225			    unsigned long len, int prot); }
226126	STD		{ int|linux_sys||sigprocmask(int how, \
227			    const linux_old_sigset_t *set, \
228			    linux_old_sigset_t *oset); }
229127	UNIMPL		create_module
230128	UNIMPL		init_module
231129	UNIMPL		delete_module
232130	UNIMPL		get_kernel_syms
233131	UNIMPL		quotactl
234132	NOARGS		{ pid_t|sys||getpgid(pid_t pid); }
235133	NOARGS		{ int|sys||fchdir(int fd); }
236134	UNIMPL		bdflush
237135	UNIMPL		sysfs
238136	STD		{ int|linux_sys||personality(unsigned long per); }
239137	UNIMPL		afs_syscall
240138	STD		{ int|linux_sys||setfsuid(uid_t uid); }
241139	STD		{ int|linux_sys||setfsgid(gid_t gid); }
242140	STD		{ int|linux_sys||llseek(int fd, u_int32_t ohigh, \
243			    u_int32_t olow, void *res, int whence); }
244141	STD		{ int|linux_sys||getdents(int fd, \
245			    struct linux_dirent *dent, unsigned int count); }
246142	STD		{ int|linux_sys||select(int nfds, fd_set *readfds, \
247			    fd_set *writefds, fd_set *exceptfds, \
248			    struct timeval50 *timeout); }
249143	NOARGS		{ int|sys||flock(int fd, int how); }
250144	NOARGS		{ int|sys|13|msync(void *addr, size_t len, int flags); }
251145	NOARGS		{ int|sys||readv(int fd, struct iovec *iovp, \
252				u_int iovcnt); }
253146	NOARGS		{ int|sys||writev(int fd, struct iovec *iovp, \
254				u_int iovcnt); }
255147	STD		{ int|linux_sys||cacheflush(void *addr, \
256			    int bytes, int cache); }
257148	UNIMPL		cachectl
258149	STD		{ int|linux_sys||sysmips(long cmd, long arg1, \
259			    long arg2, long arg3); }
260150	UNIMPL
261151	NOARGS		{ pid_t|sys||getsid(pid_t pid); }
262152	STD		{ int|linux_sys||fdatasync(int fd); }
263153	STD		{ int|linux_sys||__sysctl(struct linux___sysctl *lsp); }
264154	NOARGS		{ int|sys||mlock(void *addr, size_t len); }
265155	NOARGS		{ int|sys||munlock(void *addr, size_t len); }
266156	NOARGS		{ int|sys||mlockall(int flags); }
267157	NOARGS		{ int|sys||munlockall(void); }
268158	STD		{ int|linux_sys||sched_setparam(pid_t pid, \
269			    const struct linux_sched_param *sp); }
270159	STD		{ int|linux_sys||sched_getparam(pid_t pid, \
271			    struct linux_sched_param *sp); }
272160	STD		{ int|linux_sys||sched_setscheduler(pid_t pid, \
273			    int policy, const struct linux_sched_param *sp); }
274161	STD		{ int|linux_sys||sched_getscheduler(pid_t pid); }
275162	STD		{ int|linux_sys||sched_yield(void); }
276163	STD		{ int|linux_sys||sched_get_priority_max(int policy); }
277164	STD		{ int|linux_sys||sched_get_priority_min(int policy); }
278165	UNIMPL		sched_rr_get_interval
279166	STD		{ int|linux_sys||nanosleep( \
280			    const struct linux_timespec *rqtp, \
281			    struct linux_timespec *rmtp); }
282167	STD		{ void *|linux_sys||mremap(void *old_address, \
283			    size_t old_size, size_t new_size, u_long flags); }
284168	NOARGS		{ int|linux_sys||accept(int s, \
285			    struct osockaddr *name, int *anamelen); }
286169	NOARGS		{ int|linux_sys||bind(int s, \
287			    const struct osockaddr *name, int namelen); }
288170	NOARGS		{ int|linux_sys||connect(int s, \
289			    const struct sockaddr *name, int namelen); }
290171	NOARGS		{ int|linux_sys||getpeername(int fdes, void *asa, \
291			    int *alen); }
292172	NOARGS		{ int|linux_sys||getsockname(int fdes, void *asa, \
293			    int *alen); }
294173	NOARGS		{ int|linux_sys||getsockopt(int s, int level, \
295			    int optname, void *optval, int *optlen); }
296174	NOARGS		{ int|sys||listen(int s, int backlog); }
297175	NOARGS		{ int|linux_sys||recv(int s, void *buf, int len, \
298			    int flags); }
299176	NOARGS		{ int|linux_sys||recvfrom(int s, void *buf, int len, \
300			    int flags, struct osockaddr *from, \
301			    int *fromlenaddr); }
302177	NOARGS		{ int|linux_sys||recvmsg(int s, \
303			    struct linux_msghdr *msg, u_int flags); }
304178	NOARGS		{ int|linux_sys||send(int s, void *buf, int len, \
305			    int flags); }
306179	NOARGS		{ int|linux_sys||sendmsg(int s, \
307			    struct linux_msghdr *msg, u_int flags); }
308180	NOARGS		{ int|linux_sys||sendto(int s, void *msg, \
309			    int len, int flags, struct osockaddr *to, \
310			    int tolen); }
311181	NOARGS		{ int|linux_sys||setsockopt(int s, int level, \
312			    int optname, void *optval, int optlen); }
313182	UNIMPL		shutdown
314183	NOARGS		{ int|linux_sys||socket(int domain, int type, \
315			    int protocol); }
316184	NOARGS		{ int|linux_sys||socketpair(int domain, int type, \
317			    int protocol, int *rsv); }
318185	STD		{ int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
319			    uid_t suid); }
320186	STD		{ int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \
321			    uid_t *suid); }
322187	UNIMPL		query_module
323188	NOARGS		{ int|sys||poll(struct pollfd *fds, u_int nfds, \
324			    int timeout); }
325189	UNIMPL		nfsservctl
326190	STD		{ int|linux_sys||setresgid(gid_t rgid, gid_t egid, \
327			    gid_t sgid); }
328191	STD		{ int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \
329			    gid_t *sgid); }
330192	UNIMPL		prctl
331193	STD		{ int|linux_sys||rt_sigreturn( \
332			    struct linux_pt_regs *regs); }
333194	STD		{ int|linux_sys||rt_sigaction(int signum, \
334			    const struct linux_sigaction *nsa, \
335			    struct linux_sigaction *osa, \
336			    size_t sigsetsize); }
337195	STD		{ int|linux_sys||rt_sigprocmask(int how, \
338			    const linux_sigset_t *set, \
339			    linux_sigset_t *oset, \
340			    size_t sigsetsize); }
341196	STD		{ int|linux_sys||rt_sigpending( \
342			    linux_sigset_t *set, \
343			    size_t sigsetsize); }
344197	STD		{ int|linux_sys||rt_sigtimedwait( \
345			    const linux_sigset_t *set, \
346			    linux_siginfo_t *info, \
347			    const struct linux_timespec *timeout); }
348198	STD		{ int|linux_sys||rt_queueinfo(int pid, int signum, \
349			    linux_siginfo_t *uinfo); }
350199	STD		{ int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
351			    size_t sigsetsize); }
352200	STD		{ int|linux_sys||pread(int fd, char *buf, \
353			    size_t nbyte, linux_off_t offset); }
354201	STD		{ int|linux_sys||pwrite(int fd, char *buf, \
355			    size_t nbyte, linux_off_t offset); }
356202	NOARGS		{ int|sys||__posix_chown(const char *path, \
357			    int uid, int gid); }
358203	NOARGS		{ int|sys||__getcwd(char *bufp, size_t length); }
359204	UNIMPL		capget
360205	UNIMPL		capset
361206	STD		{ int|linux_sys||sigaltstack( \
362			    const struct linux_sigaltstack *ss, \
363			    struct linux_sigaltstack *oss); }
364207	UNIMPL		sendfile
365208	UNIMPL
366209	UNIMPL
367#define linux_sys_mmap2_args linux_sys_mmap_args
368210	NOARGS		{ linux_off_t|linux_sys||mmap2(unsigned long addr, \
369			    size_t len, int prot, int flags, int fd, \
370			    linux_off_t offset); }
371211	STD		{ int|linux_sys||truncate64(const char *path, \
372			    off_t length); }
373212	STD		{ int|linux_sys||ftruncate64(unsigned int fd, \
374			    off_t length); }
375213	STD		{ int|linux_sys||stat64(const char *path, \
376			    struct linux_stat64 *sp); }
377214	STD		{ int|linux_sys||lstat64(const char *path, \
378			    struct linux_stat64 *sp); }
379215	STD		{ int|linux_sys||fstat64(int fd, \
380			    struct linux_stat64 *sp); }
381216	UNIMPL		pivot_root
382217	NOARGS		{ int|sys||mincore(void *addr, size_t len, char *vec); }
383218	NOARGS		{ int|sys||madvise(void *addr, size_t len, int behav); }
384219	STD		{ int|linux_sys||getdents64(int fd, \
385			    struct linux_dirent64 *dent, unsigned int count); }
386220	STD		{ int|linux_sys||fcntl64(int fd, \
387			    int cmd, void *arg); }
388221	UNIMPL		/* reserved */
389222	NOARGS		{ pid_t|linux_sys||gettid(void); }
390223	UNIMPL		readahead
391224	STD		{ int|linux_sys||setxattr(char *path, char *name, \
392			    void *value, size_t size, int flags); }
393225	STD		{ int|linux_sys||lsetxattr(char *path, char *name, \
394			    void *value, size_t size, int flags); }
395226	STD		{ int|linux_sys||fsetxattr(int fd, char *name, \
396			    void *value, size_t size, int flags); }
397227	STD		{ ssize_t|linux_sys||getxattr(char *path, char *name, \
398			    void *value, size_t size); }
399228	STD		{ ssize_t|linux_sys||lgetxattr(char *path, char *name, \
400			    void *value, size_t size); }
401229	STD		{ ssize_t|linux_sys||fgetxattr(int fd, char *name, \
402			    void *value, size_t size); }
403230	STD		{ ssize_t|linux_sys||listxattr(char *path, char *list, \
404			    size_t size); }
405231	STD		{ ssize_t|linux_sys||llistxattr(char *path, char *list, \
406			    size_t size); }
407232	STD		{ ssize_t|linux_sys||flistxattr(int fd, char *list, \
408			    size_t size); }
409233	STD		{ int|linux_sys||removexattr(char *path, char *name); }
410234	STD		{ int|linux_sys||lremovexattr(char *path, char *name); }
411235	STD		{ int|linux_sys||fremovexattr(int fd, char *name); }
412236	STD		{ int|linux_sys||tkill(int tid, int sig); }
413237	UNIMPL		sendfile64
414238	STD		{ int|linux_sys||futex(int *uaddr, int op, int val, \
415			    const struct linux_timespec *timeout, int *uaddr2, \
416			    int val3); }
417239	STD		{ int|linux_sys||sched_setaffinity(pid_t pid, \
418			    unsigned int len, unsigned long *mask); }
419240	STD		{ int|linux_sys||sched_getaffinity(pid_t pid, \
420			    unsigned int len, unsigned long *mask); }
421241	UNIMPL		io_setup
422242	UNIMPL		io_destroy
423243	UNIMPL		io_getevents
424244	UNIMPL		io_submit
425245	UNIMPL		io_cancel
426246	STD		{ int|linux_sys||exit_group(int error_code); }
427247	UNIMPL		lookup_dcookie
428248	UNIMPL		epoll_create
429249	UNIMPL		epoll_ctl
430250	UNIMPL		epoll_wait
431251	UNIMPL		remap_file_pages
432252	STD		{ int|linux_sys||set_tid_address(int *tid); }
433253	UNIMPL		restart_syscall
434254	STD		{ int|linux_sys||fadvise64(int fd, \
435			    linux_off_t offset, size_t len, int advice); }
436255	STD		{ int|linux_sys||statfs64(const char *path, \
437			    size_t sz, struct linux_statfs64 *sp); }
438256	STD		{ int|linux_sys||fstatfs64(int fd, \
439			    size_t sz, struct linux_statfs64 *sp); }
440257	UNIMPL		timer_create
441258	UNIMPL		timer_settime
442259	UNIMPL		timer_gettime
443260	UNIMPL		timer_getoverrun
444261	UNIMPL		timer_delete
445262	STD		{ int|linux_sys||clock_settime(clockid_t which, \
446			    struct linux_timespec *tp); }
447263	STD		{ int|linux_sys||clock_gettime(clockid_t which, \
448			    struct linux_timespec *tp); }
449264	STD		{ int|linux_sys||clock_getres(clockid_t which, \
450			    struct linux_timespec *tp); }
451265	STD		{ int|linux_sys||clock_nanosleep(clockid_t which, \
452			    int flags, struct linux_timespec *rqtp, \
453			    struct linux_timespec *rmtp); }
454266	STD		{ int|linux_sys||tgkill(int tgid, int tid, int sig); }
455267	UNIMPL		utimes
456268	UNIMPL		mbind
457269	UNIMPL		get_mempolicy
458270	UNIMPL		set_mempolicy
459271	UNIMPL		mq_open
460272	UNIMPL		mq_unlink
461273	UNIMPL		mq_timedsend
462274	UNIMPL		mq_timedreceive
463275	UNIMPL		mq_notify
464276	UNIMPL		mq_getsetattr
465277	UNIMPL		vserve
466278	UNIMPL		waitid
467279	UNIMPL		setaltroot
468280	UNIMPL		add_key
469281	UNIMPL		request_key
470282	UNIMPL		keyctl
471283	STD		{ int|linux_sys||set_thread_area(void *tls); }
472284	UNIMPL		inotify_init
473285	UNIMPL		inotify_add_watch
474286	UNIMPL		inotify_rm_watch
475287	UNIMPL		migrate_pages
476288	UNIMPL		openat
477289	UNIMPL		mkdirat
478290	UNIMPL		mknodat
479291	UNIMPL		fchownat
480292	UNIMPL		futimesat
481293	UNIMPL		fstatat64
482294	UNIMPL		unlinkat
483295	UNIMPL		renameat
484296	UNIMPL		linkat
485297	UNIMPL		symlinkat
486298	UNIMPL		readlinkat
487299	UNIMPL		fchmodat
488300	UNIMPL		faccessat
489301	UNIMPL		pselect6
490302	UNIMPL		ppoll
491303	UNIMPL		unshare
492304	UNIMPL		splice
493305	UNIMPL		sync_file_range
494306	UNIMPL		tee
495307	UNIMPL		vmsplice
496308	UNIMPL		move_pages
497309	STD		{ int|linux_sys||set_robust_list( \
498			    struct linux_robust_list_head *head, size_t len); }
499310	STD		{ int|linux_sys||get_robust_list(int pid, \
500			    struct linux_robust_list_head **head, \
501			    size_t *len); }
502311	UNIMPL		kexec_load
503312	UNIMPL		getcpu
504313	UNIMPL		epoll_pwait
505314	UNIMPL		ioprio_set
506315	UNIMPL		ioprio_get
507316	UNIMPL		utimensat
508317	UNIMPL		signalfd
509318	UNIMPL		timerfd
510319	UNIMPL		eventfd
511320	UNIMPL		fallocate
512321	UNIMPL		timerfd_create
513322	UNIMPL		timerfd_gettime
514323	UNIMPL		timerfd_settime
515324	UNIMPL		signalfd4
516325	UNIMPL		eventfd2
517326	UNIMPL		epoll_create1
518327	STD		{ int|linux_sys||dup3(int from, int to, int flags); }
519328	STD		{ int|linux_sys||pipe2(int *pfds, int flags); }
520329	UNIMPL		inotify_init1
521330	UNIMPL		preadv
522331	UNIMPL		pwritev
523332	UNIMPL		rt_tgsigqueueinfo
524333	UNIMPL		perf_event_open
525334	UNIMPL		accept4
526335	UNIMPL		recvmmsg
527