syscalls.master revision 1.52 1 1.52 fvdl $NetBSD: syscalls.master,v 1.52 2000/12/27 22:02:41 fvdl Exp $
2 1.1 fvdl
3 1.1 fvdl ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
4 1.1 fvdl
5 1.26 erh ; NetBSD i386 COMPAT_LINUX system call name/number "master" file.
6 1.1 fvdl ; (See syscalls.conf to see what it is processed into.)
7 1.1 fvdl ;
8 1.1 fvdl ; Fields: number type [type-dependent ...]
9 1.1 fvdl ; number system call number, must be in order
10 1.1 fvdl ; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
11 1.1 fvdl ; the compatibility options defined in syscalls.conf.
12 1.1 fvdl ;
13 1.1 fvdl ; types:
14 1.1 fvdl ; STD always included
15 1.1 fvdl ; OBSOL obsolete, not included in system
16 1.1 fvdl ; UNIMPL unimplemented, not included in system
17 1.1 fvdl ; NODEF included, but don't define the syscall number
18 1.1 fvdl ; NOARGS included, but don't define the syscall args structure
19 1.26 erh ; INDIR included, but don't define the syscall args structure
20 1.26 erh ; and allow it to be "really" varargs.
21 1.1 fvdl ;
22 1.1 fvdl ; The compat options are defined in the syscalls.conf file, and the
23 1.1 fvdl ; compat option name is prefixed to the syscall name. Other than
24 1.1 fvdl ; that, they're like NODEF (for 'compat' options), or STD (for
25 1.1 fvdl ; 'libcompat' options).
26 1.1 fvdl ;
27 1.1 fvdl ; The type-dependent arguments are as follows:
28 1.1 fvdl ; For STD, NODEF, NOARGS, and compat syscalls:
29 1.1 fvdl ; { pseudo-proto } [alias]
30 1.1 fvdl ; For other syscalls:
31 1.1 fvdl ; [comment]
32 1.1 fvdl ;
33 1.1 fvdl ; #ifdef's, etc. may be included, and are copied to the output files.
34 1.22 thorpej ; #include's are copied to the syscall names and switch definition files only.
35 1.28 christos
36 1.46 mycroft #if defined(_KERNEL) && !defined(_LKM)
37 1.28 christos #include "opt_compat_43.h"
38 1.46 mycroft #endif
39 1.1 fvdl
40 1.1 fvdl #include <sys/param.h>
41 1.32 abs #include <sys/poll.h>
42 1.1 fvdl #include <sys/systm.h>
43 1.1 fvdl #include <sys/signal.h>
44 1.1 fvdl #include <sys/mount.h>
45 1.1 fvdl #include <sys/syscallargs.h>
46 1.13 mycroft
47 1.27 christos #include <compat/linux/common/linux_types.h>
48 1.27 christos #include <compat/linux/common/linux_signal.h>
49 1.27 christos #include <compat/linux/common/linux_siginfo.h>
50 1.27 christos #include <compat/linux/common/linux_machdep.h>
51 1.27 christos
52 1.27 christos #include <compat/linux/linux_syscallargs.h>
53 1.13 mycroft
54 1.46 mycroft %%
55 1.1 fvdl
56 1.13 mycroft 0 NOARGS { int sys_nosys(void); } syscall
57 1.13 mycroft 1 NOARGS { int sys_exit(int rval); }
58 1.14 mycroft 2 NOARGS { int sys_fork(void); }
59 1.13 mycroft 3 NOARGS { int sys_read(int fd, char *buf, u_int nbyte); }
60 1.13 mycroft 4 NOARGS { int sys_write(int fd, char *buf, u_int nbyte); }
61 1.29 christos 5 STD { int linux_sys_open(const char *path, int flags, \
62 1.29 christos int mode); }
63 1.13 mycroft 6 NOARGS { int sys_close(int fd); }
64 1.13 mycroft 7 STD { int linux_sys_waitpid(int pid, int *status, \
65 1.13 mycroft int options);}
66 1.29 christos 8 STD { int linux_sys_creat(const char *path, int mode); }
67 1.29 christos 9 NOARGS { int sys_link(const char *path, const char *link); }
68 1.29 christos 10 STD { int linux_sys_unlink(const char *path); }
69 1.29 christos 11 STD { int linux_sys_execve(const char *path, char **argp, \
70 1.13 mycroft char **envp); }
71 1.29 christos 12 STD { int linux_sys_chdir(const char *path); }
72 1.13 mycroft 13 STD { int linux_sys_time(linux_time_t *t); }
73 1.29 christos 14 STD { int linux_sys_mknod(const char *path, int mode, \
74 1.29 christos int dev); }
75 1.29 christos 15 STD { int linux_sys_chmod(const char *path, int mode); }
76 1.51 fvdl 16 STD { int linux_sys_lchown16(const char *path, \
77 1.29 christos int uid, int gid); }
78 1.26 erh ;17 - no longer in linux source.
79 1.13 mycroft 17 STD { int linux_sys_break(char *nsize); }
80 1.13 mycroft 18 OBSOL ostat
81 1.13 mycroft 19 NOARGS { long compat_43_sys_lseek(int fd, long offset, \
82 1.13 mycroft int whence); }
83 1.13 mycroft 20 NOARGS { pid_t sys_getpid(void); }
84 1.13 mycroft 21 UNIMPL mount
85 1.13 mycroft 22 UNIMPL umount
86 1.52 fvdl 23 NOARGS linux_setuid16 { int sys_setuid(uid_t uid); }
87 1.52 fvdl 24 NOARGS linux_getuid16 { uid_t sys_getuid(void); }
88 1.35 tron 25 STD { int linux_sys_stime(linux_time_t *t); }
89 1.39 tron 26 STD { int linux_sys_ptrace(int request, int pid, \
90 1.39 tron int addr, int data); }
91 1.13 mycroft 27 STD { int linux_sys_alarm(unsigned int secs); }
92 1.13 mycroft 28 OBSOL ofstat
93 1.13 mycroft 29 STD { int linux_sys_pause(void); }
94 1.29 christos 30 STD { int linux_sys_utime(const char *path, \
95 1.13 mycroft struct linux_utimbuf *times); }
96 1.26 erh 31 OBSOL stty
97 1.26 erh 32 OBSOL gtty
98 1.29 christos 33 STD { int linux_sys_access(const char *path, int flags); }
99 1.17 augustss 34 STD { int linux_sys_nice(int incr); }
100 1.26 erh 35 OBSOL ftime
101 1.13 mycroft 36 NOARGS { int sys_sync(void); }
102 1.13 mycroft 37 STD { int linux_sys_kill(int pid, int signum); }
103 1.29 christos 38 STD { int linux_sys_rename(const char *from, \
104 1.29 christos const char *to); }
105 1.29 christos 39 STD { int linux_sys_mkdir(const char *path, int mode); }
106 1.29 christos 40 STD { int linux_sys_rmdir(const char *path); }
107 1.13 mycroft 41 NOARGS { int sys_dup(u_int fd); }
108 1.13 mycroft 42 STD { int linux_sys_pipe(int *pfds); }
109 1.13 mycroft 43 STD { int linux_sys_times(struct times *tms); }
110 1.26 erh 44 OBSOL prof
111 1.13 mycroft 45 STD { int linux_sys_brk(char *nsize); }
112 1.52 fvdl 46 NOARGS linux_setgid16 { int sys_setgid(gid_t gid); }
113 1.52 fvdl 47 NOARGS linux_getgid16 { gid_t sys_getgid(void); }
114 1.37 tron 48 STD { int linux_sys_signal(int signum, \
115 1.13 mycroft linux_handler_t handler); }
116 1.52 fvdl 49 NOARGS linux_geteuid16 { uid_t sys_geteuid(void); }
117 1.52 fvdl 50 NOARGS linux_getegid16 { gid_t sys_getegid(void); }
118 1.13 mycroft 51 NOARGS { int sys_acct(char *path); }
119 1.26 erh 52 OBSOL phys
120 1.26 erh 53 OBSOL lock
121 1.13 mycroft 54 STD { int linux_sys_ioctl(int fd, u_long com, \
122 1.13 mycroft caddr_t data); }
123 1.13 mycroft 55 STD { int linux_sys_fcntl(int fd, int cmd, void *arg); }
124 1.26 erh 56 OBSOL mpx
125 1.13 mycroft 57 NOARGS { int sys_setpgid(int pid, int pgid); }
126 1.26 erh 58 OBSOL ulimit
127 1.13 mycroft 59 STD { int linux_sys_oldolduname(struct linux_oldold_utsname *up); }
128 1.13 mycroft 60 NOARGS { int sys_umask(int newmask); }
129 1.13 mycroft 61 NOARGS { int sys_chroot(char *path); }
130 1.13 mycroft 62 UNIMPL ustat
131 1.13 mycroft 63 NOARGS { int sys_dup2(u_int from, u_int to); }
132 1.13 mycroft 64 NOARGS { pid_t sys_getppid(void); }
133 1.13 mycroft 65 NOARGS { int sys_getpgrp(void); }
134 1.13 mycroft 66 NOARGS { int sys_setsid(void); }
135 1.13 mycroft 67 STD { int linux_sys_sigaction(int signum, \
136 1.26 erh const struct linux_old_sigaction *nsa, \
137 1.26 erh struct linux_old_sigaction *osa); }
138 1.13 mycroft 68 STD { int linux_sys_siggetmask(void); }
139 1.26 erh 69 STD { int linux_sys_sigsetmask(linux_old_sigset_t mask); }
140 1.51 fvdl 70 STD { int linux_sys_setreuid16(int ruid, int euid); }
141 1.51 fvdl 71 STD { int linux_sys_setregid16(int rgid, int egid); }
142 1.13 mycroft 72 STD { int linux_sys_sigsuspend(caddr_t restart, \
143 1.13 mycroft int oldmask, int mask); }
144 1.26 erh 73 STD { int linux_sys_sigpending(linux_old_sigset_t *set); }
145 1.13 mycroft 74 NOARGS { int compat_43_sys_sethostname(char *hostname, \
146 1.13 mycroft u_int len);}
147 1.13 mycroft 75 NOARGS { int compat_43_sys_setrlimit(u_int which, \
148 1.20 mycroft struct orlimit *rlp); }
149 1.13 mycroft 76 NOARGS { int compat_43_sys_getrlimit(u_int which, \
150 1.20 mycroft struct orlimit *rlp); }
151 1.13 mycroft 77 NOARGS { int sys_getrusage(int who, struct rusage *rusage); }
152 1.13 mycroft 78 NOARGS { int sys_gettimeofday(struct timeval *tp, \
153 1.13 mycroft struct timezone *tzp); }
154 1.13 mycroft 79 NOARGS { int sys_settimeofday(struct timeval *tp, \
155 1.13 mycroft struct timezone *tzp); }
156 1.52 fvdl 80 STD { int linux_sys_getgroups16(int gidsetsize, linux_gid_t *gidset); }
157 1.52 fvdl 81 STD { int linux_sys_setgroups16(int gidsetsize, linux_gid_t *gidset); }
158 1.26 erh 82 STD { int linux_sys_oldselect(struct linux_oldselect *lsp); }
159 1.29 christos 83 STD { int linux_sys_symlink(const char *path, \
160 1.29 christos const char *to); }
161 1.29 christos 84 NOARGS { int compat_43_sys_lstat(const char *path, \
162 1.21 christos struct stat43 *up); } oolstat
163 1.29 christos 85 STD { int linux_sys_readlink(const char *name, char *buf, \
164 1.13 mycroft int count); }
165 1.29 christos 86 STD { int linux_sys_uselib(const char *path); }
166 1.44 jdolecek 87 STD { int linux_sys_swapon(char *name); }
167 1.41 erh 88 STD { int linux_sys_reboot(int magic1, int magic2, \
168 1.41 erh int cmd, void *arg); }
169 1.13 mycroft 89 STD { int linux_sys_readdir(int fd, caddr_t dent, \
170 1.1 fvdl unsigned int count); }
171 1.26 erh 90 STD { int linux_sys_old_mmap(struct linux_oldmmap *lmp); }
172 1.13 mycroft 91 NOARGS { int sys_munmap(caddr_t addr, int len); }
173 1.29 christos 92 STD { int linux_sys_truncate(const char *path, \
174 1.29 christos long length); }
175 1.13 mycroft 93 NOARGS { int compat_43_sys_ftruncate(int fd, long length); }
176 1.13 mycroft 94 NOARGS { int sys_fchmod(int fd, int mode); }
177 1.51 fvdl 95 STD { int linux_sys_fchown16(int fd, int uid, int gid); }
178 1.13 mycroft 96 NOARGS { int sys_getpriority(int which, int who); }
179 1.13 mycroft 97 NOARGS { int sys_setpriority(int which, int who, int prio); }
180 1.13 mycroft 98 NOARGS { int sys_profil(caddr_t samples, u_int size, \
181 1.13 mycroft u_int offset, u_int scale); }
182 1.29 christos 99 STD { int linux_sys_statfs(const char *path, \
183 1.13 mycroft struct linux_statfs *sp); }
184 1.13 mycroft 100 STD { int linux_sys_fstatfs(int fd, \
185 1.13 mycroft struct linux_statfs *sp); }
186 1.13 mycroft 101 STD { int linux_sys_ioperm(unsigned int lo, \
187 1.13 mycroft unsigned int hi, int val); }
188 1.13 mycroft 102 STD { int linux_sys_socketcall(int what, void *args); }
189 1.26 erh 103 UNIMPL syslog
190 1.13 mycroft 104 NOARGS { int sys_setitimer(u_int which, \
191 1.13 mycroft struct itimerval *itv, struct itimerval *oitv); }
192 1.13 mycroft 105 NOARGS { int sys_getitimer(u_int which, \
193 1.13 mycroft struct itimerval *itv); }
194 1.29 christos 106 STD { int linux_sys_stat(const char *path, \
195 1.13 mycroft struct linux_stat *sp); }
196 1.29 christos 107 STD { int linux_sys_lstat(const char *path, \
197 1.13 mycroft struct linux_stat *sp); }
198 1.13 mycroft 108 STD { int linux_sys_fstat(int fd, struct linux_stat *sp); }
199 1.13 mycroft 109 STD { int linux_sys_olduname(struct linux_old_utsname *up); }
200 1.13 mycroft 110 STD { int linux_sys_iopl(int level); }
201 1.13 mycroft 111 UNIMPL vhangup
202 1.13 mycroft 112 UNIMPL idle
203 1.26 erh 113 UNIMPL vm86old
204 1.13 mycroft 114 STD { int linux_sys_wait4(int pid, int *status, \
205 1.13 mycroft int options, struct rusage *rusage); }
206 1.45 jdolecek 115 STD { int linux_sys_swapoff(const char *path); }
207 1.50 augustss 116 STD { int linux_sys_sysinfo(struct linux_sysinfo *arg); }
208 1.13 mycroft 117 STD { int linux_sys_ipc(int what, int a1, int a2, int a3, \
209 1.13 mycroft caddr_t ptr); }
210 1.13 mycroft 118 NOARGS { int sys_fsync(int fd); }
211 1.13 mycroft 119 STD { int linux_sys_sigreturn(struct linux_sigcontext *scp); }
212 1.33 thorpej 120 STD { int linux_sys_clone(int flags, void *stack); }
213 1.44 jdolecek 121 STD { int linux_sys_setdomainname(char *domainname, \
214 1.13 mycroft int len); }
215 1.13 mycroft 122 STD { int linux_sys_uname(struct linux_utsname *up); }
216 1.13 mycroft 123 STD { int linux_sys_modify_ldt(int func, void *ptr, \
217 1.13 mycroft size_t bytecount); }
218 1.13 mycroft 124 UNIMPL adjtimex
219 1.13 mycroft 125 NOARGS { int sys_mprotect(caddr_t addr, int len, int prot); }
220 1.13 mycroft 126 STD { int linux_sys_sigprocmask(int how, \
221 1.26 erh const linux_old_sigset_t *set, \
222 1.26 erh linux_old_sigset_t *oset); }
223 1.13 mycroft 127 UNIMPL create_module
224 1.13 mycroft 128 UNIMPL init_module
225 1.13 mycroft 129 UNIMPL delete_module
226 1.13 mycroft 130 UNIMPL get_kernel_syms
227 1.13 mycroft 131 UNIMPL quotactl
228 1.13 mycroft 132 STD { int linux_sys_getpgid(int pid); }
229 1.13 mycroft 133 NOARGS { int sys_fchdir(int fd); }
230 1.13 mycroft 134 UNIMPL bdflush
231 1.13 mycroft 135 UNIMPL sysfs
232 1.13 mycroft 136 STD { int linux_sys_personality(int per); }
233 1.13 mycroft 137 UNIMPL afs_syscall
234 1.52 fvdl 138 NOARGS linux_setfsuid16 { int linux_sys_setfsuid(uid_t uid); }
235 1.52 fvdl 139 NOARGS linux_getfsuid16 { int linux_sys_getfsuid(void); }
236 1.13 mycroft 140 STD { int linux_sys_llseek(int fd, u_int32_t ohigh, \
237 1.13 mycroft u_int32_t olow, caddr_t res, int whence); }
238 1.26 erh 141 STD { int linux_sys_getdents(int fd, \
239 1.26 erh struct linux_dirent *dent, unsigned int count); }
240 1.13 mycroft 142 STD { int linux_sys_select(int nfds, fd_set *readfds, \
241 1.13 mycroft fd_set *writefds, fd_set *exceptfds, \
242 1.13 mycroft struct timeval *timeout); }
243 1.13 mycroft 143 NOARGS { int sys_flock(int fd, int how); }
244 1.15 fvdl 144 STD { int linux_sys_msync(caddr_t addr, int len, int fl); }
245 1.15 fvdl 145 NOARGS { int sys_readv(int fd, struct iovec *iovp, \
246 1.15 fvdl u_int iovcnt); }
247 1.15 fvdl 146 NOARGS { int sys_writev(int fd, struct iovec *iovp, \
248 1.15 fvdl u_int iovcnt); }
249 1.23 mycroft 147 NOARGS { pid_t sys_getsid(pid_t pid); }
250 1.16 fvdl 148 STD { int linux_sys_fdatasync(int fd); }
251 1.16 fvdl 149 STD { int linux_sys___sysctl(struct linux___sysctl *lsp); }
252 1.16 fvdl 150 NOARGS { int sys_mlock(caddr_t addr, size_t len); }
253 1.16 fvdl 151 NOARGS { int sys_munlock(caddr_t addr, size_t len); }
254 1.43 jdolecek 152 NOARGS { int sys_mlockall(int flags); }
255 1.43 jdolecek 153 NOARGS { int sys_munlockall(void); }
256 1.36 tron 154 STD { int linux_sys_sched_setparam(pid_t pid, \
257 1.36 tron const struct linux_sched_param *sp); }
258 1.36 tron 155 STD { int linux_sys_sched_getparam(pid_t pid, \
259 1.36 tron struct linux_sched_param *sp); }
260 1.36 tron 156 STD { int linux_sys_sched_setscheduler(pid_t pid, \
261 1.36 tron int policy, const struct linux_sched_param *sp); }
262 1.36 tron 157 STD { int linux_sys_sched_getscheduler(pid_t pid); }
263 1.36 tron 158 STD { int linux_sys_sched_yield(void); }
264 1.36 tron 159 STD { int linux_sys_sched_get_priority_max(int policy); }
265 1.36 tron 160 STD { int linux_sys_sched_get_priority_min(int policy); }
266 1.36 tron 161 UNIMPL sys_sched_rr_get_interval
267 1.24 perry 162 NOARGS { int sys_nanosleep(const struct timespec *rqtp, \
268 1.24 perry struct timespec *rmtp); }
269 1.19 mycroft 163 STD { void *linux_sys_mremap(void *old_address, \
270 1.19 mycroft size_t old_size, size_t new_size, u_long flags); }
271 1.52 fvdl 164 STD { int linux_sys_setresuid16(uid_t ruid, uid_t euid, \
272 1.34 thorpej uid_t suid); }
273 1.52 fvdl 165 NOARGS linux_getresuid16 { int linux_sys_getresuid( \
274 1.52 fvdl uid_t *ruid, uid_t *euid, uid_t *suid); }
275 1.26 erh 166 UNIMPL vm86
276 1.26 erh 167 UNIMPL query_module
277 1.32 abs 168 NOARGS { int sys_poll(struct pollfd *fds, u_int nfds, \
278 1.32 abs int timeout); }
279 1.26 erh 169 UNIMPL nfsservctl
280 1.52 fvdl 170 STD { int linux_sys_setresgid16(gid_t rgid, gid_t egid, \
281 1.34 thorpej gid_t sgid); }
282 1.52 fvdl 171 NOARGS linux_getresgid16 { int linux_sys_getresgid( \
283 1.52 fvdl gid_t *rgid, gid_t *egid, gid_t *sgid); }
284 1.26 erh 172 UNIMPL prctl
285 1.26 erh 173 STD { int linux_sys_rt_sigreturn( \
286 1.26 erh struct linux_rt_sigframe *sfp); }
287 1.26 erh 174 STD { int linux_sys_rt_sigaction(int signum, \
288 1.26 erh const struct linux_sigaction *nsa, \
289 1.26 erh struct linux_sigaction *osa, \
290 1.26 erh size_t sigsetsize); }
291 1.26 erh 175 STD { int linux_sys_rt_sigprocmask(int how, \
292 1.26 erh const linux_sigset_t *set, \
293 1.26 erh linux_sigset_t *oset, \
294 1.26 erh size_t sigsetsize); }
295 1.26 erh 176 STD { int linux_sys_rt_sigpending( \
296 1.26 erh linux_sigset_t *set, \
297 1.26 erh size_t sigsetsize); }
298 1.26 erh 177 UNIMPL rt_sigtimedwait
299 1.26 erh ; XXX XAX int here? sigset_t here? siginfo_t
300 1.26 erh 178 STD { int linux_sys_rt_queueinfo(int pid, int signum, \
301 1.26 erh void *uinfo); }
302 1.26 erh 179 STD { int linux_sys_rt_sigsuspend(linux_sigset_t *unewset, \
303 1.26 erh size_t sigsetsize); }
304 1.38 tron 180 STD { int linux_sys_pread(int fd, char *buf, \
305 1.38 tron size_t nbyte, linux_off_t offset); }
306 1.38 tron 181 STD { int linux_sys_pwrite(int fd, char *buf, \
307 1.38 tron size_t nbyte, linux_off_t offset); }
308 1.51 fvdl 182 STD { int linux_sys_chown16(const char *path, int uid, \
309 1.29 christos int gid); }
310 1.31 tron 183 NOARGS { int sys___getcwd(char *bufp, size_t length); }
311 1.26 erh 184 UNIMPL capget
312 1.26 erh 185 UNIMPL capset
313 1.42 christos 186 STD { int linux_sys_sigaltstack( \
314 1.42 christos const struct linux_sigaltstack *ss, \
315 1.42 christos struct linux_sigaltstack *oss); }
316 1.34 thorpej 187 UNIMPL sendfile
317 1.34 thorpej 188 UNIMPL getpmsg
318 1.34 thorpej 189 UNIMPL putpmsg
319 1.34 thorpej 190 NOARGS { int sys___vfork14(void); }
320 1.47 jdolecek 191 UNIMPL getrlimit
321 1.47 jdolecek 192 UNIMPL mmap2
322 1.49 jdolecek 193 STD { int linux_sys_truncate64(const char *path, \
323 1.48 jdolecek off_t length); }
324 1.52 fvdl 194 NOARGS linux_ftruncate64 { int sys_ftruncate(int fd, off_t length); }
325 1.48 jdolecek 195 STD { int linux_sys_stat64(const char *path, \
326 1.48 jdolecek struct linux_stat64 *sp); }
327 1.48 jdolecek 196 STD { int linux_sys_lstat64(const char *path, \
328 1.48 jdolecek struct linux_stat64 *sp); }
329 1.48 jdolecek 197 STD { int linux_sys_fstat64(int fd, \
330 1.48 jdolecek struct linux_stat64 *sp); }
331 1.52 fvdl 198 STD { int linux_sys_lchown(const char *path, uid_t uid, \
332 1.51 fvdl gid_t gid); }
333 1.51 fvdl 199 NOARGS { uid_t sys_getuid(void); }
334 1.51 fvdl 200 NOARGS { gid_t sys_getgid(void); }
335 1.51 fvdl 201 NOARGS { uid_t sys_geteuid(void); }
336 1.51 fvdl 202 NOARGS { gid_t sys_getegid(void); }
337 1.51 fvdl 203 NOARGS { int sys_setreuid(uid_t ruid, uid_t euid); }
338 1.51 fvdl 204 NOARGS { int sys_setregid(gid_t rgid, gid_t egid); }
339 1.52 fvdl 205 NOARGS { int sys_getgroups(u_int gidsetsize, gid_t *gidset); }
340 1.52 fvdl 206 NOARGS { int sys_setgroups(u_int gidsetsize, gid_t *gidset); }
341 1.51 fvdl 207 NOARGS { int sys___posix_fchown(int fd, uid_t uid, \
342 1.51 fvdl gid_t gid); }
343 1.52 fvdl 208 STD { int linux_sys_setresuid(uid_t ruid, uid_t euid, \
344 1.52 fvdl uid_t suid); }
345 1.52 fvdl 209 STD { int linux_sys_getresuid(uid_t *ruid, uid_t *euid, \
346 1.52 fvdl uid_t *suid); }
347 1.52 fvdl 210 STD { int linux_sys_setresgid(gid_t rgid, gid_t egid, \
348 1.52 fvdl gid_t sgid); }
349 1.52 fvdl 211 STD { int linux_sys_getresgid(gid_t *rgid, gid_t *egid, \
350 1.52 fvdl gid_t *sgid); }
351 1.52 fvdl 212 STD { int linux_sys_chown(const char *path, uid_t uid, \
352 1.51 fvdl gid_t gid); }
353 1.51 fvdl 213 NOARGS { int sys_setuid(uid_t uid); }
354 1.51 fvdl 214 NOARGS { int sys_setgid(gid_t gid); }
355 1.52 fvdl 215 STD { int linux_sys_setfsuid(uid_t uid); }
356 1.52 fvdl 216 NOARGS { int linux_sys_getfsuid(void); }
357 1.47 jdolecek 217 UNIMPL pivot_root
358