652f47436e
1. establish type independence for ease in porting and, 2. provide a visual queue as to which syscalls have proper prototypes to further cleanup the i386/alpha split. Linuxulator types are prefixed by 'l_'. void and char have not been "virtualized". o Provide dummy functions for all unimplemented syscalls, except for the osf1 syscalls. This can only be done if the osfulator implements at least all syscalls used by the linuxulator. Remove dummy functions for syscalls that are now truely unimplemented. o Set the syscall namespace as follows: Mark a syscall as OSF1 if the Linux kernel has prefixed the syscall with 'osf_' and has provided special implementations for it. Otherwise mark the syscall as LINUX by default. Some of the LINUX syscalls remain marked as BSD or POSIX. o Rename syscalls so they match the names used in the Linux kernel. Also, provide more accurate prototypes. This generally improves cross-referencing and reduces head-scratching. o Fix the (g|s)etresuid syscalls. They mapped to (g|s)etresgid. o Sanitize the the shm*, sem* and msg* syscalls. Their prototypes were dictated by the way these syscalls were used in the i386 code. That has been fixed. NOTE: linux_semctl now passes it's 'arg' parameter by value and not by reference. o Fix prototype of linux_utime. It takes a struct timeval, not a struct utimbuf. o Fix the linux_sysfs syscall. It's index is not 255, but 254. o Implement the following syscalls: linux_sysctl o Add the following new syscalls: (g|s)etresgid linux_pivot_root (dummy) linux_mincore (dummy) linux_pciconfig_iobase (dummy) linux_getdents64
504 lines
18 KiB
Plaintext
504 lines
18 KiB
Plaintext
$FreeBSD$
|
|
|
|
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
|
|
; System call name/number master file (or rather, slave, from LINUX).
|
|
; Processed to created linux_sysent.c, linux_syscalls.c and linux_syscall.h.
|
|
|
|
; Columns: number type nargs namespc name alt{name,tag,rtyp}/comments
|
|
; number system call number, must be in order
|
|
; type one of STD, OBSOL, UNIMPL, COMPAT, CPT_NOA, LIBCOMPAT,
|
|
; NODEF, NOARGS, NOPROTO
|
|
; namespc one of POSIX, BSD, STD, NOHIDE (I dont care :-) -Peter
|
|
; name psuedo-prototype of syscall routine
|
|
; If one of the following alts is different, then all appear:
|
|
; altname name of system call if different
|
|
; alttag name of args struct tag if different from [o]`name'"_args"
|
|
; altrtyp return type if not int (bogus - syscalls always return int)
|
|
; for UNIMPL/OBSOL, name continues with comments
|
|
|
|
; types:
|
|
; STD always included
|
|
; COMPAT included on COMPAT #ifdef
|
|
; CPT_NOA combines COMPAT with NOARGS
|
|
; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
|
|
; NOARGS same as STD except do not create structure in sys/sysproto.h
|
|
; NODEF ??
|
|
; NOPROTO same as STD except do not create structure or function in
|
|
; sys/sysproto.h
|
|
; OBSOL obsolete, not included in system, only specifies name
|
|
; UNIMPL not implemented, placeholder only
|
|
|
|
#include "opt_compat.h"
|
|
#include <sys/param.h>
|
|
#include <sys/sysent.h>
|
|
#include <sys/sysproto.h>
|
|
#include <alpha/linux/linux.h>
|
|
#include <alpha/linux/linux_proto.h>
|
|
|
|
; #ifdef's, etc. may be included, and are copied to the output files.
|
|
|
|
0 UNIMPL LINUX
|
|
1 MNOPROTO LINUX { void sys_exit(int rval); } exit sys_exit_args void
|
|
2 MSTD LINUX { int linux_fork(void); }
|
|
3 NOPROTO LINUX { int read(int fd, char *buf, u_int nbyte); }
|
|
4 NOPROTO LINUX { int write(int fd, char *buf, u_int nbyte); }
|
|
5 UNIMPL LINUX
|
|
6 NOPROTO LINUX { int close(int fd); }
|
|
7 STD OSF1 { int osf1_wait4(int pid, int *status, int options, \
|
|
struct osf1_rusage *rusage); }
|
|
8 UNIMPL LINUX
|
|
9 STD LINUX { int linux_link(char *path, char *to); }
|
|
10 STD LINUX { int linux_unlink(char *path); }
|
|
11 UNIMPL LINUX
|
|
12 STD LINUX { int linux_chdir(char *path); }
|
|
13 NOPROTO LINUX { int fchdir(int fd); }
|
|
14 STD LINUX { int linux_mknod(char *path, l_int mode, \
|
|
l_dev_t dev); }
|
|
15 STD LINUX { int linux_chmod(char *path, l_mode_t mode); }
|
|
16 STD LINUX { int linux_chown(char *path, l_uid_t uid, \
|
|
l_gid_t gid); }
|
|
17 STD OSF1 { int linux_brk(l_ulong dsend); }
|
|
18 UNIMPL LINUX
|
|
19 STD LINUX { int linux_lseek(l_uint fdes, l_off_t off, \
|
|
l_int whence); }
|
|
20 STD LINUX { int linux_getpid(void); }
|
|
21 UNIMPL OSF1 osf1_mount
|
|
22 STD LINUX { int linux_umount(char *path, l_int flags); }
|
|
23 NOPROTO LINUX { int setuid(uid_t uid); }
|
|
24 STD LINUX { int linux_getuid(void); }
|
|
25 UNIMPL LINUX
|
|
26 STD LINUX { int linux_ptrace(void); }
|
|
27 UNIMPL LINUX
|
|
28 UNIMPL LINUX
|
|
29 UNIMPL LINUX
|
|
30 UNIMPL LINUX
|
|
31 UNIMPL LINUX
|
|
32 UNIMPL LINUX
|
|
33 STD LINUX { int linux_access(char *path, l_int flags); }
|
|
34 UNIMPL LINUX
|
|
35 UNIMPL LINUX
|
|
36 NOPROTO LINUX { int sync(void); }
|
|
37 STD LINUX { int linux_kill(l_int pid, l_int signum); }
|
|
38 UNIMPL LINUX
|
|
39 NOPROTO LINUX { int setpgid(int pid, int pgid); }
|
|
40 UNIMPL LINUX
|
|
41 NOPROTO LINUX { int dup(u_int fd); }
|
|
42 NOPROTO LINUX { int pipe(void); }
|
|
43 UNIMPL OSF1 osf_set_program_attributes
|
|
44 UNIMPL LINUX
|
|
45 STD LINUX { int linux_open(char *path, l_int flags, \
|
|
l_int mode); }
|
|
46 UNIMPL LINUX
|
|
47 STD LINUX { int linux_getgid(void); }
|
|
48 STD OSF1 { int osf1_sigprocmask(int how, u_long mask); }
|
|
49 UNIMPL LINUX
|
|
50 UNIMPL LINUX
|
|
51 NOPROTO LINUX { int acct(char *path); }
|
|
52 STD LINUX { int linux_sigpending(void); }
|
|
53 UNIMPL LINUX
|
|
54 STD LINUX { int linux_ioctl(l_uint fd, l_uint cmd, \
|
|
l_ulong arg); }
|
|
55 UNIMPL LINUX
|
|
56 UNIMPL LINUX
|
|
57 STD LINUX { int linux_symlink(char *path, char *to); }
|
|
58 STD LINUX { int linux_readlink(char *name, char *buf, \
|
|
l_int count); }
|
|
59 STD LINUX { int linux_execve(char *path, char **argp, \
|
|
char **envp); }
|
|
60 NOPROTO LINUX { int umask(int newmask); }
|
|
61 NOPROTO LINUX { int chroot(char *path); }
|
|
62 UNIMPL LINUX
|
|
63 NOPROTO LINUX { int getpgrp(void); }
|
|
64 STD LINUX { int linux_getpagesize(void); }
|
|
65 UNIMPL LINUX
|
|
66 MSTD LINUX { int linux_vfork(void); }
|
|
67 STD LINUX { int linux_newstat(char *path, \
|
|
struct l_newstat *buf); }
|
|
68 STD LINUX { int linux_newlstat(char *path, \
|
|
struct l_newstat *buf); }
|
|
69 UNIMPL LINUX
|
|
70 UNIMPL LINUX
|
|
71 STD OSF1 { int linux_mmap(l_ulong addr, l_ulong len, \
|
|
l_ulong prot, l_ulong flags, l_ulong fd, \
|
|
l_ulong pos); }
|
|
72 UNIMPL LINUX
|
|
73 STD LINUX { int linux_munmap(l_ulong addr, l_size_t len); }
|
|
74 STD LINUX { int linux_mprotect(l_ulong addr, l_size_t len, \
|
|
l_ulong prot); }
|
|
75 STD LINUX { int linux_madvise(void); }
|
|
76 STD LINUX { int linux_vhangup(void); }
|
|
77 UNIMPL LINUX
|
|
78 UNIMPL LINUX
|
|
79 STD LINUX { int linux_setgroups(l_int gidsetsize, \
|
|
l_gid_t *grouplist); }
|
|
80 STD LINUX { int linux_getgroups(l_int gidsetsize, \
|
|
l_gid_t *grouplist); }
|
|
81 UNIMPL LINUX
|
|
82 STD LINUX { int linux_setpgid(l_pid_t pid, l_pid_t pgid); }
|
|
83 STD OSF1 { int osf1_setitimer(u_int which, \
|
|
struct itimerval *itv, \
|
|
struct itimerval *oitv); }
|
|
84 UNIMPL LINUX
|
|
85 UNIMPL LINUX
|
|
86 UNIMPL OSF1 osf_getitimer
|
|
87 STD LINUX { int linux_gethostname(void); }
|
|
88 MNOPROTO LINUX { int osethostname(char *hostname, u_int len); } \
|
|
osethostname sethostname_args int
|
|
89 STD LINUX { int linux_getdtablesize(void); }
|
|
90 NOPROTO LINUX { int dup2(u_int from, u_int to); }
|
|
91 STD LINUX { int linux_newfstat(l_uint fd, \
|
|
struct l_newstat *buf); }
|
|
92 STD LINUX { int linux_fcntl(l_uint fd, l_uint cmd, l_ulong arg); }
|
|
93 STD OSF1 { int osf1_select(u_int nd, fd_set *in, fd_set *ou, \
|
|
fd_set *ex, struct timeval *tv); }
|
|
94 NOPROTO LINUX { int poll(struct pollfd*, unsigned int nfds, \
|
|
long timeout); }
|
|
95 NOPROTO LINUX { int fsync(int fd); }
|
|
96 NOPROTO LINUX { int setpriority(int which, int who, int prio); }
|
|
97 STD LINUX { int osf1_socket(int domain, int type, \
|
|
int protocol); }
|
|
98 STD LINUX { int linux_connect(l_int s, struct l_sockaddr *name, \
|
|
l_int namelen); }
|
|
99 NOPROTO LINUX { int oaccept(int s, caddr_t name, int *anamelen); } \
|
|
accept accept_args int
|
|
100 UNIMPL OSF1 osf_getpriority
|
|
101 NOPROTO LINUX { int osend(int s, caddr_t buf, int len, int flags); }
|
|
102 NOPROTO LINUX { int orecv(int s, caddr_t buf, int len, int flags); }
|
|
103 STD LINUX { int osf1_sigreturn(struct osigcontext *sigcntxp); }
|
|
104 NOPROTO LINUX { int bind(int s, caddr_t name, int namelen); }
|
|
105 NOPROTO LINUX { int setsockopt(int s, int level, int name, \
|
|
caddr_t val, int valsize); }
|
|
106 NOPROTO LINUX { int listen(int s, int backlog); }
|
|
107 UNIMPL LINUX
|
|
108 UNIMPL LINUX
|
|
109 UNIMPL LINUX
|
|
110 UNIMPL LINUX
|
|
111 STD LINUX { int osf1_sigsuspend(unsigned long ss); }
|
|
112 UNIMPL OSF1 osf_sigstack
|
|
113 STD LINUX { int linux_recvmsg(void); }
|
|
114 STD LINUX { int linux_sendmsg(void); }
|
|
115 UNIMPL LINUX
|
|
116 STD OSF1 { int osf1_gettimeofday(struct timeval *tp, \
|
|
struct timezone *tzp); }
|
|
117 STD OSF1 { int osf1_getrusage(long who, void *rusage); }
|
|
118 NOPROTO LINUX { int getsockopt(int s, int level, int name, \
|
|
caddr_t val, int *avalsize); }
|
|
119 UNIMPL LINUX
|
|
120 NOPROTO LINUX { int readv(int fd, struct iovec *iovp, \
|
|
u_int iovcnt); }
|
|
121 NOPROTO LINUX { int writev(int fd, struct iovec *iovp, \
|
|
u_int iovcnt); }
|
|
122 UNIMPL OSF1 osf_settimeofday
|
|
123 NOPROTO LINUX { int fchown(int fd, int uid, int gid); }
|
|
124 NOPROTO LINUX { int fchmod(int fd, int mode); }
|
|
125 NOPROTO LINUX { int orecvfrom(int s, caddr_t buf, size_t len, \
|
|
int flags, caddr_t from, int *fromlenaddr); } \
|
|
recvfrom recvfrom_args int
|
|
126 NOPROTO LINUX { int setreuid(int ruid, int euid); }
|
|
127 NOPROTO LINUX { int setregid(int rgid, int egid); }
|
|
128 STD LINUX { int linux_rename(char *from, char *to); }
|
|
129 STD LINUX { int linux_truncate(char *path, l_ulong length); }
|
|
130 NOPROTO LINUX { int oftruncate(int fd, long length); }
|
|
131 NOPROTO LINUX { int flock(int fd, int how); }
|
|
132 NOPROTO LINUX { int setgid(gid_t gid); }
|
|
133 STD LINUX { int osf1_sendto(int s, caddr_t buf, size_t len, \
|
|
int flags, struct sockaddr *to, int tolen); }
|
|
134 NOPROTO LINUX { int shutdown(int s, int how); }
|
|
135 STD LINUX { int linux_socketpair(void); }
|
|
136 STD LINUX { int linux_mkdir(char *path, l_int mode); }
|
|
137 STD LINUX { int linux_rmdir(char *path); }
|
|
138 NOPROTO OSF1 { int utimes(char *path, struct timeval *tptr); }
|
|
139 UNIMPL LINUX
|
|
140 UNIMPL LINUX
|
|
141 NOPROTO LINUX { int ogetpeername(int fdes, caddr_t asa, int *alen); }
|
|
142 UNIMPL LINUX
|
|
143 UNIMPL LINUX
|
|
144 STD LINUX { int linux_getrlimit(l_uint resource, \
|
|
struct l_rlimit *rlim); }
|
|
145 STD LINUX { int linux_setrlimit(l_uint resource, \
|
|
struct l_rlimit *rlim); }
|
|
146 UNIMPL LINUX
|
|
147 NOPROTO LINUX { int setsid(void); }
|
|
148 STD LINUX { int linux_quotactl(void); }
|
|
149 UNIMPL LINUX
|
|
150 NOPROTO LINUX { int ogetsockname(int fdec, caddr_t asa, int *alen);} \
|
|
getsockname getsockname_args int
|
|
151 UNIMPL LINUX
|
|
152 UNIMPL LINUX
|
|
153 UNIMPL LINUX
|
|
154 UNIMPL LINUX
|
|
155 UNIMPL LINUX
|
|
156 STD OSF1 { int osf1_sigaction(int sig, \
|
|
struct osf1_sigaction *nsa, \
|
|
struct osf1_sigaction *osa); }
|
|
157 UNIMPL LINUX
|
|
158 UNIMPL LINUX
|
|
159 UNIMPL OSF1 osf_getdirentries
|
|
160 UNIMPL OSF1 osf_statfs
|
|
161 UNIMPL OSF1 osf_fstatfs
|
|
162 UNIMPL LINUX
|
|
163 UNIMPL LINUX
|
|
164 UNIMPL LINUX
|
|
165 UNIMPL OSF1 osf_getdomainname
|
|
166 MNOPROTO LINUX { int setdomainname(char *name, int len); }
|
|
167 UNIMPL LINUX
|
|
168 UNIMPL LINUX
|
|
169 UNIMPL LINUX
|
|
170 UNIMPL LINUX
|
|
171 UNIMPL LINUX
|
|
172 UNIMPL LINUX
|
|
173 UNIMPL LINUX
|
|
174 UNIMPL LINUX
|
|
175 UNIMPL LINUX
|
|
176 UNIMPL LINUX
|
|
177 UNIMPL LINUX
|
|
178 UNIMPL LINUX
|
|
179 UNIMPL LINUX
|
|
180 UNIMPL LINUX
|
|
181 UNIMPL LINUX
|
|
182 UNIMPL LINUX
|
|
183 UNIMPL LINUX
|
|
184 UNIMPL LINUX
|
|
185 UNIMPL LINUX
|
|
186 UNIMPL LINUX
|
|
187 UNIMPL LINUX
|
|
188 UNIMPL LINUX
|
|
189 UNIMPL LINUX
|
|
190 UNIMPL LINUX
|
|
191 UNIMPL LINUX
|
|
192 UNIMPL LINUX
|
|
193 UNIMPL LINUX
|
|
194 UNIMPL LINUX
|
|
195 UNIMPL LINUX
|
|
196 UNIMPL LINUX
|
|
197 UNIMPL LINUX
|
|
198 UNIMPL LINUX
|
|
199 UNIMPL OSF1 osf_swapon
|
|
200 STD LINUX { int linux_msgctl(l_int msqid, l_int cmd, \
|
|
struct l_msqid_ds *buf); }
|
|
201 STD LINUX { int linux_msgget(l_key_t key, l_int msgflg); }
|
|
202 STD LINUX { int linux_msgrcv(l_int msqid, struct l_msgbuf *msgp, \
|
|
l_size_t msgsz, l_long msgtyp, l_int msgflg); }
|
|
203 STD LINUX { int linux_msgsnd(l_int msqid, struct l_msgbuf *msgp, \
|
|
l_size_t msgsz, l_int msgflg); }
|
|
204 STD LINUX { int linux_semctl(l_int semid, l_int semnum, \
|
|
l_int cmd, union l_semun arg); }
|
|
205 STD LINUX { int linux_semget(l_key_t key, l_int nsems, \
|
|
l_int semflg); }
|
|
206 STD LINUX { int linux_semop(l_int semid, struct l_sembuf *tsops, \
|
|
l_uint nsops); }
|
|
207 UNIMPL OSF1 osf_utsname
|
|
208 STD LINUX { int linux_lchown(char *path, l_uid_t uid, \
|
|
l_gid_t gid); }
|
|
209 STD OSF1 { int linux_shmat(l_int shmid, char *shmaddr, \
|
|
l_int shmflg); }
|
|
210 STD LINUX { int linux_shmctl(l_int shmid, l_int cmd, \
|
|
struct l_shmid_ds *buf); }
|
|
211 STD LINUX { int linux_shmdt(char *shmaddr); }
|
|
212 STD LINUX { int linux_shmget(l_key_t key, l_size_t size, \
|
|
l_int shmflg); }
|
|
213 UNIMPL LINUX
|
|
214 UNIMPL LINUX
|
|
215 UNIMPL LINUX
|
|
216 UNIMPL LINUX
|
|
217 STD LINUX { int linux_msync(l_ulong addr, l_size_t len, \
|
|
l_int fl); }
|
|
218 UNIMPL LINUX
|
|
219 UNIMPL LINUX
|
|
220 UNIMPL LINUX
|
|
221 UNIMPL LINUX
|
|
222 UNIMPL LINUX
|
|
223 UNIMPL LINUX
|
|
224 UNIMPL LINUX
|
|
225 UNIMPL LINUX
|
|
226 UNIMPL LINUX
|
|
227 UNIMPL LINUX
|
|
228 UNIMPL LINUX
|
|
229 UNIMPL LINUX
|
|
230 UNIMPL LINUX
|
|
231 UNIMPL LINUX
|
|
232 UNIMPL LINUX
|
|
233 STD LINUX { int linux_getpgid(l_pid_t pid); }
|
|
234 STD LINUX { int linux_getsid(l_pid_t pid); }
|
|
235 STD LINUX { int linux_sigaltstack(void); }
|
|
236 UNIMPL LINUX
|
|
237 UNIMPL LINUX
|
|
238 UNIMPL LINUX
|
|
239 UNIMPL LINUX
|
|
240 UNIMPL LINUX
|
|
241 STD OSF1 { int osf1_sysinfo(int cmd, char *buf, long count); }
|
|
242 UNIMPL LINUX
|
|
243 UNIMPL LINUX
|
|
244 UNIMPL OSF1 osf_proplist_syscall
|
|
245 UNIMPL LINUX
|
|
246 UNIMPL LINUX
|
|
247 UNIMPL LINUX
|
|
248 UNIMPL LINUX
|
|
249 UNIMPL LINUX
|
|
250 UNIMPL LINUX
|
|
251 UNIMPL OSF1 osf_usleep_thread
|
|
252 UNIMPL LINUX
|
|
253 UNIMPL LINUX
|
|
254 STD LINUX { int linux_sysfs(l_int option, l_ulong arg1, \
|
|
l_ulong arg2); }
|
|
255 UNIMPL LINUX
|
|
256 STD OSF1 { int osf1_getsysinfo(u_long op, caddr_t buffer, \
|
|
u_long nbytes, caddr_t arg, u_long flag); }
|
|
257 STD OSF1 { int osf1_setsysinfo(u_long op, caddr_t buffer, \
|
|
u_long nbytes, caddr_t arg, u_long flag); }
|
|
258 UNIMPL LINUX
|
|
259 UNIMPL LINUX
|
|
260 UNIMPL LINUX
|
|
261 UNIMPL LINUX
|
|
262 UNIMPL LINUX
|
|
263 UNIMPL LINUX
|
|
264 UNIMPL LINUX
|
|
265 UNIMPL LINUX
|
|
266 UNIMPL LINUX
|
|
267 UNIMPL LINUX
|
|
268 UNIMPL LINUX
|
|
269 UNIMPL LINUX
|
|
270 UNIMPL LINUX
|
|
271 UNIMPL LINUX
|
|
272 UNIMPL LINUX
|
|
273 UNIMPL LINUX
|
|
274 UNIMPL LINUX
|
|
275 UNIMPL LINUX
|
|
276 UNIMPL LINUX
|
|
277 UNIMPL LINUX
|
|
278 UNIMPL LINUX
|
|
279 UNIMPL LINUX
|
|
280 UNIMPL LINUX
|
|
281 UNIMPL LINUX
|
|
282 UNIMPL LINUX
|
|
283 UNIMPL LINUX
|
|
284 UNIMPL LINUX
|
|
285 UNIMPL LINUX
|
|
286 UNIMPL LINUX
|
|
287 UNIMPL LINUX
|
|
288 UNIMPL LINUX
|
|
289 UNIMPL LINUX
|
|
290 UNIMPL LINUX
|
|
291 UNIMPL LINUX
|
|
292 UNIMPL LINUX
|
|
293 UNIMPL LINUX
|
|
294 UNIMPL LINUX
|
|
295 UNIMPL LINUX
|
|
296 UNIMPL LINUX
|
|
297 UNIMPL LINUX
|
|
298 UNIMPL LINUX
|
|
299 UNIMPL LINUX
|
|
300 STD LINUX { int linux_bdflush(void); }
|
|
301 STD LINUX { int linux_sethae(void); }
|
|
302 STD LINUX { int linux_mount(char *specialfile, char *dir, \
|
|
char *filesystemtype, l_ulong rwflag, \
|
|
void *data); }
|
|
303 STD LINUX { int linux_old_adjtimex(void); }
|
|
304 STD LINUX { int linux_swapoff(void); }
|
|
305 STD LINUX { int linux_getdents(l_uint fd, void *dent, \
|
|
l_uint count); }
|
|
306 STD LINUX { int linux_create_module(void); }
|
|
307 STD LINUX { int linux_init_module(void); }
|
|
308 STD LINUX { int linux_delete_module(void); }
|
|
309 STD LINUX { int linux_get_kernel_syms(void); }
|
|
310 STD LINUX { int linux_syslog(l_int type, char *buf, l_int len); }
|
|
311 STD LINUX { int linux_reboot(l_int magic1, l_int magic2, \
|
|
l_uint cmd, void *arg); }
|
|
312 STD LINUX { int linux_clone(l_int flags, void *stack); }
|
|
313 STD LINUX { int linux_uselib(char *library); }
|
|
314 NOPROTO BSD { int mlock(const void *addr, size_t len); }
|
|
315 NOPROTO BSD { int munlock(const void *addr, size_t len); }
|
|
316 NOPROTO BSD { int mlockall(int how); }
|
|
317 NOPROTO BSD { int munlockall(void); }
|
|
318 STD LINUX { int linux_sysinfo(void); }
|
|
319 STD LINUX { int linux_sysctl(struct l___sysctl_args *args); }
|
|
320 UNIMPL LINUX sys_idle
|
|
321 STD LINUX { int linux_oldumount(char *path); }
|
|
322 NOPROTO LINUX { int swapon(char *name); }
|
|
323 STD LINUX { int linux_times(struct l_times_argv *buf); }
|
|
324 STD LINUX { int linux_personality(l_ulong per); }
|
|
325 STD LINUX { int linux_setfsuid(l_uid_t uid); }
|
|
326 STD LINUX { int linux_setfsgid(l_gid_t gid); }
|
|
327 STD LINUX { int linux_ustat(l_dev_t dev, struct l_ustat *ubuf); }
|
|
328 STD LINUX { int linux_statfs(char *path, \
|
|
struct l_statfs_buf *buf); }
|
|
329 STD LINUX { int linux_fstatfs(l_uint fd, \
|
|
struct l_statfs_buf *buf); }
|
|
330 NOPROTO POSIX { int sched_setparam(pid_t pid, \
|
|
const struct sched_param *param); }
|
|
331 NOPROTO POSIX { int sched_getparam(pid_t pid, \
|
|
struct sched_param *param); }
|
|
332 STD POSIX { int linux_sched_setscheduler(l_pid_t pid, \
|
|
l_int policy, struct l_sched_param *param); }
|
|
333 STD POSIX { int linux_sched_getscheduler(l_pid_t pid); }
|
|
334 MNOPROTO POSIX { int sched_yield(void); }
|
|
335 STD POSIX { int linux_sched_get_priority_max(l_int policy); }
|
|
336 STD POSIX { int linux_sched_get_priority_min (l_int policy); }
|
|
337 NOPROTO POSIX { int sched_rr_get_interval (pid_t pid, \
|
|
struct timespec *interval); }
|
|
338 UNIMPL LINUX sys_afs_syscall
|
|
339 STD LINUX { int linux_newuname(struct l_newuname_t *buf); }
|
|
340 MNOPROTO POSIX { int nanosleep(const struct timespec *rqtp, \
|
|
struct timespec *rmtp); }
|
|
341 STD LINUX { int linux_mremap(l_ulong addr, l_ulong old_len, \
|
|
l_ulong new_len, l_ulong flags, \
|
|
l_ulong new_addr); }
|
|
342 STD LINUX { int linux_nfsservctl(void); }
|
|
343 NOPROTO LINUX { int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
|
|
344 NOPROTO LINUX { int getresuid(uid_t *ruid, uid_t *euid, \
|
|
uid_t *suid); }
|
|
345 STD LINUX { int linux_pciconfig_read(void); }
|
|
346 STD LINUX { int linux_pciconfig_write(void); }
|
|
347 STD LINUX { int linux_query_module(void); }
|
|
348 STD LINUX { int linux_prctl(void); }
|
|
349 STD LINUX { int linux_pread(l_uint fd, char *buf, \
|
|
l_size_t nbyte, l_loff_t offset); }
|
|
350 STD LINUX { int linux_pwrite(l_uint fd, char *buf, \
|
|
l_size_t nbyte, l_loff_t offset); }
|
|
351 STD LINUX { int linux_rt_sigreturn(void); }
|
|
352 STD LINUX { int linux_rt_sigaction(l_int sig, \
|
|
l_sigaction_t *act, l_sigaction_t *oact, \
|
|
l_size_t sigsetsize); }
|
|
353 STD LINUX { int linux_rt_sigprocmask(l_int how, \
|
|
l_sigset_t *mask, l_sigset_t *omask, \
|
|
l_size_t sigsetsize); }
|
|
354 STD LINUX { int linux_rt_sigpending(void); }
|
|
355 STD LINUX { int linux_rt_sigtimedwait(void); }
|
|
356 STD LINUX { int linux_rt_sigqueueinfo(void); }
|
|
357 STD LINUX { int linux_rt_sigsuspend(l_sigset_t *newset, \
|
|
l_size_t sigsetsize); }
|
|
358 STD LINUX { int linux_select(l_int nfds, l_fd_set *readfds, \
|
|
l_fd_set *writefds, l_fd_set *exceptfds, \
|
|
struct l_timeval *timeout); }
|
|
359 NOPROTO LINUX { int gettimeofday(struct timeval *tp, \
|
|
struct timezone *tzp); }
|
|
360 MNOPROTO LINUX { int settimeofday(struct timeval *tp, \
|
|
struct timezone *tzp); }
|
|
361 STD LINUX { int linux_getitimer(l_int which, \
|
|
struct l_itimerval *itv); }
|
|
362 STD LINUX { int linux_setitimer(l_int which, \
|
|
struct l_itimerval *itv, \
|
|
struct l_itimerval *oitv); }
|
|
363 STD LINUX { int linux_utimes(char *fname, \
|
|
struct l_timeval *times); }
|
|
364 NOPROTO LINUX { int getrusage(int who, struct rusage *rusage); }
|
|
365 STD LINUX { int linux_wait4(l_pid_t pid, l_uint *status, \
|
|
l_int options, struct l_rusage *rusage); }
|
|
366 STD LINUX { int linux_adjtimex(void); }
|
|
367 STD LINUX { int linux_getcwd(char *buf, l_ulong bufsize); }
|
|
368 STD LINUX { int linux_capget(void); }
|
|
369 STD LINUX { int linux_capset(void); }
|
|
370 STD LINUX { int linux_sendfile(void); }
|
|
371 NOPROTO LINUX { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
|
|
372 NOPROTO LINUX { int getresgid(gid_t *rgid, gid_t *egid, \
|
|
gid_t *sgid); }
|
|
373 UNIMPL LINUX sys_dipc
|
|
374 STD LINUX { int linux_pivot_root(char *new_root, \
|
|
char *put_old); }
|
|
375 STD LINUX { int linux_mincore(l_ulong start, l_size_t len, \
|
|
u_char *vec); }
|
|
376 STD LINUX { int linux_pciconfig_iobase(void); }
|
|
377 STD LINUX { int linux_getdents64(l_uint fd, void *dirent, \
|
|
l_uint count); }
|
|
|