syscalls.master revision 1.2.16.9 1 1.2.16.9 yamt $NetBSD: syscalls.master,v 1.2.16.9 2008/01/21 09:41:33 yamt Exp $
2 1.2.16.2 yamt
3 1.2.16.2 yamt ; NetBSD i386 COMPAT_LINUX32 system call name/number "master" file.
4 1.2.16.2 yamt ; (See syscalls.conf to see what it is processed into.)
5 1.2.16.2 yamt ;
6 1.2.16.2 yamt ; Fields: number type [type-dependent ...]
7 1.2.16.2 yamt ; number system call number, must be in order
8 1.2.16.2 yamt ; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
9 1.2.16.2 yamt ; the compatibility options defined in syscalls.conf.
10 1.2.16.2 yamt ;
11 1.2.16.2 yamt ; types:
12 1.2.16.2 yamt ; STD always included
13 1.2.16.2 yamt ; OBSOL obsolete, not included in system
14 1.2.16.2 yamt ; UNIMPL unimplemented, not included in system
15 1.2.16.2 yamt ; NODEF included, but don't define the syscall number
16 1.2.16.2 yamt ;
17 1.2.16.2 yamt ; INDIR included, but don't define the syscall args structure
18 1.2.16.2 yamt ; and allow it to be "really" varargs.
19 1.2.16.2 yamt ;
20 1.2.16.2 yamt ; The compat options are defined in the syscalls.conf file, and the
21 1.2.16.2 yamt ; compat option name is prefixed to the syscall name. Other than
22 1.2.16.2 yamt ; that, they're like NODEF (for 'compat' options), or STD (for
23 1.2.16.2 yamt ; 'libcompat' options).
24 1.2.16.2 yamt ;
25 1.2.16.2 yamt ; The type-dependent arguments are as follows:
26 1.2.16.2 yamt ; For STD, NODEF, NOARGS, and compat syscalls:
27 1.2.16.2 yamt ; { pseudo-proto } [alias]
28 1.2.16.2 yamt ; For other syscalls:
29 1.2.16.2 yamt ; [comment]
30 1.2.16.2 yamt ;
31 1.2.16.2 yamt ; #ifdef's, etc. may be included, and are copied to the output files.
32 1.2.16.2 yamt ; #include's are copied to the syscall names and switch definition files only.
33 1.2.16.2 yamt
34 1.2.16.2 yamt #if defined(_KERNEL_OPT)
35 1.2.16.2 yamt #include "opt_compat_43.h"
36 1.2.16.2 yamt #endif
37 1.2.16.2 yamt
38 1.2.16.2 yamt #include <sys/param.h>
39 1.2.16.2 yamt #include <sys/poll.h>
40 1.2.16.2 yamt #include <sys/systm.h>
41 1.2.16.2 yamt #include <sys/signal.h>
42 1.2.16.2 yamt #include <sys/mount.h>
43 1.2.16.2 yamt #include <sys/syscallargs.h>
44 1.2.16.2 yamt
45 1.2.16.2 yamt #include <machine/netbsd32_machdep.h>
46 1.2.16.2 yamt
47 1.2.16.2 yamt #include <compat/netbsd32/netbsd32.h>
48 1.2.16.2 yamt #include <compat/netbsd32/netbsd32_syscallargs.h>
49 1.2.16.2 yamt
50 1.2.16.2 yamt #include <compat/linux32/common/linux32_types.h>
51 1.2.16.2 yamt #include <compat/linux32/common/linux32_signal.h>
52 1.2.16.2 yamt #include <compat/linux32/arch/amd64/linux32_missing.h>
53 1.2.16.2 yamt #include <compat/linux32/linux32_syscallargs.h>
54 1.2.16.2 yamt
55 1.2.16.2 yamt #include <compat/linux/common/linux_types.h>
56 1.2.16.2 yamt #include <compat/linux/common/linux_mmap.h>
57 1.2.16.2 yamt #include <compat/linux/common/linux_signal.h>
58 1.2.16.2 yamt #include <compat/linux/common/linux_siginfo.h>
59 1.2.16.2 yamt #include <compat/linux/common/linux_machdep.h>
60 1.2.16.2 yamt
61 1.2.16.2 yamt #include <compat/linux/linux_syscallargs.h>
62 1.2.16.2 yamt
63 1.2.16.2 yamt %%
64 1.2.16.2 yamt
65 1.2.16.2 yamt 0 NOARGS { int linux_sys_nosys(void); } syscall
66 1.2.16.7 yamt 1 NOARGS { int netbsd32_exit(int rval); }
67 1.2.16.2 yamt 2 NOARGS { int sys_fork(void); }
68 1.2.16.2 yamt 3 NOARGS { netbsd32_ssize_t netbsd32_read(int fd, \
69 1.2.16.2 yamt netbsd32_voidp buf, netbsd32_size_t nbyte); }
70 1.2.16.2 yamt 4 NOARGS { netbsd32_ssize_t netbsd32_write(int fd, \
71 1.2.16.2 yamt const netbsd32_voidp buf, netbsd32_size_t nbyte); }
72 1.2.16.2 yamt 5 STD { int linux32_sys_open(const netbsd32_charp path, int flags, \
73 1.2.16.2 yamt int mode); }
74 1.2.16.7 yamt 6 NOARGS { int netbsd32_close(int fd); }
75 1.2.16.2 yamt 7 STD { int linux32_sys_waitpid(int pid, netbsd32_intp status, \
76 1.2.16.2 yamt int options);}
77 1.2.16.2 yamt 8 STD { int linux32_sys_creat(const netbsd32_charp path, int mode); }
78 1.2.16.7 yamt 9 NOARGS { int netbsd32_link(const netbsd32_charp path, \
79 1.2.16.2 yamt const netbsd32_charp link); }
80 1.2.16.2 yamt 10 STD { int linux32_sys_unlink(const netbsd32_charp path); }
81 1.2.16.4 yamt 11 NOARGS { int netbsd32_execve(const netbsd32_charp path, \
82 1.2.16.2 yamt netbsd32_charpp argp, netbsd32_charpp envp); }
83 1.2.16.7 yamt 12 NOARGS { int netbsd32_chdir(const netbsd32_charp path); }
84 1.2.16.2 yamt 13 STD { int linux32_sys_time(linux32_timep_t t); }
85 1.2.16.2 yamt 14 STD { int linux32_sys_mknod(const netbsd32_charp path, \
86 1.2.16.2 yamt int mode, int dev); }
87 1.2.16.7 yamt 15 NOARGS { int netbsd32_chmod(const netbsd32_charp path, int mode); }
88 1.2.16.2 yamt 16 STD { int linux32_sys_lchown16(const netbsd32_charp path, \
89 1.2.16.9 yamt linux32_uid16_t uid, linux32_gid16_t gid); }
90 1.2.16.2 yamt 17 STD { int linux32_sys_break(netbsd32_charp nsize); }
91 1.2.16.2 yamt 18 OBSOL ostat
92 1.2.16.2 yamt 19 NOARGS { netbsd32_long compat_43_netbsd32_olseek(int fd, \
93 1.2.16.2 yamt netbsd32_long offset, int chence); }
94 1.2.16.3 yamt 20 STD { pid_t linux_sys_getpid(void); }
95 1.2.16.2 yamt 21 UNIMPL mount
96 1.2.16.2 yamt 22 UNIMPL umount
97 1.2.16.7 yamt 23 NOARGS linux_setuid16 { int netbsd32_setuid(uid_t uid); }
98 1.2.16.2 yamt 24 NOARGS linux_getuid16 { uid_t sys_getuid(void); }
99 1.2.16.2 yamt 25 STD { int linux32_sys_stime(linux32_timep_t t); }
100 1.2.16.2 yamt 26 UNIMPL ptrace
101 1.2.16.7 yamt 27 STD { int linux32_sys_alarm(unsigned int secs); }
102 1.2.16.2 yamt 28 OBSOL ofstat
103 1.2.16.2 yamt 29 NOARGS { int linux_sys_pause(void); }
104 1.2.16.2 yamt 30 STD { int linux32_sys_utime(const netbsd32_charp path, \
105 1.2.16.2 yamt linux32_utimbufp_t times); }
106 1.2.16.2 yamt 31 OBSOL stty
107 1.2.16.2 yamt 32 OBSOL gtty
108 1.2.16.7 yamt 33 NOARGS { int netbsd32_access(const netbsd32_charp path, \
109 1.2.16.2 yamt int flags); }
110 1.2.16.7 yamt 34 STD { int linux32_sys_nice(int incr); }
111 1.2.16.2 yamt 35 OBSOL ftime
112 1.2.16.2 yamt 36 NOARGS { int sys_sync(void); }
113 1.2.16.2 yamt 37 STD { int linux32_sys_kill(int pid, int signum); }
114 1.2.16.2 yamt 38 STD { int linux32_sys_rename(const netbsd32_charp from, \
115 1.2.16.2 yamt const netbsd32_charp to); }
116 1.2.16.7 yamt 39 NOARGS { int netbsd32_mkdir(const netbsd32_charp path, int mode); }
117 1.2.16.7 yamt 40 NOARGS { int netbsd32_rmdir(const netbsd32_charp path); }
118 1.2.16.2 yamt 41 NOARGS { int netbsd32_dup(u_int fd); }
119 1.2.16.2 yamt 42 STD { int linux32_sys_pipe(netbsd32_intp fd); }
120 1.2.16.2 yamt 43 STD { int linux32_sys_times(linux32_tmsp_t tms); }
121 1.2.16.2 yamt 44 OBSOL prof
122 1.2.16.2 yamt 45 STD { int linux32_sys_brk(netbsd32_charp nsize); }
123 1.2.16.7 yamt 46 NOARGS linux_setgid16 { int netbsd32_setgid(gid_t gid); }
124 1.2.16.2 yamt 47 NOARGS linux_getgid16 { gid_t sys_getgid(void); }
125 1.2.16.2 yamt 48 STD { int linux32_sys_signal(int signum, \
126 1.2.16.2 yamt linux32_handler_t handler); }
127 1.2.16.2 yamt 49 NOARGS linux_geteuid16 { uid_t sys_geteuid(void); }
128 1.2.16.2 yamt 50 NOARGS linux_getegid16 { gid_t sys_getegid(void); }
129 1.2.16.4 yamt 51 NOARGS { int netbsd32_acct(netbsd32_charp path); }
130 1.2.16.2 yamt 52 OBSOL phys
131 1.2.16.2 yamt 53 OBSOL lock
132 1.2.16.2 yamt 54 STD { int linux32_sys_ioctl(int fd, netbsd32_u_long com, \
133 1.2.16.2 yamt netbsd32_charp data); }
134 1.2.16.2 yamt 55 STD { int linux32_sys_fcntl(int fd, \
135 1.2.16.2 yamt int cmd, netbsd32_voidp arg); }
136 1.2.16.2 yamt 56 OBSOL mpx
137 1.2.16.7 yamt 57 NOARGS { int netbsd32_setpgid(int pid, int pgid); }
138 1.2.16.2 yamt 58 OBSOL ulimit
139 1.2.16.2 yamt 59 STD { int linux32_sys_oldolduname( \
140 1.2.16.2 yamt linux32_oldold_utsnamep_t up); }
141 1.2.16.7 yamt 60 NOARGS { int netbsd32_umask(int newmask); }
142 1.2.16.4 yamt 61 NOARGS { int netbsd32_chroot(netbsd32_charp path); }
143 1.2.16.2 yamt 62 UNIMPL ustat
144 1.2.16.2 yamt 63 NOARGS { int netbsd32_dup2(u_int from, u_int to); }
145 1.2.16.3 yamt 64 STD { pid_t linux_sys_getppid(void); }
146 1.2.16.2 yamt 65 NOARGS { int sys_getpgrp(void); }
147 1.2.16.2 yamt 66 NOARGS { int sys_setsid(void); }
148 1.2.16.2 yamt 67 UNIMPL sigaction
149 1.2.16.2 yamt 68 UNIMPL siggetmask
150 1.2.16.2 yamt 69 UNIMPL sigsetmask
151 1.2.16.9 yamt 70 STD { int linux32_sys_setreuid16(linux32_uid16_t ruid, \
152 1.2.16.9 yamt linux32_uid16_t euid); }
153 1.2.16.9 yamt 71 STD { int linux32_sys_setregid16(linux32_gid16_t rgid, \
154 1.2.16.9 yamt linux32_gid16_t egid); }
155 1.2.16.2 yamt 72 UNIMPL sigsuspend
156 1.2.16.2 yamt 73 UNIMPL sigpending
157 1.2.16.2 yamt 74 NOARGS { int compat_43_netbsd32_osethostname(netbsd32_charp hostname, \
158 1.2.16.2 yamt u_int len); }
159 1.2.16.2 yamt 75 STD { int linux32_sys_setrlimit(u_int which, \
160 1.2.16.2 yamt netbsd32_orlimitp_t rlp); }
161 1.2.16.2 yamt 76 STD { int linux32_sys_getrlimit(u_int which, \
162 1.2.16.2 yamt netbsd32_orlimitp_t rlp); }
163 1.2.16.4 yamt 77 NOARGS { int netbsd32_getrusage(int who, \
164 1.2.16.2 yamt netbsd32_rusagep_t rusage); }
165 1.2.16.2 yamt 78 STD { int linux32_sys_gettimeofday(netbsd32_timevalp_t tp, \
166 1.2.16.2 yamt netbsd32_timezonep_t tzp); }
167 1.2.16.2 yamt 79 STD { int linux32_sys_settimeofday(netbsd32_timevalp_t tp, \
168 1.2.16.2 yamt netbsd32_timezonep_t tzp); }
169 1.2.16.2 yamt 80 STD { int linux32_sys_getgroups16(int gidsetsize, \
170 1.2.16.9 yamt linux32_gid16p_t gidset); }
171 1.2.16.2 yamt 81 STD { int linux32_sys_setgroups16(int gidsetsize, \
172 1.2.16.9 yamt linux32_gid16p_t gidset); }
173 1.2.16.2 yamt 82 STD { int linux32_sys_oldselect(linux32_oldselectp_t lsp); }
174 1.2.16.7 yamt 83 NOARGS { int netbsd32_symlink(netbsd32_charp path, \
175 1.2.16.2 yamt const netbsd32_charp link); }
176 1.2.16.4 yamt 84 NOARGS { int compat_43_netbsd32_lstat43(const netbsd32_charp \
177 1.2.16.2 yamt path, netbsd32_stat43p_t ub); }
178 1.2.16.8 yamt 85 NOARGS { int netbsd32_readlink(const netbsd32_charp name, \
179 1.2.16.2 yamt netbsd32_charp buf, int count); }
180 1.2.16.2 yamt 86 UNIMPL uselib
181 1.2.16.2 yamt 87 STD { int linux32_sys_swapon(netbsd32_charp name); }
182 1.2.16.2 yamt 88 STD { int linux32_sys_reboot(int magic1, int magic2, int cmd, \
183 1.2.16.2 yamt netbsd32_voidp arg); }
184 1.2.16.9 yamt 89 STD { int linux32_sys_readdir(int fd, netbsd32_voidp dent, \
185 1.2.16.9 yamt unsigned int count); }
186 1.2.16.2 yamt 90 STD { int linux32_sys_old_mmap(linux32_oldmmapp lmp); }
187 1.2.16.4 yamt 91 NOARGS { int netbsd32_munmap(netbsd32_caddr_t addr, int len); }
188 1.2.16.2 yamt 92 STD { int linux32_sys_truncate(const netbsd32_charp path, \
189 1.2.16.2 yamt netbsd32_long length); }
190 1.2.16.5 yamt 93 NOARGS { int compat_43_netbsd32_oftruncate(int fd, \
191 1.2.16.5 yamt netbsd32_long length); }
192 1.2.16.7 yamt 94 NOARGS { int netbsd32_fchmod(int fd, int mode); }
193 1.2.16.9 yamt 95 STD { int linux32_sys_fchown16(int fd, linux32_uid16_t uid, \
194 1.2.16.9 yamt linux32_gid16_t gid); }
195 1.2.16.3 yamt 96 STD { int linux32_sys_getpriority(int which, int who); }
196 1.2.16.3 yamt 97 STD { int linux32_sys_setpriority(int which, int who, int prio); }
197 1.2.16.2 yamt 98 UNIMPL profil
198 1.2.16.5 yamt 99 STD { int linux32_sys_statfs(const netbsd32_charp path, \
199 1.2.16.5 yamt linux32_statfsp sp); }
200 1.2.16.2 yamt 100 UNIMPL fstatfs
201 1.2.16.2 yamt 101 UNIMPL ioperm
202 1.2.16.2 yamt 102 STD { int linux32_sys_socketcall(int what, netbsd32_voidp args); }
203 1.2.16.2 yamt 103 UNIMPL syslog
204 1.2.16.4 yamt 104 NOARGS { int netbsd32_setitimer(u_int which, \
205 1.2.16.2 yamt netbsd32_itimervalp_t itv, netbsd32_itimervalp_t oitv); }
206 1.2.16.4 yamt 105 NOARGS { int netbsd32_getitimer(u_int which, \
207 1.2.16.2 yamt netbsd32_itimervalp_t itv); }
208 1.2.16.2 yamt 106 UNIMPL stat
209 1.2.16.2 yamt 107 UNIMPL lstat
210 1.2.16.2 yamt 108 UNIMPL fstat
211 1.2.16.9 yamt 109 STD { int linux32_sys_olduname(linux32_oldutsnamep_t up); }
212 1.2.16.2 yamt 110 UNIMPL iopl
213 1.2.16.2 yamt 111 UNIMPL vhangup
214 1.2.16.2 yamt 112 UNIMPL idle
215 1.2.16.2 yamt 113 UNIMPL vm86old
216 1.2.16.2 yamt 114 STD { int linux32_sys_wait4(int pid, netbsd32_intp status, \
217 1.2.16.2 yamt int options, netbsd32_rusagep_t rusage); }
218 1.2.16.2 yamt 115 STD { int linux32_sys_swapoff(const netbsd32_charp path); }
219 1.2.16.3 yamt 116 STD { int linux32_sys_sysinfo(linux32_sysinfop_t arg); }
220 1.2.16.2 yamt 117 UNIMPL ipc
221 1.2.16.7 yamt 118 NOARGS { int netbsd32_fsync(int fd); }
222 1.2.16.2 yamt 119 STD { int linux32_sys_sigreturn(linux32_sigcontextp_t scp); }
223 1.2.16.2 yamt 120 STD { int linux32_sys_clone(int flags, netbsd32_voidp stack); }
224 1.2.16.2 yamt 121 UNIMPL setdomainname
225 1.2.16.2 yamt 122 STD { int linux32_sys_uname(linux32_utsnamep up); }
226 1.2.16.2 yamt 123 UNIMPL modify_ldt
227 1.2.16.2 yamt 124 UNIMPL adjtimex
228 1.2.16.9 yamt 125 STD { int linux32_sys_mprotect(netbsd32_voidp start, \
229 1.2.16.2 yamt netbsd32_size_t len, int prot); }
230 1.2.16.2 yamt 126 UNIMPL sigprocmask
231 1.2.16.2 yamt 127 UNIMPL create_module
232 1.2.16.2 yamt 128 UNIMPL init_module
233 1.2.16.2 yamt 129 UNIMPL delete_module
234 1.2.16.2 yamt 130 UNIMPL get_kernel_syms
235 1.2.16.2 yamt 131 UNIMPL quotactl
236 1.2.16.9 yamt 132 NOARGS { int netbsd32_getpgid(pid_t pid); }
237 1.2.16.7 yamt 133 NOARGS { int netbsd32_fchdir(int fd); }
238 1.2.16.2 yamt 134 UNIMPL bdflush
239 1.2.16.2 yamt 135 UNIMPL sysfs
240 1.2.16.2 yamt 136 UNIMPL personality
241 1.2.16.2 yamt 137 UNIMPL afs_syscall
242 1.2.16.7 yamt 138 NOARGS setfsuid16 { int linux32_sys_setfsuid(uid_t uid); }
243 1.2.16.9 yamt 139 NOARGS setfsgid16 { int linux32_sys_setfsgid(gid_t gid); }
244 1.2.16.2 yamt 140 STD { int linux32_sys_llseek(int fd, u_int32_t ohigh, \
245 1.2.16.2 yamt u_int32_t olow, netbsd32_caddr_t res, int whence); }
246 1.2.16.2 yamt 141 STD { int linux32_sys_getdents(int fd, \
247 1.2.16.2 yamt linux32_direntp_t dent, unsigned int count); }
248 1.2.16.2 yamt 142 STD { int linux32_sys_select(int nfds, \
249 1.2.16.2 yamt netbsd32_fd_setp_t readfds, \
250 1.2.16.2 yamt netbsd32_fd_setp_t writefds, \
251 1.2.16.2 yamt netbsd32_fd_setp_t exceptfds, \
252 1.2.16.2 yamt netbsd32_timevalp_t timeout); }
253 1.2.16.7 yamt 143 NOARGS { int netbsd32_flock(int fd, int how); }
254 1.2.16.2 yamt 144 UNIMPL msync
255 1.2.16.4 yamt 145 NOARGS { int netbsd32_readv(int fd, \
256 1.2.16.2 yamt const netbsd32_iovecp_t iovp, u_int iovcnt); }
257 1.2.16.4 yamt 146 NOARGS { netbsd32_ssize_t netbsd32_writev(int fd, \
258 1.2.16.2 yamt const netbsd32_iovecp_t iovp, int iovcnt); }
259 1.2.16.7 yamt 147 NOARGS { pid_t netbsd32_getsid(pid_t pid); }
260 1.2.16.7 yamt 148 STD { int linux32_sys_fdatasync(int fd); }
261 1.2.16.2 yamt 149 STD { int linux32_sys___sysctl(linux32___sysctlp_t lsp); }
262 1.2.16.2 yamt 150 UNIMPL mlock
263 1.2.16.2 yamt 151 UNIMPL munlock
264 1.2.16.7 yamt 152 NOARGS { int netbsd32_mlockall(int flags); }
265 1.2.16.2 yamt 153 NOARGS { int sys_munlockall(void); }
266 1.2.16.2 yamt 154 UNIMPL sched_setparam
267 1.2.16.3 yamt 155 STD { int linux32_sys_sched_getparam(pid_t pid, \
268 1.2.16.3 yamt linux32_sched_paramp_t sp); }
269 1.2.16.2 yamt 156 STD { int linux32_sys_sched_setscheduler(pid_t pid, \
270 1.2.16.2 yamt int policy, const linux32_sched_paramp_t sp); }
271 1.2.16.7 yamt 157 STD { int linux32_sys_sched_getscheduler(pid_t pid); }
272 1.2.16.4 yamt 158 NOARGS { int linux_sys_sched_yield(void); }
273 1.2.16.2 yamt 159 UNIMPL sched_get_priority_max
274 1.2.16.2 yamt 160 UNIMPL sched_get_priority_min
275 1.2.16.2 yamt 161 UNIMPL sched_rr_get_interval
276 1.2.16.4 yamt 162 NOARGS { int netbsd32_nanosleep(const \
277 1.2.16.2 yamt netbsd32_timespecp_t rqtp \
278 1.2.16.2 yamt netbsd32_timespecp_t rmtp); }
279 1.2.16.3 yamt 163 STD { int linux32_sys_mremap(netbsd32_voidp old_address, \
280 1.2.16.3 yamt netbsd32_size_t old_size , netbsd32_size_t new_size, \
281 1.2.16.3 yamt netbsd32_u_long flags); }
282 1.2.16.9 yamt 164 STD { int linux32_sys_setresuid16(linux32_uid16_t ruid, \
283 1.2.16.9 yamt linux32_uid16_t euid, linux32_uid16_t suid); }
284 1.2.16.9 yamt 165 STD { int linux32_sys_getresuid16(linux32_uid16p_t ruid, \
285 1.2.16.9 yamt linux32_uid16p_t euid, linux32_uid16p_t suid); }
286 1.2.16.2 yamt 166 UNIMPL vm86
287 1.2.16.2 yamt 167 UNIMPL query_module
288 1.2.16.4 yamt 168 NOARGS { int netbsd32_poll(netbsd32_pollfdp_t fds, u_int nfds, \
289 1.2.16.9 yamt int timeout); }
290 1.2.16.2 yamt 169 UNIMPL nfsservctl
291 1.2.16.9 yamt 170 STD { int linux32_sys_setresgid16(linux32_gid16_t rgid, \
292 1.2.16.9 yamt linux32_gid16_t egid, linux32_gid16_t sgid); }
293 1.2.16.9 yamt 171 STD { int linux32_sys_getresgid16(linux32_gid16p_t rgid, \
294 1.2.16.9 yamt linux32_gid16p_t egid, linux32_gid16p_t sgid); }
295 1.2.16.2 yamt 172 UNIMPL prctl
296 1.2.16.2 yamt 173 STD { int linux32_sys_rt_sigreturn(linux32_ucontextp_t ucp); }
297 1.2.16.2 yamt 174 STD { int linux32_sys_rt_sigaction(int signum, \
298 1.2.16.2 yamt const linux32_sigactionp_t nsa, \
299 1.2.16.2 yamt linux32_sigactionp_t osa, \
300 1.2.16.2 yamt netbsd32_size_t sigsetsize); }
301 1.2.16.2 yamt 175 STD { int linux32_sys_rt_sigprocmask(int how, \
302 1.2.16.2 yamt const linux32_sigsetp_t set, \
303 1.2.16.2 yamt linux32_sigsetp_t oset, \
304 1.2.16.2 yamt netbsd32_size_t sigsetsize); }
305 1.2.16.2 yamt 176 UNIMPL rt_sigpending
306 1.2.16.2 yamt 177 UNIMPL rt_sigtimedwait
307 1.2.16.2 yamt 178 UNIMPL rt_queueinfo
308 1.2.16.2 yamt 179 STD { int linux32_sys_rt_sigsuspend(linux32_sigsetp_t unewset, \
309 1.2.16.2 yamt netbsd32_size_t sigsetsize); }
310 1.2.16.2 yamt 180 UNIMPL pread
311 1.2.16.2 yamt 181 UNIMPL pwrite
312 1.2.16.6 yamt 182 STD { int linux32_sys_chown16(const netbsd32_charp path, \
313 1.2.16.9 yamt linux32_uid16_t uid, linux32_gid16_t gid); }
314 1.2.16.2 yamt 183 NOARGS { int netbsd32___getcwd(netbsd32_charp bufp, \
315 1.2.16.2 yamt netbsd32_size_t length); }
316 1.2.16.2 yamt 184 UNIMPL capget
317 1.2.16.2 yamt 185 UNIMPL capset
318 1.2.16.2 yamt 186 UNIMPL sigaltstack
319 1.2.16.2 yamt 187 UNIMPL sendfile
320 1.2.16.2 yamt 188 UNIMPL getpmsg
321 1.2.16.2 yamt 189 UNIMPL putpmsg
322 1.2.16.2 yamt 190 NOARGS { int sys___vfork14(void); }
323 1.2.16.2 yamt 191 STD { int linux32_sys_ugetrlimit(int which, \
324 1.2.16.2 yamt netbsd32_orlimitp_t rlp); }
325 1.2.16.3 yamt 192 STD { linux32_off_t linux32_sys_mmap2(netbsd32_u_long addr, \
326 1.2.16.3 yamt netbsd32_size_t len, int prot, int flags, int fd, \
327 1.2.16.3 yamt linux32_off_t offset); }
328 1.2.16.2 yamt 193 UNIMPL truncate64
329 1.2.16.2 yamt 194 UNIMPL ftruncate64
330 1.2.16.2 yamt 195 STD { int linux32_sys_stat64(const netbsd32_charp path, \
331 1.2.16.2 yamt linux32_stat64p sp); }
332 1.2.16.2 yamt 196 STD { int linux32_sys_lstat64(const netbsd32_charp path, \
333 1.2.16.2 yamt linux32_stat64p sp); }
334 1.2.16.2 yamt 197 STD { int linux32_sys_fstat64(int fd, \
335 1.2.16.2 yamt linux32_stat64p sp); }
336 1.2.16.6 yamt 198 NOARGS { int netbsd32___posix_lchown(const netbsd32_charp path, \
337 1.2.16.6 yamt int uid, int gid); }
338 1.2.16.2 yamt 199 NOARGS { uid_t sys_getuid(void); }
339 1.2.16.2 yamt 200 NOARGS { gid_t sys_getgid(void); }
340 1.2.16.2 yamt 201 NOARGS { uid_t sys_geteuid(void); }
341 1.2.16.2 yamt 202 NOARGS { gid_t sys_getegid(void); }
342 1.2.16.7 yamt 203 NOARGS { int netbsd32_setreuid(uid_t ruid, uid_t euid); }
343 1.2.16.7 yamt 204 NOARGS { int netbsd32_setregid(gid_t rgid, gid_t egid); }
344 1.2.16.2 yamt 205 NOARGS { int netbsd32_getgroups(int gidsetsize, \
345 1.2.16.2 yamt netbsd32_gid_tp gidset); }
346 1.2.16.2 yamt 206 NOARGS { int netbsd32_setgroups(int gidsetsize, \
347 1.2.16.2 yamt netbsd32_gid_tp gidset); }
348 1.2.16.7 yamt 207 NOARGS { int netbsd32___posix_fchown(int fd, uid_t uid, gid_t gid); }
349 1.2.16.3 yamt 208 STD { int linux32_sys_setresuid(uid_t ruid, uid_t euid, \
350 1.2.16.2 yamt uid_t suid); }
351 1.2.16.2 yamt 209 UNIMPL getresuid
352 1.2.16.3 yamt 210 STD { int linux32_sys_setresgid(gid_t rgid, gid_t egid, \
353 1.2.16.2 yamt gid_t sgid); }
354 1.2.16.2 yamt 211 UNIMPL getresgid
355 1.2.16.6 yamt 212 NOARGS { int netbsd32___posix_chown(const netbsd32_charp path, \
356 1.2.16.6 yamt int uid, int gid); }
357 1.2.16.7 yamt 213 NOARGS { int netbsd32_setuid(uid_t uid); }
358 1.2.16.7 yamt 214 NOARGS { int netbsd32_setgid(gid_t gid); }
359 1.2.16.7 yamt 215 STD { int linux32_sys_setfsuid(uid_t uid); }
360 1.2.16.9 yamt 216 STD { int linux32_sys_setfsgid(gid_t gid); }
361 1.2.16.2 yamt 217 UNIMPL pivot_root
362 1.2.16.2 yamt 218 UNIMPL mincore
363 1.2.16.3 yamt 219 NOARGS { int netbsd32_madvise(netbsd32_voidp addr, \
364 1.2.16.3 yamt netbsd32_size_t len, int behav); }
365 1.2.16.2 yamt 220 STD { int linux32_sys_getdents64(int fd, \
366 1.2.16.2 yamt linux32_dirent64p_t dent, unsigned int count); }
367 1.2.16.2 yamt 221 STD { int linux32_sys_fcntl64(int fd, \
368 1.2.16.2 yamt int cmd, netbsd32_voidp arg); }
369 1.2.16.2 yamt 222 UNIMPL /* unused */
370 1.2.16.2 yamt 223 UNIMPL /* unused */
371 1.2.16.3 yamt 224 STD { pid_t linux_sys_gettid(void); }
372 1.2.16.2 yamt 225 UNIMPL readahead
373 1.2.16.2 yamt 226 UNIMPL setxattr
374 1.2.16.2 yamt 227 UNIMPL lsetxattr
375 1.2.16.2 yamt 228 UNIMPL fsetxattr
376 1.2.16.2 yamt 229 UNIMPL getxattr
377 1.2.16.2 yamt 230 UNIMPL lgetxattr
378 1.2.16.2 yamt 231 UNIMPL fgetxattr
379 1.2.16.2 yamt 232 UNIMPL listxattr
380 1.2.16.2 yamt 233 UNIMPL llistxattr
381 1.2.16.2 yamt 234 UNIMPL flistxattr
382 1.2.16.2 yamt 235 UNIMPL removexattr
383 1.2.16.2 yamt 236 UNIMPL lremovexattr
384 1.2.16.2 yamt 237 UNIMPL fremovexattr
385 1.2.16.2 yamt 238 UNIMPL tkill
386 1.2.16.2 yamt 239 UNIMPL sendfile64
387 1.2.16.2 yamt 240 UNIMPL futex
388 1.2.16.2 yamt 241 UNIMPL sched_setaffinity
389 1.2.16.2 yamt 242 UNIMPL sched_getaffinity
390 1.2.16.2 yamt 243 UNIMPL set_thread_area
391 1.2.16.2 yamt 244 UNIMPL get_thread_area
392 1.2.16.2 yamt 245 UNIMPL io_setup
393 1.2.16.2 yamt 246 UNIMPL io_destroy
394 1.2.16.2 yamt 247 UNIMPL io_getevents
395 1.2.16.2 yamt 248 UNIMPL io_submit
396 1.2.16.2 yamt 249 UNIMPL io_cancel
397 1.2.16.2 yamt 250 UNIMPL fadvise64
398 1.2.16.2 yamt 251 UNIMPL /* unused */
399 1.2.16.7 yamt 252 STD { int linux32_sys_exit_group(int error_code); }
400 1.2.16.2 yamt 253 UNIMPL lookup_dcookie
401 1.2.16.2 yamt 254 UNIMPL epoll_create
402 1.2.16.2 yamt 255 UNIMPL epoll_ctl
403 1.2.16.2 yamt 256 UNIMPL epoll_wait
404 1.2.16.2 yamt 257 UNIMPL remap_file_pages
405 1.2.16.2 yamt 258 UNIMPL set_tid_address
406 1.2.16.2 yamt 259 UNIMPL timer_create
407 1.2.16.2 yamt 260 UNIMPL timer_settime
408 1.2.16.2 yamt 261 UNIMPL timer_gettime
409 1.2.16.2 yamt 262 UNIMPL timer_getoverrun
410 1.2.16.2 yamt 263 UNIMPL timer_delete
411 1.2.16.2 yamt 264 UNIMPL clock_settime
412 1.2.16.2 yamt 265 UNIMPL clock_gettime
413 1.2.16.2 yamt 266 UNIMPL clock_getres
414 1.2.16.2 yamt 267 UNIMPL clock_nanosleep
415 1.2.16.2 yamt 268 UNIMPL statfs64
416 1.2.16.2 yamt 269 UNIMPL fstatfs64
417 1.2.16.2 yamt 270 UNIMPL tgkill
418 1.2.16.2 yamt 271 UNIMPL utimes
419 1.2.16.2 yamt 272 UNIMPL fadvise64_64
420 1.2.16.2 yamt 273 UNIMPL vserver
421 1.2.16.2 yamt 274 UNIMPL mbind
422 1.2.16.2 yamt 275 UNIMPL get_mempolicy
423 1.2.16.2 yamt 276 UNIMPL set_mempolicy
424 1.2.16.2 yamt 277 UNIMPL mq_open
425 1.2.16.2 yamt 278 UNIMPL mq_unlink
426 1.2.16.2 yamt 279 UNIMPL mq_timedsend
427 1.2.16.2 yamt 280 UNIMPL mq_timedreceive
428 1.2.16.2 yamt 281 UNIMPL mq_notify
429 1.2.16.2 yamt 282 UNIMPL mq_getsetattr
430 1.2.16.2 yamt 283 UNIMPL kexec_load
431