aoutm68k_sysent.c revision 1.3.2.4 1 1.3.2.4 bouyer /* $NetBSD: aoutm68k_sysent.c,v 1.3.2.4 2001/04/21 17:46:13 bouyer Exp $ */
2 1.3.2.2 bouyer
3 1.3.2.2 bouyer /*
4 1.3.2.2 bouyer * System call switch table.
5 1.3.2.2 bouyer *
6 1.3.2.2 bouyer * DO NOT EDIT-- this file is automatically generated.
7 1.3.2.4 bouyer * created from NetBSD: syscalls.master,v 1.5 2001/04/07 12:25:15 tsutsui Exp
8 1.3.2.2 bouyer */
9 1.3.2.2 bouyer
10 1.3.2.2 bouyer #if defined(_KERNEL) && !defined(_LKM)
11 1.3.2.2 bouyer #include "opt_ktrace.h"
12 1.3.2.2 bouyer #include "opt_nfsserver.h"
13 1.3.2.2 bouyer #include "opt_ntp.h"
14 1.3.2.2 bouyer #include "opt_compat_netbsd.h"
15 1.3.2.2 bouyer #include "opt_sysv.h"
16 1.3.2.2 bouyer #include "opt_compat_43.h"
17 1.3.2.2 bouyer #include "fs_lfs.h"
18 1.3.2.2 bouyer #include "fs_nfs.h"
19 1.3.2.2 bouyer #endif
20 1.3.2.2 bouyer #include <sys/param.h>
21 1.3.2.2 bouyer #include <sys/systm.h>
22 1.3.2.2 bouyer #include <sys/signal.h>
23 1.3.2.2 bouyer #include <sys/mount.h>
24 1.3.2.2 bouyer #include <sys/syscallargs.h>
25 1.3.2.2 bouyer #include <compat/aoutm68k/aoutm68k_syscallargs.h>
26 1.3.2.2 bouyer
27 1.3.2.2 bouyer #define s(type) sizeof(type)
28 1.3.2.2 bouyer
29 1.3.2.2 bouyer struct sysent aoutm68k_sysent[] = {
30 1.3.2.3 bouyer { 0, 0, 0,
31 1.3.2.2 bouyer sys_nosys }, /* 0 = syscall (indir) */
32 1.3.2.3 bouyer { 1, s(struct sys_exit_args), 0,
33 1.3.2.2 bouyer sys_exit }, /* 1 = exit */
34 1.3.2.3 bouyer { 0, 0, 0,
35 1.3.2.2 bouyer sys_fork }, /* 2 = fork */
36 1.3.2.3 bouyer { 3, s(struct sys_read_args), 0,
37 1.3.2.2 bouyer sys_read }, /* 3 = read */
38 1.3.2.3 bouyer { 3, s(struct sys_write_args), 0,
39 1.3.2.2 bouyer sys_write }, /* 4 = write */
40 1.3.2.4 bouyer #ifdef COMPAT_AOUT_ALTPATH
41 1.3.2.3 bouyer { 3, s(struct aoutm68k_sys_open_args), 0,
42 1.3.2.2 bouyer aoutm68k_sys_open }, /* 5 = open */
43 1.3.2.4 bouyer #else
44 1.3.2.4 bouyer { 3, s(struct sys_open_args), 0,
45 1.3.2.4 bouyer sys_open }, /* 5 = open */
46 1.3.2.4 bouyer #endif
47 1.3.2.3 bouyer { 1, s(struct sys_close_args), 0,
48 1.3.2.2 bouyer sys_close }, /* 6 = close */
49 1.3.2.3 bouyer { 4, s(struct sys_wait4_args), 0,
50 1.3.2.2 bouyer sys_wait4 }, /* 7 = wait4 */
51 1.3.2.2 bouyer #ifdef COMPAT_43
52 1.3.2.3 bouyer { 2, s(struct compat_43_sys_creat_args), 0,
53 1.3.2.2 bouyer compat_43_sys_creat }, /* 8 = ocreat */
54 1.3.2.2 bouyer #else
55 1.3.2.3 bouyer { 0, 0, 0,
56 1.3.2.2 bouyer sys_nosys }, /* 8 = excluded compat_43_sys_creat */
57 1.3.2.2 bouyer #endif
58 1.3.2.4 bouyer #ifdef COMPAT_AOUT_ALTPATH
59 1.3.2.3 bouyer { 2, s(struct aoutm68k_sys_link_args), 0,
60 1.3.2.2 bouyer aoutm68k_sys_link }, /* 9 = link */
61 1.3.2.3 bouyer { 1, s(struct aoutm68k_sys_unlink_args), 0,
62 1.3.2.2 bouyer aoutm68k_sys_unlink }, /* 10 = unlink */
63 1.3.2.4 bouyer #else
64 1.3.2.4 bouyer { 2, s(struct sys_link_args), 0,
65 1.3.2.4 bouyer sys_link }, /* 9 = link */
66 1.3.2.4 bouyer { 1, s(struct sys_unlink_args), 0,
67 1.3.2.4 bouyer sys_unlink }, /* 10 = unlink */
68 1.3.2.4 bouyer #endif
69 1.3.2.3 bouyer { 0, 0, 0,
70 1.3.2.2 bouyer sys_nosys }, /* 11 = obsolete execv */
71 1.3.2.4 bouyer #ifdef COMPAT_AOUT_ALTPATH
72 1.3.2.3 bouyer { 1, s(struct aoutm68k_sys_chdir_args), 0,
73 1.3.2.2 bouyer aoutm68k_sys_chdir }, /* 12 = chdir */
74 1.3.2.4 bouyer #else
75 1.3.2.4 bouyer { 1, s(struct sys_chdir_args), 0,
76 1.3.2.4 bouyer sys_chdir }, /* 12 = chdir */
77 1.3.2.4 bouyer #endif
78 1.3.2.3 bouyer { 1, s(struct sys_fchdir_args), 0,
79 1.3.2.2 bouyer sys_fchdir }, /* 13 = fchdir */
80 1.3.2.3 bouyer { 3, s(struct sys_mknod_args), 0,
81 1.3.2.2 bouyer sys_mknod }, /* 14 = mknod */
82 1.3.2.4 bouyer #ifdef COMPAT_AOUT_ALTPATH
83 1.3.2.3 bouyer { 2, s(struct aoutm68k_sys_chmod_args), 0,
84 1.3.2.2 bouyer aoutm68k_sys_chmod }, /* 15 = chmod */
85 1.3.2.3 bouyer { 3, s(struct aoutm68k_sys_chown_args), 0,
86 1.3.2.2 bouyer aoutm68k_sys_chown }, /* 16 = chown */
87 1.3.2.4 bouyer #else
88 1.3.2.4 bouyer { 2, s(struct sys_chmod_args), 0,
89 1.3.2.4 bouyer sys_chmod }, /* 15 = chmod */
90 1.3.2.4 bouyer { 3, s(struct sys_chown_args), 0,
91 1.3.2.4 bouyer sys_chown }, /* 16 = chown */
92 1.3.2.4 bouyer #endif
93 1.3.2.3 bouyer { 1, s(struct sys_obreak_args), 0,
94 1.3.2.2 bouyer sys_obreak }, /* 17 = break */
95 1.3.2.3 bouyer { 3, s(struct sys_getfsstat_args), 0,
96 1.3.2.2 bouyer sys_getfsstat }, /* 18 = getfsstat */
97 1.3.2.2 bouyer #ifdef COMPAT_43
98 1.3.2.3 bouyer { 3, s(struct compat_43_sys_lseek_args), 0,
99 1.3.2.2 bouyer compat_43_sys_lseek }, /* 19 = olseek */
100 1.3.2.2 bouyer #else
101 1.3.2.3 bouyer { 0, 0, 0,
102 1.3.2.2 bouyer sys_nosys }, /* 19 = excluded compat_43_sys_lseek */
103 1.3.2.2 bouyer #endif
104 1.3.2.3 bouyer { 0, 0, SYCALL_MPSAFE | 0,
105 1.3.2.2 bouyer sys_getpid }, /* 20 = getpid */
106 1.3.2.3 bouyer { 4, s(struct sys_mount_args), 0,
107 1.3.2.2 bouyer sys_mount }, /* 21 = mount */
108 1.3.2.3 bouyer { 2, s(struct sys_unmount_args), 0,
109 1.3.2.2 bouyer sys_unmount }, /* 22 = unmount */
110 1.3.2.3 bouyer { 1, s(struct sys_setuid_args), 0,
111 1.3.2.2 bouyer sys_setuid }, /* 23 = setuid */
112 1.3.2.3 bouyer { 0, 0, 0,
113 1.3.2.2 bouyer sys_getuid }, /* 24 = getuid */
114 1.3.2.3 bouyer { 0, 0, 0,
115 1.3.2.2 bouyer sys_geteuid }, /* 25 = geteuid */
116 1.3.2.3 bouyer { 4, s(struct sys_ptrace_args), 0,
117 1.3.2.2 bouyer sys_ptrace }, /* 26 = ptrace */
118 1.3.2.3 bouyer { 3, s(struct sys_recvmsg_args), 0,
119 1.3.2.2 bouyer sys_recvmsg }, /* 27 = recvmsg */
120 1.3.2.3 bouyer { 3, s(struct sys_sendmsg_args), 0,
121 1.3.2.2 bouyer sys_sendmsg }, /* 28 = sendmsg */
122 1.3.2.3 bouyer { 6, s(struct sys_recvfrom_args), 0,
123 1.3.2.2 bouyer sys_recvfrom }, /* 29 = recvfrom */
124 1.3.2.3 bouyer { 3, s(struct sys_accept_args), 0,
125 1.3.2.2 bouyer sys_accept }, /* 30 = accept */
126 1.3.2.3 bouyer { 3, s(struct sys_getpeername_args), 0,
127 1.3.2.2 bouyer sys_getpeername }, /* 31 = getpeername */
128 1.3.2.3 bouyer { 3, s(struct sys_getsockname_args), 0,
129 1.3.2.2 bouyer sys_getsockname }, /* 32 = getsockname */
130 1.3.2.4 bouyer #ifdef COMPAT_AOUT_ALTPATH
131 1.3.2.3 bouyer { 2, s(struct aoutm68k_sys_access_args), 0,
132 1.3.2.2 bouyer aoutm68k_sys_access }, /* 33 = access */
133 1.3.2.3 bouyer { 2, s(struct aoutm68k_sys_chflags_args), 0,
134 1.3.2.2 bouyer aoutm68k_sys_chflags }, /* 34 = chflags */
135 1.3.2.4 bouyer #else
136 1.3.2.4 bouyer { 2, s(struct sys_access_args), 0,
137 1.3.2.4 bouyer sys_access }, /* 33 = access */
138 1.3.2.4 bouyer { 2, s(struct sys_chflags_args), 0,
139 1.3.2.4 bouyer sys_chflags }, /* 34 = chflags */
140 1.3.2.4 bouyer #endif
141 1.3.2.3 bouyer { 2, s(struct sys_fchflags_args), 0,
142 1.3.2.2 bouyer sys_fchflags }, /* 35 = fchflags */
143 1.3.2.3 bouyer { 0, 0, 0,
144 1.3.2.2 bouyer sys_sync }, /* 36 = sync */
145 1.3.2.3 bouyer { 2, s(struct sys_kill_args), 0,
146 1.3.2.2 bouyer sys_kill }, /* 37 = kill */
147 1.3.2.2 bouyer #ifdef COMPAT_43
148 1.3.2.3 bouyer { 2, s(struct aoutm68k_compat_43_sys_stat_args), 0,
149 1.3.2.2 bouyer aoutm68k_compat_43_sys_stat }, /* 38 = stat43 */
150 1.3.2.2 bouyer #else
151 1.3.2.3 bouyer { 0, 0, 0,
152 1.3.2.2 bouyer sys_nosys }, /* 38 = excluded aoutm68k_compat_43_sys_stat */
153 1.3.2.2 bouyer #endif
154 1.3.2.3 bouyer { 0, 0, 0,
155 1.3.2.2 bouyer sys_getppid }, /* 39 = getppid */
156 1.3.2.2 bouyer #ifdef COMPAT_43
157 1.3.2.3 bouyer { 2, s(struct aoutm68k_compat_43_sys_lstat_args), 0,
158 1.3.2.2 bouyer aoutm68k_compat_43_sys_lstat }, /* 40 = lstat43 */
159 1.3.2.2 bouyer #else
160 1.3.2.3 bouyer { 0, 0, 0,
161 1.3.2.2 bouyer sys_nosys }, /* 40 = excluded aoutm68k_compat_43_sys_lstat */
162 1.3.2.2 bouyer #endif
163 1.3.2.3 bouyer { 1, s(struct sys_dup_args), 0,
164 1.3.2.2 bouyer sys_dup }, /* 41 = dup */
165 1.3.2.3 bouyer { 0, 0, 0,
166 1.3.2.2 bouyer sys_pipe }, /* 42 = pipe */
167 1.3.2.3 bouyer { 0, 0, 0,
168 1.3.2.2 bouyer sys_getegid }, /* 43 = getegid */
169 1.3.2.3 bouyer { 4, s(struct sys_profil_args), 0,
170 1.3.2.2 bouyer sys_profil }, /* 44 = profil */
171 1.3.2.2 bouyer #if defined(KTRACE) || !defined(_KERNEL)
172 1.3.2.3 bouyer { 4, s(struct sys_ktrace_args), 0,
173 1.3.2.2 bouyer sys_ktrace }, /* 45 = ktrace */
174 1.3.2.2 bouyer #else
175 1.3.2.3 bouyer { 0, 0, 0,
176 1.3.2.2 bouyer sys_nosys }, /* 45 = excluded ktrace */
177 1.3.2.2 bouyer #endif
178 1.3.2.2 bouyer #ifdef COMPAT_13
179 1.3.2.3 bouyer { 3, s(struct compat_13_sys_sigaction_args), 0,
180 1.3.2.2 bouyer compat_13_sys_sigaction }, /* 46 = sigaction13 */
181 1.3.2.2 bouyer #else
182 1.3.2.3 bouyer { 0, 0, 0,
183 1.3.2.2 bouyer sys_nosys }, /* 46 = excluded compat_13_sys_sigaction */
184 1.3.2.2 bouyer #endif
185 1.3.2.3 bouyer { 0, 0, 0,
186 1.3.2.2 bouyer sys_getgid }, /* 47 = getgid */
187 1.3.2.2 bouyer #ifdef COMPAT_13
188 1.3.2.3 bouyer { 2, s(struct compat_13_sys_sigprocmask_args), 0,
189 1.3.2.2 bouyer compat_13_sys_sigprocmask }, /* 48 = sigprocmask13 */
190 1.3.2.2 bouyer #else
191 1.3.2.3 bouyer { 0, 0, 0,
192 1.3.2.2 bouyer sys_nosys }, /* 48 = excluded compat_13_sys_sigprocmask */
193 1.3.2.2 bouyer #endif
194 1.3.2.3 bouyer { 2, s(struct sys___getlogin_args), 0,
195 1.3.2.2 bouyer sys___getlogin }, /* 49 = __getlogin */
196 1.3.2.3 bouyer { 1, s(struct sys_setlogin_args), 0,
197 1.3.2.2 bouyer sys_setlogin }, /* 50 = setlogin */
198 1.3.2.3 bouyer { 1, s(struct sys_acct_args), 0,
199 1.3.2.2 bouyer sys_acct }, /* 51 = acct */
200 1.3.2.2 bouyer #ifdef COMPAT_13
201 1.3.2.3 bouyer { 0, 0, 0,
202 1.3.2.2 bouyer compat_13_sys_sigpending }, /* 52 = sigpending13 */
203 1.3.2.3 bouyer { 2, s(struct compat_13_sys_sigaltstack_args), 0,
204 1.3.2.2 bouyer compat_13_sys_sigaltstack }, /* 53 = sigaltstack13 */
205 1.3.2.2 bouyer #else
206 1.3.2.3 bouyer { 0, 0, 0,
207 1.3.2.2 bouyer sys_nosys }, /* 52 = excluded compat_13_sys_sigpending */
208 1.3.2.3 bouyer { 0, 0, 0,
209 1.3.2.2 bouyer sys_nosys }, /* 53 = excluded compat_13_sys_sigaltstack */
210 1.3.2.2 bouyer #endif
211 1.3.2.3 bouyer { 3, s(struct aoutm68k_sys_ioctl_args), 0,
212 1.3.2.2 bouyer aoutm68k_sys_ioctl }, /* 54 = ioctl */
213 1.3.2.2 bouyer #ifdef COMPAT_12
214 1.3.2.3 bouyer { 1, s(struct compat_12_sys_reboot_args), 0,
215 1.3.2.2 bouyer compat_12_sys_reboot }, /* 55 = oreboot */
216 1.3.2.2 bouyer #else
217 1.3.2.3 bouyer { 0, 0, 0,
218 1.3.2.2 bouyer sys_nosys }, /* 55 = excluded compat_12_sys_reboot */
219 1.3.2.2 bouyer #endif
220 1.3.2.4 bouyer #ifdef COMPAT_AOUT_ALTPATH
221 1.3.2.3 bouyer { 1, s(struct aoutm68k_sys_revoke_args), 0,
222 1.3.2.2 bouyer aoutm68k_sys_revoke }, /* 56 = revoke */
223 1.3.2.3 bouyer { 2, s(struct aoutm68k_sys_symlink_args), 0,
224 1.3.2.2 bouyer aoutm68k_sys_symlink }, /* 57 = symlink */
225 1.3.2.3 bouyer { 3, s(struct aoutm68k_sys_readlink_args), 0,
226 1.3.2.2 bouyer aoutm68k_sys_readlink }, /* 58 = readlink */
227 1.3.2.3 bouyer { 3, s(struct aoutm68k_sys_execve_args), 0,
228 1.3.2.2 bouyer aoutm68k_sys_execve }, /* 59 = execve */
229 1.3.2.4 bouyer #else
230 1.3.2.4 bouyer { 1, s(struct sys_revoke_args), 0,
231 1.3.2.4 bouyer sys_revoke }, /* 56 = revoke */
232 1.3.2.4 bouyer { 2, s(struct sys_symlink_args), 0,
233 1.3.2.4 bouyer sys_symlink }, /* 57 = symlink */
234 1.3.2.4 bouyer { 3, s(struct sys_readlink_args), 0,
235 1.3.2.4 bouyer sys_readlink }, /* 58 = readlink */
236 1.3.2.4 bouyer { 3, s(struct sys_execve_args), 0,
237 1.3.2.4 bouyer sys_execve }, /* 59 = execve */
238 1.3.2.4 bouyer #endif
239 1.3.2.3 bouyer { 1, s(struct sys_umask_args), 0,
240 1.3.2.2 bouyer sys_umask }, /* 60 = umask */
241 1.3.2.4 bouyer #ifdef COMPAT_AOUT_ALTPATH
242 1.3.2.3 bouyer { 1, s(struct aoutm68k_sys_chroot_args), 0,
243 1.3.2.2 bouyer aoutm68k_sys_chroot }, /* 61 = chroot */
244 1.3.2.4 bouyer #else
245 1.3.2.4 bouyer { 1, s(struct sys_chroot_args), 0,
246 1.3.2.4 bouyer sys_chroot }, /* 61 = chroot */
247 1.3.2.4 bouyer #endif
248 1.3.2.2 bouyer #ifdef COMPAT_43
249 1.3.2.3 bouyer { 2, s(struct aoutm68k_compat_43_sys_fstat_args), 0,
250 1.3.2.2 bouyer aoutm68k_compat_43_sys_fstat }, /* 62 = fstat43 */
251 1.3.2.3 bouyer { 4, s(struct compat_43_sys_getkerninfo_args), 0,
252 1.3.2.2 bouyer compat_43_sys_getkerninfo }, /* 63 = ogetkerninfo */
253 1.3.2.3 bouyer { 0, 0, 0,
254 1.3.2.2 bouyer compat_43_sys_getpagesize }, /* 64 = ogetpagesize */
255 1.3.2.2 bouyer #else
256 1.3.2.3 bouyer { 0, 0, 0,
257 1.3.2.2 bouyer sys_nosys }, /* 62 = excluded aoutm68k_compat_43_sys_fstat */
258 1.3.2.3 bouyer { 0, 0, 0,
259 1.3.2.2 bouyer sys_nosys }, /* 63 = excluded compat_43_sys_getkerninfo */
260 1.3.2.3 bouyer { 0, 0, 0,
261 1.3.2.2 bouyer sys_nosys }, /* 64 = excluded compat_43_sys_getpagesize */
262 1.3.2.2 bouyer #endif
263 1.3.2.2 bouyer #ifdef COMPAT_12
264 1.3.2.3 bouyer { 2, s(struct compat_12_sys_msync_args), 0,
265 1.3.2.2 bouyer compat_12_sys_msync }, /* 65 = msync */
266 1.3.2.2 bouyer #else
267 1.3.2.3 bouyer { 0, 0, 0,
268 1.3.2.2 bouyer sys_nosys }, /* 65 = excluded compat_12_sys_msync */
269 1.3.2.2 bouyer #endif
270 1.3.2.3 bouyer { 0, 0, 0,
271 1.3.2.2 bouyer sys_vfork }, /* 66 = vfork */
272 1.3.2.3 bouyer { 0, 0, 0,
273 1.3.2.2 bouyer sys_nosys }, /* 67 = obsolete vread */
274 1.3.2.3 bouyer { 0, 0, 0,
275 1.3.2.2 bouyer sys_nosys }, /* 68 = obsolete vwrite */
276 1.3.2.3 bouyer { 1, s(struct sys_sbrk_args), 0,
277 1.3.2.2 bouyer sys_sbrk }, /* 69 = sbrk */
278 1.3.2.3 bouyer { 1, s(struct sys_sstk_args), 0,
279 1.3.2.2 bouyer sys_sstk }, /* 70 = sstk */
280 1.3.2.2 bouyer #ifdef COMPAT_43
281 1.3.2.3 bouyer { 6, s(struct compat_43_sys_mmap_args), 0,
282 1.3.2.2 bouyer compat_43_sys_mmap }, /* 71 = ommap */
283 1.3.2.2 bouyer #else
284 1.3.2.3 bouyer { 0, 0, 0,
285 1.3.2.2 bouyer sys_nosys }, /* 71 = excluded compat_43_sys_mmap */
286 1.3.2.2 bouyer #endif
287 1.3.2.3 bouyer { 1, s(struct sys_ovadvise_args), 0,
288 1.3.2.2 bouyer sys_ovadvise }, /* 72 = vadvise */
289 1.3.2.3 bouyer { 2, s(struct sys_munmap_args), 0,
290 1.3.2.2 bouyer sys_munmap }, /* 73 = munmap */
291 1.3.2.3 bouyer { 3, s(struct sys_mprotect_args), 0,
292 1.3.2.2 bouyer sys_mprotect }, /* 74 = mprotect */
293 1.3.2.3 bouyer { 3, s(struct sys_madvise_args), 0,
294 1.3.2.2 bouyer sys_madvise }, /* 75 = madvise */
295 1.3.2.3 bouyer { 0, 0, 0,
296 1.3.2.2 bouyer sys_nosys }, /* 76 = obsolete vhangup */
297 1.3.2.3 bouyer { 0, 0, 0,
298 1.3.2.2 bouyer sys_nosys }, /* 77 = obsolete vlimit */
299 1.3.2.3 bouyer { 3, s(struct sys_mincore_args), 0,
300 1.3.2.2 bouyer sys_mincore }, /* 78 = mincore */
301 1.3.2.3 bouyer { 2, s(struct sys_getgroups_args), 0,
302 1.3.2.2 bouyer sys_getgroups }, /* 79 = getgroups */
303 1.3.2.3 bouyer { 2, s(struct sys_setgroups_args), 0,
304 1.3.2.2 bouyer sys_setgroups }, /* 80 = setgroups */
305 1.3.2.3 bouyer { 0, 0, 0,
306 1.3.2.2 bouyer sys_getpgrp }, /* 81 = getpgrp */
307 1.3.2.3 bouyer { 2, s(struct sys_setpgid_args), 0,
308 1.3.2.2 bouyer sys_setpgid }, /* 82 = setpgid */
309 1.3.2.3 bouyer { 3, s(struct sys_setitimer_args), 0,
310 1.3.2.2 bouyer sys_setitimer }, /* 83 = setitimer */
311 1.3.2.2 bouyer #ifdef COMPAT_43
312 1.3.2.3 bouyer { 0, 0, 0,
313 1.3.2.2 bouyer compat_43_sys_wait }, /* 84 = owait */
314 1.3.2.2 bouyer #else
315 1.3.2.3 bouyer { 0, 0, 0,
316 1.3.2.2 bouyer sys_nosys }, /* 84 = excluded compat_43_sys_wait */
317 1.3.2.2 bouyer #endif
318 1.3.2.2 bouyer #ifdef COMPAT_12
319 1.3.2.3 bouyer { 1, s(struct compat_12_sys_swapon_args), 0,
320 1.3.2.2 bouyer compat_12_sys_swapon }, /* 85 = oswapon */
321 1.3.2.2 bouyer #else
322 1.3.2.3 bouyer { 0, 0, 0,
323 1.3.2.2 bouyer sys_nosys }, /* 85 = excluded compat_12_sys_swapon */
324 1.3.2.2 bouyer #endif
325 1.3.2.3 bouyer { 2, s(struct sys_getitimer_args), 0,
326 1.3.2.2 bouyer sys_getitimer }, /* 86 = getitimer */
327 1.3.2.2 bouyer #ifdef COMPAT_43
328 1.3.2.3 bouyer { 2, s(struct compat_43_sys_gethostname_args), 0,
329 1.3.2.2 bouyer compat_43_sys_gethostname }, /* 87 = ogethostname */
330 1.3.2.3 bouyer { 2, s(struct compat_43_sys_sethostname_args), 0,
331 1.3.2.2 bouyer compat_43_sys_sethostname }, /* 88 = osethostname */
332 1.3.2.3 bouyer { 0, 0, 0,
333 1.3.2.2 bouyer compat_43_sys_getdtablesize }, /* 89 = ogetdtablesize */
334 1.3.2.2 bouyer #else
335 1.3.2.3 bouyer { 0, 0, 0,
336 1.3.2.2 bouyer sys_nosys }, /* 87 = excluded compat_43_sys_gethostname */
337 1.3.2.3 bouyer { 0, 0, 0,
338 1.3.2.2 bouyer sys_nosys }, /* 88 = excluded compat_43_sys_sethostname */
339 1.3.2.3 bouyer { 0, 0, 0,
340 1.3.2.2 bouyer sys_nosys }, /* 89 = excluded compat_43_sys_getdtablesize */
341 1.3.2.2 bouyer #endif
342 1.3.2.3 bouyer { 2, s(struct sys_dup2_args), 0,
343 1.3.2.2 bouyer sys_dup2 }, /* 90 = dup2 */
344 1.3.2.3 bouyer { 0, 0, 0,
345 1.3.2.2 bouyer sys_nosys }, /* 91 = unimplemented getdopt */
346 1.3.2.3 bouyer { 3, s(struct sys_fcntl_args), 0,
347 1.3.2.2 bouyer sys_fcntl }, /* 92 = fcntl */
348 1.3.2.3 bouyer { 5, s(struct sys_select_args), 0,
349 1.3.2.2 bouyer sys_select }, /* 93 = select */
350 1.3.2.3 bouyer { 0, 0, 0,
351 1.3.2.2 bouyer sys_nosys }, /* 94 = unimplemented setdopt */
352 1.3.2.3 bouyer { 1, s(struct sys_fsync_args), 0,
353 1.3.2.2 bouyer sys_fsync }, /* 95 = fsync */
354 1.3.2.3 bouyer { 3, s(struct sys_setpriority_args), 0,
355 1.3.2.2 bouyer sys_setpriority }, /* 96 = setpriority */
356 1.3.2.3 bouyer { 3, s(struct sys_socket_args), 0,
357 1.3.2.2 bouyer sys_socket }, /* 97 = socket */
358 1.3.2.3 bouyer { 3, s(struct sys_connect_args), 0,
359 1.3.2.2 bouyer sys_connect }, /* 98 = connect */
360 1.3.2.2 bouyer #ifdef COMPAT_43
361 1.3.2.3 bouyer { 3, s(struct compat_43_sys_accept_args), 0,
362 1.3.2.2 bouyer compat_43_sys_accept }, /* 99 = oaccept */
363 1.3.2.2 bouyer #else
364 1.3.2.3 bouyer { 0, 0, 0,
365 1.3.2.2 bouyer sys_nosys }, /* 99 = excluded compat_43_sys_accept */
366 1.3.2.2 bouyer #endif
367 1.3.2.3 bouyer { 2, s(struct sys_getpriority_args), 0,
368 1.3.2.2 bouyer sys_getpriority }, /* 100 = getpriority */
369 1.3.2.2 bouyer #ifdef COMPAT_43
370 1.3.2.3 bouyer { 4, s(struct compat_43_sys_send_args), 0,
371 1.3.2.2 bouyer compat_43_sys_send }, /* 101 = osend */
372 1.3.2.3 bouyer { 4, s(struct compat_43_sys_recv_args), 0,
373 1.3.2.2 bouyer compat_43_sys_recv }, /* 102 = orecv */
374 1.3.2.2 bouyer #else
375 1.3.2.3 bouyer { 0, 0, 0,
376 1.3.2.2 bouyer sys_nosys }, /* 101 = excluded compat_43_sys_send */
377 1.3.2.3 bouyer { 0, 0, 0,
378 1.3.2.2 bouyer sys_nosys }, /* 102 = excluded compat_43_sys_recv */
379 1.3.2.2 bouyer #endif
380 1.3.2.2 bouyer #ifdef COMPAT_13
381 1.3.2.3 bouyer { 1, s(struct compat_13_sys_sigreturn_args), 0,
382 1.3.2.2 bouyer compat_13_sys_sigreturn }, /* 103 = sigreturn13 */
383 1.3.2.2 bouyer #else
384 1.3.2.3 bouyer { 0, 0, 0,
385 1.3.2.2 bouyer sys_nosys }, /* 103 = excluded compat_13_sys_sigreturn */
386 1.3.2.2 bouyer #endif
387 1.3.2.3 bouyer { 3, s(struct sys_bind_args), 0,
388 1.3.2.2 bouyer sys_bind }, /* 104 = bind */
389 1.3.2.3 bouyer { 5, s(struct sys_setsockopt_args), 0,
390 1.3.2.2 bouyer sys_setsockopt }, /* 105 = setsockopt */
391 1.3.2.3 bouyer { 2, s(struct sys_listen_args), 0,
392 1.3.2.2 bouyer sys_listen }, /* 106 = listen */
393 1.3.2.3 bouyer { 0, 0, 0,
394 1.3.2.2 bouyer sys_nosys }, /* 107 = obsolete vtimes */
395 1.3.2.2 bouyer #ifdef COMPAT_43
396 1.3.2.3 bouyer { 3, s(struct compat_43_sys_sigvec_args), 0,
397 1.3.2.2 bouyer compat_43_sys_sigvec }, /* 108 = osigvec */
398 1.3.2.3 bouyer { 1, s(struct compat_43_sys_sigblock_args), 0,
399 1.3.2.2 bouyer compat_43_sys_sigblock }, /* 109 = osigblock */
400 1.3.2.3 bouyer { 1, s(struct compat_43_sys_sigsetmask_args), 0,
401 1.3.2.2 bouyer compat_43_sys_sigsetmask }, /* 110 = osigsetmask */
402 1.3.2.2 bouyer #else
403 1.3.2.3 bouyer { 0, 0, 0,
404 1.3.2.2 bouyer sys_nosys }, /* 108 = excluded compat_43_sys_sigvec */
405 1.3.2.3 bouyer { 0, 0, 0,
406 1.3.2.2 bouyer sys_nosys }, /* 109 = excluded compat_43_sys_sigblock */
407 1.3.2.3 bouyer { 0, 0, 0,
408 1.3.2.2 bouyer sys_nosys }, /* 110 = excluded compat_43_sys_sigsetmask */
409 1.3.2.2 bouyer #endif
410 1.3.2.2 bouyer #ifdef COMPAT_13
411 1.3.2.3 bouyer { 1, s(struct compat_13_sys_sigsuspend_args), 0,
412 1.3.2.2 bouyer compat_13_sys_sigsuspend }, /* 111 = sigsuspend13 */
413 1.3.2.2 bouyer #else
414 1.3.2.3 bouyer { 0, 0, 0,
415 1.3.2.2 bouyer sys_nosys }, /* 111 = excluded compat_13_sys_sigsuspend */
416 1.3.2.2 bouyer #endif
417 1.3.2.2 bouyer #ifdef COMPAT_43
418 1.3.2.3 bouyer { 2, s(struct compat_43_sys_sigstack_args), 0,
419 1.3.2.2 bouyer compat_43_sys_sigstack }, /* 112 = osigstack */
420 1.3.2.3 bouyer { 3, s(struct compat_43_sys_recvmsg_args), 0,
421 1.3.2.2 bouyer compat_43_sys_recvmsg }, /* 113 = orecvmsg */
422 1.3.2.3 bouyer { 3, s(struct compat_43_sys_sendmsg_args), 0,
423 1.3.2.2 bouyer compat_43_sys_sendmsg }, /* 114 = osendmsg */
424 1.3.2.2 bouyer #else
425 1.3.2.3 bouyer { 0, 0, 0,
426 1.3.2.2 bouyer sys_nosys }, /* 112 = excluded compat_43_sys_sigstack */
427 1.3.2.3 bouyer { 0, 0, 0,
428 1.3.2.2 bouyer sys_nosys }, /* 113 = excluded compat_43_sys_recvmesg */
429 1.3.2.3 bouyer { 0, 0, 0,
430 1.3.2.2 bouyer sys_nosys }, /* 114 = excluded compat_43_sys_sendmesg */
431 1.3.2.2 bouyer #endif
432 1.3.2.3 bouyer { 0, 0, 0,
433 1.3.2.2 bouyer sys_nosys }, /* 115 = obsolete vtrace */
434 1.3.2.3 bouyer { 2, s(struct sys_gettimeofday_args), 0,
435 1.3.2.2 bouyer sys_gettimeofday }, /* 116 = gettimeofday */
436 1.3.2.3 bouyer { 2, s(struct sys_getrusage_args), 0,
437 1.3.2.2 bouyer sys_getrusage }, /* 117 = getrusage */
438 1.3.2.3 bouyer { 5, s(struct sys_getsockopt_args), 0,
439 1.3.2.2 bouyer sys_getsockopt }, /* 118 = getsockopt */
440 1.3.2.3 bouyer { 0, 0, 0,
441 1.3.2.2 bouyer sys_nosys }, /* 119 = obsolete resuba */
442 1.3.2.3 bouyer { 3, s(struct sys_readv_args), 0,
443 1.3.2.2 bouyer sys_readv }, /* 120 = readv */
444 1.3.2.3 bouyer { 3, s(struct sys_writev_args), 0,
445 1.3.2.2 bouyer sys_writev }, /* 121 = writev */
446 1.3.2.3 bouyer { 2, s(struct sys_settimeofday_args), 0,
447 1.3.2.2 bouyer sys_settimeofday }, /* 122 = settimeofday */
448 1.3.2.3 bouyer { 3, s(struct sys_fchown_args), 0,
449 1.3.2.2 bouyer sys_fchown }, /* 123 = fchown */
450 1.3.2.3 bouyer { 2, s(struct sys_fchmod_args), 0,
451 1.3.2.2 bouyer sys_fchmod }, /* 124 = fchmod */
452 1.3.2.2 bouyer #ifdef COMPAT_43
453 1.3.2.3 bouyer { 6, s(struct compat_43_sys_recvfrom_args), 0,
454 1.3.2.2 bouyer compat_43_sys_recvfrom }, /* 125 = orecvfrom */
455 1.3.2.2 bouyer #else
456 1.3.2.3 bouyer { 0, 0, 0,
457 1.3.2.2 bouyer sys_nosys }, /* 125 = excluded compat_43_sys_recvfrom */
458 1.3.2.2 bouyer #endif
459 1.3.2.3 bouyer { 2, s(struct sys_setreuid_args), 0,
460 1.3.2.2 bouyer sys_setreuid }, /* 126 = setreuid */
461 1.3.2.3 bouyer { 2, s(struct sys_setregid_args), 0,
462 1.3.2.2 bouyer sys_setregid }, /* 127 = setregid */
463 1.3.2.4 bouyer #ifdef COMPAT_AOUT_ALTPATH
464 1.3.2.3 bouyer { 2, s(struct aoutm68k_sys_rename_args), 0,
465 1.3.2.2 bouyer aoutm68k_sys_rename }, /* 128 = rename */
466 1.3.2.4 bouyer #else
467 1.3.2.4 bouyer { 2, s(struct sys_rename_args), 0,
468 1.3.2.4 bouyer sys_rename }, /* 128 = rename */
469 1.3.2.4 bouyer #endif
470 1.3.2.2 bouyer #ifdef COMPAT_43
471 1.3.2.4 bouyer #ifdef COMPAT_AOUT_ALTPATH
472 1.3.2.3 bouyer { 2, s(struct aoutm68k_compat_43_sys_truncate_args), 0,
473 1.3.2.2 bouyer aoutm68k_compat_43_sys_truncate }, /* 129 = otruncate */
474 1.3.2.4 bouyer #else
475 1.3.2.4 bouyer { 2, s(struct compat_43_sys_truncate_args), 0,
476 1.3.2.4 bouyer compat_43_sys_truncate }, /* 129 = otruncate */
477 1.3.2.4 bouyer #endif
478 1.3.2.3 bouyer { 2, s(struct compat_43_sys_ftruncate_args), 0,
479 1.3.2.2 bouyer compat_43_sys_ftruncate }, /* 130 = oftruncate */
480 1.3.2.2 bouyer #else
481 1.3.2.4 bouyer #ifdef COMPAT_AOUT_ALTPATH
482 1.3.2.3 bouyer { 0, 0, 0,
483 1.3.2.2 bouyer sys_nosys }, /* 129 = excluded aoutm68k_compat_43_sys_truncate */
484 1.3.2.4 bouyer #else
485 1.3.2.4 bouyer { 0, 0, 0,
486 1.3.2.4 bouyer sys_nosys }, /* 129 = excluded compat_43_sys_truncate */
487 1.3.2.4 bouyer #endif
488 1.3.2.3 bouyer { 0, 0, 0,
489 1.3.2.2 bouyer sys_nosys }, /* 130 = excluded compat_43_sys_ftruncate */
490 1.3.2.2 bouyer #endif
491 1.3.2.3 bouyer { 2, s(struct sys_flock_args), 0,
492 1.3.2.2 bouyer sys_flock }, /* 131 = flock */
493 1.3.2.3 bouyer { 2, s(struct sys_mkfifo_args), 0,
494 1.3.2.2 bouyer sys_mkfifo }, /* 132 = mkfifo */
495 1.3.2.3 bouyer { 6, s(struct sys_sendto_args), 0,
496 1.3.2.2 bouyer sys_sendto }, /* 133 = sendto */
497 1.3.2.3 bouyer { 2, s(struct sys_shutdown_args), 0,
498 1.3.2.2 bouyer sys_shutdown }, /* 134 = shutdown */
499 1.3.2.3 bouyer { 4, s(struct sys_socketpair_args), 0,
500 1.3.2.2 bouyer sys_socketpair }, /* 135 = socketpair */
501 1.3.2.3 bouyer { 2, s(struct sys_mkdir_args), 0,
502 1.3.2.2 bouyer sys_mkdir }, /* 136 = mkdir */
503 1.3.2.4 bouyer #ifdef COMPAT_AOUT_ALTPATH
504 1.3.2.3 bouyer { 1, s(struct aoutm68k_sys_rmdir_args), 0,
505 1.3.2.2 bouyer aoutm68k_sys_rmdir }, /* 137 = rmdir */
506 1.3.2.3 bouyer { 2, s(struct aoutm68k_sys_utimes_args), 0,
507 1.3.2.2 bouyer aoutm68k_sys_utimes }, /* 138 = utimes */
508 1.3.2.4 bouyer #else
509 1.3.2.4 bouyer { 1, s(struct sys_rmdir_args), 0,
510 1.3.2.4 bouyer sys_rmdir }, /* 137 = rmdir */
511 1.3.2.4 bouyer { 2, s(struct sys_utimes_args), 0,
512 1.3.2.4 bouyer sys_utimes }, /* 138 = utimes */
513 1.3.2.4 bouyer #endif
514 1.3.2.3 bouyer { 0, 0, 0,
515 1.3.2.2 bouyer sys_nosys }, /* 139 = obsolete 4.2 sigreturn */
516 1.3.2.3 bouyer { 2, s(struct sys_adjtime_args), 0,
517 1.3.2.2 bouyer sys_adjtime }, /* 140 = adjtime */
518 1.3.2.2 bouyer #ifdef COMPAT_43
519 1.3.2.3 bouyer { 3, s(struct compat_43_sys_getpeername_args), 0,
520 1.3.2.2 bouyer compat_43_sys_getpeername }, /* 141 = ogetpeername */
521 1.3.2.3 bouyer { 0, 0, 0,
522 1.3.2.2 bouyer compat_43_sys_gethostid }, /* 142 = ogethostid */
523 1.3.2.3 bouyer { 1, s(struct compat_43_sys_sethostid_args), 0,
524 1.3.2.2 bouyer compat_43_sys_sethostid }, /* 143 = osethostid */
525 1.3.2.3 bouyer { 2, s(struct compat_43_sys_getrlimit_args), 0,
526 1.3.2.2 bouyer compat_43_sys_getrlimit }, /* 144 = ogetrlimit */
527 1.3.2.3 bouyer { 2, s(struct compat_43_sys_setrlimit_args), 0,
528 1.3.2.2 bouyer compat_43_sys_setrlimit }, /* 145 = osetrlimit */
529 1.3.2.3 bouyer { 2, s(struct compat_43_sys_killpg_args), 0,
530 1.3.2.2 bouyer compat_43_sys_killpg }, /* 146 = okillpg */
531 1.3.2.2 bouyer #else
532 1.3.2.3 bouyer { 0, 0, 0,
533 1.3.2.2 bouyer sys_nosys }, /* 141 = excluded compat_43_sys_getpeername */
534 1.3.2.3 bouyer { 0, 0, 0,
535 1.3.2.2 bouyer sys_nosys }, /* 142 = excluded compat_43_sys_gethostid */
536 1.3.2.3 bouyer { 0, 0, 0,
537 1.3.2.2 bouyer sys_nosys }, /* 143 = excluded compat_43_sys_sethostid */
538 1.3.2.3 bouyer { 0, 0, 0,
539 1.3.2.2 bouyer sys_nosys }, /* 144 = excluded compat_43_sys_getrlimit */
540 1.3.2.3 bouyer { 0, 0, 0,
541 1.3.2.2 bouyer sys_nosys }, /* 145 = excluded compat_43_sys_setrlimit */
542 1.3.2.3 bouyer { 0, 0, 0,
543 1.3.2.2 bouyer sys_nosys }, /* 146 = excluded compat_43_sys_killpg */
544 1.3.2.2 bouyer #endif
545 1.3.2.3 bouyer { 0, 0, 0,
546 1.3.2.2 bouyer sys_setsid }, /* 147 = setsid */
547 1.3.2.3 bouyer { 4, s(struct sys_quotactl_args), 0,
548 1.3.2.2 bouyer sys_quotactl }, /* 148 = quotactl */
549 1.3.2.2 bouyer #ifdef COMPAT_43
550 1.3.2.3 bouyer { 0, 0, 0,
551 1.3.2.2 bouyer compat_43_sys_quota }, /* 149 = oquota */
552 1.3.2.3 bouyer { 3, s(struct compat_43_sys_getsockname_args), 0,
553 1.3.2.2 bouyer compat_43_sys_getsockname }, /* 150 = ogetsockname */
554 1.3.2.2 bouyer #else
555 1.3.2.3 bouyer { 0, 0, 0,
556 1.3.2.2 bouyer sys_nosys }, /* 149 = excluded compat_43_sys_quota */
557 1.3.2.3 bouyer { 0, 0, 0,
558 1.3.2.2 bouyer sys_nosys }, /* 150 = excluded compat_43_sys_getsockname */
559 1.3.2.2 bouyer #endif
560 1.3.2.3 bouyer { 0, 0, 0,
561 1.3.2.2 bouyer sys_nosys }, /* 151 = unimplemented */
562 1.3.2.3 bouyer { 0, 0, 0,
563 1.3.2.2 bouyer sys_nosys }, /* 152 = unimplemented */
564 1.3.2.3 bouyer { 0, 0, 0,
565 1.3.2.2 bouyer sys_nosys }, /* 153 = unimplemented */
566 1.3.2.3 bouyer { 0, 0, 0,
567 1.3.2.2 bouyer sys_nosys }, /* 154 = unimplemented */
568 1.3.2.2 bouyer #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
569 1.3.2.3 bouyer { 2, s(struct sys_nfssvc_args), 0,
570 1.3.2.2 bouyer sys_nfssvc }, /* 155 = nfssvc */
571 1.3.2.2 bouyer #else
572 1.3.2.3 bouyer { 0, 0, 0,
573 1.3.2.2 bouyer sys_nosys }, /* 155 = excluded nfssvc */
574 1.3.2.2 bouyer #endif
575 1.3.2.2 bouyer #ifdef COMPAT_43
576 1.3.2.3 bouyer { 4, s(struct compat_43_sys_getdirentries_args), 0,
577 1.3.2.2 bouyer compat_43_sys_getdirentries }, /* 156 = ogetdirentries */
578 1.3.2.2 bouyer #else
579 1.3.2.3 bouyer { 0, 0, 0,
580 1.3.2.2 bouyer sys_nosys }, /* 156 = excluded compat_43_sys_getdirentries */
581 1.3.2.2 bouyer #endif
582 1.3.2.4 bouyer #ifdef COMPAT_AOUT_ALTPATH
583 1.3.2.3 bouyer { 2, s(struct aoutm68k_sys_statfs_args), 0,
584 1.3.2.2 bouyer aoutm68k_sys_statfs }, /* 157 = statfs */
585 1.3.2.4 bouyer #else
586 1.3.2.4 bouyer { 2, s(struct sys_statfs_args), 0,
587 1.3.2.4 bouyer sys_statfs }, /* 157 = statfs */
588 1.3.2.4 bouyer #endif
589 1.3.2.3 bouyer { 2, s(struct sys_fstatfs_args), 0,
590 1.3.2.2 bouyer sys_fstatfs }, /* 158 = fstatfs */
591 1.3.2.3 bouyer { 0, 0, 0,
592 1.3.2.2 bouyer sys_nosys }, /* 159 = unimplemented */
593 1.3.2.3 bouyer { 0, 0, 0,
594 1.3.2.2 bouyer sys_nosys }, /* 160 = unimplemented */
595 1.3.2.2 bouyer #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
596 1.3.2.4 bouyer #ifdef COMPAT_AOUT_ALTPATH
597 1.3.2.3 bouyer { 2, s(struct aoutm68k_sys_getfh_args), 0,
598 1.3.2.2 bouyer aoutm68k_sys_getfh }, /* 161 = getfh */
599 1.3.2.2 bouyer #else
600 1.3.2.4 bouyer { 2, s(struct sys_getfh_args), 0,
601 1.3.2.4 bouyer sys_getfh }, /* 161 = getfh */
602 1.3.2.4 bouyer #endif
603 1.3.2.4 bouyer #else
604 1.3.2.3 bouyer { 0, 0, 0,
605 1.3.2.2 bouyer sys_nosys }, /* 161 = excluded getfh */
606 1.3.2.2 bouyer #endif
607 1.3.2.2 bouyer #ifdef COMPAT_09
608 1.3.2.3 bouyer { 2, s(struct compat_09_sys_getdomainname_args), 0,
609 1.3.2.2 bouyer compat_09_sys_getdomainname }, /* 162 = ogetdomainname */
610 1.3.2.3 bouyer { 2, s(struct compat_09_sys_setdomainname_args), 0,
611 1.3.2.2 bouyer compat_09_sys_setdomainname }, /* 163 = osetdomainname */
612 1.3.2.3 bouyer { 1, s(struct compat_09_sys_uname_args), 0,
613 1.3.2.2 bouyer compat_09_sys_uname }, /* 164 = ouname */
614 1.3.2.2 bouyer #else
615 1.3.2.3 bouyer { 0, 0, 0,
616 1.3.2.2 bouyer sys_nosys }, /* 162 = excluded compat_09_sys_getdomainname */
617 1.3.2.3 bouyer { 0, 0, 0,
618 1.3.2.2 bouyer sys_nosys }, /* 163 = excluded compat_09_sys_setdomainname */
619 1.3.2.3 bouyer { 0, 0, 0,
620 1.3.2.2 bouyer sys_nosys }, /* 164 = excluded compat_09_sys_uname */
621 1.3.2.2 bouyer #endif
622 1.3.2.3 bouyer { 2, s(struct sys_sysarch_args), 0,
623 1.3.2.2 bouyer sys_sysarch }, /* 165 = sysarch */
624 1.3.2.3 bouyer { 0, 0, 0,
625 1.3.2.2 bouyer sys_nosys }, /* 166 = unimplemented */
626 1.3.2.3 bouyer { 0, 0, 0,
627 1.3.2.2 bouyer sys_nosys }, /* 167 = unimplemented */
628 1.3.2.3 bouyer { 0, 0, 0,
629 1.3.2.2 bouyer sys_nosys }, /* 168 = unimplemented */
630 1.3.2.2 bouyer #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10)
631 1.3.2.3 bouyer { 5, s(struct compat_10_sys_semsys_args), 0,
632 1.3.2.2 bouyer compat_10_sys_semsys }, /* 169 = osemsys */
633 1.3.2.2 bouyer #else
634 1.3.2.3 bouyer { 0, 0, 0,
635 1.3.2.2 bouyer sys_nosys }, /* 169 = excluded 1.0 semsys */
636 1.3.2.2 bouyer #endif
637 1.3.2.2 bouyer #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10)
638 1.3.2.3 bouyer { 6, s(struct compat_10_sys_msgsys_args), 0,
639 1.3.2.2 bouyer compat_10_sys_msgsys }, /* 170 = omsgsys */
640 1.3.2.2 bouyer #else
641 1.3.2.3 bouyer { 0, 0, 0,
642 1.3.2.2 bouyer sys_nosys }, /* 170 = excluded 1.0 msgsys */
643 1.3.2.2 bouyer #endif
644 1.3.2.2 bouyer #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10)
645 1.3.2.3 bouyer { 4, s(struct compat_10_sys_shmsys_args), 0,
646 1.3.2.2 bouyer compat_10_sys_shmsys }, /* 171 = oshmsys */
647 1.3.2.2 bouyer #else
648 1.3.2.3 bouyer { 0, 0, 0,
649 1.3.2.2 bouyer sys_nosys }, /* 171 = excluded 1.0 shmsys */
650 1.3.2.2 bouyer #endif
651 1.3.2.3 bouyer { 0, 0, 0,
652 1.3.2.2 bouyer sys_nosys }, /* 172 = unimplemented */
653 1.3.2.3 bouyer { 5, s(struct sys_pread_args), 0,
654 1.3.2.2 bouyer sys_pread }, /* 173 = pread */
655 1.3.2.3 bouyer { 5, s(struct sys_pwrite_args), 0,
656 1.3.2.2 bouyer sys_pwrite }, /* 174 = pwrite */
657 1.3.2.3 bouyer { 1, s(struct sys_ntp_gettime_args), 0,
658 1.3.2.2 bouyer sys_ntp_gettime }, /* 175 = ntp_gettime */
659 1.3.2.2 bouyer #if defined(NTP) || !defined(_KERNEL)
660 1.3.2.3 bouyer { 1, s(struct sys_ntp_adjtime_args), 0,
661 1.3.2.2 bouyer sys_ntp_adjtime }, /* 176 = ntp_adjtime */
662 1.3.2.2 bouyer #else
663 1.3.2.3 bouyer { 0, 0, 0,
664 1.3.2.2 bouyer sys_nosys }, /* 176 = excluded ntp_adjtime */
665 1.3.2.2 bouyer #endif
666 1.3.2.3 bouyer { 0, 0, 0,
667 1.3.2.2 bouyer sys_nosys }, /* 177 = unimplemented */
668 1.3.2.3 bouyer { 0, 0, 0,
669 1.3.2.2 bouyer sys_nosys }, /* 178 = unimplemented */
670 1.3.2.3 bouyer { 0, 0, 0,
671 1.3.2.2 bouyer sys_nosys }, /* 179 = unimplemented */
672 1.3.2.3 bouyer { 0, 0, 0,
673 1.3.2.2 bouyer sys_nosys }, /* 180 = unimplemented */
674 1.3.2.3 bouyer { 1, s(struct sys_setgid_args), 0,
675 1.3.2.2 bouyer sys_setgid }, /* 181 = setgid */
676 1.3.2.3 bouyer { 1, s(struct sys_setegid_args), 0,
677 1.3.2.2 bouyer sys_setegid }, /* 182 = setegid */
678 1.3.2.3 bouyer { 1, s(struct sys_seteuid_args), 0,
679 1.3.2.2 bouyer sys_seteuid }, /* 183 = seteuid */
680 1.3.2.2 bouyer #if defined(LFS) || !defined(_KERNEL)
681 1.3.2.3 bouyer { 3, s(struct sys_lfs_bmapv_args), 0,
682 1.3.2.2 bouyer sys_lfs_bmapv }, /* 184 = lfs_bmapv */
683 1.3.2.3 bouyer { 3, s(struct sys_lfs_markv_args), 0,
684 1.3.2.2 bouyer sys_lfs_markv }, /* 185 = lfs_markv */
685 1.3.2.3 bouyer { 2, s(struct sys_lfs_segclean_args), 0,
686 1.3.2.2 bouyer sys_lfs_segclean }, /* 186 = lfs_segclean */
687 1.3.2.3 bouyer { 2, s(struct sys_lfs_segwait_args), 0,
688 1.3.2.2 bouyer sys_lfs_segwait }, /* 187 = lfs_segwait */
689 1.3.2.2 bouyer #else
690 1.3.2.3 bouyer { 0, 0, 0,
691 1.3.2.2 bouyer sys_nosys }, /* 184 = excluded lfs_bmapv */
692 1.3.2.3 bouyer { 0, 0, 0,
693 1.3.2.2 bouyer sys_nosys }, /* 185 = excluded lfs_markv */
694 1.3.2.3 bouyer { 0, 0, 0,
695 1.3.2.2 bouyer sys_nosys }, /* 186 = excluded lfs_segclean */
696 1.3.2.3 bouyer { 0, 0, 0,
697 1.3.2.2 bouyer sys_nosys }, /* 187 = excluded lfs_segwait */
698 1.3.2.2 bouyer #endif
699 1.3.2.2 bouyer #ifdef COMPAT_12
700 1.3.2.3 bouyer { 2, s(struct aoutm68k_compat_12_sys_stat_args), 0,
701 1.3.2.2 bouyer aoutm68k_compat_12_sys_stat }, /* 188 = stat12 */
702 1.3.2.3 bouyer { 2, s(struct aoutm68k_compat_12_sys_fstat_args), 0,
703 1.3.2.2 bouyer aoutm68k_compat_12_sys_fstat }, /* 189 = fstat12 */
704 1.3.2.3 bouyer { 2, s(struct aoutm68k_compat_12_sys_lstat_args), 0,
705 1.3.2.2 bouyer aoutm68k_compat_12_sys_lstat }, /* 190 = lstat12 */
706 1.3.2.2 bouyer #else
707 1.3.2.3 bouyer { 0, 0, 0,
708 1.3.2.2 bouyer sys_nosys }, /* 188 = excluded aoutm68k_compat_12_sys_stat */
709 1.3.2.3 bouyer { 0, 0, 0,
710 1.3.2.2 bouyer sys_nosys }, /* 189 = excluded aoutm68k_compat_12_sys_fstat */
711 1.3.2.3 bouyer { 0, 0, 0,
712 1.3.2.2 bouyer sys_nosys }, /* 190 = excluded aoutm68k_compat_12_sys_lstat */
713 1.3.2.2 bouyer #endif
714 1.3.2.4 bouyer #ifdef COMPAT_AOUT_ALTPATH
715 1.3.2.3 bouyer { 2, s(struct aoutm68k_sys_pathconf_args), 0,
716 1.3.2.2 bouyer aoutm68k_sys_pathconf }, /* 191 = pathconf */
717 1.3.2.4 bouyer #else
718 1.3.2.4 bouyer { 2, s(struct sys_pathconf_args), 0,
719 1.3.2.4 bouyer sys_pathconf }, /* 191 = pathconf */
720 1.3.2.4 bouyer #endif
721 1.3.2.3 bouyer { 2, s(struct sys_fpathconf_args), 0,
722 1.3.2.2 bouyer sys_fpathconf }, /* 192 = fpathconf */
723 1.3.2.3 bouyer { 0, 0, 0,
724 1.3.2.2 bouyer sys_nosys }, /* 193 = unimplemented */
725 1.3.2.3 bouyer { 2, s(struct sys_getrlimit_args), 0,
726 1.3.2.2 bouyer sys_getrlimit }, /* 194 = getrlimit */
727 1.3.2.3 bouyer { 2, s(struct sys_setrlimit_args), 0,
728 1.3.2.2 bouyer sys_setrlimit }, /* 195 = setrlimit */
729 1.3.2.2 bouyer #ifdef COMPAT_12
730 1.3.2.3 bouyer { 4, s(struct compat_12_sys_getdirentries_args), 0,
731 1.3.2.2 bouyer compat_12_sys_getdirentries }, /* 196 = getdirentries */
732 1.3.2.2 bouyer #else
733 1.3.2.3 bouyer { 0, 0, 0,
734 1.3.2.2 bouyer sys_nosys }, /* 196 = excluded compat_12_sys_getdirentries */
735 1.3.2.2 bouyer #endif
736 1.3.2.3 bouyer { 7, s(struct sys_mmap_args), 0,
737 1.3.2.2 bouyer sys_mmap }, /* 197 = mmap */
738 1.3.2.3 bouyer { 0, 0, 0,
739 1.3.2.2 bouyer sys_nosys }, /* 198 = __syscall (indir) */
740 1.3.2.3 bouyer { 4, s(struct sys_lseek_args), 0,
741 1.3.2.2 bouyer sys_lseek }, /* 199 = lseek */
742 1.3.2.4 bouyer #ifdef COMPAT_AOUT_ALTPATH
743 1.3.2.3 bouyer { 3, s(struct aoutm68k_sys_truncate_args), 0,
744 1.3.2.2 bouyer aoutm68k_sys_truncate }, /* 200 = truncate */
745 1.3.2.4 bouyer #else
746 1.3.2.4 bouyer { 3, s(struct sys_truncate_args), 0,
747 1.3.2.4 bouyer sys_truncate }, /* 200 = truncate */
748 1.3.2.4 bouyer #endif
749 1.3.2.3 bouyer { 3, s(struct sys_ftruncate_args), 0,
750 1.3.2.2 bouyer sys_ftruncate }, /* 201 = ftruncate */
751 1.3.2.3 bouyer { 6, s(struct sys___sysctl_args), 0,
752 1.3.2.2 bouyer sys___sysctl }, /* 202 = __sysctl */
753 1.3.2.3 bouyer { 2, s(struct sys_mlock_args), 0,
754 1.3.2.2 bouyer sys_mlock }, /* 203 = mlock */
755 1.3.2.3 bouyer { 2, s(struct sys_munlock_args), 0,
756 1.3.2.2 bouyer sys_munlock }, /* 204 = munlock */
757 1.3.2.4 bouyer #ifdef COMPAT_AOUT_ALTPATH
758 1.3.2.3 bouyer { 1, s(struct aoutm68k_sys_undelete_args), 0,
759 1.3.2.2 bouyer aoutm68k_sys_undelete }, /* 205 = undelete */
760 1.3.2.4 bouyer #else
761 1.3.2.4 bouyer { 1, s(struct sys_undelete_args), 0,
762 1.3.2.4 bouyer sys_undelete }, /* 205 = undelete */
763 1.3.2.4 bouyer #endif
764 1.3.2.3 bouyer { 2, s(struct sys_futimes_args), 0,
765 1.3.2.2 bouyer sys_futimes }, /* 206 = futimes */
766 1.3.2.3 bouyer { 1, s(struct sys_getpgid_args), 0,
767 1.3.2.2 bouyer sys_getpgid }, /* 207 = getpgid */
768 1.3.2.3 bouyer { 2, s(struct sys_reboot_args), 0,
769 1.3.2.2 bouyer sys_reboot }, /* 208 = reboot */
770 1.3.2.3 bouyer { 3, s(struct sys_poll_args), 0,
771 1.3.2.2 bouyer sys_poll }, /* 209 = poll */
772 1.3.2.2 bouyer #if defined(LKM) || !defined(_KERNEL)
773 1.3.2.3 bouyer { 0, 0, 0,
774 1.3.2.2 bouyer sys_lkmnosys }, /* 210 = lkmnosys */
775 1.3.2.3 bouyer { 0, 0, 0,
776 1.3.2.2 bouyer sys_lkmnosys }, /* 211 = lkmnosys */
777 1.3.2.3 bouyer { 0, 0, 0,
778 1.3.2.2 bouyer sys_lkmnosys }, /* 212 = lkmnosys */
779 1.3.2.3 bouyer { 0, 0, 0,
780 1.3.2.2 bouyer sys_lkmnosys }, /* 213 = lkmnosys */
781 1.3.2.3 bouyer { 0, 0, 0,
782 1.3.2.2 bouyer sys_lkmnosys }, /* 214 = lkmnosys */
783 1.3.2.3 bouyer { 0, 0, 0,
784 1.3.2.2 bouyer sys_lkmnosys }, /* 215 = lkmnosys */
785 1.3.2.3 bouyer { 0, 0, 0,
786 1.3.2.2 bouyer sys_lkmnosys }, /* 216 = lkmnosys */
787 1.3.2.3 bouyer { 0, 0, 0,
788 1.3.2.2 bouyer sys_lkmnosys }, /* 217 = lkmnosys */
789 1.3.2.3 bouyer { 0, 0, 0,
790 1.3.2.2 bouyer sys_lkmnosys }, /* 218 = lkmnosys */
791 1.3.2.3 bouyer { 0, 0, 0,
792 1.3.2.2 bouyer sys_lkmnosys }, /* 219 = lkmnosys */
793 1.3.2.2 bouyer #else /* !LKM */
794 1.3.2.3 bouyer { 0, 0, 0,
795 1.3.2.2 bouyer sys_nosys }, /* 210 = excluded lkmnosys */
796 1.3.2.3 bouyer { 0, 0, 0,
797 1.3.2.2 bouyer sys_nosys }, /* 211 = excluded lkmnosys */
798 1.3.2.3 bouyer { 0, 0, 0,
799 1.3.2.2 bouyer sys_nosys }, /* 212 = excluded lkmnosys */
800 1.3.2.3 bouyer { 0, 0, 0,
801 1.3.2.2 bouyer sys_nosys }, /* 213 = excluded lkmnosys */
802 1.3.2.3 bouyer { 0, 0, 0,
803 1.3.2.2 bouyer sys_nosys }, /* 214 = excluded lkmnosys */
804 1.3.2.3 bouyer { 0, 0, 0,
805 1.3.2.2 bouyer sys_nosys }, /* 215 = excluded lkmnosys */
806 1.3.2.3 bouyer { 0, 0, 0,
807 1.3.2.2 bouyer sys_nosys }, /* 216 = excluded lkmnosys */
808 1.3.2.3 bouyer { 0, 0, 0,
809 1.3.2.2 bouyer sys_nosys }, /* 217 = excluded lkmnosys */
810 1.3.2.3 bouyer { 0, 0, 0,
811 1.3.2.2 bouyer sys_nosys }, /* 218 = excluded lkmnosys */
812 1.3.2.3 bouyer { 0, 0, 0,
813 1.3.2.2 bouyer sys_nosys }, /* 219 = excluded lkmnosys */
814 1.3.2.2 bouyer #endif /* !LKM */
815 1.3.2.2 bouyer #if defined(SYSVSEM) || !defined(_KERNEL)
816 1.3.2.2 bouyer #ifdef COMPAT_14
817 1.3.2.3 bouyer { 4, s(struct compat_14_sys___semctl_args), 0,
818 1.3.2.2 bouyer compat_14_sys___semctl }, /* 220 = __semctl */
819 1.3.2.2 bouyer #else
820 1.3.2.3 bouyer { 0, 0, 0,
821 1.3.2.2 bouyer sys_nosys }, /* 220 = excluded compat_14_semctl */
822 1.3.2.2 bouyer #endif
823 1.3.2.3 bouyer { 3, s(struct sys_semget_args), 0,
824 1.3.2.2 bouyer sys_semget }, /* 221 = semget */
825 1.3.2.3 bouyer { 3, s(struct sys_semop_args), 0,
826 1.3.2.2 bouyer sys_semop }, /* 222 = semop */
827 1.3.2.3 bouyer { 1, s(struct sys_semconfig_args), 0,
828 1.3.2.2 bouyer sys_semconfig }, /* 223 = semconfig */
829 1.3.2.2 bouyer #else
830 1.3.2.3 bouyer { 0, 0, 0,
831 1.3.2.2 bouyer sys_nosys }, /* 220 = excluded compat_14_semctl */
832 1.3.2.3 bouyer { 0, 0, 0,
833 1.3.2.2 bouyer sys_nosys }, /* 221 = excluded semget */
834 1.3.2.3 bouyer { 0, 0, 0,
835 1.3.2.2 bouyer sys_nosys }, /* 222 = excluded semop */
836 1.3.2.3 bouyer { 0, 0, 0,
837 1.3.2.2 bouyer sys_nosys }, /* 223 = excluded semconfig */
838 1.3.2.2 bouyer #endif
839 1.3.2.2 bouyer #if defined(SYSVMSG) || !defined(_KERNEL)
840 1.3.2.2 bouyer #ifdef COMPAT_14
841 1.3.2.3 bouyer { 3, s(struct compat_14_sys_msgctl_args), 0,
842 1.3.2.2 bouyer compat_14_sys_msgctl }, /* 224 = msgctl */
843 1.3.2.2 bouyer #else
844 1.3.2.3 bouyer { 0, 0, 0,
845 1.3.2.2 bouyer sys_nosys }, /* 224 = excluded compat_14_sys_msgctl */
846 1.3.2.2 bouyer #endif
847 1.3.2.3 bouyer { 2, s(struct sys_msgget_args), 0,
848 1.3.2.2 bouyer sys_msgget }, /* 225 = msgget */
849 1.3.2.3 bouyer { 4, s(struct sys_msgsnd_args), 0,
850 1.3.2.2 bouyer sys_msgsnd }, /* 226 = msgsnd */
851 1.3.2.3 bouyer { 5, s(struct sys_msgrcv_args), 0,
852 1.3.2.2 bouyer sys_msgrcv }, /* 227 = msgrcv */
853 1.3.2.2 bouyer #else
854 1.3.2.3 bouyer { 0, 0, 0,
855 1.3.2.2 bouyer sys_nosys }, /* 224 = excluded compat_14_msgctl */
856 1.3.2.3 bouyer { 0, 0, 0,
857 1.3.2.2 bouyer sys_nosys }, /* 225 = excluded msgget */
858 1.3.2.3 bouyer { 0, 0, 0,
859 1.3.2.2 bouyer sys_nosys }, /* 226 = excluded msgsnd */
860 1.3.2.3 bouyer { 0, 0, 0,
861 1.3.2.2 bouyer sys_nosys }, /* 227 = excluded msgrcv */
862 1.3.2.2 bouyer #endif
863 1.3.2.2 bouyer #if defined(SYSVSHM) || !defined(_KERNEL)
864 1.3.2.3 bouyer { 3, s(struct sys_shmat_args), 0,
865 1.3.2.2 bouyer sys_shmat }, /* 228 = shmat */
866 1.3.2.2 bouyer #ifdef COMPAT_14
867 1.3.2.3 bouyer { 3, s(struct compat_14_sys_shmctl_args), 0,
868 1.3.2.2 bouyer compat_14_sys_shmctl }, /* 229 = shmctl */
869 1.3.2.2 bouyer #else
870 1.3.2.3 bouyer { 0, 0, 0,
871 1.3.2.2 bouyer sys_nosys }, /* 229 = excluded compat_14_sys_shmctl */
872 1.3.2.2 bouyer #endif
873 1.3.2.3 bouyer { 1, s(struct sys_shmdt_args), 0,
874 1.3.2.2 bouyer sys_shmdt }, /* 230 = shmdt */
875 1.3.2.3 bouyer { 3, s(struct sys_shmget_args), 0,
876 1.3.2.2 bouyer sys_shmget }, /* 231 = shmget */
877 1.3.2.2 bouyer #else
878 1.3.2.3 bouyer { 0, 0, 0,
879 1.3.2.2 bouyer sys_nosys }, /* 228 = excluded shmat */
880 1.3.2.3 bouyer { 0, 0, 0,
881 1.3.2.2 bouyer sys_nosys }, /* 229 = excluded compat_14_shmctl */
882 1.3.2.3 bouyer { 0, 0, 0,
883 1.3.2.2 bouyer sys_nosys }, /* 230 = excluded shmdt */
884 1.3.2.3 bouyer { 0, 0, 0,
885 1.3.2.2 bouyer sys_nosys }, /* 231 = excluded shmget */
886 1.3.2.2 bouyer #endif
887 1.3.2.3 bouyer { 2, s(struct sys_clock_gettime_args), 0,
888 1.3.2.2 bouyer sys_clock_gettime }, /* 232 = clock_gettime */
889 1.3.2.3 bouyer { 2, s(struct sys_clock_settime_args), 0,
890 1.3.2.2 bouyer sys_clock_settime }, /* 233 = clock_settime */
891 1.3.2.3 bouyer { 2, s(struct sys_clock_getres_args), 0,
892 1.3.2.2 bouyer sys_clock_getres }, /* 234 = clock_getres */
893 1.3.2.3 bouyer { 0, 0, 0,
894 1.3.2.2 bouyer sys_nosys }, /* 235 = unimplemented timer_create */
895 1.3.2.3 bouyer { 0, 0, 0,
896 1.3.2.2 bouyer sys_nosys }, /* 236 = unimplemented timer_delete */
897 1.3.2.3 bouyer { 0, 0, 0,
898 1.3.2.2 bouyer sys_nosys }, /* 237 = unimplemented timer_settime */
899 1.3.2.3 bouyer { 0, 0, 0,
900 1.3.2.2 bouyer sys_nosys }, /* 238 = unimplemented timer_gettime */
901 1.3.2.3 bouyer { 0, 0, 0,
902 1.3.2.2 bouyer sys_nosys }, /* 239 = unimplemented timer_getoverrun */
903 1.3.2.3 bouyer { 2, s(struct sys_nanosleep_args), 0,
904 1.3.2.2 bouyer sys_nanosleep }, /* 240 = nanosleep */
905 1.3.2.3 bouyer { 1, s(struct sys_fdatasync_args), 0,
906 1.3.2.2 bouyer sys_fdatasync }, /* 241 = fdatasync */
907 1.3.2.3 bouyer { 1, s(struct sys_mlockall_args), 0,
908 1.3.2.2 bouyer sys_mlockall }, /* 242 = mlockall */
909 1.3.2.3 bouyer { 0, 0, 0,
910 1.3.2.2 bouyer sys_munlockall }, /* 243 = munlockall */
911 1.3.2.3 bouyer { 0, 0, 0,
912 1.3.2.2 bouyer sys_nosys }, /* 244 = unimplemented */
913 1.3.2.3 bouyer { 0, 0, 0,
914 1.3.2.2 bouyer sys_nosys }, /* 245 = unimplemented */
915 1.3.2.3 bouyer { 0, 0, 0,
916 1.3.2.2 bouyer sys_nosys }, /* 246 = unimplemented */
917 1.3.2.3 bouyer { 0, 0, 0,
918 1.3.2.2 bouyer sys_nosys }, /* 247 = unimplemented */
919 1.3.2.3 bouyer { 0, 0, 0,
920 1.3.2.2 bouyer sys_nosys }, /* 248 = unimplemented */
921 1.3.2.3 bouyer { 0, 0, 0,
922 1.3.2.2 bouyer sys_nosys }, /* 249 = unimplemented */
923 1.3.2.3 bouyer { 0, 0, 0,
924 1.3.2.2 bouyer sys_nosys }, /* 250 = unimplemented */
925 1.3.2.3 bouyer { 0, 0, 0,
926 1.3.2.2 bouyer sys_nosys }, /* 251 = unimplemented */
927 1.3.2.3 bouyer { 0, 0, 0,
928 1.3.2.2 bouyer sys_nosys }, /* 252 = unimplemented */
929 1.3.2.3 bouyer { 0, 0, 0,
930 1.3.2.2 bouyer sys_nosys }, /* 253 = unimplemented */
931 1.3.2.3 bouyer { 0, 0, 0,
932 1.3.2.2 bouyer sys_nosys }, /* 254 = unimplemented */
933 1.3.2.3 bouyer { 0, 0, 0,
934 1.3.2.2 bouyer sys_nosys }, /* 255 = unimplemented */
935 1.3.2.3 bouyer { 0, 0, 0,
936 1.3.2.2 bouyer sys_nosys }, /* 256 = unimplemented */
937 1.3.2.3 bouyer { 0, 0, 0,
938 1.3.2.2 bouyer sys_nosys }, /* 257 = unimplemented */
939 1.3.2.3 bouyer { 0, 0, 0,
940 1.3.2.2 bouyer sys_nosys }, /* 258 = unimplemented */
941 1.3.2.3 bouyer { 0, 0, 0,
942 1.3.2.2 bouyer sys_nosys }, /* 259 = unimplemented */
943 1.3.2.3 bouyer { 0, 0, 0,
944 1.3.2.2 bouyer sys_nosys }, /* 260 = unimplemented */
945 1.3.2.3 bouyer { 0, 0, 0,
946 1.3.2.2 bouyer sys_nosys }, /* 261 = unimplemented */
947 1.3.2.3 bouyer { 0, 0, 0,
948 1.3.2.2 bouyer sys_nosys }, /* 262 = unimplemented */
949 1.3.2.3 bouyer { 0, 0, 0,
950 1.3.2.2 bouyer sys_nosys }, /* 263 = unimplemented */
951 1.3.2.3 bouyer { 0, 0, 0,
952 1.3.2.2 bouyer sys_nosys }, /* 264 = unimplemented */
953 1.3.2.3 bouyer { 0, 0, 0,
954 1.3.2.2 bouyer sys_nosys }, /* 265 = unimplemented */
955 1.3.2.3 bouyer { 0, 0, 0,
956 1.3.2.2 bouyer sys_nosys }, /* 266 = unimplemented */
957 1.3.2.3 bouyer { 0, 0, 0,
958 1.3.2.2 bouyer sys_nosys }, /* 267 = unimplemented */
959 1.3.2.3 bouyer { 0, 0, 0,
960 1.3.2.2 bouyer sys_nosys }, /* 268 = unimplemented */
961 1.3.2.3 bouyer { 0, 0, 0,
962 1.3.2.2 bouyer sys_nosys }, /* 269 = unimplemented */
963 1.3.2.4 bouyer #ifdef COMPAT_AOUT_ALTPATH
964 1.3.2.3 bouyer { 2, s(struct aoutm68k_sys___posix_rename_args), 0,
965 1.3.2.2 bouyer aoutm68k_sys___posix_rename }, /* 270 = __posix_rename */
966 1.3.2.4 bouyer #else
967 1.3.2.4 bouyer { 2, s(struct sys___posix_rename_args), 0,
968 1.3.2.4 bouyer sys___posix_rename }, /* 270 = __posix_rename */
969 1.3.2.4 bouyer #endif
970 1.3.2.3 bouyer { 3, s(struct sys_swapctl_args), 0,
971 1.3.2.2 bouyer sys_swapctl }, /* 271 = swapctl */
972 1.3.2.3 bouyer { 3, s(struct sys_getdents_args), 0,
973 1.3.2.2 bouyer sys_getdents }, /* 272 = getdents */
974 1.3.2.3 bouyer { 3, s(struct sys_minherit_args), 0,
975 1.3.2.2 bouyer sys_minherit }, /* 273 = minherit */
976 1.3.2.4 bouyer #ifdef COMPAT_AOUT_ALTPATH
977 1.3.2.3 bouyer { 2, s(struct aoutm68k_sys_lchmod_args), 0,
978 1.3.2.2 bouyer aoutm68k_sys_lchmod }, /* 274 = lchmod */
979 1.3.2.3 bouyer { 3, s(struct aoutm68k_sys_lchown_args), 0,
980 1.3.2.2 bouyer aoutm68k_sys_lchown }, /* 275 = lchown */
981 1.3.2.3 bouyer { 2, s(struct aoutm68k_sys_lutimes_args), 0,
982 1.3.2.2 bouyer aoutm68k_sys_lutimes }, /* 276 = lutimes */
983 1.3.2.4 bouyer #else
984 1.3.2.4 bouyer { 2, s(struct sys_lchmod_args), 0,
985 1.3.2.4 bouyer sys_lchmod }, /* 274 = lchmod */
986 1.3.2.4 bouyer { 3, s(struct sys_lchown_args), 0,
987 1.3.2.4 bouyer sys_lchown }, /* 275 = lchown */
988 1.3.2.4 bouyer { 2, s(struct sys_lutimes_args), 0,
989 1.3.2.4 bouyer sys_lutimes }, /* 276 = lutimes */
990 1.3.2.4 bouyer #endif
991 1.3.2.3 bouyer { 3, s(struct sys___msync13_args), 0,
992 1.3.2.2 bouyer sys___msync13 }, /* 277 = __msync13 */
993 1.3.2.3 bouyer { 2, s(struct aoutm68k_sys___stat13_args), 0,
994 1.3.2.2 bouyer aoutm68k_sys___stat13 }, /* 278 = __stat13 */
995 1.3.2.3 bouyer { 2, s(struct aoutm68k_sys___fstat13_args), 0,
996 1.3.2.2 bouyer aoutm68k_sys___fstat13 }, /* 279 = __fstat13 */
997 1.3.2.3 bouyer { 2, s(struct aoutm68k_sys___lstat13_args), 0,
998 1.3.2.2 bouyer aoutm68k_sys___lstat13 }, /* 280 = __lstat13 */
999 1.3.2.3 bouyer { 2, s(struct sys___sigaltstack14_args), 0,
1000 1.3.2.2 bouyer sys___sigaltstack14 }, /* 281 = __sigaltstack14 */
1001 1.3.2.3 bouyer { 0, 0, 0,
1002 1.3.2.2 bouyer sys___vfork14 }, /* 282 = __vfork14 */
1003 1.3.2.4 bouyer #ifdef COMPAT_AOUT_ALTPATH
1004 1.3.2.3 bouyer { 3, s(struct aoutm68k_sys___posix_chown_args), 0,
1005 1.3.2.2 bouyer aoutm68k_sys___posix_chown }, /* 283 = __posix_chown */
1006 1.3.2.4 bouyer #else
1007 1.3.2.4 bouyer { 3, s(struct sys___posix_chown_args), 0,
1008 1.3.2.4 bouyer sys___posix_chown }, /* 283 = __posix_chown */
1009 1.3.2.4 bouyer #endif
1010 1.3.2.3 bouyer { 3, s(struct sys___posix_fchown_args), 0,
1011 1.3.2.2 bouyer sys___posix_fchown }, /* 284 = __posix_fchown */
1012 1.3.2.3 bouyer { 3, s(struct sys___posix_lchown_args), 0,
1013 1.3.2.2 bouyer sys___posix_lchown }, /* 285 = __posix_lchown */
1014 1.3.2.3 bouyer { 1, s(struct sys_getsid_args), 0,
1015 1.3.2.2 bouyer sys_getsid }, /* 286 = getsid */
1016 1.3.2.3 bouyer { 0, 0, 0,
1017 1.3.2.2 bouyer sys_nosys }, /* 287 = unimplemented */
1018 1.3.2.2 bouyer #if defined(KTRACE) || !defined(_KERNEL)
1019 1.3.2.3 bouyer { 4, s(struct sys_fktrace_args), 0,
1020 1.3.2.2 bouyer sys_fktrace }, /* 288 = fktrace */
1021 1.3.2.2 bouyer #else
1022 1.3.2.3 bouyer { 0, 0, 0,
1023 1.3.2.2 bouyer sys_nosys }, /* 288 = excluded ktrace */
1024 1.3.2.2 bouyer #endif
1025 1.3.2.3 bouyer { 5, s(struct sys_preadv_args), 0,
1026 1.3.2.2 bouyer sys_preadv }, /* 289 = preadv */
1027 1.3.2.3 bouyer { 5, s(struct sys_pwritev_args), 0,
1028 1.3.2.2 bouyer sys_pwritev }, /* 290 = pwritev */
1029 1.3.2.3 bouyer { 3, s(struct sys___sigaction14_args), 0,
1030 1.3.2.2 bouyer sys___sigaction14 }, /* 291 = __sigaction14 */
1031 1.3.2.3 bouyer { 1, s(struct sys___sigpending14_args), 0,
1032 1.3.2.2 bouyer sys___sigpending14 }, /* 292 = __sigpending14 */
1033 1.3.2.3 bouyer { 3, s(struct sys___sigprocmask14_args), 0,
1034 1.3.2.2 bouyer sys___sigprocmask14 }, /* 293 = __sigprocmask14 */
1035 1.3.2.3 bouyer { 1, s(struct sys___sigsuspend14_args), 0,
1036 1.3.2.2 bouyer sys___sigsuspend14 }, /* 294 = __sigsuspend14 */
1037 1.3.2.3 bouyer { 1, s(struct sys___sigreturn14_args), 0,
1038 1.3.2.2 bouyer sys___sigreturn14 }, /* 295 = __sigreturn14 */
1039 1.3.2.3 bouyer { 2, s(struct sys___getcwd_args), 0,
1040 1.3.2.2 bouyer sys___getcwd }, /* 296 = __getcwd */
1041 1.3.2.3 bouyer { 1, s(struct sys_fchroot_args), 0,
1042 1.3.2.2 bouyer sys_fchroot }, /* 297 = fchroot */
1043 1.3.2.3 bouyer { 2, s(struct sys_fhopen_args), 0,
1044 1.3.2.2 bouyer sys_fhopen }, /* 298 = fhopen */
1045 1.3.2.3 bouyer { 2, s(struct aoutm68k_sys_fhstat_args), 0,
1046 1.3.2.2 bouyer aoutm68k_sys_fhstat }, /* 299 = fhstat */
1047 1.3.2.3 bouyer { 2, s(struct sys_fhstatfs_args), 0,
1048 1.3.2.2 bouyer sys_fhstatfs }, /* 300 = fhstatfs */
1049 1.3.2.2 bouyer #if defined(SYSVSEM) || !defined(_KERNEL)
1050 1.3.2.3 bouyer { 4, s(struct sys_____semctl13_args), 0,
1051 1.3.2.2 bouyer sys_____semctl13 }, /* 301 = ____semctl13 */
1052 1.3.2.2 bouyer #else
1053 1.3.2.3 bouyer { 0, 0, 0,
1054 1.3.2.2 bouyer sys_nosys }, /* 301 = excluded ____semctl13 */
1055 1.3.2.2 bouyer #endif
1056 1.3.2.2 bouyer #if defined(SYSVMSG) || !defined(_KERNEL)
1057 1.3.2.3 bouyer { 3, s(struct sys___msgctl13_args), 0,
1058 1.3.2.2 bouyer sys___msgctl13 }, /* 302 = __msgctl13 */
1059 1.3.2.2 bouyer #else
1060 1.3.2.3 bouyer { 0, 0, 0,
1061 1.3.2.2 bouyer sys_nosys }, /* 302 = excluded __msgctl13 */
1062 1.3.2.2 bouyer #endif
1063 1.3.2.2 bouyer #if defined(SYSVSHM) || !defined(_KERNEL)
1064 1.3.2.3 bouyer { 3, s(struct sys___shmctl13_args), 0,
1065 1.3.2.2 bouyer sys___shmctl13 }, /* 303 = __shmctl13 */
1066 1.3.2.2 bouyer #else
1067 1.3.2.3 bouyer { 0, 0, 0,
1068 1.3.2.2 bouyer sys_nosys }, /* 303 = excluded __shmctl13 */
1069 1.3.2.2 bouyer #endif
1070 1.3.2.3 bouyer { 2, s(struct sys_lchflags_args), 0,
1071 1.3.2.2 bouyer sys_lchflags }, /* 304 = lchflags */
1072 1.3.2.3 bouyer { 0, 0, 0,
1073 1.3.2.2 bouyer sys_issetugid }, /* 305 = issetugid */
1074 1.3.2.2 bouyer };
1075 1.3.2.2 bouyer
1076