syscalls.master revision 1.40
11.40Spooka	$NetBSD: syscalls.master,v 1.40 2009/01/13 22:27:43 pooka Exp $  
21.1Smanu
31.1Smanu;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
41.1Smanu
51.1Smanu; Derived from NetBSD's sys/compat/linux/arch/i386/syscalls.master
61.21Sperry; sys/compat/linux/arch/m68k/syscalls.master
71.21Sperry; and from Linux's arch/ppc/kernel/misc.S
81.1Smanu;
91.1Smanu; We have problems for a few syscalls, specially:
101.1Smanu; 142 ppc_select -> sys_new_select -> sys_select (Conflicts with 82 ???).
111.1Smanu;
121.1Smanu; Expect problems with the following, which have an architecture dependent
131.1Smanu; implementation in Linux/powerpc:
141.1Smanu; 29  pause
151.1Smanu; 42  pipe      tested. no problem.
161.1Smanu; 59  olduname
171.1Smanu; 101 ioperm
181.1Smanu; 109 uname
191.1Smanu; 117 ipc
201.21Sperry;
211.1Smanu; Most of syscalls after 182 that were introduced in Linux-2.4 are UNIMPL.
221.1Smanu;
231.21Sperry; The following are UNIMPL here. The Linux kernel implements them but just logs
241.21Sperry; a kernel error and returns -ENOSYS.
251.1Smanu; 110 iopl
261.1Smanu; 113 vm86
271.1Smanu; 123 modify_ldt
281.1Smanu; 198 sys_pciconfig_read
291.1Smanu; 199 sys_pciconfig_write
301.1Smanu; 200 sys_pciconfig_iobase
311.1Smanu;
321.1Smanu; Emmanuel Dreyfus <p99dreyf@criens.u-psud.fr>
331.1Smanu
341.1Smanu; NetBSD powerpc COMPAT_LINUX system call name/number "master" file.
351.1Smanu; (See syscalls.conf to see what it is processed into.)
361.1Smanu;
371.1Smanu; Fields: number type [type-dependent ...]
381.1Smanu;	number	system call number, must be in order
391.1Smanu;	type	one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
401.1Smanu;		the compatibility options defined in syscalls.conf.
411.1Smanu;
421.1Smanu; types:
431.1Smanu;	STD	always included
441.1Smanu;	OBSOL	obsolete, not included in system
451.1Smanu;	UNIMPL	unimplemented, not included in system
461.1Smanu;	NODEF	included, but don't define the syscall number
471.1Smanu;	NOARGS	included, but don't define the syscall args structure
481.1Smanu;	INDIR	included, but don't define the syscall args structure
491.1Smanu;		and allow it to be "really" varargs.
501.1Smanu;
511.1Smanu; The compat options are defined in the syscalls.conf file, and the
521.1Smanu; compat option name is prefixed to the syscall name.  Other than
531.1Smanu; that, they're like NODEF (for 'compat' options), or STD (for
541.1Smanu; 'libcompat' options).
551.1Smanu;
561.1Smanu; The type-dependent arguments are as follows:
571.1Smanu; For STD, NODEF, NOARGS, and compat syscalls:
581.1Smanu;	{ pseudo-proto } [alias]
591.1Smanu; For other syscalls:
601.1Smanu;	[comment]
611.1Smanu;
621.1Smanu; #ifdef's, etc. may be included, and are copied to the output files.
631.1Smanu; #include's are copied to the syscall names and switch definition files only.
641.1Smanu
651.1Smanu#include <sys/param.h>
661.1Smanu#include <sys/poll.h>
671.1Smanu#include <sys/systm.h>
681.1Smanu#include <sys/signal.h>
691.1Smanu#include <sys/mount.h>
701.1Smanu#include <sys/syscallargs.h>
711.1Smanu
721.1Smanu#include <compat/linux/common/linux_types.h>
731.1Smanu#include <compat/linux/common/linux_signal.h>
741.1Smanu#include <compat/linux/common/linux_siginfo.h>
751.1Smanu#include <compat/linux/common/linux_machdep.h>
761.1Smanu#include <compat/linux/common/linux_mmap.h>
771.1Smanu
781.1Smanu#include <compat/linux/linux_syscallargs.h>
791.1Smanu
801.25Schristos%%
811.25Schristos
821.40Spooka0	NOARGS		{ int|linux_sys||nosys(void); } syscall
831.40Spooka1	NOARGS		{ int|sys||exit(int rval); }
841.40Spooka2	NOARGS		{ int|sys||fork(void); }
851.40Spooka3	NOARGS		{ int|sys||read(int fd, char *buf, u_int nbyte); }
861.40Spooka4	NOARGS		{ int|sys||write(int fd, char *buf, u_int nbyte); }
871.40Spooka5	STD		{ int|linux_sys||open(const char *path, int flags, \
881.1Smanu			    int mode); }
891.40Spooka6	NOARGS		{ int|sys||close(int fd); }
901.40Spooka7	STD		{ int|linux_sys||waitpid(int pid, int *status, \
911.1Smanu			    int options);}
921.40Spooka8	STD		{ int|linux_sys||creat(const char *path, int mode); }
931.40Spooka9	NOARGS		{ int|sys||link(const char *path, const char *link); }
941.40Spooka10	STD		{ int|linux_sys||unlink(const char *path); }
951.40Spooka11	NOARGS		{ int|sys||execve(const char *path, char **argp, \
961.1Smanu			    char **envp); }
971.40Spooka12	NOARGS		{ int|sys||chdir(const char *path); }
981.40Spooka13	STD		{ int|linux_sys||time(linux_time_t *t); }
991.40Spooka14	STD		{ int|linux_sys||mknod(const char *path, int mode, \
1001.1Smanu			    int dev); }
1011.40Spooka15	NOARGS		{ int|sys||chmod(const char *path, int mode); }
1021.40Spooka16	NOARGS		{ int|sys||__posix_lchown(const char *path, int uid, \
1031.1Smanu			    int gid); }
1041.1Smanu17	OBSOL		break
1051.1Smanu18	OBSOL		ostat
1061.40Spooka19	NOARGS		{ long|compat_43_sys||lseek(int fd, long offset, \
1071.1Smanu			    int whence); }
1081.40Spooka20	NOARGS 		{ pid_t|sys||getpid(void); }
1091.1Smanu21	UNIMPL		mount
1101.1Smanu22	OBSOL		umount
1111.40Spooka23	NOARGS		{ int|sys||setuid(uid_t uid); }
1121.40Spooka24	NOARGS		{ uid_t|sys||getuid(void); }
1131.40Spooka25	STD		{ int|linux_sys||stime(linux_time_t *t); }
1141.40Spooka26	STD		{ int|linux_sys||ptrace(int request, int pid, \
1151.7Smanu			    int addr, int data); }
1161.40Spooka27	STD		{ int|linux_sys||alarm(unsigned int secs); }
1171.1Smanu28	OBSOL		ofstat
1181.40Spooka29	STD		{ int|linux_sys||pause(void); }
1191.40Spooka30	STD		{ int|linux_sys||utime(const char *path, \
1201.1Smanu			    struct linux_utimbuf *times); }
1211.1Smanu31	OBSOL		stty
1221.1Smanu32	OBSOL		gtty
1231.40Spooka33	NOARGS		{ int|sys||access(const char *path, int flags); }
1241.40Spooka34	STD		{ int|linux_sys||nice(int incr); }
1251.1Smanu35	OBSOL		ftime
1261.40Spooka36	NOARGS		{ int|sys||sync(void); }
1271.40Spooka37	STD		{ int|linux_sys||kill(int pid, int signum); }
1281.40Spooka38	NOARGS		{ int|sys||__posix_rename(const char *from, \
1291.1Smanu			    const char *to); }
1301.40Spooka39	NOARGS		{ int|sys||mkdir(const char *path, int mode); }
1311.40Spooka40	NOARGS		{ int|sys||rmdir(const char *path); }
1321.40Spooka41	NOARGS		{ int|sys||dup(u_int fd); }
1331.40Spooka42	STD		{ int|linux_sys||pipe(int *pfds); }
1341.40Spooka43	STD		{ int|linux_sys||times(struct times *tms); }
1351.1Smanu44	OBSOL		prof
1361.40Spooka45	STD		{ int|linux_sys||brk(char *nsize); }
1371.40Spooka46	NOARGS		{ int|sys||setgid(gid_t gid); }
1381.40Spooka47	NOARGS		{ gid_t|sys||getgid(void); }
1391.40Spooka48	STD		{ int|linux_sys||signal(int signum, \
1401.1Smanu			    linux_handler_t handler); }
1411.40Spooka49	NOARGS		{ uid_t|sys||geteuid(void); }
1421.40Spooka50	NOARGS		{ gid_t|sys||getegid(void); }
1431.40Spooka51	NOARGS		{ int|sys||acct(char *path); }
1441.1Smanu52	UNIMPL		umount
1451.1Smanu53	OBSOL		lock
1461.40Spooka54	STD		{ int|linux_sys||ioctl(int fd, u_long com, \
1471.31Schristos			    void *data); }
1481.40Spooka55	STD		{ int|linux_sys||fcntl(int fd, int cmd, void *arg); }
1491.1Smanu56	OBSOL		mpx
1501.40Spooka57	NOARGS		{ int|sys||setpgid(int pid, int pgid); }
1511.1Smanu58	OBSOL		ulimit
1521.40Spooka59 	STD		{ int|linux_sys||olduname(struct linux_old_utsname \
1531.7Smanu			   *up); }
1541.40Spooka60	NOARGS		{ int|sys||umask(int newmask); }
1551.40Spooka61	NOARGS		{ int|sys||chroot(char *path); }
1561.1Smanu62	UNIMPL		ustat
1571.40Spooka63	NOARGS		{ int|sys||dup2(u_int from, u_int to); }
1581.40Spooka64	NOARGS		{ pid_t|sys||getppid(void); }
1591.40Spooka65	NOARGS		{ int|sys||getpgrp(void); }
1601.40Spooka66	NOARGS		{ int|sys||setsid(void); }
1611.40Spooka67	STD		{ int|linux_sys||sigaction(int signum, \
1621.1Smanu			    const struct linux_old_sigaction *nsa, \
1631.1Smanu			    struct linux_old_sigaction *osa); }
1641.40Spooka68	STD		{ int|linux_sys||siggetmask(void); }
1651.40Spooka69	STD		{ int|linux_sys||sigsetmask(linux_old_sigset_t mask); }
1661.40Spooka70	NOARGS		{ int|sys||setreuid(uid_t ruid, uid_t euid); }
1671.40Spooka71	NOARGS		{ int|sys||setregid(gid_t rgid, gid_t egid); }
1681.40Spooka72	STD		{ int|linux_sys||sigsuspend(void *restart, \
1691.1Smanu			    int oldmask, int mask); }
1701.40Spooka73	STD		{ int|linux_sys||sigpending(linux_old_sigset_t *set); }
1711.40Spooka74	NOARGS		{ int|compat_43_sys||sethostname(char *hostname, \
1721.1Smanu			    u_int len);}
1731.40Spooka75	STD		{ int|linux_sys||setrlimit(u_int which, \
1741.1Smanu			    struct orlimit *rlp); }
1751.40Spooka76	STD		{ int|linux_sys||getrlimit(u_int which, \
1761.1Smanu			    struct orlimit *rlp); }
1771.40Spooka77	NOARGS		{ int|sys||getrusage(int who, struct rusage *rusage); }
1781.40Spooka78	STD		{ int|linux_sys||gettimeofday(struct timeval *tp, \
1791.1Smanu			    struct timezone *tzp); }
1801.40Spooka79	STD		{ int|linux_sys||settimeofday(struct timeval *tp, \
1811.1Smanu			    struct timezone *tzp); }
1821.40Spooka80	NOARGS		{ int|sys||getgroups(u_int gidsetsize, gid_t *gidset); }
1831.40Spooka81	NOARGS		{ int|sys||setgroups(u_int gidsetsize, gid_t *gidset); }
1841.40Spooka82	STD		{ int|linux_sys||select(int nfds, fd_set* readfds, \
1851.1Smanu					fd_set* writefds, fd_set* exceptfds, \
1861.1Smanu					struct timeval *timeout); }
1871.40Spooka83	NOARGS		{ int|sys||symlink(const char *path, const char *to); }
1881.40Spooka84	NOARGS		{ int|compat_43_sys||lstat(const char *path, \
1891.1Smanu			    struct stat43 *up); } oolstat
1901.40Spooka85	NOARGS		{ int|sys||readlink(const char *name, char *buf, \
1911.1Smanu			    int count); }
1921.24Sjoerg#ifdef EXEC_AOUT
1931.40Spooka86	STD		{ int|linux_sys||uselib(const char *path); }
1941.24Sjoerg#else
1951.24Sjoerg86	UNIMPL		sys_uselib
1961.24Sjoerg#endif
1971.40Spooka87	STD		{ int|linux_sys||swapon(char *name); }
1981.40Spooka88	STD		{ int|linux_sys||reboot(int magic1, int magic2, \
1991.1Smanu			    int cmd, void *arg); }
2001.40Spooka89	STD		{ int|linux_sys||readdir(int fd, void *dent, \
2011.1Smanu			    unsigned int count); }
2021.40Spooka90	NOARGS		{ int|linux_sys||mmap(unsigned long addr, size_t len, \
2031.7Smanu			    int prot, int flags, int fd, linux_off_t offset); }
2041.40Spooka91	NOARGS		{ int|sys||munmap(void *addr, int len); }
2051.40Spooka92	NOARGS		{ int|compat_43_sys||truncate(const char *path, \
2061.1Smanu			    long length); }
2071.40Spooka93	NOARGS		{ int|compat_43_sys||ftruncate(int fd, long length); }
2081.40Spooka94	NOARGS		{ int|sys||fchmod(int fd, int mode); }
2091.40Spooka95	NOARGS		{ int|sys||__posix_fchown(int fd, int uid, int gid); }
2101.40Spooka96	STD		{ int|linux_sys||getpriority(int which, int who); }
2111.40Spooka97	NOARGS		{ int|sys||setpriority(int which, int who, int prio); }
2121.40Spooka98	NOARGS		{ int|sys||profil(void *samples, u_int size, \
2131.1Smanu			    u_int offset, u_int scale); }
2141.40Spooka99	STD		{ int|linux_sys||statfs(const char *path, \
2151.1Smanu			    struct linux_statfs *sp); }
2161.40Spooka100	STD		{ int|linux_sys||fstatfs(int fd, \
2171.1Smanu			    struct linux_statfs *sp); }
2181.40Spooka101	STD		{ int|linux_sys||ioperm(unsigned int lo, \
2191.7Smanu			    unsigned int hi, int val); }
2201.40Spooka102	STD		{ int|linux_sys||socketcall(int what, void *args); }
2211.1Smanu103	UNIMPL		syslog
2221.40Spooka104	NOARGS		{ int|sys||setitimer(u_int which, \
2231.1Smanu			    struct itimerval *itv, struct itimerval *oitv); }
2241.40Spooka105	NOARGS		{ int|sys||getitimer(u_int which, \
2251.1Smanu			    struct itimerval *itv); }
2261.40Spooka106	STD		{ int|linux_sys||stat(const char *path, \
2271.1Smanu			    struct linux_stat *sp); }
2281.40Spooka107	STD		{ int|linux_sys||lstat(const char *path, \
2291.1Smanu			    struct linux_stat *sp); }
2301.40Spooka108	STD		{ int|linux_sys||fstat(int fd, struct linux_stat *sp); }
2311.40Spooka109	STD		{ int|linux_sys||uname(struct linux_utsname *up); }
2321.21Sperry110	UNIMPL		iopl
2331.1Smanu111	UNIMPL		vhangup
2341.1Smanu112	UNIMPL		idle
2351.21Sperry113	UNIMPL		vm86old
2361.40Spooka114	STD		{ int|linux_sys||wait4(int pid, int *status, \
2371.1Smanu			    int options, struct rusage *rusage); }
2381.40Spooka115	STD		{ int|linux_sys||swapoff(const char *path); }
2391.40Spooka116	STD		{ int|linux_sys||sysinfo(struct linux_sysinfo *arg); }
2401.40Spooka117	STD		{ int|linux_sys||ipc(int what, int a1, int a2, int a3, \
2411.31Schristos			    void *ptr); }
2421.40Spooka118	NOARGS		{ int|sys||fsync(int fd); }
2431.40Spooka119	STD		{ int|linux_sys||sigreturn(struct linux_sigcontext *scp); }
2441.40Spooka120	STD		{ int|linux_sys||clone(int flags, void *stack); }
2451.40Spooka121	STD		{ int|linux_sys||setdomainname(char *domainname, \
2461.7Smanu			    int len); }
2471.40Spooka122	STD		{ int|linux_sys||new_uname(struct linux_utsname *up); }
2481.21Sperry123	UNIMPL		modify_ldt
2491.1Smanu124	UNIMPL		adjtimex
2501.40Spooka125	STD		{ int|linux_sys||mprotect(const void *start, \
2511.10Schristos			    unsigned long len, int prot); }
2521.40Spooka126	STD		{ int|linux_sys||sigprocmask(int how, \
2531.1Smanu			    const linux_old_sigset_t *set, \
2541.1Smanu			    linux_old_sigset_t *oset); }
2551.1Smanu127	UNIMPL		create_module
2561.1Smanu128	UNIMPL		init_module
2571.1Smanu129	UNIMPL		delete_module
2581.1Smanu130	UNIMPL		get_kernel_syms
2591.1Smanu131	UNIMPL		quotactl
2601.40Spooka132	NOARGS		{ pid_t|sys||getpgid(pid_t pid); }
2611.40Spooka133	NOARGS		{ int|sys||fchdir(int fd); }
2621.1Smanu134	UNIMPL		bdflush
2631.1Smanu135	UNIMPL		sysfs
2641.40Spooka136	STD		{ int|linux_sys||personality(int per); }
2651.1Smanu137	UNIMPL		afs_syscall
2661.40Spooka138	STD		{ int|linux_sys||setfsuid(uid_t uid); }
2671.40Spooka139	STD		{ int|linux_sys||setfsgid(gid_t gid); }
2681.40Spooka140	STD		{ int|linux_sys||llseek(int fd, u_int32_t ohigh, \
2691.31Schristos			    u_int32_t olow, void *res, int whence); }
2701.40Spooka141	STD		{ int|linux_sys||getdents(int fd, \
2711.1Smanu			    struct linux_dirent *dent, unsigned int count); }
2721.40Spooka142	STD		{ int|linux_sys||new_select(int nfds, fd_set *readfds, \
2731.1Smanu			    fd_set *writefds, fd_set *exceptfds, \
2741.1Smanu			    struct timeval *timeout); }
2751.40Spooka143	NOARGS		{ int|sys||flock(int fd, int how); }
2761.40Spooka144	NOARGS		{ int|sys|13|msync(void *addr, size_t len, int flags); }
2771.40Spooka145	NOARGS		{ int|sys||readv(int fd, struct iovec *iovp, \
2781.1Smanu				u_int iovcnt); }
2791.40Spooka146	NOARGS		{ int|sys||writev(int fd, struct iovec *iovp, \
2801.1Smanu				u_int iovcnt); }
2811.40Spooka147	NOARGS		{ pid_t|sys||getsid(pid_t pid); }
2821.40Spooka148	STD		{ int|linux_sys||fdatasync(int fd); }
2831.40Spooka149	STD		{ int|linux_sys||__sysctl(struct linux___sysctl *lsp); }
2841.40Spooka150	NOARGS		{ int|sys||mlock(void *addr, size_t len); }
2851.40Spooka151	NOARGS		{ int|sys||munlock(void *addr, size_t len); }
2861.40Spooka152	NOARGS		{ int|sys||mlockall(int flags); }
2871.40Spooka153	NOARGS		{ int|sys||munlockall(void); }
2881.40Spooka154	STD		{ int|linux_sys||sched_setparam(pid_t pid, \
2891.1Smanu			    const struct linux_sched_param *sp); }
2901.40Spooka155	STD		{ int|linux_sys||sched_getparam(pid_t pid, \
2911.1Smanu			    struct linux_sched_param *sp); }
2921.40Spooka156	STD		{ int|linux_sys||sched_setscheduler(pid_t pid, \
2931.1Smanu			    int policy, const struct linux_sched_param *sp); }
2941.40Spooka157	STD		{ int|linux_sys||sched_getscheduler(pid_t pid); }
2951.40Spooka158	STD		{ int|linux_sys||sched_yield(void); }
2961.40Spooka159	STD		{ int|linux_sys||sched_get_priority_max(int policy); }
2971.40Spooka160	STD		{ int|linux_sys||sched_get_priority_min(int policy); }
2981.1Smanu161	UNIMPL		sched_rr_get_interval
2991.40Spooka162	STD		{ int|linux_sys||nanosleep( \
3001.38Snjoly			    const struct linux_timespec *rqtp, \
3011.38Snjoly			    struct linux_timespec *rmtp); }
3021.40Spooka163	STD		{ void *|linux_sys||mremap(void *old_address, \
3031.1Smanu			    size_t old_size, size_t new_size, u_long flags); }
3041.40Spooka164	STD		{ int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
3051.1Smanu			    uid_t suid); }
3061.40Spooka165	STD		{ int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \
3071.1Smanu			    uid_t *suid); }
3081.1Smanu166	UNIMPL		query_module
3091.40Spooka167	NOARGS		{ int|sys||poll(struct pollfd *fds, u_int nfds, \
3101.1Smanu			    int timeout); }
3111.1Smanu168	UNIMPL		nfsservctl
3121.40Spooka169	STD		{ int|linux_sys||setresgid(gid_t rgid, gid_t egid, \
3131.1Smanu			    gid_t sgid); }
3141.40Spooka170	STD		{ int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \
3151.1Smanu			    gid_t *sgid); }
3161.1Smanu171	UNIMPL		prctl
3171.40Spooka172	STD		{ int|linux_sys||rt_sigreturn( \
3181.7Smanu			    struct linux_rt_sigframe *sfp); }
3191.40Spooka173	STD		{ int|linux_sys||rt_sigaction(int signum, \
3201.1Smanu			    const struct linux_sigaction *nsa, \
3211.1Smanu			    struct linux_sigaction *osa, \
3221.1Smanu			    size_t sigsetsize); }
3231.40Spooka174	STD		{ int|linux_sys||rt_sigprocmask(int how, \
3241.1Smanu			    const linux_sigset_t *set, \
3251.1Smanu			    linux_sigset_t *oset, \
3261.1Smanu			    size_t sigsetsize); }
3271.40Spooka175	STD		{ int|linux_sys||rt_sigpending( \
3281.1Smanu			    linux_sigset_t *set, \
3291.1Smanu			    size_t sigsetsize); }
3301.1Smanu176	UNIMPL		rt_sigtimedwait
3311.1Smanu; XXX XAX int here?  sigset_t here?  siginfo_t
3321.40Spooka177	STD		{ int|linux_sys||rt_queueinfo(int pid, int signum, \
3331.1Smanu			    void *uinfo); }
3341.40Spooka178	STD		{ int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
3351.1Smanu			    size_t sigsetsize); }
3361.40Spooka179	STD		{ int|linux_sys||pread(int fd, char *buf, \
3371.1Smanu			    size_t nbyte, linux_off_t offset); }
3381.40Spooka180	STD		{ int|linux_sys||pwrite(int fd, char *buf, \
3391.1Smanu			    size_t nbyte, linux_off_t offset); }
3401.40Spooka181	NOARGS		{ int|sys||__posix_chown(const char *path, \
3411.1Smanu			    int uid, int gid); }
3421.40Spooka182	NOARGS		{ int|sys||__getcwd(char *bufp, size_t length); }
3431.1Smanu183	UNIMPL		capget
3441.1Smanu184	UNIMPL		capset
3451.40Spooka185	STD		{ int|linux_sys||sigaltstack( \
3461.1Smanu			    const struct linux_sigaltstack *ss, \
3471.1Smanu			    struct linux_sigaltstack *oss); }
3481.1Smanu186	UNIMPL		sendfile
3491.1Smanu187	UNIMPL		getpmsg
3501.1Smanu188	UNIMPL		putpmsg
3511.40Spooka189	NOARGS		{ int|sys|14|vfork(void); }
3521.40Spooka190	STD		{ int|linux_sys||ugetrlimit(int which, \
3531.8Schristos			    struct rlimit *rlp); }
3541.1Smanu191	UNIMPL		/* unused */
3551.33Sdsl#define linux_sys_mmap2_args linux_sys_mmap_args
3561.40Spooka192	NOARGS		{ linux_off_t|linux_sys||mmap2(unsigned long addr, \
3571.15Schristos			    size_t len, int prot, int flags, int fd, \
3581.15Schristos			    linux_off_t offset); }
3591.40Spooka193	STD		{ int|linux_sys||truncate64(const char *path, \
3601.13Sjdolecek			    off_t length); }
3611.40Spooka194	STD		{ int|linux_sys||ftruncate64(unsigned int fd, \
3621.13Sjdolecek			    off_t length); }
3631.40Spooka195	STD		{ int|linux_sys||stat64(const char *path, \
3641.12Sjdolecek			    struct linux_stat64 *sp); }
3651.40Spooka196	STD		{ int|linux_sys||lstat64(const char *path, \
3661.12Sjdolecek			    struct linux_stat64 *sp); }
3671.40Spooka197	STD		{ int|linux_sys||fstat64(int fd, \
3681.12Sjdolecek			    struct linux_stat64 *sp); }
3691.21Sperry198	UNIMPL		sys_pciconfig_read
3701.1Smanu199	UNIMPL		sys_pciconfig_write
3711.1Smanu200	UNIMPL		sys_pciconfig_iobase
3721.1Smanu201	UNIMPL		/* Unused (MacOnLinux project) */
3731.40Spooka202	STD		{ int|linux_sys||getdents64(int fd, \
3741.11Schristos			    struct linux_dirent64 *dent, unsigned int count); }
3751.4Sjdolecek203	UNIMPL		pivot_root
3761.40Spooka204	STD		{ int|linux_sys||fcntl64(int fd, int cmd, void *arg); }
3771.40Spooka205	NOARGS		{ int|sys||mincore(void *addr, size_t len, char *vec); }
3781.40Spooka206	NOARGS		{ int|sys||madvise(void *addr, size_t len, int behav); }
3791.18Sjdolecek207	UNIMPL		gettid
3801.18Sjdolecek208	UNIMPL		tkill
3811.40Spooka209	STD		{ int|linux_sys||setxattr(char *path, char *name, \
3821.22Sfvdl			    void *value, size_t size, int flags); }
3831.40Spooka210	STD		{ int|linux_sys||lsetxattr(char *path, char *name, \
3841.22Sfvdl			    void *value, size_t size, int flags); }
3851.40Spooka211	STD		{ int|linux_sys||fsetxattr(int fd, char *name, \
3861.22Sfvdl			    void *value, size_t size, int flags); }
3871.40Spooka212	STD		{ ssize_t|linux_sys||getxattr(char *path, char *name, \
3881.22Sfvdl			    void *value, size_t size); }
3891.40Spooka213	STD		{ ssize_t|linux_sys||lgetxattr(char *path, char *name, \
3901.22Sfvdl			    void *value, size_t size); }
3911.40Spooka214	STD		{ ssize_t|linux_sys||fgetxattr(int fd, char *name, \
3921.22Sfvdl			    void *value, size_t size); }
3931.40Spooka215	STD		{ ssize_t|linux_sys||listxattr(char *path, char *list, \
3941.22Sfvdl			    size_t size); }
3951.40Spooka216	STD		{ ssize_t|linux_sys||llistxattr(char *path, char *list, \
3961.22Sfvdl			    size_t size); }
3971.40Spooka217	STD		{ ssize_t|linux_sys||flistxattr(int fd, char *list, \
3981.22Sfvdl			    size_t size); }
3991.40Spooka218	STD		{ int|linux_sys||removexattr(char *path, char *name); }
4001.40Spooka219	STD		{ int|linux_sys||lremovexattr(char *path, char *name); }
4011.40Spooka220	STD		{ int|linux_sys||fremovexattr(int fd, char *name); }
4021.18Sjdolecek221	UNIMPL		futex
4031.18Sjdolecek222	UNIMPL		sched_setaffinity
4041.18Sjdolecek223	UNIMPL		sched_getaffinity
4051.18Sjdolecek224	UNIMPL		/* unused */
4061.18Sjdolecek225	UNIMPL		tuxcall
4071.18Sjdolecek226	UNIMPL		sendfile64
4081.18Sjdolecek227	UNIMPL		io_setup
4091.18Sjdolecek228	UNIMPL		io_destroy
4101.18Sjdolecek229	UNIMPL		io_getevents
4111.18Sjdolecek230	UNIMPL		io_submit
4121.18Sjdolecek231	UNIMPL		io_cancel
4131.18Sjdolecek232	UNIMPL		set_tid_address
4141.18Sjdolecek233	UNIMPL		fadvise64
4151.40Spooka234	STD		{ int|linux_sys||exit_group(int error_code); }
4161.18Sjdolecek235	UNIMPL		lookup_dcookie
4171.18Sjdolecek236	UNIMPL		epoll_create
4181.18Sjdolecek237	UNIMPL		epoll_ctl
4191.18Sjdolecek238	UNIMPL		epoll_wait
4201.18Sjdolecek239	UNIMPL		remap_file_pages
4211.18Sjdolecek240	UNIMPL		timer_create
4221.18Sjdolecek241	UNIMPL		timer_settime
4231.18Sjdolecek242	UNIMPL		timer_gettime
4241.18Sjdolecek243	UNIMPL		timer_getoverrun
4251.18Sjdolecek244	UNIMPL		timer_delete
4261.40Spooka245	STD		{ int|linux_sys||clock_settime(clockid_t which, \
4271.23Sfvdl			    struct linux_timespec *tp); }
4281.40Spooka246	STD		{ int|linux_sys||clock_gettime(clockid_t which, \
4291.23Sfvdl			    struct linux_timespec *tp); }
4301.40Spooka247	STD		{ int|linux_sys||clock_getres(clockid_t which, \
4311.23Sfvdl			    struct linux_timespec *tp); }
4321.40Spooka248	STD		{ int|linux_sys||clock_nanosleep(clockid_t which, \
4331.23Sfvdl			    int flags, struct linux_timespec *rqtp, \
4341.23Sfvdl			    struct linux_timespec *rmtp); }
4351.18Sjdolecek249	UNIMPL		swapcontext
4361.18Sjdolecek250	UNIMPL		tgkill
4371.18Sjdolecek251	UNIMPL		utimes
4381.40Spooka252	STD		{ int|linux_sys||statfs64(const char *path, \
4391.20Sjdolecek			    size_t sz, struct linux_statfs64 *sp); }
4401.40Spooka253	STD		{ int|linux_sys||fstatfs64(int fd, \
4411.20Sjdolecek			    size_t sz, struct linux_statfs64 *sp); }
4421.18Sjdolecek254	UNIMPL		fadvise64_64
4431.18Sjdolecek255	UNIMPL		rtas
4441.18Sjdolecek256	UNIMPL		/* reserved for sys_debug_setcontext */
4451.18Sjdolecek257	UNIMPL		/* reserved for vserver */
4461.18Sjdolecek258	UNIMPL		/* reserved for new sys_remap_file_pages */
4471.18Sjdolecek259	UNIMPL		/* reserved for new sys_mbind */
4481.18Sjdolecek260	UNIMPL		/* reserved for new sys_get_mempolicy */
4491.18Sjdolecek261	UNIMPL		/* reserved for new sys_set_mempolicy */
4501.18Sjdolecek262	UNIMPL		mq_open
4511.18Sjdolecek263	UNIMPL		mq_unlink
4521.18Sjdolecek264	UNIMPL		mq_timedsend
4531.18Sjdolecek265	UNIMPL		mq_timedreceive
4541.18Sjdolecek266	UNIMPL		mq_notify
4551.18Sjdolecek267	UNIMPL		mq_getsetattr
4561.18Sjdolecek268	UNIMPL		kexec_load
457