Home | History | Annotate | Line # | Download | only in mips
syscalls.master revision 1.56
      1 	$NetBSD: syscalls.master,v 1.56 2014/05/31 08:51:19 njoly 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 
     59 0	NOARGS		{ int|linux_sys||nosys(void); } syscall
     60 1	STD		{ int|linux_sys||exit(int rval); }
     61 2	NOARGS		{ int|sys||fork(void); }
     62 3	NOARGS		{ ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
     63 4	NOARGS		{ ssize_t|sys||write(int fd, const void *buf, \
     64 			    size_t nbyte); }
     65 5	STD		{ int|linux_sys||open(const char *path, int flags, \
     66 			    linux_umode_t mode); }
     67 6	NOARGS		{ int|sys||close(int fd); }
     68 7	STD		{ int|linux_sys||waitpid(int pid, int *status, \
     69 			    int options);}
     70 8	STD		{ int|linux_sys||creat(const char *path, linux_umode_t mode); }
     71 9	NOARGS		{ int|sys||link(const char *path, const char *link); }
     72 10	STD		{ int|linux_sys||unlink(const char *path); }
     73 11	NOARGS		{ int|sys||execve(const char *path, char **argp, \
     74 			    char **envp); }
     75 12	NOARGS		{ int|sys||chdir(const char *path); }
     76 13	STD		{ int|linux_sys||time(linux_time_t *t); }
     77 14	STD		{ int|linux_sys||mknod(const char *path, linux_umode_t mode, \
     78 			    unsigned dev); }
     79 15	NOARGS		{ int|sys||chmod(const char *path, int mode); }
     80 16	NOARGS		{ int|sys||__posix_lchown(const char *path, int uid, \
     81 			    int gid); }
     82 17	UNIMPL
     83 18	OBSOL		ostat
     84 19	NOARGS		{ long|compat_43_sys||lseek(int fd, long offset, \
     85 			    int whence); }
     86 20	NOARGS 		{ pid_t|sys||getpid(void); }
     87 21	UNIMPL		mount
     88 22	OBSOL		umount
     89 23	NOARGS		{ int|sys||setuid(uid_t uid); }
     90 24	NOARGS		{ uid_t|sys||getuid(void); }
     91 25	STD		{ int|linux_sys||stime(linux_time_t *t); }
     92 26	STD		{ int|linux_sys||ptrace(long request, long pid, \
     93 			  long addr, long data); }
     94 27	STD		{ int|linux_sys||alarm(unsigned int secs); }
     95 28	OBSOL		ofstat
     96 29	STD		{ int|linux_sys||pause(void); }
     97 30	STD		{ int|linux_sys||utime(const char *path, \
     98 			    struct linux_utimbuf *times); }
     99 31	UNIMPL
    100 32	UNIMPL
    101 33	NOARGS		{ int|sys||access(const char *path, int flags); }
    102 34	STD		{ int|linux_sys||nice(int incr); }
    103 35	UNIMPL
    104 36	NOARGS		{ int|sys||sync(void); }
    105 37	STD		{ int|linux_sys||kill(int pid, int signum); }
    106 38	NOARGS		{ int|sys||__posix_rename(const char *from, \
    107 			    const char *to); }
    108 39	NOARGS		{ int|sys||mkdir(const char *path, linux_umode_t mode); }
    109 40	NOARGS		{ int|sys||rmdir(const char *path); }
    110 41	NOARGS		{ int|sys||dup(int fd); }
    111 42	STD		{ int|linux_sys||pipe(int *pfds); }
    112 43	STD		{ int|linux_sys||times(struct times *tms); }
    113 44	UNIMPL
    114 45	STD		{ int|linux_sys||brk(char *nsize); }
    115 46	NOARGS		{ int|sys||setgid(gid_t gid); }
    116 47	NOARGS		{ gid_t|sys||getgid(void); }
    117 48	STD		{ int|linux_sys||signal(int signum, \
    118 			    linux___sighandler_t handler); }
    119 49	NOARGS		{ uid_t|sys||geteuid(void); }
    120 50	NOARGS		{ gid_t|sys||getegid(void); }
    121 51	NOARGS		{ int|sys||acct(char *path); }
    122 52	UNIMPL		umount
    123 53	UNIMPL
    124 54	STD		{ int|linux_sys||ioctl(int fd, u_long com, \
    125 			    void *data); }
    126 55	STD		{ int|linux_sys||fcntl(int fd, int cmd, void *arg); }
    127 56	OBSOL		mpx
    128 57	NOARGS		{ int|sys||setpgid(int pid, int pgid); }
    129 58	UNIMPL
    130 59 	STD  		    { int|linux_sys||olduname(struct linux_old_utsname \
    131 			    *up); }
    132 60	NOARGS		{ int|sys||umask(int newmask); }
    133 61	NOARGS		{ int|sys||chroot(char *path); }
    134 62	UNIMPL		ustat
    135 63	NOARGS		{ int|sys||dup2(int from, int to); }
    136 64	NOARGS		{ pid_t|sys||getppid(void); }
    137 65	NOARGS		{ int|sys||getpgrp(void); }
    138 66	NOARGS		{ int|sys||setsid(void); }
    139 67	STD		{ int|linux_sys||sigaction(int signum, \
    140 			    const struct linux_old_sigaction *nsa, \
    141 			    struct linux_old_sigaction *osa); }
    142 68	STD		{ int|linux_sys||siggetmask(void); }
    143 69	STD		{ int|linux_sys||sigsetmask(linux_old_sigset_t mask); }
    144 70	NOARGS		{ int|sys||setreuid(uid_t ruid, uid_t euid); }
    145 71	NOARGS		{ int|sys||setregid(gid_t rgid, gid_t egid); }
    146 72	STD		{ int|linux_sys||sigsuspend(void *restart, \
    147 			    int oldmask, int mask); }
    148 73	STD		{ int|linux_sys||sigpending(linux_old_sigset_t *set); }
    149 74	NOARGS		{ int|compat_43_sys||sethostname(char *hostname, \
    150 			    u_int len);}
    151 75	STD		{ int|linux_sys||setrlimit(u_int which, \
    152 			    struct orlimit *rlp); }
    153 76	STD		{ int|linux_sys||getrlimit(u_int which, \
    154 			    struct orlimit *rlp); }
    155 77	NOARGS		{ int|compat_50_sys||getrusage(int who, \
    156 			    struct rusage50 *rusage); }
    157 78	STD		{ int|linux_sys||gettimeofday(struct timeval50 *tp, \
    158 			    struct timezone *tzp); }
    159 79	STD		{ int|linux_sys||settimeofday(struct timeval50 *tp, \
    160 			    struct timezone *tzp); }
    161 80	NOARGS		{ int|sys||getgroups(int gidsetsize, gid_t *gidset); }
    162 81	NOARGS		{ int|sys||setgroups(int gidsetsize, gid_t *gidset); }
    163 82	UNIMPL		old_select
    164 83	NOARGS		{ int|sys||symlink(const char *path, const char *to); }
    165 84	NOARGS		{ int|compat_43_sys||lstat(const char *path, \
    166 			    struct stat43 *up); } oolstat
    167 85	NOARGS		{ int|sys||readlink(const char *name, char *buf, \
    168 			    int count); }
    169 86	UNIMPL		uselib
    170 ;86	STD		{ int|linux_sys||uselib(const char *path); }
    171 87	STD		{ int|linux_sys||swapon(char *name); }
    172 88	STD		{ int|linux_sys||reboot(int magic1, int magic2, \
    173 			    int cmd, void *arg); }
    174 89	STD		{ int|linux_sys||readdir(int fd, void *dent, \
    175 			    unsigned int count); }
    176 90	NOARGS      	{ int|linux_sys||mmap(unsigned long addr, size_t len, \
    177 			    int prot, int flags, int fd, linux_off_t offset); }
    178 91	NOARGS		{ int|sys||munmap(void *addr, size_t len); }
    179 92	NOARGS		{ int|compat_43_sys||truncate(const char *path, \
    180 			    long length); }
    181 93	NOARGS		{ int|compat_43_sys||ftruncate(int fd, long length); }
    182 94	NOARGS		{ int|sys||fchmod(int fd, linux_umode_t mode); }
    183 95 	NOARGS		{ int|sys||__posix_fchown(int fd, int uid, int gid); }
    184 96	STD		{ int|linux_sys||getpriority(int which, int who); }
    185 97	NOARGS		{ int|sys||setpriority(int which, int who, int prio); }
    186 98	UNIMPL
    187 99	STD		{ int|linux_sys||statfs(const char *path, \
    188 			    struct linux_statfs *sp); }
    189 100	STD		{ int|linux_sys||fstatfs(int fd, \
    190 			    struct linux_statfs *sp); }
    191 101	STD		{ int|linux_sys||ioperm(unsigned int lo, \
    192 			    unsigned int hi, int val); }
    193 102	STD		{ int|linux_sys||socketcall(int what, void *args); }
    194 103	UNIMPL		syslog
    195 104	NOARGS		{ int|compat_50_sys||setitimer(int which, \
    196 			    struct itimerval50 *itv, \
    197 			    struct itimerval50 *oitv); }
    198 105	NOARGS		{ int|compat_50_sys||getitimer(int which, \
    199 			    struct itimerval50 *itv); }
    200 106	STD		{ int|linux_sys||stat(const char *path, \
    201 			    struct linux_stat *sp); }
    202 107	STD		{ int|linux_sys||lstat(const char *path, \
    203 			    struct linux_stat *sp); }
    204 108	STD		{ int|linux_sys||fstat(int fd, struct linux_stat *sp); }
    205 109	STD		{ int|linux_sys||uname(struct linux_utsname *up); }
    206 110	UNIMPL		iopl
    207 111	UNIMPL		vhangup
    208 112	UNIMPL		idle
    209 113	UNIMPL		vm86old
    210 114	STD		{ int|linux_sys||wait4(int pid, int *status, \
    211 			    int options, struct rusage50 *rusage); }
    212 115	STD		{ int|linux_sys||swapoff(const char *path); }
    213 116	STD		{ int|linux_sys||sysinfo(struct linux_sysinfo *arg); }
    214 117	STD		{ int|linux_sys||ipc(int what, long a1, long a2, \
    215 			    long a3, void *ptr); }
    216 118	NOARGS		{ int|sys||fsync(int fd); }
    217 119	STD		{ int|linux_sys||sigreturn(struct linux_sigframe *sf); }
    218 120	STD		{ int|linux_sys||clone(int flags, void *stack, \
    219 			    void *parent_tidptr, void *tls, void *child_tidptr); }
    220 121	STD		{ int|linux_sys||setdomainname(char *domainname, \
    221 			    int len); }
    222 122	STD		{ int|linux_sys||new_uname(struct linux_utsname *up); }
    223 123	UNIMPL		modify_ldt
    224 124	UNIMPL		adjtimex
    225 125	STD		{ int|linux_sys||mprotect(const void *start, \
    226 			    unsigned long len, int prot); }
    227 126	STD		{ int|linux_sys||sigprocmask(int how, \
    228 			    const linux_old_sigset_t *set, \
    229 			    linux_old_sigset_t *oset); }
    230 127	UNIMPL		create_module
    231 128	UNIMPL		init_module
    232 129	UNIMPL		delete_module
    233 130	UNIMPL		get_kernel_syms
    234 131	UNIMPL		quotactl
    235 132	NOARGS		{ pid_t|sys||getpgid(pid_t pid); }
    236 133	NOARGS		{ int|sys||fchdir(int fd); }
    237 134	UNIMPL		bdflush
    238 135	UNIMPL		sysfs
    239 136	STD		{ int|linux_sys||personality(unsigned long per); }
    240 137	UNIMPL		afs_syscall
    241 138	STD		{ int|linux_sys||setfsuid(uid_t uid); }
    242 139	STD		{ int|linux_sys||setfsgid(gid_t gid); }
    243 140	STD		{ int|linux_sys||llseek(int fd, u_int32_t ohigh, \
    244 			    u_int32_t olow, void *res, int whence); }
    245 141	STD		{ int|linux_sys||getdents(int fd, \
    246 			    struct linux_dirent *dent, unsigned int count); }
    247 142	STD		{ int|linux_sys||select(int nfds, fd_set *readfds, \
    248 			    fd_set *writefds, fd_set *exceptfds, \
    249 			    struct timeval50 *timeout); }
    250 143	NOARGS		{ int|sys||flock(int fd, int how); }
    251 144	NOARGS		{ int|sys|13|msync(void *addr, size_t len, int flags); }
    252 145	NOARGS		{ ssize_t|sys||readv(int fd, \
    253 			    const struct iovec *iovp, int iovcnt); }
    254 146	NOARGS		{ ssize_t|sys||writev(int fd, \
    255 			    const struct iovec *iovp, int iovcnt); }
    256 147	STD		{ int|linux_sys||cacheflush(void *addr, \
    257 			    int bytes, int cache); }
    258 148	UNIMPL		cachectl
    259 149	STD		{ int|linux_sys||sysmips(long cmd, long arg1, \
    260 			    long arg2, long arg3); }
    261 150	UNIMPL
    262 151	NOARGS		{ pid_t|sys||getsid(pid_t pid); }
    263 152	STD		{ int|linux_sys||fdatasync(int fd); }
    264 153	STD		{ int|linux_sys||__sysctl(struct linux___sysctl *lsp); }
    265 154	NOARGS		{ int|sys||mlock(void *addr, size_t len); }
    266 155	NOARGS		{ int|sys||munlock(void *addr, size_t len); }
    267 156	NOARGS		{ int|sys||mlockall(int flags); }
    268 157	NOARGS		{ int|sys||munlockall(void); }
    269 158	STD		{ int|linux_sys||sched_setparam(pid_t pid, \
    270 			    const struct linux_sched_param *sp); }
    271 159	STD		{ int|linux_sys||sched_getparam(pid_t pid, \
    272 			    struct linux_sched_param *sp); }
    273 160	STD		{ int|linux_sys||sched_setscheduler(pid_t pid, \
    274 			    int policy, const struct linux_sched_param *sp); }
    275 161	STD		{ int|linux_sys||sched_getscheduler(pid_t pid); }
    276 162	STD		{ int|linux_sys||sched_yield(void); }
    277 163	STD		{ int|linux_sys||sched_get_priority_max(int policy); }
    278 164	STD		{ int|linux_sys||sched_get_priority_min(int policy); }
    279 165	UNIMPL		sched_rr_get_interval
    280 166	STD		{ int|linux_sys||nanosleep( \
    281 			    const struct linux_timespec *rqtp, \
    282 			    struct linux_timespec *rmtp); }
    283 167	STD		{ void *|linux_sys||mremap(void *old_address, \
    284 			    size_t old_size, size_t new_size, u_long flags); }
    285 168	NOARGS		{ int|linux_sys||accept(int s, \
    286 			    struct osockaddr *name, int *anamelen); }
    287 169	NOARGS		{ int|linux_sys||bind(int s, \
    288 			    const struct osockaddr *name, int namelen); }
    289 170	NOARGS		{ int|linux_sys||connect(int s, \
    290 			    const struct sockaddr *name, int namelen); }
    291 171	NOARGS		{ int|linux_sys||getpeername(int fdes, void *asa, \
    292 			    int *alen); }
    293 172	NOARGS		{ int|linux_sys||getsockname(int fdes, void *asa, \
    294 			    int *alen); }
    295 173	NOARGS		{ int|linux_sys||getsockopt(int s, int level, \
    296 			    int optname, void *optval, int *optlen); }
    297 174	NOARGS		{ int|sys||listen(int s, int backlog); }
    298 175	NOARGS		{ int|linux_sys||recv(int s, void *buf, int len, \
    299 			    int flags); }
    300 176	NOARGS		{ int|linux_sys||recvfrom(int s, void *buf, int len, \
    301 			    int flags, struct osockaddr *from, \
    302 			    int *fromlenaddr); }
    303 177	NOARGS		{ int|linux_sys||recvmsg(int s, \
    304 			    struct linux_msghdr *msg, u_int flags); }
    305 178	NOARGS		{ int|linux_sys||send(int s, void *buf, int len, \
    306 			    int flags); }
    307 179	NOARGS		{ int|linux_sys||sendmsg(int s, \
    308 			    struct linux_msghdr *msg, u_int flags); }
    309 180	NOARGS		{ int|linux_sys||sendto(int s, void *msg, \
    310 			    int len, int flags, struct osockaddr *to, \
    311 			    int tolen); }
    312 181	NOARGS		{ int|linux_sys||setsockopt(int s, int level, \
    313 			    int optname, void *optval, int optlen); }
    314 182	UNIMPL		shutdown
    315 183	NOARGS		{ int|linux_sys||socket(int domain, int type, \
    316 			    int protocol); }
    317 184	NOARGS		{ int|linux_sys||socketpair(int domain, int type, \
    318 			    int protocol, int *rsv); }
    319 185	STD		{ int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
    320 			    uid_t suid); }
    321 186	STD		{ int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \
    322 			    uid_t *suid); }
    323 187	UNIMPL		query_module
    324 188	NOARGS		{ int|sys||poll(struct pollfd *fds, u_int nfds, \
    325 			    int timeout); }
    326 189	UNIMPL		nfsservctl
    327 190	STD		{ int|linux_sys||setresgid(gid_t rgid, gid_t egid, \
    328 			    gid_t sgid); }
    329 191	STD		{ int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \
    330 			    gid_t *sgid); }
    331 192	UNIMPL		prctl
    332 193	STD		{ int|linux_sys||rt_sigreturn( \
    333 			    struct linux_pt_regs *regs); }
    334 194	STD		{ int|linux_sys||rt_sigaction(int signum, \
    335 			    const struct linux_sigaction *nsa, \
    336 			    struct linux_sigaction *osa, \
    337 			    size_t sigsetsize); }
    338 195	STD		{ int|linux_sys||rt_sigprocmask(int how, \
    339 			    const linux_sigset_t *set, \
    340 			    linux_sigset_t *oset, \
    341 			    size_t sigsetsize); }
    342 196	STD		{ int|linux_sys||rt_sigpending( \
    343 			    linux_sigset_t *set, \
    344 			    size_t sigsetsize); }
    345 197	STD		{ int|linux_sys||rt_sigtimedwait( \
    346 			    const linux_sigset_t *set, \
    347 			    linux_siginfo_t *info, \
    348 			    const struct linux_timespec *timeout); }
    349 198	STD		{ int|linux_sys||rt_queueinfo(int pid, int signum, \
    350 			    linux_siginfo_t *uinfo); }
    351 199	STD		{ int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
    352 			    size_t sigsetsize); }
    353 200	STD		{ int|linux_sys||pread(int fd, char *buf, \
    354 			    size_t nbyte, off_t offset); }
    355 201	STD		{ int|linux_sys||pwrite(int fd, char *buf, \
    356 			    size_t nbyte, off_t offset); }
    357 202	NOARGS		{ int|sys||__posix_chown(const char *path, \
    358 			    int uid, int gid); }
    359 203	NOARGS		{ int|sys||__getcwd(char *bufp, size_t length); }
    360 204	UNIMPL		capget
    361 205	UNIMPL		capset
    362 206	STD		{ int|linux_sys||sigaltstack( \
    363 			    const struct linux_sigaltstack *ss, \
    364 			    struct linux_sigaltstack *oss); }
    365 207	UNIMPL		sendfile
    366 208	UNIMPL
    367 209	UNIMPL
    368 #define linux_sys_mmap2_args linux_sys_mmap_args
    369 210	NOARGS		{ linux_off_t|linux_sys||mmap2(unsigned long addr, \
    370 			    size_t len, int prot, int flags, int fd, \
    371 			    linux_off_t offset); }
    372 211	STD		{ int|linux_sys||truncate64(const char *path, \
    373 			    off_t length); }
    374 212	STD		{ int|linux_sys||ftruncate64(unsigned int fd, \
    375 			    off_t length); }
    376 213	STD		{ int|linux_sys||stat64(const char *path, \
    377 			    struct linux_stat64 *sp); }
    378 214	STD		{ int|linux_sys||lstat64(const char *path, \
    379 			    struct linux_stat64 *sp); }
    380 215	STD		{ int|linux_sys||fstat64(int fd, \
    381 			    struct linux_stat64 *sp); }
    382 216	UNIMPL		pivot_root
    383 217	NOARGS		{ int|sys||mincore(void *addr, size_t len, char *vec); }
    384 218	NOARGS		{ int|sys||madvise(void *addr, size_t len, int behav); }
    385 219	STD		{ int|linux_sys||getdents64(int fd, \
    386 			    struct linux_dirent64 *dent, unsigned int count); }
    387 220	STD		{ int|linux_sys||fcntl64(int fd, \
    388 			    int cmd, void *arg); }
    389 221	UNIMPL		/* reserved */
    390 222	NOARGS		{ pid_t|linux_sys||gettid(void); }
    391 223	UNIMPL		readahead
    392 224	STD		{ int|linux_sys||setxattr(char *path, char *name, \
    393 			    void *value, size_t size, int flags); }
    394 225	STD		{ int|linux_sys||lsetxattr(char *path, char *name, \
    395 			    void *value, size_t size, int flags); }
    396 226	STD		{ int|linux_sys||fsetxattr(int fd, char *name, \
    397 			    void *value, size_t size, int flags); }
    398 227	STD		{ ssize_t|linux_sys||getxattr(char *path, char *name, \
    399 			    void *value, size_t size); }
    400 228	STD		{ ssize_t|linux_sys||lgetxattr(char *path, char *name, \
    401 			    void *value, size_t size); }
    402 229	STD		{ ssize_t|linux_sys||fgetxattr(int fd, char *name, \
    403 			    void *value, size_t size); }
    404 230	STD		{ ssize_t|linux_sys||listxattr(char *path, char *list, \
    405 			    size_t size); }
    406 231	STD		{ ssize_t|linux_sys||llistxattr(char *path, char *list, \
    407 			    size_t size); }
    408 232	STD		{ ssize_t|linux_sys||flistxattr(int fd, char *list, \
    409 			    size_t size); }
    410 233	STD		{ int|linux_sys||removexattr(char *path, char *name); }
    411 234	STD		{ int|linux_sys||lremovexattr(char *path, char *name); }
    412 235	STD		{ int|linux_sys||fremovexattr(int fd, char *name); }
    413 236	STD		{ int|linux_sys||tkill(int tid, int sig); }
    414 237	UNIMPL		sendfile64
    415 238	STD		{ int|linux_sys||futex(int *uaddr, int op, int val, \
    416 			    const struct linux_timespec *timeout, int *uaddr2, \
    417 			    int val3); }
    418 239	STD		{ int|linux_sys||sched_setaffinity(pid_t pid, \
    419 			    unsigned int len, unsigned long *mask); }
    420 240	STD		{ int|linux_sys||sched_getaffinity(pid_t pid, \
    421 			    unsigned int len, unsigned long *mask); }
    422 241	UNIMPL		io_setup
    423 242	UNIMPL		io_destroy
    424 243	UNIMPL		io_getevents
    425 244	UNIMPL		io_submit
    426 245	UNIMPL		io_cancel
    427 246	STD		{ int|linux_sys||exit_group(int error_code); }
    428 247	UNIMPL		lookup_dcookie
    429 248	UNIMPL		epoll_create
    430 249	UNIMPL		epoll_ctl
    431 250	UNIMPL		epoll_wait
    432 251	UNIMPL		remap_file_pages
    433 252	STD		{ int|linux_sys||set_tid_address(int *tid); }
    434 253	UNIMPL		restart_syscall
    435 254	STD		{ int|linux_sys||fadvise64(int fd, off_t offset, \
    436 			    size_t len, int advice); }
    437 255	STD		{ int|linux_sys||statfs64(const char *path, \
    438 			    size_t sz, struct linux_statfs64 *sp); }
    439 256	STD		{ int|linux_sys||fstatfs64(int fd, \
    440 			    size_t sz, struct linux_statfs64 *sp); }
    441 257	UNIMPL		timer_create
    442 258	UNIMPL		timer_settime
    443 259	UNIMPL		timer_gettime
    444 260	UNIMPL		timer_getoverrun
    445 261	UNIMPL		timer_delete
    446 262	STD		{ int|linux_sys||clock_settime(clockid_t which, \
    447 			    struct linux_timespec *tp); }
    448 263	STD		{ int|linux_sys||clock_gettime(clockid_t which, \
    449 			    struct linux_timespec *tp); }
    450 264	STD		{ int|linux_sys||clock_getres(clockid_t which, \
    451 			    struct linux_timespec *tp); }
    452 265	STD		{ int|linux_sys||clock_nanosleep(clockid_t which, \
    453 			    int flags, struct linux_timespec *rqtp, \
    454 			    struct linux_timespec *rmtp); }
    455 266	STD		{ int|linux_sys||tgkill(int tgid, int tid, int sig); }
    456 267	NOARGS		{ int|compat_50_sys||utimes(const char *path, \
    457 			    const struct timeval50 *tptr); }
    458 268	UNIMPL		mbind
    459 269	UNIMPL		get_mempolicy
    460 270	UNIMPL		set_mempolicy
    461 271	UNIMPL		mq_open
    462 272	UNIMPL		mq_unlink
    463 273	UNIMPL		mq_timedsend
    464 274	UNIMPL		mq_timedreceive
    465 275	UNIMPL		mq_notify
    466 276	UNIMPL		mq_getsetattr
    467 277	UNIMPL		vserve
    468 278	UNIMPL		waitid
    469 279	UNIMPL		setaltroot
    470 280	UNIMPL		add_key
    471 281	UNIMPL		request_key
    472 282	UNIMPL		keyctl
    473 283	STD		{ int|linux_sys||set_thread_area(void *tls); }
    474 284	UNIMPL		inotify_init
    475 285	UNIMPL		inotify_add_watch
    476 286	UNIMPL		inotify_rm_watch
    477 287	UNIMPL		migrate_pages
    478 288	STD 		{ int|linux_sys||openat(int fd, const char *path, \
    479 			    int flags, ... linux_umode_t mode); }
    480 289	NOARGS		{ int|sys||mkdirat(int fd, const char *path, \
    481 			    linux_umode_t mode); }
    482 290	STD		{ int|linux_sys||mknodat(int fd, const char *path, \
    483 			    linux_umode_t mode, unsigned dev); }
    484 291	STD		{ int|linux_sys||fchownat(int fd, const char *path, \
    485 			    uid_t owner, gid_t group, int flag); }
    486 292	UNIMPL		futimesat
    487 293	STD		{ int|linux_sys||fstatat64(int fd, const char *path, \
    488 			    struct linux_stat64 *sp, int flag); }
    489 294	STD		{ int|linux_sys||unlinkat(int fd, const char *path, \
    490 			    int flag); }
    491 295	NOARGS		{ int|sys||renameat(int fromfd, const char *from, \
    492 			    int tofd, const char *to); }
    493 296	STD		{ int|linux_sys||linkat(int fd1, const char *name1, \
    494 			    int fd2, const char *name2, int flags); }
    495 297	NOARGS		{ int|sys||symlinkat(const char *path1, int fd, \
    496 			    const char *path2); }
    497 298	NOARGS		{ int|sys||readlinkat(int fd, const char *path, \
    498 			    char *buf, size_t bufsize); }
    499 299	STD		{ int|linux_sys||fchmodat(int fd, const char *path, \
    500 			    linux_umode_t mode); }
    501 300	STD		{ int|linux_sys||faccessat(int fd, const char *path, \
    502 			    int amode); }
    503 301	UNIMPL		pselect6
    504 302	STD		{ int|linux_sys||ppoll(struct pollfd *fds, int nfds, \
    505 			    struct linux_timespec *timeout, \
    506 			    linux_sigset_t *sigset); }
    507 303	UNIMPL		unshare
    508 304	UNIMPL		splice
    509 305	UNIMPL		sync_file_range
    510 306	UNIMPL		tee
    511 307	UNIMPL		vmsplice
    512 308	UNIMPL		move_pages
    513 309	STD		{ int|linux_sys||set_robust_list( \
    514 			    struct linux_robust_list_head *head, size_t len); }
    515 310	STD		{ int|linux_sys||get_robust_list(int pid, \
    516 			    struct linux_robust_list_head **head, \
    517 			    size_t *len); }
    518 311	UNIMPL		kexec_load
    519 312	UNIMPL		getcpu
    520 313	UNIMPL		epoll_pwait
    521 314	UNIMPL		ioprio_set
    522 315	UNIMPL		ioprio_get
    523 316	STD		{ int|linux_sys||utimensat(int fd, const char *path, \
    524 			    struct linux_timespec *times, int flag); }
    525 317	UNIMPL		signalfd
    526 318	UNIMPL		timerfd
    527 319	UNIMPL		eventfd
    528 320	UNIMPL		fallocate
    529 321	UNIMPL		timerfd_create
    530 322	UNIMPL		timerfd_gettime
    531 323	UNIMPL		timerfd_settime
    532 324	UNIMPL		signalfd4
    533 325	UNIMPL		eventfd2
    534 326	UNIMPL		epoll_create1
    535 327	STD		{ int|linux_sys||dup3(int from, int to, int flags); }
    536 328	STD		{ int|linux_sys||pipe2(int *pfds, int flags); }
    537 329	UNIMPL		inotify_init1
    538 330	UNIMPL		preadv
    539 331	UNIMPL		pwritev
    540 332	UNIMPL		rt_tgsigqueueinfo
    541 333	UNIMPL		perf_event_open
    542 334	UNIMPL		accept4
    543 335	UNIMPL		recvmmsg
    544