Home | History | Annotate | Line # | Download | only in i386
syscalls.master revision 1.108
      1 	$NetBSD: syscalls.master,v 1.108 2012/09/19 21:19:14 pooka 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(int which, \
    200 			    struct itimerval50 *itv, struct itimerval50 *oitv); }
    201 105	NOARGS		{ int|compat_50_sys||getitimer(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	STD		{ int|linux_sys||rt_sigtimedwait( \
    311 			    const linux_sigset_t *set, \
    312 			    linux_siginfo_t *info, \
    313 			    const struct linux_timespec *timeout); }
    314 178	STD		{ int|linux_sys||rt_queueinfo(int pid, int signum, \
    315 			    linux_siginfo_t *uinfo); }
    316 179	STD		{ int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
    317 			    size_t sigsetsize); }
    318 180	STD		{ int|linux_sys||pread(int fd, char *buf, \
    319 			    size_t nbyte, linux_off_t offset); }
    320 181	STD		{ int|linux_sys||pwrite(int fd, char *buf, \
    321 			    size_t nbyte, linux_off_t offset); }
    322 182	STD		{ int|linux_sys||chown16(const char *path, \
    323 			    linux_uid16_t uid, linux_gid16_t gid); }
    324 183	NOARGS		{ int|sys||__getcwd(char *bufp, size_t length); }
    325 184	UNIMPL		capget
    326 185	UNIMPL		capset
    327 186	STD		{ int|linux_sys||sigaltstack( \
    328 			    const struct linux_sigaltstack *ss, \
    329 			    struct linux_sigaltstack *oss); }
    330 187	UNIMPL		sendfile
    331 188	UNIMPL		getpmsg
    332 189	UNIMPL		putpmsg
    333 190	NOARGS		{ int|sys|14|vfork(void); }
    334 191	STD		{ int|linux_sys||ugetrlimit(int which, \
    335 			    struct orlimit *rlp); }
    336 #define linux_sys_mmap2_args linux_sys_mmap_args
    337 192	NOARGS		{ linux_off_t|linux_sys||mmap2(unsigned long addr, \
    338 			    size_t len, int prot, int flags, int fd, \
    339 			    linux_off_t offset); }
    340 193	STD		{ int|linux_sys||truncate64(const char *path, \
    341 			    off_t length); }
    342 194	STD		{ int|linux_sys||ftruncate64(unsigned int fd, \
    343 			    off_t length); }
    344 195	STD		{ int|linux_sys||stat64(const char *path, \
    345 			    struct linux_stat64 *sp); }
    346 196	STD		{ int|linux_sys||lstat64(const char *path, \
    347 			    struct linux_stat64 *sp); }
    348 197	STD		{ int|linux_sys||fstat64(int fd, \
    349 			    struct linux_stat64 *sp); }
    350 198	NOARGS		{ int|sys||__posix_lchown(const char *path, uid_t uid, \
    351 			    gid_t gid); }
    352 199	NOARGS		{ uid_t|sys||getuid(void); }
    353 200	NOARGS		{ gid_t|sys||getgid(void); }
    354 201	NOARGS		{ uid_t|sys||geteuid(void); }
    355 202	NOARGS		{ gid_t|sys||getegid(void); }
    356 203	NOARGS		{ int|sys||setreuid(uid_t ruid, uid_t euid); }
    357 204	NOARGS		{ int|sys||setregid(gid_t rgid, gid_t egid); }
    358 205	NOARGS		{ int|sys||getgroups(u_int gidsetsize, gid_t *gidset); }
    359 206	NOARGS		{ int|sys||setgroups(u_int gidsetsize, gid_t *gidset); }
    360 207	NOARGS		{ int|sys||__posix_fchown(int fd, uid_t uid, \
    361 			    gid_t gid); }
    362 208	STD		{ int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
    363 			    uid_t suid); }
    364 209	STD		{ int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \
    365 			    uid_t *suid); }
    366 210	STD		{ int|linux_sys||setresgid(gid_t rgid, gid_t egid, \
    367 			    gid_t sgid); }
    368 211	STD		{ int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \
    369 			    gid_t *sgid); }
    370 212	NOARGS		{ int|sys||__posix_chown(const char *path, uid_t uid, \
    371 				gid_t gid); }
    372 213	NOARGS		{ int|sys||setuid(uid_t uid); }
    373 214	NOARGS		{ int|sys||setgid(gid_t gid); }
    374 215	STD		{ int|linux_sys||setfsuid(uid_t uid); }
    375 216	STD		{ int|linux_sys||setfsgid(gid_t gid); }
    376 217	UNIMPL		pivot_root
    377 218	NOARGS		{ int|sys||mincore(void *addr, size_t len, char *vec); }
    378 219	NOARGS		{ int|sys||madvise(void *addr, size_t len, int behav); }
    379 220	STD		{ int|linux_sys||getdents64(int fd, \
    380 			    struct linux_dirent64 *dent, unsigned int count); }
    381 221	STD		{ int|linux_sys||fcntl64(int fd, int cmd, void *arg); }
    382 222	UNIMPL		/* unused */
    383 223	UNIMPL		/* unused */
    384 224	NOARGS		{ pid_t|linux_sys||gettid(void); }
    385 225	UNIMPL		readahead
    386 226	STD		{ int|linux_sys||setxattr(char *path, char *name, \
    387 			    void *value, size_t size, int flags); }
    388 227	STD		{ int|linux_sys||lsetxattr(char *path, char *name, \
    389 			    void *value, size_t size, int flags); }
    390 228	STD		{ int|linux_sys||fsetxattr(int fd, char *name, \
    391 			    void *value, size_t size, int flags); }
    392 229	STD		{ ssize_t|linux_sys||getxattr(char *path, char *name, \
    393 			    void *value, size_t size); }
    394 230	STD		{ ssize_t|linux_sys||lgetxattr(char *path, char *name, \
    395 			    void *value, size_t size); }
    396 231	STD		{ ssize_t|linux_sys||fgetxattr(int fd, char *name, \
    397 			    void *value, size_t size); }
    398 232	STD		{ ssize_t|linux_sys||listxattr(char *path, char *list, \
    399 			    size_t size); }
    400 233	STD		{ ssize_t|linux_sys||llistxattr(char *path, char *list, \
    401 			    size_t size); }
    402 234	STD		{ ssize_t|linux_sys||flistxattr(int fd, char *list, \
    403 			    size_t size); }
    404 235	STD		{ int|linux_sys||removexattr(char *path, char *name); }
    405 236	STD		{ int|linux_sys||lremovexattr(char *path, char *name); }
    406 237	STD		{ int|linux_sys||fremovexattr(int fd, char *name); }
    407 238	STD		{ int|linux_sys||tkill(int tid, int sig); }
    408 239	UNIMPL		sendfile64
    409 240	STD		{ int|linux_sys||futex(int *uaddr, int op, int val, \
    410 			    const struct linux_timespec *timeout, int *uaddr2, \
    411 			    int val3); }
    412 241	STD		{ int|linux_sys||sched_setaffinity(pid_t pid, \
    413 			    unsigned int len, unsigned long *mask); }
    414 242	STD		{ int|linux_sys||sched_getaffinity(pid_t pid, \
    415 			    unsigned int len, unsigned long *mask); }
    416 243	STD		{ int|linux_sys||set_thread_area( \
    417 			    struct linux_user_desc *desc); }
    418 244	STD		{ int|linux_sys||get_thread_area( \
    419 			    struct linux_user_desc *desc); }
    420 245	UNIMPL		io_setup
    421 246	UNIMPL		io_destroy
    422 247	UNIMPL		io_getevents
    423 248	UNIMPL		io_submit
    424 249	UNIMPL		io_cancel
    425 250	STD		{ int|linux_sys||fadvise64(int fd, \
    426 			    linux_off_t offset, size_t len, int advice); }
    427 251	UNIMPL		/* unused */
    428 252	STD		{ int|linux_sys||exit_group(int error_code); }
    429 253	UNIMPL		lookup_dcookie
    430 254	UNIMPL		epoll_create
    431 255	UNIMPL		epoll_ctl
    432 256	UNIMPL		epoll_wait
    433 257	UNIMPL		remap_file_pages
    434 258	STD		{ int|linux_sys||set_tid_address(int *tid); }
    435 259	UNIMPL		timer_create
    436 260	UNIMPL		timer_settime
    437 261	UNIMPL		timer_gettime
    438 262	UNIMPL		timer_getoverrun
    439 263	UNIMPL		timer_delete
    440 264	STD		{ int|linux_sys||clock_settime(clockid_t which, \
    441 			    struct linux_timespec *tp); }
    442 265	STD		{ int|linux_sys||clock_gettime(clockid_t which, \
    443 			    struct linux_timespec *tp); }
    444 266	STD		{ int|linux_sys||clock_getres(clockid_t which, \
    445 			    struct linux_timespec *tp); }
    446 267	STD		{ int|linux_sys||clock_nanosleep(clockid_t which, \
    447 			    int flags, struct linux_timespec *rqtp, \
    448 			    struct linux_timespec *rmtp); }
    449 268	STD		{ int|linux_sys||statfs64(const char *path, \
    450 			    size_t sz, struct linux_statfs64 *sp); }
    451 269	STD		{ int|linux_sys||fstatfs64(int fd, \
    452 			    size_t sz, struct linux_statfs64 *sp); }
    453 270	STD		{ int|linux_sys||tgkill(int tgid, int tid, int sig); }
    454 271	UNIMPL		utimes
    455 272	STD		{ int|linux_sys||fadvise64_64(int fd, \
    456 			    linux_off_t offset, linux_off_t len, int advice); }
    457 273	UNIMPL		vserver
    458 274	UNIMPL		mbind
    459 275	UNIMPL		get_mempolicy
    460 276	UNIMPL		set_mempolicy
    461 277	UNIMPL		mq_open
    462 278	UNIMPL		mq_unlink
    463 279	UNIMPL		mq_timedsend
    464 280	UNIMPL		mq_timedreceive
    465 281	UNIMPL		mq_notify
    466 282	UNIMPL		mq_getsetattr
    467 283	UNIMPL		sys_kexec_load
    468 284	UNIMPL		waitid
    469 285	UNIMPL		/* unused */
    470 286	UNIMPL		add_key
    471 287	UNIMPL		request_key
    472 288	UNIMPL		keyctl
    473 289	UNIMPL		ioprio_set
    474 290	UNIMPL		ioprio_get
    475 291	UNIMPL		inotify_init
    476 292	UNIMPL		inotify_add_watch
    477 293	UNIMPL		inotify_rm_watch
    478 294	UNIMPL		migrate_pages
    479 295	UNIMPL		openat
    480 296	UNIMPL		mkdirat
    481 297	UNIMPL		mknodat
    482 298	UNIMPL		fchownat
    483 299	UNIMPL		futimesat
    484 300	UNIMPL		fstatat64
    485 301	UNIMPL		unlinkat
    486 302	UNIMPL		renameat
    487 303	UNIMPL		linkat
    488 304	UNIMPL		symlinkat
    489 305	UNIMPL		readlinkat
    490 306	UNIMPL		fchmodat
    491 307	UNIMPL		faccessat
    492 308	UNIMPL		pselect6
    493 309	STD		{ int|linux_sys||ppoll(struct pollfd *fds, int nfds, \
    494 			    struct linux_timespec *timeout, \
    495 			    linux_sigset_t *sigset); }
    496 310	UNIMPL		unshare
    497 311	STD		{ int|linux_sys||set_robust_list( \
    498 			    struct linux_robust_list_head *head, size_t len); }
    499 312	STD		{ int|linux_sys||get_robust_list(int pid, \
    500 			    struct linux_robust_list_head **head, \
    501 			    size_t *len); }
    502 313	UNIMPL		splice
    503 314	UNIMPL		sync_file_range
    504 315	UNIMPL		tee
    505 316	UNIMPL		vmsplice
    506 317	UNIMPL		move_pages
    507 318	UNIMPL		getcpu
    508 319	UNIMPL		epoll_wait
    509 320	UNIMPL		utimensat
    510 321	UNIMPL		signalfd
    511 322	UNIMPL		timerfd_create
    512 323	UNIMPL		eventfd
    513 324	UNIMPL		fallocate
    514 325	UNIMPL		timerfd_settime
    515 326	UNIMPL		timerfd_gettime
    516 327	UNIMPL		signalfd4
    517 328	UNIMPL		eventfd2
    518 329	UNIMPL		epoll_create1
    519 330     STD             { int|linux_sys||dup3(u_int from, u_int to, \
    520                             int flags); }
    521 331     STD             { int|linux_sys||pipe2( int *pfds, int flags); }
    522 332	UNIMPL		inotify_init1
    523 333	UNIMPL		preadv
    524 334	UNIMPL		pwritev
    525 335	UNIMPL		rt_tgsigqueueinfo
    526 336	UNIMPL		perf_counter_open
    527 337	UNIMPL		recvmmsg
    528