xref: /netbsd-src/sys/compat/linux/arch/alpha/syscalls.master (revision 75219f3a016dfaad1cb304eb017f9787b1de8292)
1	$NetBSD: syscalls.master,v 1.80 2013/11/19 03:52:07 chs Exp $
2;
3;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
4
5; NetBSD alpha 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; (ERH: 3/18/00)
37;
38; XXX XAX things to do:
39;		make sure non-linux_foo() matches real linux syscalls.
40;			create new linux_foo functions otherwise
41;			(i.e. reboot, msgrcv? )
42;		make sure linux_foo() matches expected prototypes in .c files.
43;		kill not used functions.  (ifdef the actual code)
44;		make linux_sys_sigreturn in linux_machdep.c use frame.extramask
45;
46; NOT USED = This syscall is not really used in Linux, except in its
47;		osf compat mode.  Since Linux binaries shouldn't ever
48;		call it and osf binaries run under a different emulation,
49;		it shouldn't matter that the linux version of the
50;		function might not DTRT.  Define it anyway so we
51;		don't have to split off or ifdef the associated function.
52; 		    A bit better might be to have makesyscalls identify this
53; 		as "define but don't include in table" so it doesn't actually
54; 		ever get called.
55; UNIMPL <blank> = not implemented here nor in linux source
56; UNIMPL osf_*   = osf functions implemented in linux, not here.
57;
58
59#if defined(_KERNEL_OPT)
60#include "opt_sysv.h"
61#endif
62
63#include <sys/param.h>
64#include <sys/poll.h>
65#include <sys/systm.h>
66#include <sys/signal.h>
67#include <sys/mount.h>
68#include <sys/syscallargs.h>
69
70#include <compat/linux/common/linux_types.h>
71#include <compat/linux/common/linux_signal.h>
72#include <compat/linux/common/linux_siginfo.h>
73#include <compat/linux/common/linux_ipc.h>
74#include <compat/linux/common/linux_msg.h>
75#include <compat/linux/common/linux_sem.h>
76#include <compat/linux/common/linux_shm.h>
77#include <compat/linux/common/linux_mmap.h>
78;#include <compat/linux/common/linux_machdep.h>
79
80#include <compat/linux/linux_syscallargs.h>
81
82%%
83
840	NOARGS		{ int|linux_sys||nosys(void); } syscall
851	STD		{ int|linux_sys||exit(int rval); }
862	NOARGS		{ int|sys||fork(void); }
873	NOARGS		{ int|sys||read(int fd, void *buf, size_t nbyte); }
884	NOARGS		{ int|sys||write(int fd, const void *buf, size_t nbyte); }
895	UNIMPL
906	NOARGS		{ int|sys||close(int fd); }
917	NODEF		{ int|osf1_sys||wait4(int pid, int *status, \
92			    int options, struct osf1_rusage *rusage); }
93;8	ALIAS		osf1_sys_old_creat, NOT USED
948	STD		{ int|linux_sys||creat(const char *path, mode_t mode); }
959	NOARGS		{ int|sys||link(const char *path, const char *link); }
9610	STD		{ int|linux_sys||unlink(const char *path); }
9711	UNIMPL
9812	NOARGS		{ int|sys||chdir(const char *path); }
9913	NOARGS		{ int|sys||fchdir(int fd); }
10014	STD		{ int|linux_sys||mknod(const char *path, int mode, int dev); }
10115	NOARGS		{ int|sys||chmod(const char *path, int mode); }
10216	NOARGS		{ int|sys||__posix_chown(const char *path, int uid, int gid); }
103;17	ALIAS		osf1_sys_brk
10417	STD		{ int|linux_sys||brk(char *nsize); }
10518	UNIMPL
10619	NOARGS		{ long|compat_43_sys||lseek(int fd, long offset, \
107			    int whence); }
10820	NOARGS		{ pid_t|sys||getpid_with_ppid(void); }
10921	NODEF		{ int|osf1_sys||mount(int type, const char *path, \
110			    int flags, void *data); }
11122	UNIMPL		umount
11223	NOARGS		{ int|sys||setuid(uid_t uid); }
11324	NOARGS		{ uid_t|sys||getuid_with_euid(void); }
11425	UNIMPL
11526	STD		{ int|linux_sys||ptrace(long request, long pid, \
116			  long addr, long data); }
11727	UNIMPL
11828	UNIMPL
11929	UNIMPL
12030	UNIMPL
12131	UNIMPL
12232	UNIMPL
12333	NOARGS		{ int|sys||access(const char *path, int flags); }
12434	UNIMPL
12535	UNIMPL
12636	NOARGS		{ int|sys||sync(void); }
12737	STD		{ int|linux_sys||kill(int pid, int signum); }
12838	UNIMPL
12939	NOARGS		{ int|sys||setpgid(int pid, int pgid); }
13040	UNIMPL
13141	NOARGS		{ int|sys||dup(int fd); }
13242	NOARGS		{ int|linux_sys||pipe(void); }
13343	NODEF		{ int|osf1_sys||set_program_attributes( \
134			    void *taddr, unsigned long tsize, \
135			    void *daddr, unsigned long dsize); }
13644	UNIMPL
13745	STD		{ int|linux_sys||open(const char *path, int flags, int mode); }
13846	UNIMPL
13947	NOARGS		{ gid_t|sys||getgid_with_egid(void); }
140; ALIAS osf1_sys_sigprocmask(int how, unsigned long mask);
141; XXX <- copied from osf1/syscalls.master
14248	NOARGS		{ int|compat_13_sys||sigprocmask(int how, \
143			    sigset13_t mask); }
14449	UNIMPL
14550	UNIMPL
14651	NOARGS		{ int|sys||acct(const char *path); }
14752	STD		{ int|linux_sys||sigpending(linux_old_sigset_t *set); }
14853	UNIMPL
14954	STD		{ int|linux_sys||ioctl(int fd, u_long com, \
150			    void *data); }
15155	UNIMPL
15256	UNIMPL
15357	NOARGS		{ int|sys||symlink(const char *path, const char *to); }
15458	NOARGS		{ int|sys||readlink(const char *name, char *buf, \
155			    int count); }
15659	NOARGS		{ int|sys||execve(const char *path, char **argp, \
157			    char **envp); }
15860	NOARGS		{ mode_t|sys||umask(mode_t newmask); }
15961	NOARGS		{ int|sys||chroot(const char *path); }
16062	UNIMPL
16163	NOARGS		{ int|sys||getpgrp(void); }
16264	NOARGS		{ int|compat_43_sys||getpagesize(void); }
16365	UNIMPL
16466	NOARGS		{ int|sys|14|vfork(void); }
16567	STD		{ int|linux_sys||stat(const char *path, \
166			    struct linux_stat *sp); }
16768	STD		{ int|linux_sys||lstat(const char *path, \
168			    struct linux_stat *sp); }
16969	UNIMPL
17070	UNIMPL
171;71	ALIAS		osf1_sys_mmap
17271	NOARGS		{ int|linux_sys||mmap(unsigned long addr, size_t len, \
173			    int prot, int flags, int fd, linux_off_t offset); }
17472	UNIMPL
17573	NOARGS		{ int|sys||munmap(void *addr, size_t len); }
17674	STD		{ int|linux_sys||mprotect(const void *start, \
177			    unsigned long len, int prot); }
17875	NOARGS		{ int|sys||madvise(void *addr, size_t len, int behav); }
17976	UNIMPL		vhangup
18077	UNIMPL
18178	UNIMPL
18279	NOARGS		{ int|sys||getgroups(int gidsetsize, gid_t *gidset); }
18380	NOARGS		{ int|sys||setgroups(int gidsetsize, const gid_t *gidset); }
18481	UNIMPL
18582	UNIMPL		setpgrp
18683	NODEF		{ int|osf1_sys||setitimer(int which, \
187			    struct osf1_itimerval *itv, \
188			    struct osf1_itimerval *oitv); }
18984	UNIMPL
19085	UNIMPL
19186	UNIMPL		osf1_sys_getitimer
19287	NOARGS		{ int|compat_43_sys||gethostname(char *hostname, \
193			    u_int len); }
19488	NOARGS		{ int|compat_43_sys||sethostname(char *hostname, \
195			    u_int len); }
19689	UNIMPL		getdtablesize
19790	NOARGS		{ int|sys||dup2(int from, int to); }
19891	STD		{ int|linux_sys||fstat(int fd, struct linux_stat *sp); }
19992	STD		{ int|linux_sys||fcntl(int fd, int cmd, void *arg); }
20093	NODEF		{ int|osf1_sys||select(u_int nd, fd_set *in, \
201			    fd_set *ou, fd_set *ex, struct osf1_timeval *tv); }
20294	NOARGS		{ int|sys||poll(struct pollfd *fds, u_int nfds, \
203			    int timeout); }
20495	NOARGS		{ int|sys||fsync(int fd); }
20596	NOARGS		{ int|sys||setpriority(int which, int who, int prio); }
20697	STD		{ int|linux_sys||socket(int domain, int type, \
207			    int protocol); }
20898	STD		{ int|linux_sys||connect(int s, \
209			    const struct osockaddr *name, \
210			    unsigned int namelen); }
21199	STD		{ int|linux_sys||accept(int s, \
212				struct osockaddr *name, int *anamelen); }
213;100	ALIAS		osf1_sys_getpriority
214100	STD		{ int|linux_sys||getpriority(int which, int who); }
215101	STD		{ int|linux_sys||send(int s, void *buf, int len, \
216				int flags); }
217102	STD		{ int|linux_sys||recv(int s, void *buf, int len, \
218				int flags); }
219103	STD		{ int|linux_sys||sigreturn(struct linux_sigframe *sfp); }
220104	STD		{ int|linux_sys||bind(int s,	     \
221				const struct osockaddr *name, \
222				unsigned int namelen); }
223105	STD		{ int|linux_sys||setsockopt(int s, int level, \
224				int optname, void *optval, int optlen); }
225106	NOARGS		{ int|sys||listen(int s, int backlog); }
226107	UNIMPL
227108	UNIMPL
228109	UNIMPL
229110	UNIMPL
230
231111	STD		{ int|linux_sys||sigsuspend(void *restart, \
232			    int oldmask, int mask); }
233;112	ALIAS		osf1_sys_sigstack
234112	NOARGS		{ int|compat_43_sys||sigstack(struct sigstack *nss, \
235			    struct sigstack *oss); }
236113	STD		{ ssize_t|linux_sys||recvmsg(int s, \
237			    struct linux_msghdr *msg, int flags); }
238114	STD		{ ssize_t|linux_sys||sendmsg(int s, \
239				const struct linux_msghdr *msg, int flags); }
240115	UNIMPL
241116	NODEF		{ int|osf1_sys||gettimeofday(struct osf1_timeval *tv, \
242			    struct osf1_timezone *tzp); }
243117	NODEF		{ int|osf1_sys||getrusage(int who, \
244			    struct osf1_rusage *rusage); }
245118	STD		{ int|linux_sys||getsockopt(int s, int level, \
246				int optname, void *optval, int *optlen); }
247119	UNIMPL
248120	NOARGS		{ ssize_t|sys||readv(int fd, const struct iovec *iovp, \
249				int iovcnt); }
250121	NOARGS		{ ssize_t|sys||writev(int fd, const struct iovec *iovp, \
251				int iovcnt); }
252122	NODEF		{ int|osf1_sys||settimeofday(struct osf1_timeval *tv, \
253			    struct osf1_timezone *tzp); }
254123	NOARGS		{ int|sys||__posix_fchown(int fd, int uid, int gid); }
255124	NOARGS		{ int|sys||fchmod(int fd, mode_t mode); }
256125	STD		{ int|linux_sys||recvfrom(int s, void *buf, int len, \
257				int flags, struct osockaddr *from, \
258				int *fromlenaddr); }
259126	NOARGS		{ int|sys||setreuid(uid_t ruid, uid_t euid); }
260127	NOARGS		{ int|sys||setregid(gid_t rgid, gid_t egid); }
261128	NOARGS		{ int|sys||__posix_rename(const char *from, const char *to); }
262129	NOARGS		{ int|compat_43_sys||truncate(const char *path, \
263				long length); }
264130	NOARGS		{ int|compat_43_sys||ftruncate(int fd, long length); }
265131	NOARGS		{ int|sys||flock(int fd, int how); }
266132	NOARGS		{ int|sys||setgid(gid_t gid); }
267133	STD		{ int|linux_sys||sendto(int s, void *msg, int len, \
268				int flags, struct osockaddr *to, int tolen); }
269134	NOARGS		{ int|sys||shutdown(int s, int how); }
270135	STD		{ int|linux_sys||socketpair(int domain, int type, \
271				int protocol, int *rsv); }
272136	NOARGS		{ int|sys||mkdir(const char *path, int mode); }
273137	NOARGS		{ int|sys||rmdir(const char *path); }
274138	NODEF		{ int|osf1_sys||utimes(const char *path, \
275			    const struct osf1_timeval *tptr); }
276139	UNIMPL
277140	UNIMPL
278141	STD		{ int|linux_sys||getpeername(int fdes, \
279				void *asa, int *alen); }
280142	UNIMPL
281143	UNIMPL
282144	STD		{ int|linux_sys||getrlimit(int which, \
283			    struct orlimit *rlp); }
284145	STD		{ int|linux_sys||setrlimit(int which, \
285			    const struct orlimit *rlp); }
286146	UNIMPL
287147	NOARGS		{ int|sys||setsid(void); }
288148	UNIMPL		quotactl
289149	UNIMPL
290150	STD		{ int|linux_sys||getsockname(int fdec, \
291				void *asa, int *alen); }
292151	UNIMPL
293152	UNIMPL
294153	UNIMPL
295154	UNIMPL
296155	UNIMPL
297;156	ALIAS		osf1_sys_sigaction
298156	STD		{ int|linux_sys||sigaction(int signum, \
299				const struct linux_old_sigaction *nsa, \
300				struct linux_old_sigaction *osa); }
301157	UNIMPL
302158	UNIMPL
303;159	ALIAS		osf1_sys_getdirentries
304159	NOARGS		{ int|compat_43_sys||getdirentries(int fd, char *buf, \
305			    u_int count, long *basep); }
306160	NODEF		{ int|osf1_sys||statfs(const char *path, \
307			    struct osf1_statfs *buf, int len); }
308161	NODEF		{ int|osf1_sys||fstatfs(int fd, \
309			    struct osf1_statfs *buf, int len); }
310162	UNIMPL
311163	UNIMPL
312164	UNIMPL
313;165	ALIAS		osf1_sys_getdomainname
314165	NOARGS		{ int|compat_09_sys||getdomainname(char *domainname, \
315			    int len); }
316166	STD		{ int|linux_sys||setdomainname(char *domainname, \
317                            int len); }
318167	UNIMPL
319168	UNIMPL
320169	UNIMPL
321170	UNIMPL
322171	UNIMPL
323172	UNIMPL
324173	UNIMPL
325174	UNIMPL
326175	UNIMPL
327176	UNIMPL
328177	UNIMPL
329178	UNIMPL
330179	UNIMPL
331180	UNIMPL
332181	UNIMPL
333182	UNIMPL
334183	UNIMPL
335184	UNIMPL
336185	UNIMPL
337186	UNIMPL
338187	UNIMPL
339188	UNIMPL
340189	UNIMPL
341190	UNIMPL
342; XXX: Dunno
343191	STD		{ int|linux_sys||ugetrlimit(int which, \
344			    struct rlimit *rlp); }
345192	UNIMPL		mmap2
346193	UNIMPL
347194	UNIMPL
348195	UNIMPL
349196	UNIMPL
350197	UNIMPL
351198	UNIMPL
352199	UNIMPL		osf1_sys_swapon
353#ifdef SYSVMSG
354200	NOARGS		{ int|linux_sys||msgctl(int msqid, int cmd, \
355			    struct linux_msqid_ds *buf); }
356201	NOARGS		{ int|sys||msgget(key_t key, int msgflg); }
357202	NOARGS		{ ssize_t|sys||msgrcv(int msqid, void *msgp, \
358			    size_t msgsz, long msgtyp, int msgflg); }
359203	NOARGS		{ int|sys||msgsnd(int msqid, void *msgp, size_t msgsz, \
360			    int msgflg); }
361#else
362200	UNIMPL		msgctl
363201	UNIMPL		msgget
364202	UNIMPL		msgrcv
365203	UNIMPL		msgsnd
366#endif
367#ifdef SYSVSEM
368204	NOARGS		{ int|linux_sys||semctl(int semid, int semnum, \
369			    int cmd, union linux_semun arg); }
370205	NOARGS		{ int|sys||semget(key_t key, int nsems, int semflg); }
371206	NOARGS		{ int|sys||semop(int semid, struct sembuf *sops, \
372			    size_t nsops); }
373#else
374204	UNIMPL		semctl
375205	UNIMPL		semget
376206	UNIMPL		semop
377#endif
378;207	ALIAS		osf1_sys_utsname
379207	STD		{ int|linux_sys||olduname(struct linux_old_utsname *up); }
380208	NOARGS		{ int|sys||__posix_lchown(const char *path, int uid, int gid); }
381#ifdef SYSVSHM
382209	NOARGS		{ int|linux_sys||shmat(int shmid, void *shmaddr, \
383			    int shmflg, u_long *raddr); }
384210	NOARGS		{ int|linux_sys||shmctl(int shmid, int cmd, \
385			    struct linux_shmid_ds *buf); }
386211	NOARGS		{ int|sys||shmdt(const void *shmaddr); }
387212	NOARGS		{ int|linux_sys||shmget(key_t key, size_t size, int shmflg); }
388#else
389209	UNIMPL		shmat
390210	UNIMPL		shmctl
391211	UNIMPL		shmdt
392212	UNIMPL		shmget
393#endif
394213	UNIMPL
395214	UNIMPL
396215	UNIMPL
397216	UNIMPL
398217	NOARGS		{ int|sys|13|msync(void *addr, size_t len, int flags); }
399218	UNIMPL
400219	UNIMPL
401220	UNIMPL
402221	UNIMPL
403222	UNIMPL
404223	UNIMPL
405224	UNIMPL
406225	UNIMPL
407226	UNIMPL
408227	UNIMPL
409228	UNIMPL
410229	UNIMPL
411230	UNIMPL
412231	UNIMPL
413232	UNIMPL
414233	NOARGS		{ pid_t|sys||getpgid(pid_t pid); }
415234	NOARGS		{ pid_t|sys||getsid(pid_t pid); }
416235	UNIMPL		sigaltstack
417236	UNIMPL
418237	UNIMPL
419238	UNIMPL
420239	UNIMPL
421240	UNIMPL
422241	NODEF		{ int|osf1_sys||sysinfo(int cmd, char buf, long len); }
423242	UNIMPL
424243	UNIMPL
425244	UNIMPL		osf1_sys_proplist_syscall
426245	UNIMPL
427246	UNIMPL
428247	UNIMPL
429248	UNIMPL
430249	UNIMPL
431250	UNIMPL
432251	NODEF		{ int|osf1_sys||usleep_thread( \
433			    struct osf1_timeval *sleep, \
434			    struct osf1_timeval *slept); }
435252	UNIMPL
436253	UNIMPL
437254	UNIMPL
438255	UNIMPL		sysfs
439256	NODEF		{ int|osf1_sys||getsysinfo(u_long op, void *buffer, \
440			    u_long nbytes, void *arg, u_long flag); }
441257	NODEF		{ int|osf1_sys||setsysinfo(u_long op, void *buffer, \
442			    u_long nbytes, void *arg, u_long flag); }
443258	UNIMPL
444259	UNIMPL
445260	UNIMPL
446; This entry doesn't exist in the Alpha linux syscall table but the function is
447; implemented and used on other ports.
448261	STD		{ int|linux_sys||fdatasync(int fd); }
449262	UNIMPL
450263	UNIMPL
451264	UNIMPL
452265	UNIMPL
453266	UNIMPL
454267	UNIMPL
455268	UNIMPL
456269	UNIMPL
457270	UNIMPL
458271	UNIMPL
459272	UNIMPL
460273	UNIMPL
461274	UNIMPL
462275	UNIMPL
463276	UNIMPL
464277	UNIMPL
465278	UNIMPL
466279	UNIMPL
467280	UNIMPL
468281	UNIMPL
469282	UNIMPL
470283	UNIMPL
471284	UNIMPL
472285	UNIMPL
473286	UNIMPL
474287	UNIMPL
475288	UNIMPL
476289	UNIMPL
477290	UNIMPL
478291	UNIMPL
479292	UNIMPL
480293	UNIMPL
481294	UNIMPL
482295	UNIMPL
483296	UNIMPL
484297	UNIMPL
485298	UNIMPL
486299	UNIMPL
487300	UNIMPL		bdflush
488301	UNIMPL		sethae
489302	UNIMPL		mount
490303	UNIMPL		old_adjtimex
491304	STD		{ int|linux_sys||swapoff(const char *path); }
492305	STD		{ int|linux_sys||getdents(int fd, \
493			    struct linux_dirent *dent, unsigned int count); }
494306	UNIMPL		alpha_create_module
495307	UNIMPL		init_module
496308	UNIMPL		delete_module
497309	UNIMPL		get_kernel_syms
498310	UNIMPL		syslog
499311	STD		{ int|linux_sys||reboot(int magic1, int magic2, \
500			    int cmd, void *arg); }
501312	STD		{ int|linux_sys||clone(int flags, void *stack, \
502			    void *parent_tidptr, void *child_tidptr, void *tls); }
503#ifdef EXEC_AOUT
504313	STD		{ int|linux_sys||uselib(const char *path); }
505#else
506313	UNIMPL		sys_uselib
507#endif
508314	NOARGS		{ int|sys||mlock(const void *addr, size_t len); }
509315	NOARGS		{ int|sys||munlock(const void *addr, size_t len); }
510316	NOARGS		{ int|sys||mlockall(int flags); }
511317	NOARGS		{ int|sys||munlockall(void); }
512318	STD		{ int|linux_sys||sysinfo(struct linux_sysinfo *arg); }
513319	STD		{ int|linux_sys||__sysctl(struct linux___sysctl *lsp); }
514320	UNIMPL		idle
515321	UNIMPL		oldumount
516322	STD		{ int|linux_sys||swapon(const char *name); }
517323	STD		{ int|linux_sys||times(struct times *tms); }
518324	STD		{ int|linux_sys||personality(unsigned long per); }
519325	STD		{ int|linux_sys||setfsuid(uid_t uid); }
520326	STD		{ int|linux_sys||setfsgid(gid_t gid); }
521327	UNIMPL		ustat
522328	STD		{ int|linux_sys||statfs(const char *path, \
523			    struct linux_statfs *sp); }
524329	STD		{ int|linux_sys||fstatfs(int fd, \
525			    struct linux_statfs *sp); }
526330	STD		{ int|linux_sys||sched_setparam(pid_t pid, \
527			    const struct linux_sched_param *sp); }
528331	STD		{ int|linux_sys||sched_getparam(pid_t pid, \
529			    struct linux_sched_param *sp); }
530332	STD		{ int|linux_sys||sched_setscheduler(pid_t pid, \
531			    int policy, const struct linux_sched_param *sp); }
532333	STD		{ int|linux_sys||sched_getscheduler(pid_t pid); }
533334	STD		{ int|linux_sys||sched_yield(void); }
534335	STD		{ int|linux_sys||sched_get_priority_max(int policy); }
535336	STD		{ int|linux_sys||sched_get_priority_min(int policy); }
536337	UNIMPL		sched_rr_get_interval
537338	UNIMPL		afs_syscall
538339	STD		{ int|linux_sys||uname(struct linux_utsname *up); }
539340	STD		{ int|linux_sys||nanosleep( \
540			    const struct linux_timespec *rqtp, \
541			    struct linux_timespec *rmtp); }
542341	STD		{ void *|linux_sys||mremap(void *old_address, \
543			    size_t old_size, size_t new_size, u_long flags); }
544342	UNIMPL		nfsservctl
545343	STD		{ int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
546			    uid_t suid); }
547344	STD		{ int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \
548			    uid_t *suid); }
549345	UNIMPL		pciconfig_read
550346	UNIMPL		pciconfig_write
551347	UNIMPL		query_module
552348	UNIMPL		prctl
553349	STD		{ int|linux_sys||pread(int fd, char *buf, \
554			    size_t nbyte, linux_off_t offset); }
555350	STD		{ int|linux_sys||pwrite(int fd, char *buf, \
556			    size_t nbyte, linux_off_t offset); }
557351	STD		{ int|linux_sys||rt_sigreturn( \
558				struct linux_rt_sigframe *sfp); }
559352	STD		{ int|linux_sys||rt_sigaction(int signum, \
560				const struct linux_sigaction *nsa, \
561				struct linux_sigaction *osa, \
562				size_t sigsetsize); }
563353	STD		{ int|linux_sys||rt_sigprocmask(int how, \
564			    const linux_sigset_t *set, \
565			    linux_sigset_t *oset, \
566			    size_t sigsetsize); }
567354	STD		{ int|linux_sys||rt_sigpending( \
568			    linux_sigset_t *set, \
569			    size_t sigsetsize); }
570355	STD		{ int|linux_sys||rt_sigtimedwait( \
571			    const linux_sigset_t *set, \
572			    linux_siginfo_t *info, \
573			    const struct linux_timespec *timeout); }
574356	STD		{ int|linux_sys||rt_queueinfo(int pid, int signum, \
575			    linux_siginfo_t *uinfo); }
576357	STD		{ int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
577			    size_t sigsetsize); }
578358	STD		{ int|linux_sys||select(int nfds, fd_set *readfds, \
579			    fd_set *writefds, fd_set *exceptfds, \
580			    struct timeval50 *timeout); }
581359	NOARGS		{ int|compat_50_sys||gettimeofday( \
582			    struct timeval50 *tp, struct timezone *tzp); }
583360	NOARGS		{ int|compat_50_sys||settimeofday( \
584			    const struct timeval50 *tp, \
585			    const struct timezone *tzp); }
586361	NOARGS		{ int|compat_50_sys||getitimer(int which, \
587			    struct itimerval50 *itv); }
588362	NOARGS		{ int|compat_50_sys||setitimer(int which, \
589			    const struct itimerval50 *itv, \
590			    struct itimerval50 *oitv); }
591363	STD		{ int|linux_sys||utimes(char *path, \
592			    struct linux_timeval *times); }
593364	NOARGS		{ int|compat_50_sys||getrusage(int who, \
594			    struct rusage50 *rusage); }
595365	STD		{ int|linux_sys||wait4(int pid, int *status, \
596			    int options, struct rusage50 *rusage); }
597366	UNIMPL		adjtimex
598367	NOARGS		{ int|sys||__getcwd(char *bufp, size_t length); }
599368	UNIMPL		capget
600369	UNIMPL		capset
601370	UNIMPL		sendfile
602371	UNIMPL		setresgid
603372	UNIMPL		getresgid
604373	UNIMPL		sys_dipc
605374	UNIMPL		pivot_root
606375	NOARGS		{ int|sys||mincore(void *addr, size_t len, char *vec); }
607376	UNIMPL		pciconfig_iobase
608377	STD		{ int|linux_sys||getdents64(int fd, \
609			    struct linux_dirent64 *dent, unsigned int count); }
610378	NOARGS		{ pid_t|linux_sys||gettid(void); }
611379	UNIMPL		readahead
612380	UNIMPL		/* unused */
613381	STD		{ int|linux_sys||tkill(int tid, int sig); }
614382	STD		{ int|linux_sys||setxattr(char *path, char *name, \
615			    void *value, size_t size, int flags); }
616383	STD		{ int|linux_sys||lsetxattr(char *path, char *name, \
617			    void *value, size_t size, int flags); }
618384	STD		{ int|linux_sys||fsetxattr(int fd, char *name, \
619			    void *value, size_t size, int flags); }
620385	STD		{ ssize_t|linux_sys||getxattr(char *path, char *name, \
621			    void *value, size_t size); }
622386	STD		{ ssize_t|linux_sys||lgetxattr(char *path, char *name, \
623			    void *value, size_t size); }
624387	STD		{ ssize_t|linux_sys||fgetxattr(int fd, char *name, \
625			    void *value, size_t size); }
626388	STD		{ ssize_t|linux_sys||listxattr(char *path, char *list, \
627			    size_t size); }
628389	STD		{ ssize_t|linux_sys||llistxattr(char *path, char *list, \
629			    size_t size); }
630390	STD		{ ssize_t|linux_sys||flistxattr(int fd, char *list, \
631			    size_t size); }
632391	STD		{ int|linux_sys||removexattr(char *path, char *name); }
633392	STD		{ int|linux_sys||lremovexattr(char *path, char *name); }
634393	STD		{ int|linux_sys||fremovexattr(int fd, char *name); }
635394	STD		{ int|linux_sys||futex(int *uaddr, int op, int val, \
636			    const struct linux_timespec *timeout, int *uaddr2, \
637			    int val3); }
638395	STD		{ int|linux_sys||sched_setaffinity(pid_t pid, \
639			    unsigned int len, unsigned long *mask); }
640396	STD		{ int|linux_sys||sched_getaffinity(pid_t pid, \
641			    unsigned int len, unsigned long *mask); }
642397	UNIMPL		tuxcall
643398	UNIMPL		io_setup
644399	UNIMPL		io_destroy
645400	UNIMPL		io_getevents
646401	UNIMPL		io_submit
647402	UNIMPL		io_cancel
648403	UNIMPL		/* unused */
649404	UNIMPL		/* unused */
650405	STD		{ int|linux_sys||exit_group(int error_code); }
651406	UNIMPL		lookup_dcookie
652407	UNIMPL		sys_epoll_create
653408	UNIMPL		sys_epoll_ctl
654409	UNIMPL		sys_epoll_wait
655410	UNIMPL		remap_file_pages
656411	STD		{ int|linux_sys||set_tid_address(int *tid); }
657412	UNIMPL		restart_syscall
658413	STD		{ int|linux_sys||fadvise64(int fd, \
659			    linux_off_t offset, size_t len, int advice); }
660414	UNIMPL		timer_create
661415	UNIMPL		timer_settime
662416	UNIMPL		timer_gettime
663417	UNIMPL		timer_getoverrun
664418	UNIMPL		timer_delete
665419	STD		{ int|linux_sys||clock_settime(clockid_t which, \
666			    struct linux_timespec *tp); }
667420	STD		{ int|linux_sys||clock_gettime(clockid_t which, \
668			    struct linux_timespec *tp); }
669421	STD		{ int|linux_sys||clock_getres(clockid_t which, \
670			    struct linux_timespec *tp); }
671422	STD		{ int|linux_sys||clock_nanosleep(clockid_t which, \
672			    int flags, struct linux_timespec *rqtp, \
673			    struct linux_timespec *rmtp); }
674423	UNIMPL		semtimedop
675424	STD		{ int|linux_sys||tgkill(int tgid, int tid, int sig); }
676425	UNIMPL		stat64
677426	UNIMPL		lstat64
678427	UNIMPL		fstat64
679428	UNIMPL		vserver
680429	UNIMPL		mbind
681430	UNIMPL		get_mempolicy
682431	UNIMPL		set_mempolicy
683432	UNIMPL		mq_open
684433	UNIMPL		mq_unlink
685434	UNIMPL		mq_timedsend
686435	UNIMPL		mq_timedreceive
687436	UNIMPL		mq_notify
688437	UNIMPL		mq_getsetattr
689438	UNIMPL		waitid
690439	UNIMPL		add_key
691440	UNIMPL		request_key
692441	UNIMPL		keyctl
693442	UNIMPL		ioprio_set
694443	UNIMPL		ioprio_get
695444	UNIMPL		inotify_init
696445	UNIMPL		inotify_add_watch
697446	UNIMPL		inotify_rm_watch
698447	UNIMPL		fdatasync
699448	UNIMPL		kexec_load
700449	UNIMPL		migrate_pages
701450	STD 		{ int|linux_sys||openat(int fd, const char *path, \
702			    int flags, ... linux_umode_t mode); }
703451	NOARGS		{ int|sys||mkdirat(int fd, const char *path, \
704			    linux_umode_t mode); }
705452	STD		{ int|linux_sys||mknodat(int fd, const char *path, \
706			    linux_umode_t mode, unsigned dev); }
707453	STD		{ int|linux_sys||fchownat(int fd, const char *path, \
708			    uid_t owner, gid_t group, int flag); }
709454	UNIMPL		futimesat
710455	UNIMPL		{ int|linux_sys||fstatat64(int fd, const char *path, \
711			    struct linux_stat64 *sp, int flag); }
712456	STD		{ int|linux_sys||unlinkat(int fd, const char *path, \
713			    int flag); }
714457	NOARGS		{ int|sys||renameat(int fromfd, const char *from, \
715			    int tofd, const char *to); }
716458	STD		{ int|linux_sys||linkat(int fd1, const char *name1, \
717			    int fd2, const char *name2, int flags); }
718459	NOARGS		{ int|sys||symlinkat(const char *path1, int fd, \
719			    const char *path2); }
720460	NOARGS		{ int|sys||readlinkat(int fd, const char *path, \
721			    char *buf, size_t bufsize); }
722461	STD		{ int|linux_sys||fchmodat(int fd, const char *path, \
723			    linux_umode_t mode); }
724462	STD		{ int|linux_sys||faccessat(int fd, const char *path, \
725			    int amode); }
726463	UNIMPL		pselect6
727464	STD		{ int|linux_sys||ppoll(struct pollfd *fds, int nfds, \
728			    struct linux_timespec *timeout, \
729			    linux_sigset_t *sigset); }
730465	UNIMPL		unshare
731466	STD		{ int|linux_sys||set_robust_list( \
732			    struct linux_robust_list_head *head, size_t len); }
733467	STD		{ int|linux_sys||get_robust_list(int pid, \
734			    struct linux_robust_list_head **head, \
735			    size_t *len); }
736468	UNIMPL		splice
737469	UNIMPL		sync_file_range
738470	UNIMPL		tee
739471	UNIMPL		vmsplice
740472	UNIMPL		move_pages
741473	UNIMPL		getcpu
742474	UNIMPL		epoll_wait
743475	STD		{ int|linux_sys||utimensat(int fd, const char *path, \
744			    struct linux_timespec *times, int flag); }
745476	UNIMPL		signalfd
746477	UNIMPL		timerfd
747478	UNIMPL		eventfd
748479	UNIMPL		recvmmsg
749480	UNIMPL		fallocate
750481	UNIMPL		timerfd_create
751482	UNIMPL		timerfd_settime
752483	UNIMPL		timerfd_gettime
753484	UNIMPL		signalfd4
754485	UNIMPL		eventfd2
755486	UNIMPL		epoll_create1
756487	STD		{ int|linux_sys||dup3(int from, int to, int flags); }
757488	STD		{ int|linux_sys||pipe2(int *pfds, int flags); }
758489	UNIMPL		inotify_init1
759490	UNIMPL		preadv
760491	UNIMPL		pwritev
761492	UNIMPL		rt_tgsigqueueinfo
762493	UNIMPL		perf_counter_open
763