syscalls.master revision 1.41 1 1.41 pooka $NetBSD: syscalls.master,v 1.41 2012/09/19 21:19:14 pooka Exp $
2 1.1 manu
3 1.1 manu ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
4 1.1 manu
5 1.1 manu ; NetBSD amd64 COMPAT_LINUX system call name/number "master" file.
6 1.1 manu ; (See syscalls.conf to see what it is processed into.)
7 1.1 manu ;
8 1.1 manu ; Fields: number type [type-dependent ...]
9 1.1 manu ; number system call number, must be in order
10 1.1 manu ; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
11 1.1 manu ; the compatibility options defined in syscalls.conf.
12 1.1 manu ;
13 1.1 manu ; types:
14 1.1 manu ; STD always included
15 1.1 manu ; OBSOL obsolete, not included in system
16 1.1 manu ; UNIMPL unimplemented, not included in system
17 1.1 manu ; NODEF included, but don't define the syscall number
18 1.1 manu ; NOARGS included, but don't define the syscall args structure
19 1.1 manu ; INDIR included, but don't define the syscall args structure
20 1.1 manu ; and allow it to be "really" varargs.
21 1.1 manu ;
22 1.1 manu ; The compat options are defined in the syscalls.conf file, and the
23 1.1 manu ; compat option name is prefixed to the syscall name. Other than
24 1.1 manu ; that, they're like NODEF (for 'compat' options), or STD (for
25 1.1 manu ; 'libcompat' options).
26 1.1 manu ;
27 1.1 manu ; The type-dependent arguments are as follows:
28 1.1 manu ; For STD, NODEF, NOARGS, and compat syscalls:
29 1.1 manu ; { pseudo-proto } [alias]
30 1.1 manu ; For other syscalls:
31 1.1 manu ; [comment]
32 1.1 manu ;
33 1.1 manu ; #ifdef's, etc. may be included, and are copied to the output files.
34 1.1 manu ; #include's are copied to the syscall names and switch definition files only.
35 1.1 manu
36 1.1 manu #if defined(_KERNEL_OPT)
37 1.10 manu #include "opt_sysv.h"
38 1.1 manu #include "opt_compat_43.h"
39 1.27 christos #include "opt_compat_netbsd.h"
40 1.1 manu #endif
41 1.1 manu
42 1.27 christos
43 1.1 manu #include <sys/param.h>
44 1.1 manu #include <sys/poll.h>
45 1.1 manu #include <sys/systm.h>
46 1.1 manu #include <sys/signal.h>
47 1.1 manu #include <sys/mount.h>
48 1.1 manu #include <sys/syscallargs.h>
49 1.27 christos #include <sys/time.h>
50 1.27 christos
51 1.27 christos #include <compat/sys/time.h>
52 1.1 manu
53 1.1 manu #include <compat/linux/common/linux_types.h>
54 1.1 manu #include <compat/linux/common/linux_mmap.h>
55 1.10 manu #include <compat/linux/common/linux_ipc.h>
56 1.20 dsl #include <compat/linux/common/linux_msg.h>
57 1.10 manu #include <compat/linux/common/linux_sem.h>
58 1.20 dsl #include <compat/linux/common/linux_shm.h>
59 1.1 manu #include <compat/linux/common/linux_signal.h>
60 1.1 manu #include <compat/linux/common/linux_siginfo.h>
61 1.1 manu #include <compat/linux/common/linux_machdep.h>
62 1.1 manu
63 1.1 manu #include <compat/linux/linux_syscallargs.h>
64 1.1 manu
65 1.1 manu %%
66 1.1 manu
67 1.28 pooka 0 NOARGS { int|sys||read(int fd, char *buf, u_int nbyte); }
68 1.28 pooka 1 NOARGS { int|sys||write(int fd, char *buf, u_int nbyte); }
69 1.28 pooka 2 STD { int|linux_sys||open(const char *path, int flags, \
70 1.1 manu int mode); }
71 1.28 pooka 3 NOARGS { int|sys||close(int fd); }
72 1.28 pooka 4 STD { int|linux_sys||stat64(const char *path, \
73 1.33 njoly struct linux_stat64 *sp); }
74 1.28 pooka 5 STD { int|linux_sys||fstat64(int fd, \
75 1.33 njoly struct linux_stat64 *sp); }
76 1.28 pooka 6 STD { int|linux_sys||lstat64(const char *path, \
77 1.33 njoly struct linux_stat64 *sp); }
78 1.28 pooka 7 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \
79 1.1 manu int timeout); }
80 1.28 pooka 8 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \
81 1.1 manu int whence); }
82 1.28 pooka 9 NOARGS { linux_off_t|linux_sys||mmap(unsigned long addr, \
83 1.1 manu size_t len, int prot, int flags, int fd, \
84 1.1 manu linux_off_t offset); }
85 1.28 pooka 10 STD { int|linux_sys||mprotect(const void *start, \
86 1.1 manu unsigned long len, int prot); }
87 1.28 pooka 11 NOARGS { int|sys||munmap(void *addr, int len); }
88 1.28 pooka 12 STD { int|linux_sys||brk(char *nsize); }
89 1.28 pooka 13 STD { int|linux_sys||rt_sigaction(int signum, \
90 1.1 manu const struct linux_sigaction *nsa, \
91 1.1 manu struct linux_sigaction *osa, \
92 1.1 manu size_t sigsetsize); }
93 1.28 pooka 14 STD { int|linux_sys||rt_sigprocmask(int how, \
94 1.1 manu const linux_sigset_t *set, \
95 1.1 manu linux_sigset_t *oset, \
96 1.1 manu size_t sigsetsize); }
97 1.28 pooka 15 NOARGS { int|linux_sys||rt_sigreturn(void); }
98 1.28 pooka 16 STD { int|linux_sys||ioctl(int fd, u_long com, \
99 1.17 christos void *data); }
100 1.28 pooka 17 STD { int|linux_sys||pread(int fd, char *buf, \
101 1.1 manu size_t nbyte, linux_off_t offset); }
102 1.28 pooka 18 STD { int|linux_sys||pwrite(int fd, char *buf, \
103 1.1 manu size_t nbyte, linux_off_t offset); }
104 1.28 pooka 19 NOARGS { int|sys||readv(int fd, struct iovec *iovp, \
105 1.1 manu u_int iovcnt); }
106 1.28 pooka 20 NOARGS { int|sys||writev(int fd, struct iovec *iovp, \
107 1.1 manu u_int iovcnt); }
108 1.28 pooka 21 NOARGS { int|sys||access(const char *path, int flags); }
109 1.28 pooka 22 STD { int|linux_sys||pipe(int *pfds); }
110 1.28 pooka 23 STD { int|linux_sys||select(int nfds, fd_set *readfds, \
111 1.1 manu fd_set *writefds, fd_set *exceptfds, \
112 1.29 njoly struct timeval50 *timeout); }
113 1.28 pooka 24 STD { int|linux_sys||sched_yield(void); }
114 1.28 pooka 25 STD { void *|linux_sys||mremap(void *old_address, \
115 1.1 manu size_t old_size, size_t new_size, u_long flags); }
116 1.28 pooka 26 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); }
117 1.28 pooka 27 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); }
118 1.28 pooka 28 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); }
119 1.10 manu #ifdef SYSVSHM
120 1.28 pooka 29 NOARGS { int|linux_sys||shmget(key_t key, size_t size, \
121 1.13 manu int shmflg); }
122 1.28 pooka 30 NOARGS { int|sys||shmat(int shmid, void *shmaddr, int shmflg); }
123 1.28 pooka 31 NOARGS { int|linux_sys||shmctl(int shmid, int cmd, \
124 1.10 manu struct linux_shmid_ds *buf); }
125 1.10 manu #else
126 1.1 manu 29 UNIMPL shmget
127 1.1 manu 30 UNIMPL shmat
128 1.1 manu 31 UNIMPL shmctl
129 1.10 manu #endif
130 1.28 pooka 32 NOARGS { int|sys||dup(u_int fd); }
131 1.28 pooka 33 NOARGS { int|sys||dup2(u_int from, u_int to); }
132 1.28 pooka 34 STD { int|linux_sys||pause(void); }
133 1.28 pooka 35 STD { int|linux_sys||nanosleep( \
134 1.25 njoly const struct linux_timespec *rqtp, \
135 1.25 njoly struct linux_timespec *rmtp); }
136 1.38 christos 36 NOARGS { int|compat_50_sys||getitimer(int which, \
137 1.27 christos struct itimerval50 *itv); }
138 1.28 pooka 37 STD { int|linux_sys||alarm(unsigned int secs); }
139 1.38 christos 38 NOARGS { int|compat_50_sys||setitimer(int which, \
140 1.27 christos struct itimerval50 *itv, \
141 1.27 christos struct itimerval50 *oitv); }
142 1.35 chs 39 STD { pid_t|sys||getpid(void); }
143 1.1 manu 40 UNIMPL sendfile
144 1.28 pooka 41 STD { int|linux_sys||socket(int domain, \
145 1.1 manu int type, int protocol); }
146 1.28 pooka 42 STD { int|linux_sys||connect(int s, \
147 1.1 manu const struct osockaddr *name, \
148 1.1 manu unsigned int namelen); }
149 1.28 pooka 43 STD { int|linux_sys||accept(int s, struct osockaddr *name, \
150 1.1 manu int *anamelen); } oaccept
151 1.28 pooka 44 STD { ssize_t|linux_sys||sendto(int s, void *msg, int len, \
152 1.1 manu int flags, struct osockaddr *to, int tolen); }
153 1.28 pooka 45 STD { ssize_t|linux_sys||recvfrom(int s, void *buf, \
154 1.1 manu size_t len, int flags, struct osockaddr *from, \
155 1.1 manu unsigned int *fromlenaddr); }
156 1.28 pooka 46 STD { int|linux_sys||sendmsg(int s, \
157 1.32 njoly const struct linux_msghdr *msg, int flags); }
158 1.28 pooka 47 STD { ssize_t|linux_sys||recvmsg(int s, \
159 1.32 njoly struct linux_msghdr *msg, int flags); }
160 1.28 pooka 48 NOARGS { int|sys||shutdown(int s, int how); }
161 1.28 pooka 49 STD { int|linux_sys||bind(int s, \
162 1.1 manu const struct osockaddr *name, \
163 1.1 manu unsigned int namelen); }
164 1.28 pooka 50 NOARGS { int|sys||listen(int s, int backlog); }
165 1.28 pooka 51 STD { int|linux_sys||getsockname(int fdec, void *asa, \
166 1.1 manu int *alen); }
167 1.28 pooka 52 STD { int|linux_sys||getpeername(int fdes, \
168 1.1 manu struct sockaddr *asa, unsigned int *alen); }
169 1.28 pooka 53 STD { int|linux_sys||socketpair(int domain, int type, \
170 1.1 manu int protocol, int *rsv); }
171 1.28 pooka 54 STD { int|linux_sys||setsockopt(int s, int level, \
172 1.1 manu int optname, void *optval, int optlen); }
173 1.28 pooka 55 STD { int|linux_sys||getsockopt(int s, int level, \
174 1.1 manu int optname, void *optval, int *optlen); }
175 1.28 pooka 56 STD { int|linux_sys||clone(int flags, void *stack, \
176 1.35 chs void *parent_tidptr, void *child_tidptr, void *tls); }
177 1.39 christos 57 NOARGS { int|sys||fork(void); }
178 1.28 pooka 58 NOARGS { int|sys|14|vfork(void); }
179 1.28 pooka 59 NOARGS { int|sys||execve(const char *path, char **argp, \
180 1.1 manu char **envp); }
181 1.35 chs 60 STD { int|linux_sys||exit(int rval); }
182 1.28 pooka 61 STD { int|linux_sys||wait4(int pid, int *status, \
183 1.30 njoly int options, struct rusage50 *rusage); }
184 1.28 pooka 62 STD { int|linux_sys||kill(int pid, int signum); }
185 1.28 pooka 63 STD { int|linux_sys||uname(struct linux_utsname *up); }
186 1.10 manu #ifdef SYSVSEM
187 1.28 pooka 64 NOARGS { int|sys||semget(key_t key, int nsems, int semflg); }
188 1.28 pooka 65 NOARGS { int|sys||semop(int semid, struct sembuf *sops, \
189 1.10 manu size_t nsops); }
190 1.28 pooka 66 STD { int|linux_sys||semctl(int semid, int semnum, \
191 1.10 manu int cmd, union linux_semun arg); }
192 1.10 manu #else
193 1.1 manu 64 UNIMPL semget
194 1.1 manu 65 UNIMPL semop
195 1.1 manu 66 UNIMPL semctl
196 1.10 manu #endif
197 1.10 manu #ifdef SYSVSHM
198 1.28 pooka 67 NOARGS { int|sys||shmdt(const void *shmaddr); }
199 1.10 manu #else
200 1.1 manu 67 UNIMPL shmdt
201 1.10 manu #endif
202 1.10 manu #ifdef SYSVMSG
203 1.28 pooka 68 NOARGS { int|sys||msgget(key_t key, int msgflg); }
204 1.28 pooka 69 NOARGS { int|sys||msgsnd(int msqid, void *msgp, size_t msgsz, \
205 1.10 manu int msgflg); }
206 1.28 pooka 70 NOARGS { ssize_t|sys||msgrcv(int msqid, void *msgp, \
207 1.10 manu size_t msgsz, long msgtyp, int msgflg); }
208 1.28 pooka 71 NOARGS { int|linux_sys||msgctl(int msqid, int cmd, \
209 1.10 manu struct linux_msqid_ds *buf); }
210 1.10 manu #else
211 1.1 manu 68 UNIMPL msgget
212 1.1 manu 69 UNIMPL msgsnd
213 1.1 manu 70 UNIMPL msgrcv
214 1.1 manu 71 UNIMPL msgctl
215 1.10 manu #endif
216 1.28 pooka 72 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); }
217 1.28 pooka 73 NOARGS { int|sys||flock(int fd, int how); }
218 1.28 pooka 74 NOARGS { int|sys||fsync(int fd); }
219 1.28 pooka 75 STD { int|linux_sys||fdatasync(int fd); }
220 1.28 pooka 76 STD { int|linux_sys||truncate64(const char *path, \
221 1.1 manu off_t length); }
222 1.28 pooka 77 STD { int|linux_sys||ftruncate64(unsigned int fd, \
223 1.1 manu off_t length); }
224 1.28 pooka 78 STD { int|linux_sys||getdents(int fd, \
225 1.1 manu struct linux_dirent *dent, unsigned int count); }
226 1.28 pooka 79 NOARGS { int|sys||__getcwd(char *bufp, size_t length); }
227 1.28 pooka 80 NOARGS { int|sys||chdir(const char *path); }
228 1.28 pooka 81 NOARGS { int|sys||fchdir(int fd); }
229 1.28 pooka 82 NOARGS { int|sys||__posix_rename(const char *from, \
230 1.1 manu const char *to); }
231 1.28 pooka 83 NOARGS { int|sys||mkdir(const char *path, int mode); }
232 1.28 pooka 84 NOARGS { int|sys||rmdir(const char *path); }
233 1.28 pooka 85 STD { int|linux_sys||creat(const char *path, int mode); }
234 1.28 pooka 86 NOARGS { int|sys||link(const char *path, const char *link); }
235 1.28 pooka 87 STD { int|linux_sys||unlink(const char *path); }
236 1.28 pooka 88 NOARGS { int|sys||symlink(const char *path, const char *to); }
237 1.28 pooka 89 NOARGS { int|sys||readlink(const char *name, char *buf, \
238 1.1 manu int count); }
239 1.28 pooka 90 NOARGS { int|sys||chmod(const char *path, int mode); }
240 1.28 pooka 91 NOARGS { int|sys||fchmod(int fd, int mode); }
241 1.28 pooka 92 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \
242 1.1 manu gid_t gid); }
243 1.28 pooka 93 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \
244 1.1 manu gid_t gid); }
245 1.28 pooka 94 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \
246 1.1 manu gid_t gid); }
247 1.28 pooka 95 NOARGS { int|sys||umask(int newmask); }
248 1.29 njoly 96 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \
249 1.1 manu struct timezone *tzp); }
250 1.28 pooka 97 STD { int|linux_sys||getrlimit(int which, \
251 1.9 manu struct rlimit *rlp); }
252 1.29 njoly 98 NOARGS { int|compat_50_sys||getrusage(int who, \
253 1.29 njoly struct rusage50 *rusage); }
254 1.28 pooka 99 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); }
255 1.28 pooka 100 STD { int|linux_sys||times(struct times *tms); }
256 1.28 pooka 101 STD { int|linux_sys||ptrace(long request, long pid, \
257 1.1 manu long addr, long data); }
258 1.28 pooka 102 NOARGS { uid_t|sys||getuid(void); }
259 1.1 manu 103 UNIMPL syslog
260 1.28 pooka 104 NOARGS { gid_t|sys||getgid(void); }
261 1.28 pooka 105 NOARGS { void|sys||setuid(uid_t uid); }
262 1.28 pooka 106 NOARGS { void|sys||setgid(gid_t gid); }
263 1.28 pooka 107 NOARGS { uid_t|sys||geteuid(void); }
264 1.28 pooka 108 NOARGS { gid_t|sys||getegid(void); }
265 1.28 pooka 109 NOARGS { int|sys||setpgid(int pid, int pgid); }
266 1.35 chs 110 STD { pid_t|sys||getppid(void); }
267 1.28 pooka 111 NOARGS { int|sys||getpgrp(void); }
268 1.28 pooka 112 NOARGS { int|sys||setsid(void); }
269 1.28 pooka 113 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); }
270 1.28 pooka 114 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); }
271 1.28 pooka 115 NOARGS { int|sys||getgroups(u_int gidsetsize, gid_t *gidset); }
272 1.28 pooka 116 NOARGS { int|sys||setgroups(u_int gidsetsize, gid_t *gidset); }
273 1.28 pooka 117 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
274 1.1 manu uid_t suid); }
275 1.28 pooka 118 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \
276 1.1 manu uid_t *suid); }
277 1.28 pooka 119 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \
278 1.1 manu gid_t sgid); }
279 1.28 pooka 120 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \
280 1.1 manu gid_t *sgid); }
281 1.28 pooka 121 NOARGS { pid_t|sys||getpgid(pid_t pid); }
282 1.28 pooka 122 STD { int|linux_sys||setfsuid(uid_t uid); }
283 1.28 pooka 123 STD { int|linux_sys||setfsgid(gid_t gid); }
284 1.28 pooka 124 NOARGS { pid_t|sys||getsid(pid_t pid); }
285 1.1 manu 125 UNIMPL capget
286 1.1 manu 126 UNIMPL capset
287 1.28 pooka 127 STD { int|linux_sys||rt_sigpending( \
288 1.1 manu linux_sigset_t *set, \
289 1.1 manu size_t sigsetsize); }
290 1.40 christos 128 STD { int|linux_sys||rt_sigtimedwait( \
291 1.40 christos const linux_sigset_t *set, \
292 1.40 christos linux_siginfo_t *info, \
293 1.40 christos const struct linux_timespec *timeout); }
294 1.28 pooka 129 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \
295 1.31 njoly linux_siginfo_t *uinfo); }
296 1.28 pooka 130 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
297 1.1 manu size_t sigsetsize); }
298 1.28 pooka 131 STD { int|linux_sys||sigaltstack( \
299 1.1 manu const struct linux_sigaltstack *ss, \
300 1.1 manu struct linux_sigaltstack *oss); }
301 1.28 pooka 132 STD { int|linux_sys||utime(const char *path, \
302 1.1 manu struct linux_utimbuf *times); }
303 1.28 pooka 133 STD { int|linux_sys||mknod(const char *path, int mode, \
304 1.1 manu int dev); }
305 1.6 joerg #ifdef EXEC_AOUT
306 1.28 pooka 134 STD { int|linux_sys||uselib(const char *path); }
307 1.6 joerg #else
308 1.6 joerg 134 UNIMPL sys_uselib
309 1.6 joerg #endif
310 1.34 njoly 135 STD { int|linux_sys||personality(unsigned long per); }
311 1.1 manu 136 UNIMPL ustat
312 1.28 pooka 137 STD { int|linux_sys||statfs(const char *path, \
313 1.18 njoly struct linux_statfs *sp); }
314 1.28 pooka 138 STD { int|linux_sys||fstatfs(int fd, \
315 1.18 njoly struct linux_statfs *sp); }
316 1.1 manu 139 UNIMPL sysfs
317 1.28 pooka 140 STD { int|linux_sys||getpriority(int which, int who); }
318 1.28 pooka 141 NOARGS { int|sys||setpriority(int which, int who, int prio); }
319 1.28 pooka 142 STD { int|linux_sys||sched_setparam(pid_t pid, \
320 1.1 manu const struct linux_sched_param *sp); }
321 1.28 pooka 143 STD { int|linux_sys||sched_getparam(pid_t pid, \
322 1.1 manu struct linux_sched_param *sp); }
323 1.28 pooka 144 STD { int|linux_sys||sched_setscheduler(pid_t pid, \
324 1.1 manu int policy, const struct linux_sched_param *sp); }
325 1.28 pooka 145 STD { int|linux_sys||sched_getscheduler(pid_t pid); }
326 1.28 pooka 146 STD { int|linux_sys||sched_get_priority_max(int policy); }
327 1.28 pooka 147 STD { int|linux_sys||sched_get_priority_min(int policy); }
328 1.1 manu 148 UNIMPL sys_sched_rr_get_interval
329 1.28 pooka 149 NOARGS { int|sys||mlock(void *addr, size_t len); }
330 1.28 pooka 150 NOARGS { int|sys||munlock(void *addr, size_t len); }
331 1.28 pooka 151 NOARGS { int|sys||mlockall(int flags); }
332 1.28 pooka 152 NOARGS { int|sys||munlockall(void); }
333 1.1 manu 153 UNIMPL vhangup
334 1.28 pooka 154 STD { int|linux_sys||modify_ldt(int func, void *ptr, \
335 1.1 manu size_t bytecount); }
336 1.1 manu 155 UNIMPL pivot_root
337 1.28 pooka 156 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); }
338 1.1 manu 157 UNIMPL prctl
339 1.28 pooka 158 STD { int|linux_sys||arch_prctl(int code, \
340 1.1 manu unsigned long addr); }
341 1.1 manu 159 UNIMPL adjtimex
342 1.28 pooka 160 STD { int|linux_sys||setrlimit(u_int which, \
343 1.9 manu struct rlimit *rlp); }
344 1.28 pooka 161 NOARGS { int|sys||chroot(char *path); }
345 1.28 pooka 162 NOARGS { int|sys||sync(void); }
346 1.28 pooka 163 NOARGS { int|sys||acct(char *path); }
347 1.29 njoly 164 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \
348 1.1 manu struct timezone *tzp); }
349 1.1 manu 165 UNIMPL mount
350 1.1 manu 166 UNIMPL umount2
351 1.28 pooka 167 STD { int|linux_sys||swapon(char *name); }
352 1.28 pooka 168 STD { int|linux_sys||swapoff(const char *path); }
353 1.28 pooka 169 STD { int|linux_sys||reboot(int magic1, int magic2, \
354 1.1 manu int cmd, void *arg); }
355 1.28 pooka 170 NOARGS { int|compat_43_sys||sethostname(char *hostname, \
356 1.1 manu u_int len);}
357 1.28 pooka 171 STD { int|linux_sys||setdomainname(char *domainname, \
358 1.1 manu int len); }
359 1.28 pooka 172 STD { int|linux_sys||iopl(int level); }
360 1.28 pooka 173 STD { int|linux_sys||ioperm(unsigned int lo, \
361 1.1 manu unsigned int hi, int val); }
362 1.1 manu 174 UNIMPL create_module
363 1.1 manu 175 UNIMPL init_module
364 1.1 manu 176 UNIMPL delete_module
365 1.1 manu 177 UNIMPL get_kernel_syms
366 1.1 manu 178 UNIMPL query_module
367 1.1 manu 179 UNIMPL quotactl
368 1.1 manu 180 UNIMPL nfsservctl
369 1.1 manu 181 UNIMPL getpmsg
370 1.1 manu 182 UNIMPL putpmsg
371 1.1 manu 183 UNIMPL afs_syscall
372 1.1 manu 184 UNIMPL tuxcall
373 1.1 manu 185 UNIMPL security
374 1.28 pooka 186 STD { pid_t|linux_sys||gettid(void); }
375 1.1 manu 187 UNIMPL readahead
376 1.28 pooka 188 STD { int|linux_sys||setxattr(char *path, char *name, \
377 1.2 fvdl void *value, size_t size, int flags); }
378 1.28 pooka 189 STD { int|linux_sys||lsetxattr(char *path, char *name, \
379 1.2 fvdl void *value, size_t size, int flags); }
380 1.28 pooka 190 STD { int|linux_sys||fsetxattr(int fd, char *name, \
381 1.2 fvdl void *value, size_t size, int flags); }
382 1.28 pooka 191 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \
383 1.2 fvdl void *value, size_t size); }
384 1.28 pooka 192 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \
385 1.2 fvdl void *value, size_t size); }
386 1.28 pooka 193 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \
387 1.2 fvdl void *value, size_t size); }
388 1.28 pooka 194 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \
389 1.2 fvdl size_t size); }
390 1.28 pooka 195 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \
391 1.2 fvdl size_t size); }
392 1.28 pooka 196 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \
393 1.2 fvdl size_t size); }
394 1.28 pooka 197 STD { int|linux_sys||removexattr(char *path, char *name); }
395 1.28 pooka 198 STD { int|linux_sys||lremovexattr(char *path, char *name); }
396 1.28 pooka 199 STD { int|linux_sys||fremovexattr(int fd, char *name); }
397 1.28 pooka 200 STD { int|linux_sys||tkill(int tid, int sig); }
398 1.28 pooka 201 STD { int|linux_sys||time(linux_time_t *t); }
399 1.28 pooka 202 STD { int|linux_sys||futex(int *uaddr, int op, int val, \
400 1.26 njoly const struct linux_timespec *timeout, int *uaddr2, \
401 1.7 manu int val3); }
402 1.28 pooka 203 STD { int|linux_sys||sched_setaffinity(pid_t pid, \
403 1.8 manu unsigned int len, unsigned long *mask); }
404 1.28 pooka 204 STD { int|linux_sys||sched_getaffinity(pid_t pid, \
405 1.8 manu unsigned int len, unsigned long *mask); }
406 1.1 manu 205 UNIMPL set_thread_area
407 1.1 manu 206 UNIMPL io_setup
408 1.1 manu 207 UNIMPL io_destroy
409 1.1 manu 208 UNIMPL io_getevents
410 1.1 manu 209 UNIMPL io_submit
411 1.1 manu 210 UNIMPL io_cancel
412 1.1 manu 211 UNIMPL get_thread_area
413 1.1 manu 212 UNIMPL lookup_dcookie
414 1.1 manu 213 UNIMPL epoll_create
415 1.1 manu 214 UNIMPL epoll_ctl_old
416 1.1 manu 215 UNIMPL epoll_wait_old
417 1.1 manu 216 UNIMPL remap_file_pages
418 1.28 pooka 217 STD { int|linux_sys||getdents64(int fd, \
419 1.1 manu struct linux_dirent64 *dent, unsigned int count); }
420 1.28 pooka 218 STD { int|linux_sys||set_tid_address(int *tid); }
421 1.1 manu 219 UNIMPL restart_syscall
422 1.1 manu 220 UNIMPL semtimedop
423 1.37 alnsn 221 STD { int|linux_sys||fadvise64(int fd, \
424 1.37 alnsn linux_off_t offset, size_t len, int advice); }
425 1.1 manu 222 UNIMPL timer_create
426 1.1 manu 223 UNIMPL timer_settime
427 1.1 manu 224 UNIMPL timer_gettime
428 1.1 manu 225 UNIMPL timer_getoverrun
429 1.1 manu 226 UNIMPL timer_delete
430 1.28 pooka 227 STD { int|linux_sys||clock_settime(clockid_t which, \
431 1.3 fvdl struct linux_timespec *tp); }
432 1.28 pooka 228 STD { int|linux_sys||clock_gettime(clockid_t which, \
433 1.3 fvdl struct linux_timespec *tp); }
434 1.28 pooka 229 STD { int|linux_sys||clock_getres(clockid_t which, \
435 1.3 fvdl struct linux_timespec *tp); }
436 1.28 pooka 230 STD { int|linux_sys||clock_nanosleep(clockid_t which, \
437 1.3 fvdl int flags, struct linux_timespec *rqtp, \
438 1.3 fvdl struct linux_timespec *rmtp); }
439 1.28 pooka 231 STD { int|linux_sys||exit_group(int error_code); }
440 1.1 manu 232 UNIMPL epoll_wait
441 1.1 manu 233 UNIMPL epoll_ctl
442 1.28 pooka 234 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); }
443 1.1 manu 235 UNIMPL utimes
444 1.1 manu 236 UNIMPL vserver
445 1.24 christos 237 UNIMPL mbind
446 1.24 christos 238 UNIMPL set_mempolicy
447 1.24 christos 239 UNIMPL get_mempolicy
448 1.24 christos 240 UNIMPL mq_open
449 1.24 christos 241 UNIMPL mq_unlink
450 1.24 christos 242 UNIMPL mq_timedsend
451 1.24 christos 243 UNIMPL mq_timedreceive
452 1.24 christos 244 UNIMPL mq_notify
453 1.24 christos 245 UNIMPL mq_getsetattr
454 1.24 christos 246 UNIMPL kexec_load
455 1.24 christos 247 UNIMPL waitid
456 1.24 christos 248 UNIMPL add_key
457 1.24 christos 249 UNIMPL request_key
458 1.24 christos 250 UNIMPL keyctl
459 1.24 christos 251 UNIMPL ioprio_set
460 1.24 christos 252 UNIMPL ioprio_get
461 1.24 christos 253 UNIMPL inotify_init
462 1.24 christos 254 UNIMPL inotify_add_watch
463 1.24 christos 255 UNIMPL inotify_rm_watch
464 1.24 christos 256 UNIMPL migrate_pages
465 1.24 christos 257 UNIMPL openat
466 1.24 christos 258 UNIMPL mkdirat
467 1.24 christos 259 UNIMPL mknodat
468 1.24 christos 260 UNIMPL fchownat
469 1.24 christos 261 UNIMPL futimesat
470 1.24 christos 262 UNIMPL newfstatat
471 1.24 christos 263 UNIMPL unlinkat
472 1.24 christos 264 UNIMPL renameat
473 1.24 christos 265 UNIMPL linkat
474 1.24 christos 266 UNIMPL symlinkat
475 1.24 christos 267 UNIMPL readlinkat
476 1.24 christos 268 UNIMPL fchmodat
477 1.24 christos 269 UNIMPL faccessat
478 1.24 christos 270 UNIMPL pselect6
479 1.41 pooka 271 STD { int|linux_sys||ppoll(struct pollfd *fds, int nfds, \
480 1.41 pooka struct linux_timespec *timeout, \
481 1.41 pooka linux_sigset_t *sigset); }
482 1.24 christos 272 UNIMPL unshare
483 1.28 pooka 273 STD { int|linux_sys||set_robust_list( \
484 1.24 christos struct linux_robust_list_head *head, size_t len); }
485 1.28 pooka 274 STD { int|linux_sys||get_robust_list(int pid, \
486 1.24 christos struct linux_robust_list_head **head, \
487 1.24 christos size_t *len); }
488 1.24 christos 275 UNIMPL splice
489 1.24 christos 276 UNIMPL tee
490 1.24 christos 277 UNIMPL sync_file_range
491 1.24 christos 278 UNIMPL vmsplice
492 1.24 christos 279 UNIMPL move_pages
493 1.24 christos 280 UNIMPL utimensat
494 1.24 christos 281 UNIMPL epoll_pwait
495 1.24 christos 282 UNIMPL signalfd
496 1.24 christos 283 UNIMPL timerfd_create
497 1.24 christos 284 UNIMPL eventfd
498 1.24 christos 285 UNIMPL fallocate
499 1.35 chs 286 UNIMPL timerfd_settime
500 1.35 chs 287 UNIMPL timerfd_gettime
501 1.35 chs 288 UNIMPL accept4
502 1.35 chs 289 UNIMPL signalfd4
503 1.35 chs 290 UNIMPL eventfd2
504 1.35 chs 291 UNIMPL epoll_create1
505 1.36 christos 292 STD { int|linux_sys||dup3(int from, int to, int flags); }
506 1.36 christos 293 STD { int|linux_sys||pipe2(int *pfds, int flags); }
507 1.35 chs 294 UNIMPL inotify_init1
508 1.35 chs 295 UNIMPL preadv
509 1.35 chs 296 UNIMPL pwritev
510 1.35 chs 297 UNIMPL rt_tgsigqueueinfo
511 1.35 chs 298 UNIMPL perf_counter_open
512 1.35 chs 299 UNIMPL recvmmsg
513 1.35 chs
514 1.35 chs ; we want a "nosys" syscall, we'll just add an extra entry for it.
515 1.35 chs 300 STD { int|linux_sys||nosys(void); }
516