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