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