init_sysent.c revision 1.228 1 1.228 wrstuden /* $NetBSD: init_sysent.c,v 1.228 2008/10/15 06:51:20 wrstuden Exp $ */
2 1.77 thorpej
3 1.1 cgd /*
4 1.1 cgd * System call switch table.
5 1.1 cgd *
6 1.1 cgd * DO NOT EDIT-- this file is automatically generated.
7 1.228 wrstuden * created from NetBSD: syscalls.master,v 1.200.4.2 2008/05/14 01:35:14 wrstuden Exp
8 1.1 cgd */
9 1.1 cgd
10 1.128 lukem #include <sys/cdefs.h>
11 1.228 wrstuden __KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.228 2008/10/15 06:51:20 wrstuden Exp $");
12 1.128 lukem
13 1.91 thorpej #include "opt_nfsserver.h"
14 1.116 bjh21 #include "opt_ntp.h"
15 1.94 jonathan #include "opt_compat_netbsd.h"
16 1.99 tron #include "opt_sysv.h"
17 1.101 christos #include "opt_compat_43.h"
18 1.138 christos #include "opt_posix.h"
19 1.81 thorpej #include "fs_lfs.h"
20 1.81 thorpej #include "fs_nfs.h"
21 1.17 cgd #include <sys/param.h>
22 1.17 cgd #include <sys/systm.h>
23 1.28 cgd #include <sys/signal.h>
24 1.28 cgd #include <sys/mount.h>
25 1.227 tsutsui #include <sys/sched.h>
26 1.28 cgd #include <sys/syscallargs.h>
27 1.37 mycroft
28 1.37 mycroft #ifdef COMPAT_43
29 1.126 lukem #define compat_43(func) __CONCAT(compat_43_,func)
30 1.37 mycroft #else
31 1.126 lukem #define compat_43(func) sys_nosys
32 1.37 mycroft #endif
33 1.37 mycroft
34 1.37 mycroft #ifdef COMPAT_09
35 1.126 lukem #define compat_09(func) __CONCAT(compat_09_,func)
36 1.37 mycroft #else
37 1.126 lukem #define compat_09(func) sys_nosys
38 1.37 mycroft #endif
39 1.37 mycroft
40 1.37 mycroft #ifdef COMPAT_10
41 1.126 lukem #define compat_10(func) __CONCAT(compat_10_,func)
42 1.37 mycroft #else
43 1.126 lukem #define compat_10(func) sys_nosys
44 1.37 mycroft #endif
45 1.37 mycroft
46 1.43 mrg #ifdef COMPAT_11
47 1.126 lukem #define compat_11(func) __CONCAT(compat_11_,func)
48 1.43 mrg #else
49 1.126 lukem #define compat_11(func) sys_nosys
50 1.43 mrg #endif
51 1.43 mrg
52 1.43 mrg #ifdef COMPAT_12
53 1.126 lukem #define compat_12(func) __CONCAT(compat_12_,func)
54 1.43 mrg #else
55 1.126 lukem #define compat_12(func) sys_nosys
56 1.43 mrg #endif
57 1.43 mrg
58 1.71 kleink #ifdef COMPAT_13
59 1.126 lukem #define compat_13(func) __CONCAT(compat_13_,func)
60 1.71 kleink #else
61 1.126 lukem #define compat_13(func) sys_nosys
62 1.71 kleink #endif
63 1.71 kleink
64 1.111 thorpej #ifdef COMPAT_14
65 1.126 lukem #define compat_14(func) __CONCAT(compat_14_,func)
66 1.111 thorpej #else
67 1.126 lukem #define compat_14(func) sys_nosys
68 1.111 thorpej #endif
69 1.111 thorpej
70 1.145 christos #ifdef COMPAT_15
71 1.145 christos #define compat_15(func) __CONCAT(compat_15_,func)
72 1.145 christos #else
73 1.145 christos #define compat_15(func) sys_nosys
74 1.145 christos #endif
75 1.145 christos
76 1.145 christos #ifdef COMPAT_16
77 1.145 christos #define compat_16(func) __CONCAT(compat_16_,func)
78 1.145 christos #else
79 1.145 christos #define compat_16(func) sys_nosys
80 1.145 christos #endif
81 1.145 christos
82 1.156 christos #ifdef COMPAT_20
83 1.156 christos #define compat_20(func) __CONCAT(compat_20_,func)
84 1.156 christos #else
85 1.156 christos #define compat_20(func) sys_nosys
86 1.156 christos #endif
87 1.156 christos
88 1.166 christos #ifdef COMPAT_30
89 1.166 christos #define compat_30(func) __CONCAT(compat_30_,func)
90 1.166 christos #else
91 1.166 christos #define compat_30(func) sys_nosys
92 1.166 christos #endif
93 1.166 christos
94 1.191 dsl #ifdef COMPAT_40
95 1.191 dsl #define compat_40(func) __CONCAT(compat_40_,func)
96 1.191 dsl #else
97 1.191 dsl #define compat_40(func) sys_nosys
98 1.191 dsl #endif
99 1.191 dsl
100 1.218 yamt #ifdef COMPAT_50
101 1.218 yamt #define compat_50(func) __CONCAT(compat_50_,func)
102 1.218 yamt #else
103 1.218 yamt #define compat_50(func) sys_nosys
104 1.218 yamt #endif
105 1.218 yamt
106 1.28 cgd #define s(type) sizeof(type)
107 1.200 dsl #define n(type) (sizeof(type)/sizeof (register_t))
108 1.200 dsl #define ns(type) n(type), s(type)
109 1.28 cgd
110 1.28 cgd struct sysent sysent[] = {
111 1.200 dsl { ns(struct sys_syscall_args), SYCALL_INDIRECT,
112 1.202 dsl (sy_call_t *)sys_syscall }, /* 0 = syscall */
113 1.223 ad { ns(struct sys_exit_args), 0,
114 1.202 dsl (sy_call_t *)sys_exit }, /* 1 = exit */
115 1.223 ad { 0, 0, 0,
116 1.202 dsl (sy_call_t *)sys_fork }, /* 2 = fork */
117 1.223 ad { ns(struct sys_read_args), 0,
118 1.202 dsl (sy_call_t *)sys_read }, /* 3 = read */
119 1.223 ad { ns(struct sys_write_args), 0,
120 1.202 dsl (sy_call_t *)sys_write }, /* 4 = write */
121 1.223 ad { ns(struct sys_open_args), 0,
122 1.202 dsl (sy_call_t *)sys_open }, /* 5 = open */
123 1.223 ad { ns(struct sys_close_args), 0,
124 1.202 dsl (sy_call_t *)sys_close }, /* 6 = close */
125 1.223 ad { ns(struct sys_wait4_args), 0,
126 1.202 dsl (sy_call_t *)sys_wait4 }, /* 7 = wait4 */
127 1.223 ad { ns(struct compat_43_sys_creat_args), 0,
128 1.202 dsl (sy_call_t *)compat_43(sys_creat) },/* 8 = compat_43_ocreat */
129 1.223 ad { ns(struct sys_link_args), 0,
130 1.202 dsl (sy_call_t *)sys_link }, /* 9 = link */
131 1.223 ad { ns(struct sys_unlink_args), 0,
132 1.202 dsl (sy_call_t *)sys_unlink }, /* 10 = unlink */
133 1.123 thorpej { 0, 0, 0,
134 1.37 mycroft sys_nosys }, /* 11 = obsolete execv */
135 1.223 ad { ns(struct sys_chdir_args), 0,
136 1.202 dsl (sy_call_t *)sys_chdir }, /* 12 = chdir */
137 1.223 ad { ns(struct sys_fchdir_args), 0,
138 1.202 dsl (sy_call_t *)sys_fchdir }, /* 13 = fchdir */
139 1.223 ad { ns(struct sys_mknod_args), 0,
140 1.202 dsl (sy_call_t *)sys_mknod }, /* 14 = mknod */
141 1.223 ad { ns(struct sys_chmod_args), 0,
142 1.202 dsl (sy_call_t *)sys_chmod }, /* 15 = chmod */
143 1.223 ad { ns(struct sys_chown_args), 0,
144 1.202 dsl (sy_call_t *)sys_chown }, /* 16 = chown */
145 1.223 ad { ns(struct sys_obreak_args), 0,
146 1.202 dsl (sy_call_t *)sys_obreak }, /* 17 = break */
147 1.223 ad { ns(struct compat_20_sys_getfsstat_args), 0,
148 1.202 dsl (sy_call_t *)compat_20(sys_getfsstat) },/* 18 = compat_20_getfsstat */
149 1.223 ad { ns(struct compat_43_sys_lseek_args), 0,
150 1.202 dsl (sy_call_t *)compat_43(sys_lseek) },/* 19 = compat_43_olseek */
151 1.120 mycroft #ifdef COMPAT_43
152 1.223 ad { 0, 0, 0,
153 1.202 dsl (sy_call_t *)sys_getpid_with_ppid },/* 20 = getpid */
154 1.120 mycroft #else
155 1.223 ad { 0, 0, 0,
156 1.202 dsl (sy_call_t *)sys_getpid }, /* 20 = getpid */
157 1.120 mycroft #endif
158 1.223 ad { ns(struct compat_40_sys_mount_args), 0,
159 1.202 dsl (sy_call_t *)compat_40(sys_mount) },/* 21 = compat_40_mount */
160 1.223 ad { ns(struct sys_unmount_args), 0,
161 1.202 dsl (sy_call_t *)sys_unmount }, /* 22 = unmount */
162 1.223 ad { ns(struct sys_setuid_args), 0,
163 1.202 dsl (sy_call_t *)sys_setuid }, /* 23 = setuid */
164 1.120 mycroft #ifdef COMPAT_43
165 1.223 ad { 0, 0, 0,
166 1.202 dsl (sy_call_t *)sys_getuid_with_euid },/* 24 = getuid */
167 1.120 mycroft #else
168 1.223 ad { 0, 0, 0,
169 1.202 dsl (sy_call_t *)sys_getuid }, /* 24 = getuid */
170 1.120 mycroft #endif
171 1.223 ad { 0, 0, 0,
172 1.202 dsl (sy_call_t *)sys_geteuid }, /* 25 = geteuid */
173 1.223 ad { ns(struct sys_ptrace_args), 0,
174 1.202 dsl (sy_call_t *)sys_ptrace }, /* 26 = ptrace */
175 1.223 ad { ns(struct sys_recvmsg_args), 0,
176 1.202 dsl (sy_call_t *)sys_recvmsg }, /* 27 = recvmsg */
177 1.223 ad { ns(struct sys_sendmsg_args), 0,
178 1.202 dsl (sy_call_t *)sys_sendmsg }, /* 28 = sendmsg */
179 1.223 ad { ns(struct sys_recvfrom_args), 0,
180 1.202 dsl (sy_call_t *)sys_recvfrom }, /* 29 = recvfrom */
181 1.200 dsl { ns(struct sys_accept_args), 0,
182 1.202 dsl (sy_call_t *)sys_accept }, /* 30 = accept */
183 1.200 dsl { ns(struct sys_getpeername_args), 0,
184 1.202 dsl (sy_call_t *)sys_getpeername }, /* 31 = getpeername */
185 1.200 dsl { ns(struct sys_getsockname_args), 0,
186 1.202 dsl (sy_call_t *)sys_getsockname }, /* 32 = getsockname */
187 1.223 ad { ns(struct sys_access_args), 0,
188 1.202 dsl (sy_call_t *)sys_access }, /* 33 = access */
189 1.223 ad { ns(struct sys_chflags_args), 0,
190 1.202 dsl (sy_call_t *)sys_chflags }, /* 34 = chflags */
191 1.223 ad { ns(struct sys_fchflags_args), 0,
192 1.202 dsl (sy_call_t *)sys_fchflags }, /* 35 = fchflags */
193 1.223 ad { 0, 0, 0,
194 1.202 dsl (sy_call_t *)sys_sync }, /* 36 = sync */
195 1.223 ad { ns(struct sys_kill_args), 0,
196 1.202 dsl (sy_call_t *)sys_kill }, /* 37 = kill */
197 1.223 ad { ns(struct compat_43_sys_stat_args), 0,
198 1.202 dsl (sy_call_t *)compat_43(sys_stat) }, /* 38 = compat_43_stat43 */
199 1.223 ad { 0, 0, 0,
200 1.202 dsl (sy_call_t *)sys_getppid }, /* 39 = getppid */
201 1.223 ad { ns(struct compat_43_sys_lstat_args), 0,
202 1.202 dsl (sy_call_t *)compat_43(sys_lstat) },/* 40 = compat_43_lstat43 */
203 1.223 ad { ns(struct sys_dup_args), 0,
204 1.202 dsl (sy_call_t *)sys_dup }, /* 41 = dup */
205 1.223 ad { 0, 0, 0,
206 1.202 dsl (sy_call_t *)sys_pipe }, /* 42 = pipe */
207 1.223 ad { 0, 0, 0,
208 1.202 dsl (sy_call_t *)sys_getegid }, /* 43 = getegid */
209 1.223 ad { ns(struct sys_profil_args), 0,
210 1.202 dsl (sy_call_t *)sys_profil }, /* 44 = profil */
211 1.223 ad { ns(struct sys_ktrace_args), 0,
212 1.202 dsl (sy_call_t *)sys_ktrace }, /* 45 = ktrace */
213 1.223 ad { ns(struct compat_13_sys_sigaction_args), 0,
214 1.202 dsl (sy_call_t *)compat_13(sys_sigaction) },/* 46 = compat_13_sigaction13 */
215 1.120 mycroft #ifdef COMPAT_43
216 1.223 ad { 0, 0, 0,
217 1.202 dsl (sy_call_t *)sys_getgid_with_egid },/* 47 = getgid */
218 1.120 mycroft #else
219 1.223 ad { 0, 0, 0,
220 1.202 dsl (sy_call_t *)sys_getgid }, /* 47 = getgid */
221 1.120 mycroft #endif
222 1.223 ad { ns(struct compat_13_sys_sigprocmask_args), 0,
223 1.202 dsl (sy_call_t *)compat_13(sys_sigprocmask) },/* 48 = compat_13_sigprocmask13 */
224 1.223 ad { ns(struct sys___getlogin_args), 0,
225 1.202 dsl (sy_call_t *)sys___getlogin }, /* 49 = __getlogin */
226 1.223 ad { ns(struct sys___setlogin_args), 0,
227 1.202 dsl (sy_call_t *)sys___setlogin }, /* 50 = __setlogin */
228 1.223 ad { ns(struct sys_acct_args), 0,
229 1.202 dsl (sy_call_t *)sys_acct }, /* 51 = acct */
230 1.223 ad { 0, 0, 0,
231 1.202 dsl (sy_call_t *)compat_13(sys_sigpending) },/* 52 = compat_13_sigpending13 */
232 1.223 ad { ns(struct compat_13_sys_sigaltstack_args), 0,
233 1.202 dsl (sy_call_t *)compat_13(sys_sigaltstack) },/* 53 = compat_13_sigaltstack13 */
234 1.223 ad { ns(struct sys_ioctl_args), 0,
235 1.202 dsl (sy_call_t *)sys_ioctl }, /* 54 = ioctl */
236 1.223 ad { ns(struct compat_12_sys_reboot_args), 0,
237 1.202 dsl (sy_call_t *)compat_12(sys_reboot) },/* 55 = compat_12_oreboot */
238 1.223 ad { ns(struct sys_revoke_args), 0,
239 1.202 dsl (sy_call_t *)sys_revoke }, /* 56 = revoke */
240 1.223 ad { ns(struct sys_symlink_args), 0,
241 1.202 dsl (sy_call_t *)sys_symlink }, /* 57 = symlink */
242 1.223 ad { ns(struct sys_readlink_args), 0,
243 1.202 dsl (sy_call_t *)sys_readlink }, /* 58 = readlink */
244 1.223 ad { ns(struct sys_execve_args), 0,
245 1.202 dsl (sy_call_t *)sys_execve }, /* 59 = execve */
246 1.223 ad { ns(struct sys_umask_args), 0,
247 1.202 dsl (sy_call_t *)sys_umask }, /* 60 = umask */
248 1.223 ad { ns(struct sys_chroot_args), 0,
249 1.202 dsl (sy_call_t *)sys_chroot }, /* 61 = chroot */
250 1.223 ad { ns(struct compat_43_sys_fstat_args), 0,
251 1.202 dsl (sy_call_t *)compat_43(sys_fstat) },/* 62 = compat_43_fstat43 */
252 1.223 ad { ns(struct compat_43_sys_getkerninfo_args), 0,
253 1.202 dsl (sy_call_t *)compat_43(sys_getkerninfo) },/* 63 = compat_43_ogetkerninfo */
254 1.223 ad { 0, 0, 0,
255 1.202 dsl (sy_call_t *)compat_43(sys_getpagesize) },/* 64 = compat_43_ogetpagesize */
256 1.223 ad { ns(struct compat_12_sys_msync_args), 0,
257 1.202 dsl (sy_call_t *)compat_12(sys_msync) },/* 65 = compat_12_msync */
258 1.223 ad { 0, 0, 0,
259 1.202 dsl (sy_call_t *)sys_vfork }, /* 66 = vfork */
260 1.123 thorpej { 0, 0, 0,
261 1.37 mycroft sys_nosys }, /* 67 = obsolete vread */
262 1.123 thorpej { 0, 0, 0,
263 1.37 mycroft sys_nosys }, /* 68 = obsolete vwrite */
264 1.223 ad { ns(struct sys_sbrk_args), 0,
265 1.202 dsl (sy_call_t *)sys_sbrk }, /* 69 = sbrk */
266 1.223 ad { ns(struct sys_sstk_args), 0,
267 1.202 dsl (sy_call_t *)sys_sstk }, /* 70 = sstk */
268 1.223 ad { ns(struct compat_43_sys_mmap_args), 0,
269 1.202 dsl (sy_call_t *)compat_43(sys_mmap) }, /* 71 = compat_43_ommap */
270 1.223 ad { ns(struct sys_ovadvise_args), 0,
271 1.202 dsl (sy_call_t *)sys_ovadvise }, /* 72 = vadvise */
272 1.223 ad { ns(struct sys_munmap_args), 0,
273 1.202 dsl (sy_call_t *)sys_munmap }, /* 73 = munmap */
274 1.223 ad { ns(struct sys_mprotect_args), 0,
275 1.202 dsl (sy_call_t *)sys_mprotect }, /* 74 = mprotect */
276 1.223 ad { ns(struct sys_madvise_args), 0,
277 1.202 dsl (sy_call_t *)sys_madvise }, /* 75 = madvise */
278 1.123 thorpej { 0, 0, 0,
279 1.37 mycroft sys_nosys }, /* 76 = obsolete vhangup */
280 1.123 thorpej { 0, 0, 0,
281 1.37 mycroft sys_nosys }, /* 77 = obsolete vlimit */
282 1.223 ad { ns(struct sys_mincore_args), 0,
283 1.202 dsl (sy_call_t *)sys_mincore }, /* 78 = mincore */
284 1.223 ad { ns(struct sys_getgroups_args), 0,
285 1.202 dsl (sy_call_t *)sys_getgroups }, /* 79 = getgroups */
286 1.223 ad { ns(struct sys_setgroups_args), 0,
287 1.202 dsl (sy_call_t *)sys_setgroups }, /* 80 = setgroups */
288 1.223 ad { 0, 0, 0,
289 1.202 dsl (sy_call_t *)sys_getpgrp }, /* 81 = getpgrp */
290 1.223 ad { ns(struct sys_setpgid_args), 0,
291 1.202 dsl (sy_call_t *)sys_setpgid }, /* 82 = setpgid */
292 1.223 ad { ns(struct sys_setitimer_args), 0,
293 1.202 dsl (sy_call_t *)sys_setitimer }, /* 83 = setitimer */
294 1.223 ad { 0, 0, 0,
295 1.202 dsl (sy_call_t *)compat_43(sys_wait) }, /* 84 = compat_43_owait */
296 1.223 ad { ns(struct compat_12_sys_swapon_args), 0,
297 1.202 dsl (sy_call_t *)compat_12(sys_swapon) },/* 85 = compat_12_oswapon */
298 1.223 ad { ns(struct sys_getitimer_args), 0,
299 1.202 dsl (sy_call_t *)sys_getitimer }, /* 86 = getitimer */
300 1.223 ad { ns(struct compat_43_sys_gethostname_args), 0,
301 1.202 dsl (sy_call_t *)compat_43(sys_gethostname) },/* 87 = compat_43_ogethostname */
302 1.223 ad { ns(struct compat_43_sys_sethostname_args), 0,
303 1.202 dsl (sy_call_t *)compat_43(sys_sethostname) },/* 88 = compat_43_osethostname */
304 1.223 ad { 0, 0, 0,
305 1.202 dsl (sy_call_t *)compat_43(sys_getdtablesize) },/* 89 = compat_43_ogetdtablesize */
306 1.223 ad { ns(struct sys_dup2_args), 0,
307 1.202 dsl (sy_call_t *)sys_dup2 }, /* 90 = dup2 */
308 1.123 thorpej { 0, 0, 0,
309 1.37 mycroft sys_nosys }, /* 91 = unimplemented getdopt */
310 1.223 ad { ns(struct sys_fcntl_args), 0,
311 1.202 dsl (sy_call_t *)sys_fcntl }, /* 92 = fcntl */
312 1.223 ad { ns(struct sys_select_args), 0,
313 1.202 dsl (sy_call_t *)sys_select }, /* 93 = select */
314 1.123 thorpej { 0, 0, 0,
315 1.37 mycroft sys_nosys }, /* 94 = unimplemented setdopt */
316 1.223 ad { ns(struct sys_fsync_args), 0,
317 1.202 dsl (sy_call_t *)sys_fsync }, /* 95 = fsync */
318 1.223 ad { ns(struct sys_setpriority_args), 0,
319 1.202 dsl (sy_call_t *)sys_setpriority }, /* 96 = setpriority */
320 1.200 dsl { ns(struct compat_30_sys_socket_args), 0,
321 1.202 dsl (sy_call_t *)compat_30(sys_socket) },/* 97 = compat_30_socket */
322 1.200 dsl { ns(struct sys_connect_args), 0,
323 1.202 dsl (sy_call_t *)sys_connect }, /* 98 = connect */
324 1.200 dsl { ns(struct compat_43_sys_accept_args), 0,
325 1.202 dsl (sy_call_t *)compat_43(sys_accept) },/* 99 = compat_43_oaccept */
326 1.223 ad { ns(struct sys_getpriority_args), 0,
327 1.202 dsl (sy_call_t *)sys_getpriority }, /* 100 = getpriority */
328 1.223 ad { ns(struct compat_43_sys_send_args), 0,
329 1.202 dsl (sy_call_t *)compat_43(sys_send) }, /* 101 = compat_43_osend */
330 1.223 ad { ns(struct compat_43_sys_recv_args), 0,
331 1.202 dsl (sy_call_t *)compat_43(sys_recv) }, /* 102 = compat_43_orecv */
332 1.223 ad { ns(struct compat_13_sys_sigreturn_args), 0,
333 1.202 dsl (sy_call_t *)compat_13(sys_sigreturn) },/* 103 = compat_13_sigreturn13 */
334 1.200 dsl { ns(struct sys_bind_args), 0,
335 1.202 dsl (sy_call_t *)sys_bind }, /* 104 = bind */
336 1.200 dsl { ns(struct sys_setsockopt_args), 0,
337 1.202 dsl (sy_call_t *)sys_setsockopt }, /* 105 = setsockopt */
338 1.200 dsl { ns(struct sys_listen_args), 0,
339 1.202 dsl (sy_call_t *)sys_listen }, /* 106 = listen */
340 1.123 thorpej { 0, 0, 0,
341 1.37 mycroft sys_nosys }, /* 107 = obsolete vtimes */
342 1.223 ad { ns(struct compat_43_sys_sigvec_args), 0,
343 1.202 dsl (sy_call_t *)compat_43(sys_sigvec) },/* 108 = compat_43_osigvec */
344 1.223 ad { ns(struct compat_43_sys_sigblock_args), 0,
345 1.202 dsl (sy_call_t *)compat_43(sys_sigblock) },/* 109 = compat_43_osigblock */
346 1.223 ad { ns(struct compat_43_sys_sigsetmask_args), 0,
347 1.202 dsl (sy_call_t *)compat_43(sys_sigsetmask) },/* 110 = compat_43_osigsetmask */
348 1.223 ad { ns(struct compat_13_sys_sigsuspend_args), 0,
349 1.202 dsl (sy_call_t *)compat_13(sys_sigsuspend) },/* 111 = compat_13_sigsuspend13 */
350 1.223 ad { ns(struct compat_43_sys_sigstack_args), 0,
351 1.202 dsl (sy_call_t *)compat_43(sys_sigstack) },/* 112 = compat_43_osigstack */
352 1.223 ad { ns(struct compat_43_sys_recvmsg_args), 0,
353 1.202 dsl (sy_call_t *)compat_43(sys_recvmsg) },/* 113 = compat_43_orecvmsg */
354 1.223 ad { ns(struct compat_43_sys_sendmsg_args), 0,
355 1.202 dsl (sy_call_t *)compat_43(sys_sendmsg) },/* 114 = compat_43_osendmsg */
356 1.123 thorpej { 0, 0, 0,
357 1.37 mycroft sys_nosys }, /* 115 = obsolete vtrace */
358 1.223 ad { ns(struct sys_gettimeofday_args), 0,
359 1.202 dsl (sy_call_t *)sys_gettimeofday }, /* 116 = gettimeofday */
360 1.223 ad { ns(struct sys_getrusage_args), 0,
361 1.202 dsl (sy_call_t *)sys_getrusage }, /* 117 = getrusage */
362 1.200 dsl { ns(struct sys_getsockopt_args), 0,
363 1.202 dsl (sy_call_t *)sys_getsockopt }, /* 118 = getsockopt */
364 1.123 thorpej { 0, 0, 0,
365 1.37 mycroft sys_nosys }, /* 119 = obsolete resuba */
366 1.223 ad { ns(struct sys_readv_args), 0,
367 1.202 dsl (sy_call_t *)sys_readv }, /* 120 = readv */
368 1.223 ad { ns(struct sys_writev_args), 0,
369 1.202 dsl (sy_call_t *)sys_writev }, /* 121 = writev */
370 1.223 ad { ns(struct sys_settimeofday_args), 0,
371 1.202 dsl (sy_call_t *)sys_settimeofday }, /* 122 = settimeofday */
372 1.223 ad { ns(struct sys_fchown_args), 0,
373 1.202 dsl (sy_call_t *)sys_fchown }, /* 123 = fchown */
374 1.223 ad { ns(struct sys_fchmod_args), 0,
375 1.202 dsl (sy_call_t *)sys_fchmod }, /* 124 = fchmod */
376 1.223 ad { ns(struct compat_43_sys_recvfrom_args), 0,
377 1.202 dsl (sy_call_t *)compat_43(sys_recvfrom) },/* 125 = compat_43_orecvfrom */
378 1.223 ad { ns(struct sys_setreuid_args), 0,
379 1.202 dsl (sy_call_t *)sys_setreuid }, /* 126 = setreuid */
380 1.223 ad { ns(struct sys_setregid_args), 0,
381 1.202 dsl (sy_call_t *)sys_setregid }, /* 127 = setregid */
382 1.223 ad { ns(struct sys_rename_args), 0,
383 1.202 dsl (sy_call_t *)sys_rename }, /* 128 = rename */
384 1.223 ad { ns(struct compat_43_sys_truncate_args), 0,
385 1.202 dsl (sy_call_t *)compat_43(sys_truncate) },/* 129 = compat_43_otruncate */
386 1.223 ad { ns(struct compat_43_sys_ftruncate_args), 0,
387 1.202 dsl (sy_call_t *)compat_43(sys_ftruncate) },/* 130 = compat_43_oftruncate */
388 1.223 ad { ns(struct sys_flock_args), 0,
389 1.202 dsl (sy_call_t *)sys_flock }, /* 131 = flock */
390 1.223 ad { ns(struct sys_mkfifo_args), 0,
391 1.202 dsl (sy_call_t *)sys_mkfifo }, /* 132 = mkfifo */
392 1.223 ad { ns(struct sys_sendto_args), 0,
393 1.202 dsl (sy_call_t *)sys_sendto }, /* 133 = sendto */
394 1.200 dsl { ns(struct sys_shutdown_args), 0,
395 1.202 dsl (sy_call_t *)sys_shutdown }, /* 134 = shutdown */
396 1.200 dsl { ns(struct sys_socketpair_args), 0,
397 1.202 dsl (sy_call_t *)sys_socketpair }, /* 135 = socketpair */
398 1.223 ad { ns(struct sys_mkdir_args), 0,
399 1.202 dsl (sy_call_t *)sys_mkdir }, /* 136 = mkdir */
400 1.223 ad { ns(struct sys_rmdir_args), 0,
401 1.202 dsl (sy_call_t *)sys_rmdir }, /* 137 = rmdir */
402 1.223 ad { ns(struct sys_utimes_args), 0,
403 1.202 dsl (sy_call_t *)sys_utimes }, /* 138 = utimes */
404 1.123 thorpej { 0, 0, 0,
405 1.37 mycroft sys_nosys }, /* 139 = obsolete 4.2 sigreturn */
406 1.223 ad { ns(struct sys_adjtime_args), 0,
407 1.202 dsl (sy_call_t *)sys_adjtime }, /* 140 = adjtime */
408 1.200 dsl { ns(struct compat_43_sys_getpeername_args), 0,
409 1.202 dsl (sy_call_t *)compat_43(sys_getpeername) },/* 141 = compat_43_ogetpeername */
410 1.223 ad { 0, 0, 0,
411 1.202 dsl (sy_call_t *)compat_43(sys_gethostid) },/* 142 = compat_43_ogethostid */
412 1.223 ad { ns(struct compat_43_sys_sethostid_args), 0,
413 1.202 dsl (sy_call_t *)compat_43(sys_sethostid) },/* 143 = compat_43_osethostid */
414 1.223 ad { ns(struct compat_43_sys_getrlimit_args), 0,
415 1.202 dsl (sy_call_t *)compat_43(sys_getrlimit) },/* 144 = compat_43_ogetrlimit */
416 1.223 ad { ns(struct compat_43_sys_setrlimit_args), 0,
417 1.202 dsl (sy_call_t *)compat_43(sys_setrlimit) },/* 145 = compat_43_osetrlimit */
418 1.223 ad { ns(struct compat_43_sys_killpg_args), 0,
419 1.202 dsl (sy_call_t *)compat_43(sys_killpg) },/* 146 = compat_43_okillpg */
420 1.223 ad { 0, 0, 0,
421 1.202 dsl (sy_call_t *)sys_setsid }, /* 147 = setsid */
422 1.223 ad { ns(struct sys_quotactl_args), 0,
423 1.202 dsl (sy_call_t *)sys_quotactl }, /* 148 = quotactl */
424 1.223 ad { 0, 0, 0,
425 1.202 dsl (sy_call_t *)compat_43(sys_quota) },/* 149 = compat_43_oquota */
426 1.200 dsl { ns(struct compat_43_sys_getsockname_args), 0,
427 1.202 dsl (sy_call_t *)compat_43(sys_getsockname) },/* 150 = compat_43_ogetsockname */
428 1.123 thorpej { 0, 0, 0,
429 1.37 mycroft sys_nosys }, /* 151 = unimplemented */
430 1.123 thorpej { 0, 0, 0,
431 1.37 mycroft sys_nosys }, /* 152 = unimplemented */
432 1.123 thorpej { 0, 0, 0,
433 1.37 mycroft sys_nosys }, /* 153 = unimplemented */
434 1.123 thorpej { 0, 0, 0,
435 1.37 mycroft sys_nosys }, /* 154 = unimplemented */
436 1.106 christos #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
437 1.223 ad { ns(struct sys_nfssvc_args), 0,
438 1.202 dsl (sy_call_t *)sys_nfssvc }, /* 155 = nfssvc */
439 1.28 cgd #else
440 1.123 thorpej { 0, 0, 0,
441 1.106 christos sys_nosys }, /* 155 = excluded nfssvc */
442 1.28 cgd #endif
443 1.223 ad { ns(struct compat_43_sys_getdirentries_args), 0,
444 1.202 dsl (sy_call_t *)compat_43(sys_getdirentries) },/* 156 = compat_43_ogetdirentries */
445 1.223 ad { ns(struct compat_20_sys_statfs_args), 0,
446 1.202 dsl (sy_call_t *)compat_20(sys_statfs) },/* 157 = compat_20_statfs */
447 1.223 ad { ns(struct compat_20_sys_fstatfs_args), 0,
448 1.202 dsl (sy_call_t *)compat_20(sys_fstatfs) },/* 158 = compat_20_fstatfs */
449 1.123 thorpej { 0, 0, 0,
450 1.37 mycroft sys_nosys }, /* 159 = unimplemented */
451 1.123 thorpej { 0, 0, 0,
452 1.37 mycroft sys_nosys }, /* 160 = unimplemented */
453 1.223 ad { ns(struct compat_30_sys_getfh_args), 0,
454 1.202 dsl (sy_call_t *)compat_30(sys_getfh) },/* 161 = compat_30_getfh */
455 1.223 ad { ns(struct compat_09_sys_getdomainname_args), 0,
456 1.202 dsl (sy_call_t *)compat_09(sys_getdomainname) },/* 162 = compat_09_ogetdomainname */
457 1.223 ad { ns(struct compat_09_sys_setdomainname_args), 0,
458 1.202 dsl (sy_call_t *)compat_09(sys_setdomainname) },/* 163 = compat_09_osetdomainname */
459 1.223 ad { ns(struct compat_09_sys_uname_args), 0,
460 1.202 dsl (sy_call_t *)compat_09(sys_uname) },/* 164 = compat_09_ouname */
461 1.223 ad { ns(struct sys_sysarch_args), 0,
462 1.202 dsl (sy_call_t *)sys_sysarch }, /* 165 = sysarch */
463 1.123 thorpej { 0, 0, 0,
464 1.37 mycroft sys_nosys }, /* 166 = unimplemented */
465 1.123 thorpej { 0, 0, 0,
466 1.37 mycroft sys_nosys }, /* 167 = unimplemented */
467 1.123 thorpej { 0, 0, 0,
468 1.37 mycroft sys_nosys }, /* 168 = unimplemented */
469 1.129 eeh #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64)
470 1.223 ad { ns(struct compat_10_sys_semsys_args), 0,
471 1.202 dsl (sy_call_t *)compat_10(sys_semsys) },/* 169 = compat_10_osemsys */
472 1.28 cgd #else
473 1.123 thorpej { 0, 0, 0,
474 1.106 christos sys_nosys }, /* 169 = excluded 1.0 semsys */
475 1.28 cgd #endif
476 1.129 eeh #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64)
477 1.223 ad { ns(struct compat_10_sys_msgsys_args), 0,
478 1.202 dsl (sy_call_t *)compat_10(sys_msgsys) },/* 170 = compat_10_omsgsys */
479 1.28 cgd #else
480 1.123 thorpej { 0, 0, 0,
481 1.106 christos sys_nosys }, /* 170 = excluded 1.0 msgsys */
482 1.28 cgd #endif
483 1.129 eeh #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64)
484 1.223 ad { ns(struct compat_10_sys_shmsys_args), 0,
485 1.202 dsl (sy_call_t *)compat_10(sys_shmsys) },/* 171 = compat_10_oshmsys */
486 1.28 cgd #else
487 1.123 thorpej { 0, 0, 0,
488 1.106 christos sys_nosys }, /* 171 = excluded 1.0 shmsys */
489 1.28 cgd #endif
490 1.123 thorpej { 0, 0, 0,
491 1.37 mycroft sys_nosys }, /* 172 = unimplemented */
492 1.223 ad { ns(struct sys_pread_args), 0,
493 1.202 dsl (sy_call_t *)sys_pread }, /* 173 = pread */
494 1.223 ad { ns(struct sys_pwrite_args), 0,
495 1.202 dsl (sy_call_t *)sys_pwrite }, /* 174 = pwrite */
496 1.223 ad { ns(struct compat_30_sys_ntp_gettime_args), 0,
497 1.202 dsl (sy_call_t *)compat_30(sys_ntp_gettime) },/* 175 = compat_30_ntp_gettime */
498 1.116 bjh21 #if defined(NTP) || !defined(_KERNEL)
499 1.223 ad { ns(struct sys_ntp_adjtime_args), 0,
500 1.202 dsl (sy_call_t *)sys_ntp_adjtime }, /* 176 = ntp_adjtime */
501 1.116 bjh21 #else
502 1.123 thorpej { 0, 0, 0,
503 1.116 bjh21 sys_nosys }, /* 176 = excluded ntp_adjtime */
504 1.116 bjh21 #endif
505 1.123 thorpej { 0, 0, 0,
506 1.37 mycroft sys_nosys }, /* 177 = unimplemented */
507 1.123 thorpej { 0, 0, 0,
508 1.37 mycroft sys_nosys }, /* 178 = unimplemented */
509 1.123 thorpej { 0, 0, 0,
510 1.37 mycroft sys_nosys }, /* 179 = unimplemented */
511 1.123 thorpej { 0, 0, 0,
512 1.37 mycroft sys_nosys }, /* 180 = unimplemented */
513 1.223 ad { ns(struct sys_setgid_args), 0,
514 1.202 dsl (sy_call_t *)sys_setgid }, /* 181 = setgid */
515 1.223 ad { ns(struct sys_setegid_args), 0,
516 1.202 dsl (sy_call_t *)sys_setegid }, /* 182 = setegid */
517 1.223 ad { ns(struct sys_seteuid_args), 0,
518 1.202 dsl (sy_call_t *)sys_seteuid }, /* 183 = seteuid */
519 1.106 christos #if defined(LFS) || !defined(_KERNEL)
520 1.223 ad { ns(struct sys_lfs_bmapv_args), 0,
521 1.202 dsl (sy_call_t *)sys_lfs_bmapv }, /* 184 = lfs_bmapv */
522 1.223 ad { ns(struct sys_lfs_markv_args), 0,
523 1.202 dsl (sy_call_t *)sys_lfs_markv }, /* 185 = lfs_markv */
524 1.223 ad { ns(struct sys_lfs_segclean_args), 0,
525 1.202 dsl (sy_call_t *)sys_lfs_segclean }, /* 186 = lfs_segclean */
526 1.223 ad { ns(struct sys_lfs_segwait_args), 0,
527 1.202 dsl (sy_call_t *)sys_lfs_segwait }, /* 187 = lfs_segwait */
528 1.28 cgd #else
529 1.123 thorpej { 0, 0, 0,
530 1.106 christos sys_nosys }, /* 184 = excluded lfs_bmapv */
531 1.123 thorpej { 0, 0, 0,
532 1.106 christos sys_nosys }, /* 185 = excluded lfs_markv */
533 1.123 thorpej { 0, 0, 0,
534 1.106 christos sys_nosys }, /* 186 = excluded lfs_segclean */
535 1.123 thorpej { 0, 0, 0,
536 1.106 christos sys_nosys }, /* 187 = excluded lfs_segwait */
537 1.28 cgd #endif
538 1.223 ad { ns(struct compat_12_sys_stat_args), 0,
539 1.202 dsl (sy_call_t *)compat_12(sys_stat) }, /* 188 = compat_12_stat12 */
540 1.223 ad { ns(struct compat_12_sys_fstat_args), 0,
541 1.202 dsl (sy_call_t *)compat_12(sys_fstat) },/* 189 = compat_12_fstat12 */
542 1.223 ad { ns(struct compat_12_sys_lstat_args), 0,
543 1.202 dsl (sy_call_t *)compat_12(sys_lstat) },/* 190 = compat_12_lstat12 */
544 1.223 ad { ns(struct sys_pathconf_args), 0,
545 1.202 dsl (sy_call_t *)sys_pathconf }, /* 191 = pathconf */
546 1.223 ad { ns(struct sys_fpathconf_args), 0,
547 1.202 dsl (sy_call_t *)sys_fpathconf }, /* 192 = fpathconf */
548 1.123 thorpej { 0, 0, 0,
549 1.37 mycroft sys_nosys }, /* 193 = unimplemented */
550 1.223 ad { ns(struct sys_getrlimit_args), 0,
551 1.202 dsl (sy_call_t *)sys_getrlimit }, /* 194 = getrlimit */
552 1.223 ad { ns(struct sys_setrlimit_args), 0,
553 1.202 dsl (sy_call_t *)sys_setrlimit }, /* 195 = setrlimit */
554 1.223 ad { ns(struct compat_12_sys_getdirentries_args), 0,
555 1.202 dsl (sy_call_t *)compat_12(sys_getdirentries) },/* 196 = compat_12_getdirentries */
556 1.223 ad { ns(struct sys_mmap_args), 0,
557 1.202 dsl (sy_call_t *)sys_mmap }, /* 197 = mmap */
558 1.200 dsl { ns(struct sys___syscall_args), SYCALL_INDIRECT,
559 1.202 dsl (sy_call_t *)sys___syscall }, /* 198 = __syscall */
560 1.223 ad { ns(struct sys_lseek_args), 0,
561 1.202 dsl (sy_call_t *)sys_lseek }, /* 199 = lseek */
562 1.223 ad { ns(struct sys_truncate_args), 0,
563 1.202 dsl (sy_call_t *)sys_truncate }, /* 200 = truncate */
564 1.223 ad { ns(struct sys_ftruncate_args), 0,
565 1.202 dsl (sy_call_t *)sys_ftruncate }, /* 201 = ftruncate */
566 1.223 ad { ns(struct sys___sysctl_args), 0,
567 1.202 dsl (sy_call_t *)sys___sysctl }, /* 202 = __sysctl */
568 1.223 ad { ns(struct sys_mlock_args), 0,
569 1.202 dsl (sy_call_t *)sys_mlock }, /* 203 = mlock */
570 1.223 ad { ns(struct sys_munlock_args), 0,
571 1.202 dsl (sy_call_t *)sys_munlock }, /* 204 = munlock */
572 1.223 ad { ns(struct sys_undelete_args), 0,
573 1.202 dsl (sy_call_t *)sys_undelete }, /* 205 = undelete */
574 1.223 ad { ns(struct sys_futimes_args), 0,
575 1.202 dsl (sy_call_t *)sys_futimes }, /* 206 = futimes */
576 1.223 ad { ns(struct sys_getpgid_args), 0,
577 1.202 dsl (sy_call_t *)sys_getpgid }, /* 207 = getpgid */
578 1.223 ad { ns(struct sys_reboot_args), 0,
579 1.202 dsl (sy_call_t *)sys_reboot }, /* 208 = reboot */
580 1.223 ad { ns(struct sys_poll_args), 0,
581 1.202 dsl (sy_call_t *)sys_poll }, /* 209 = poll */
582 1.106 christos #if defined(LKM) || !defined(_KERNEL)
583 1.123 thorpej { 0, 0, 0,
584 1.202 dsl (sy_call_t *)sys_lkmnosys }, /* 210 = lkmnosys */
585 1.123 thorpej { 0, 0, 0,
586 1.202 dsl (sy_call_t *)sys_lkmnosys }, /* 211 = lkmnosys */
587 1.123 thorpej { 0, 0, 0,
588 1.202 dsl (sy_call_t *)sys_lkmnosys }, /* 212 = lkmnosys */
589 1.123 thorpej { 0, 0, 0,
590 1.202 dsl (sy_call_t *)sys_lkmnosys }, /* 213 = lkmnosys */
591 1.123 thorpej { 0, 0, 0,
592 1.202 dsl (sy_call_t *)sys_lkmnosys }, /* 214 = lkmnosys */
593 1.123 thorpej { 0, 0, 0,
594 1.202 dsl (sy_call_t *)sys_lkmnosys }, /* 215 = lkmnosys */
595 1.123 thorpej { 0, 0, 0,
596 1.202 dsl (sy_call_t *)sys_lkmnosys }, /* 216 = lkmnosys */
597 1.123 thorpej { 0, 0, 0,
598 1.202 dsl (sy_call_t *)sys_lkmnosys }, /* 217 = lkmnosys */
599 1.123 thorpej { 0, 0, 0,
600 1.202 dsl (sy_call_t *)sys_lkmnosys }, /* 218 = lkmnosys */
601 1.123 thorpej { 0, 0, 0,
602 1.202 dsl (sy_call_t *)sys_lkmnosys }, /* 219 = lkmnosys */
603 1.16 cgd #else /* !LKM */
604 1.123 thorpej { 0, 0, 0,
605 1.106 christos sys_nosys }, /* 210 = excluded lkmnosys */
606 1.123 thorpej { 0, 0, 0,
607 1.106 christos sys_nosys }, /* 211 = excluded lkmnosys */
608 1.123 thorpej { 0, 0, 0,
609 1.106 christos sys_nosys }, /* 212 = excluded lkmnosys */
610 1.123 thorpej { 0, 0, 0,
611 1.106 christos sys_nosys }, /* 213 = excluded lkmnosys */
612 1.123 thorpej { 0, 0, 0,
613 1.106 christos sys_nosys }, /* 214 = excluded lkmnosys */
614 1.123 thorpej { 0, 0, 0,
615 1.106 christos sys_nosys }, /* 215 = excluded lkmnosys */
616 1.123 thorpej { 0, 0, 0,
617 1.106 christos sys_nosys }, /* 216 = excluded lkmnosys */
618 1.123 thorpej { 0, 0, 0,
619 1.106 christos sys_nosys }, /* 217 = excluded lkmnosys */
620 1.123 thorpej { 0, 0, 0,
621 1.106 christos sys_nosys }, /* 218 = excluded lkmnosys */
622 1.123 thorpej { 0, 0, 0,
623 1.106 christos sys_nosys }, /* 219 = excluded lkmnosys */
624 1.11 brezak #endif /* !LKM */
625 1.106 christos #if defined(SYSVSEM) || !defined(_KERNEL)
626 1.223 ad { ns(struct compat_14_sys___semctl_args), 0,
627 1.202 dsl (sy_call_t *)compat_14(sys___semctl) },/* 220 = compat_14___semctl */
628 1.223 ad { ns(struct sys_semget_args), 0,
629 1.202 dsl (sy_call_t *)sys_semget }, /* 221 = semget */
630 1.223 ad { ns(struct sys_semop_args), 0,
631 1.202 dsl (sy_call_t *)sys_semop }, /* 222 = semop */
632 1.223 ad { ns(struct sys_semconfig_args), 0,
633 1.202 dsl (sy_call_t *)sys_semconfig }, /* 223 = semconfig */
634 1.28 cgd #else
635 1.123 thorpej { 0, 0, 0,
636 1.111 thorpej sys_nosys }, /* 220 = excluded compat_14_semctl */
637 1.123 thorpej { 0, 0, 0,
638 1.106 christos sys_nosys }, /* 221 = excluded semget */
639 1.123 thorpej { 0, 0, 0,
640 1.106 christos sys_nosys }, /* 222 = excluded semop */
641 1.123 thorpej { 0, 0, 0,
642 1.106 christos sys_nosys }, /* 223 = excluded semconfig */
643 1.28 cgd #endif
644 1.106 christos #if defined(SYSVMSG) || !defined(_KERNEL)
645 1.223 ad { ns(struct compat_14_sys_msgctl_args), 0,
646 1.202 dsl (sy_call_t *)compat_14(sys_msgctl) },/* 224 = compat_14_msgctl */
647 1.223 ad { ns(struct sys_msgget_args), 0,
648 1.202 dsl (sy_call_t *)sys_msgget }, /* 225 = msgget */
649 1.223 ad { ns(struct sys_msgsnd_args), 0,
650 1.202 dsl (sy_call_t *)sys_msgsnd }, /* 226 = msgsnd */
651 1.223 ad { ns(struct sys_msgrcv_args), 0,
652 1.202 dsl (sy_call_t *)sys_msgrcv }, /* 227 = msgrcv */
653 1.28 cgd #else
654 1.123 thorpej { 0, 0, 0,
655 1.111 thorpej sys_nosys }, /* 224 = excluded compat_14_msgctl */
656 1.123 thorpej { 0, 0, 0,
657 1.106 christos sys_nosys }, /* 225 = excluded msgget */
658 1.123 thorpej { 0, 0, 0,
659 1.106 christos sys_nosys }, /* 226 = excluded msgsnd */
660 1.123 thorpej { 0, 0, 0,
661 1.106 christos sys_nosys }, /* 227 = excluded msgrcv */
662 1.28 cgd #endif
663 1.106 christos #if defined(SYSVSHM) || !defined(_KERNEL)
664 1.223 ad { ns(struct sys_shmat_args), 0,
665 1.202 dsl (sy_call_t *)sys_shmat }, /* 228 = shmat */
666 1.223 ad { ns(struct compat_14_sys_shmctl_args), 0,
667 1.202 dsl (sy_call_t *)compat_14(sys_shmctl) },/* 229 = compat_14_shmctl */
668 1.223 ad { ns(struct sys_shmdt_args), 0,
669 1.202 dsl (sy_call_t *)sys_shmdt }, /* 230 = shmdt */
670 1.223 ad { ns(struct sys_shmget_args), 0,
671 1.202 dsl (sy_call_t *)sys_shmget }, /* 231 = shmget */
672 1.28 cgd #else
673 1.123 thorpej { 0, 0, 0,
674 1.106 christos sys_nosys }, /* 228 = excluded shmat */
675 1.123 thorpej { 0, 0, 0,
676 1.111 thorpej sys_nosys }, /* 229 = excluded compat_14_shmctl */
677 1.123 thorpej { 0, 0, 0,
678 1.106 christos sys_nosys }, /* 230 = excluded shmdt */
679 1.123 thorpej { 0, 0, 0,
680 1.106 christos sys_nosys }, /* 231 = excluded shmget */
681 1.28 cgd #endif
682 1.223 ad { ns(struct sys_clock_gettime_args), 0,
683 1.202 dsl (sy_call_t *)sys_clock_gettime }, /* 232 = clock_gettime */
684 1.223 ad { ns(struct sys_clock_settime_args), 0,
685 1.202 dsl (sy_call_t *)sys_clock_settime }, /* 233 = clock_settime */
686 1.223 ad { ns(struct sys_clock_getres_args), 0,
687 1.202 dsl (sy_call_t *)sys_clock_getres }, /* 234 = clock_getres */
688 1.223 ad { ns(struct sys_timer_create_args), 0,
689 1.202 dsl (sy_call_t *)sys_timer_create }, /* 235 = timer_create */
690 1.223 ad { ns(struct sys_timer_delete_args), 0,
691 1.202 dsl (sy_call_t *)sys_timer_delete }, /* 236 = timer_delete */
692 1.223 ad { ns(struct sys_timer_settime_args), 0,
693 1.202 dsl (sy_call_t *)sys_timer_settime }, /* 237 = timer_settime */
694 1.223 ad { ns(struct sys_timer_gettime_args), 0,
695 1.202 dsl (sy_call_t *)sys_timer_gettime }, /* 238 = timer_gettime */
696 1.223 ad { ns(struct sys_timer_getoverrun_args), 0,
697 1.202 dsl (sy_call_t *)sys_timer_getoverrun },/* 239 = timer_getoverrun */
698 1.223 ad { ns(struct sys_nanosleep_args), 0,
699 1.202 dsl (sy_call_t *)sys_nanosleep }, /* 240 = nanosleep */
700 1.223 ad { ns(struct sys_fdatasync_args), 0,
701 1.202 dsl (sy_call_t *)sys_fdatasync }, /* 241 = fdatasync */
702 1.223 ad { ns(struct sys_mlockall_args), 0,
703 1.202 dsl (sy_call_t *)sys_mlockall }, /* 242 = mlockall */
704 1.223 ad { 0, 0, 0,
705 1.202 dsl (sy_call_t *)sys_munlockall }, /* 243 = munlockall */
706 1.223 ad { ns(struct sys___sigtimedwait_args), 0,
707 1.202 dsl (sy_call_t *)sys___sigtimedwait }, /* 244 = __sigtimedwait */
708 1.123 thorpej { 0, 0, 0,
709 1.143 jdolecek sys_nosys }, /* 245 = unimplemented sys_sigqueue */
710 1.223 ad { ns(struct sys_modctl_args), 0,
711 1.207 ad (sy_call_t *)sys_modctl }, /* 246 = modctl */
712 1.150 christos #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC))
713 1.223 ad { ns(struct sys__ksem_init_args), 0,
714 1.202 dsl (sy_call_t *)sys__ksem_init }, /* 247 = _ksem_init */
715 1.223 ad { ns(struct sys__ksem_open_args), 0,
716 1.202 dsl (sy_call_t *)sys__ksem_open }, /* 248 = _ksem_open */
717 1.223 ad { ns(struct sys__ksem_unlink_args), 0,
718 1.202 dsl (sy_call_t *)sys__ksem_unlink }, /* 249 = _ksem_unlink */
719 1.223 ad { ns(struct sys__ksem_close_args), 0,
720 1.202 dsl (sy_call_t *)sys__ksem_close }, /* 250 = _ksem_close */
721 1.223 ad { ns(struct sys__ksem_post_args), 0,
722 1.202 dsl (sy_call_t *)sys__ksem_post }, /* 251 = _ksem_post */
723 1.223 ad { ns(struct sys__ksem_wait_args), 0,
724 1.202 dsl (sy_call_t *)sys__ksem_wait }, /* 252 = _ksem_wait */
725 1.223 ad { ns(struct sys__ksem_trywait_args), 0,
726 1.202 dsl (sy_call_t *)sys__ksem_trywait }, /* 253 = _ksem_trywait */
727 1.223 ad { ns(struct sys__ksem_getvalue_args), 0,
728 1.202 dsl (sy_call_t *)sys__ksem_getvalue }, /* 254 = _ksem_getvalue */
729 1.223 ad { ns(struct sys__ksem_destroy_args), 0,
730 1.202 dsl (sy_call_t *)sys__ksem_destroy }, /* 255 = _ksem_destroy */
731 1.141 thorpej { 0, 0, 0,
732 1.141 thorpej sys_nosys }, /* 256 = unimplemented sys__ksem_timedwait */
733 1.138 christos #else
734 1.123 thorpej { 0, 0, 0,
735 1.139 christos sys_nosys }, /* 247 = excluded sys__ksem_init */
736 1.123 thorpej { 0, 0, 0,
737 1.139 christos sys_nosys }, /* 248 = excluded sys__ksem_open */
738 1.123 thorpej { 0, 0, 0,
739 1.139 christos sys_nosys }, /* 249 = excluded sys__ksem_unlink */
740 1.123 thorpej { 0, 0, 0,
741 1.139 christos sys_nosys }, /* 250 = excluded sys__ksem_close */
742 1.123 thorpej { 0, 0, 0,
743 1.139 christos sys_nosys }, /* 251 = excluded sys__ksem_post */
744 1.123 thorpej { 0, 0, 0,
745 1.139 christos sys_nosys }, /* 252 = excluded sys__ksem_wait */
746 1.123 thorpej { 0, 0, 0,
747 1.139 christos sys_nosys }, /* 253 = excluded sys__ksem_trywait */
748 1.123 thorpej { 0, 0, 0,
749 1.139 christos sys_nosys }, /* 254 = excluded sys__ksem_getvalue */
750 1.123 thorpej { 0, 0, 0,
751 1.139 christos sys_nosys }, /* 255 = excluded sys__ksem_destroy */
752 1.141 thorpej { 0, 0, 0,
753 1.141 thorpej sys_nosys }, /* 256 = unimplemented sys__ksem_timedwait */
754 1.138 christos #endif
755 1.223 ad { ns(struct sys_mq_open_args), 0,
756 1.202 dsl (sy_call_t *)sys_mq_open }, /* 257 = mq_open */
757 1.223 ad { ns(struct sys_mq_close_args), 0,
758 1.202 dsl (sy_call_t *)sys_mq_close }, /* 258 = mq_close */
759 1.223 ad { ns(struct sys_mq_unlink_args), 0,
760 1.202 dsl (sy_call_t *)sys_mq_unlink }, /* 259 = mq_unlink */
761 1.223 ad { ns(struct sys_mq_getattr_args), 0,
762 1.202 dsl (sy_call_t *)sys_mq_getattr }, /* 260 = mq_getattr */
763 1.223 ad { ns(struct sys_mq_setattr_args), 0,
764 1.202 dsl (sy_call_t *)sys_mq_setattr }, /* 261 = mq_setattr */
765 1.223 ad { ns(struct sys_mq_notify_args), 0,
766 1.202 dsl (sy_call_t *)sys_mq_notify }, /* 262 = mq_notify */
767 1.223 ad { ns(struct sys_mq_send_args), 0,
768 1.202 dsl (sy_call_t *)sys_mq_send }, /* 263 = mq_send */
769 1.223 ad { ns(struct sys_mq_receive_args), 0,
770 1.202 dsl (sy_call_t *)sys_mq_receive }, /* 264 = mq_receive */
771 1.223 ad { ns(struct sys_mq_timedsend_args), 0,
772 1.202 dsl (sy_call_t *)sys_mq_timedsend }, /* 265 = mq_timedsend */
773 1.223 ad { ns(struct sys_mq_timedreceive_args), 0,
774 1.202 dsl (sy_call_t *)sys_mq_timedreceive }, /* 266 = mq_timedreceive */
775 1.123 thorpej { 0, 0, 0,
776 1.55 kleink sys_nosys }, /* 267 = unimplemented */
777 1.123 thorpej { 0, 0, 0,
778 1.55 kleink sys_nosys }, /* 268 = unimplemented */
779 1.123 thorpej { 0, 0, 0,
780 1.55 kleink sys_nosys }, /* 269 = unimplemented */
781 1.223 ad { ns(struct sys___posix_rename_args), 0,
782 1.202 dsl (sy_call_t *)sys___posix_rename }, /* 270 = __posix_rename */
783 1.223 ad { ns(struct sys_swapctl_args), 0,
784 1.202 dsl (sy_call_t *)sys_swapctl }, /* 271 = swapctl */
785 1.223 ad { ns(struct compat_30_sys_getdents_args), 0,
786 1.202 dsl (sy_call_t *)compat_30(sys_getdents) },/* 272 = compat_30_getdents */
787 1.223 ad { ns(struct sys_minherit_args), 0,
788 1.202 dsl (sy_call_t *)sys_minherit }, /* 273 = minherit */
789 1.223 ad { ns(struct sys_lchmod_args), 0,
790 1.202 dsl (sy_call_t *)sys_lchmod }, /* 274 = lchmod */
791 1.223 ad { ns(struct sys_lchown_args), 0,
792 1.202 dsl (sy_call_t *)sys_lchown }, /* 275 = lchown */
793 1.223 ad { ns(struct sys_lutimes_args), 0,
794 1.202 dsl (sy_call_t *)sys_lutimes }, /* 276 = lutimes */
795 1.223 ad { ns(struct sys___msync13_args), 0,
796 1.202 dsl (sy_call_t *)sys___msync13 }, /* 277 = __msync13 */
797 1.223 ad { ns(struct compat_30_sys___stat13_args), 0,
798 1.202 dsl (sy_call_t *)compat_30(sys___stat13) },/* 278 = compat_30___stat13 */
799 1.223 ad { ns(struct compat_30_sys___fstat13_args), 0,
800 1.202 dsl (sy_call_t *)compat_30(sys___fstat13) },/* 279 = compat_30___fstat13 */
801 1.223 ad { ns(struct compat_30_sys___lstat13_args), 0,
802 1.202 dsl (sy_call_t *)compat_30(sys___lstat13) },/* 280 = compat_30___lstat13 */
803 1.223 ad { ns(struct sys___sigaltstack14_args), 0,
804 1.202 dsl (sy_call_t *)sys___sigaltstack14 }, /* 281 = __sigaltstack14 */
805 1.223 ad { 0, 0, 0,
806 1.202 dsl (sy_call_t *)sys___vfork14 }, /* 282 = __vfork14 */
807 1.223 ad { ns(struct sys___posix_chown_args), 0,
808 1.202 dsl (sy_call_t *)sys___posix_chown }, /* 283 = __posix_chown */
809 1.223 ad { ns(struct sys___posix_fchown_args), 0,
810 1.202 dsl (sy_call_t *)sys___posix_fchown }, /* 284 = __posix_fchown */
811 1.223 ad { ns(struct sys___posix_lchown_args), 0,
812 1.202 dsl (sy_call_t *)sys___posix_lchown }, /* 285 = __posix_lchown */
813 1.223 ad { ns(struct sys_getsid_args), 0,
814 1.202 dsl (sy_call_t *)sys_getsid }, /* 286 = getsid */
815 1.223 ad { ns(struct sys___clone_args), 0,
816 1.202 dsl (sy_call_t *)sys___clone }, /* 287 = __clone */
817 1.223 ad { ns(struct sys_fktrace_args), 0,
818 1.202 dsl (sy_call_t *)sys_fktrace }, /* 288 = fktrace */
819 1.223 ad { ns(struct sys_preadv_args), 0,
820 1.202 dsl (sy_call_t *)sys_preadv }, /* 289 = preadv */
821 1.223 ad { ns(struct sys_pwritev_args), 0,
822 1.202 dsl (sy_call_t *)sys_pwritev }, /* 290 = pwritev */
823 1.223 ad { ns(struct compat_16_sys___sigaction14_args), 0,
824 1.202 dsl (sy_call_t *)compat_16(sys___sigaction14) },/* 291 = compat_16___sigaction14 */
825 1.223 ad { ns(struct sys___sigpending14_args), 0,
826 1.202 dsl (sy_call_t *)sys___sigpending14 }, /* 292 = __sigpending14 */
827 1.223 ad { ns(struct sys___sigprocmask14_args), 0,
828 1.202 dsl (sy_call_t *)sys___sigprocmask14 }, /* 293 = __sigprocmask14 */
829 1.223 ad { ns(struct sys___sigsuspend14_args), 0,
830 1.202 dsl (sy_call_t *)sys___sigsuspend14 }, /* 294 = __sigsuspend14 */
831 1.223 ad { ns(struct compat_16_sys___sigreturn14_args), 0,
832 1.202 dsl (sy_call_t *)compat_16(sys___sigreturn14) },/* 295 = compat_16___sigreturn14 */
833 1.223 ad { ns(struct sys___getcwd_args), 0,
834 1.202 dsl (sy_call_t *)sys___getcwd }, /* 296 = __getcwd */
835 1.223 ad { ns(struct sys_fchroot_args), 0,
836 1.202 dsl (sy_call_t *)sys_fchroot }, /* 297 = fchroot */
837 1.223 ad { ns(struct compat_30_sys_fhopen_args), 0,
838 1.202 dsl (sy_call_t *)compat_30(sys_fhopen) },/* 298 = compat_30_fhopen */
839 1.223 ad { ns(struct compat_30_sys_fhstat_args), 0,
840 1.202 dsl (sy_call_t *)compat_30(sys_fhstat) },/* 299 = compat_30_fhstat */
841 1.223 ad { ns(struct compat_20_sys_fhstatfs_args), 0,
842 1.202 dsl (sy_call_t *)compat_20(sys_fhstatfs) },/* 300 = compat_20_fhstatfs */
843 1.111 thorpej #if defined(SYSVSEM) || !defined(_KERNEL)
844 1.223 ad { ns(struct sys_____semctl13_args), 0,
845 1.202 dsl (sy_call_t *)sys_____semctl13 }, /* 301 = ____semctl13 */
846 1.111 thorpej #else
847 1.123 thorpej { 0, 0, 0,
848 1.113 christos sys_nosys }, /* 301 = excluded ____semctl13 */
849 1.111 thorpej #endif
850 1.111 thorpej #if defined(SYSVMSG) || !defined(_KERNEL)
851 1.223 ad { ns(struct sys___msgctl13_args), 0,
852 1.202 dsl (sy_call_t *)sys___msgctl13 }, /* 302 = __msgctl13 */
853 1.111 thorpej #else
854 1.123 thorpej { 0, 0, 0,
855 1.111 thorpej sys_nosys }, /* 302 = excluded __msgctl13 */
856 1.111 thorpej #endif
857 1.111 thorpej #if defined(SYSVSHM) || !defined(_KERNEL)
858 1.223 ad { ns(struct sys___shmctl13_args), 0,
859 1.202 dsl (sy_call_t *)sys___shmctl13 }, /* 303 = __shmctl13 */
860 1.111 thorpej #else
861 1.123 thorpej { 0, 0, 0,
862 1.111 thorpej sys_nosys }, /* 303 = excluded __shmctl13 */
863 1.111 thorpej #endif
864 1.223 ad { ns(struct sys_lchflags_args), 0,
865 1.202 dsl (sy_call_t *)sys_lchflags }, /* 304 = lchflags */
866 1.223 ad { 0, 0, 0,
867 1.202 dsl (sy_call_t *)sys_issetugid }, /* 305 = issetugid */
868 1.223 ad { ns(struct sys_utrace_args), 0,
869 1.202 dsl (sy_call_t *)sys_utrace }, /* 306 = utrace */
870 1.223 ad { ns(struct sys_getcontext_args), 0,
871 1.202 dsl (sy_call_t *)sys_getcontext }, /* 307 = getcontext */
872 1.223 ad { ns(struct sys_setcontext_args), 0,
873 1.202 dsl (sy_call_t *)sys_setcontext }, /* 308 = setcontext */
874 1.223 ad { ns(struct sys__lwp_create_args), 0,
875 1.202 dsl (sy_call_t *)sys__lwp_create }, /* 309 = _lwp_create */
876 1.223 ad { 0, 0, 0,
877 1.202 dsl (sy_call_t *)sys__lwp_exit }, /* 310 = _lwp_exit */
878 1.223 ad { 0, 0, 0,
879 1.202 dsl (sy_call_t *)sys__lwp_self }, /* 311 = _lwp_self */
880 1.223 ad { ns(struct sys__lwp_wait_args), 0,
881 1.202 dsl (sy_call_t *)sys__lwp_wait }, /* 312 = _lwp_wait */
882 1.223 ad { ns(struct sys__lwp_suspend_args), 0,
883 1.202 dsl (sy_call_t *)sys__lwp_suspend }, /* 313 = _lwp_suspend */
884 1.223 ad { ns(struct sys__lwp_continue_args), 0,
885 1.202 dsl (sy_call_t *)sys__lwp_continue }, /* 314 = _lwp_continue */
886 1.223 ad { ns(struct sys__lwp_wakeup_args), 0,
887 1.202 dsl (sy_call_t *)sys__lwp_wakeup }, /* 315 = _lwp_wakeup */
888 1.223 ad { 0, 0, 0,
889 1.202 dsl (sy_call_t *)sys__lwp_getprivate }, /* 316 = _lwp_getprivate */
890 1.223 ad { ns(struct sys__lwp_setprivate_args), 0,
891 1.202 dsl (sy_call_t *)sys__lwp_setprivate }, /* 317 = _lwp_setprivate */
892 1.223 ad { ns(struct sys__lwp_kill_args), 0,
893 1.202 dsl (sy_call_t *)sys__lwp_kill }, /* 318 = _lwp_kill */
894 1.223 ad { ns(struct sys__lwp_detach_args), 0,
895 1.202 dsl (sy_call_t *)sys__lwp_detach }, /* 319 = _lwp_detach */
896 1.223 ad { ns(struct sys__lwp_park_args), 0,
897 1.202 dsl (sy_call_t *)sys__lwp_park }, /* 320 = _lwp_park */
898 1.223 ad { ns(struct sys__lwp_unpark_args), 0,
899 1.202 dsl (sy_call_t *)sys__lwp_unpark }, /* 321 = _lwp_unpark */
900 1.223 ad { ns(struct sys__lwp_unpark_all_args), 0,
901 1.202 dsl (sy_call_t *)sys__lwp_unpark_all }, /* 322 = _lwp_unpark_all */
902 1.223 ad { ns(struct sys__lwp_setname_args), 0,
903 1.202 dsl (sy_call_t *)sys__lwp_setname }, /* 323 = _lwp_setname */
904 1.223 ad { ns(struct sys__lwp_getname_args), 0,
905 1.202 dsl (sy_call_t *)sys__lwp_getname }, /* 324 = _lwp_getname */
906 1.223 ad { ns(struct sys__lwp_ctl_args), 0,
907 1.202 dsl (sy_call_t *)sys__lwp_ctl }, /* 325 = _lwp_ctl */
908 1.123 thorpej { 0, 0, 0,
909 1.123 thorpej sys_nosys }, /* 326 = unimplemented */
910 1.123 thorpej { 0, 0, 0,
911 1.123 thorpej sys_nosys }, /* 327 = unimplemented */
912 1.123 thorpej { 0, 0, 0,
913 1.123 thorpej sys_nosys }, /* 328 = unimplemented */
914 1.123 thorpej { 0, 0, 0,
915 1.123 thorpej sys_nosys }, /* 329 = unimplemented */
916 1.228 wrstuden { ns(struct sys_sa_register_args), 0,
917 1.202 dsl (sy_call_t *)sys_sa_register }, /* 330 = sa_register */
918 1.228 wrstuden { ns(struct sys_sa_stacks_args), 0,
919 1.202 dsl (sy_call_t *)sys_sa_stacks }, /* 331 = sa_stacks */
920 1.223 ad { 0, 0, 0,
921 1.202 dsl (sy_call_t *)sys_sa_enable }, /* 332 = sa_enable */
922 1.228 wrstuden { ns(struct sys_sa_setconcurrency_args), 0,
923 1.202 dsl (sy_call_t *)sys_sa_setconcurrency },/* 333 = sa_setconcurrency */
924 1.223 ad { 0, 0, 0,
925 1.202 dsl (sy_call_t *)sys_sa_yield }, /* 334 = sa_yield */
926 1.228 wrstuden { ns(struct sys_sa_preempt_args), 0,
927 1.202 dsl (sy_call_t *)sys_sa_preempt }, /* 335 = sa_preempt */
928 1.223 ad { 0, 0, 0,
929 1.228 wrstuden sys_nosys }, /* 336 = obsolete sys_sa_unblockyield */
930 1.123 thorpej { 0, 0, 0,
931 1.123 thorpej sys_nosys }, /* 337 = unimplemented */
932 1.123 thorpej { 0, 0, 0,
933 1.123 thorpej sys_nosys }, /* 338 = unimplemented */
934 1.123 thorpej { 0, 0, 0,
935 1.123 thorpej sys_nosys }, /* 339 = unimplemented */
936 1.223 ad { ns(struct sys___sigaction_sigtramp_args), 0,
937 1.202 dsl (sy_call_t *)sys___sigaction_sigtramp },/* 340 = __sigaction_sigtramp */
938 1.223 ad { ns(struct sys_pmc_get_info_args), 0,
939 1.202 dsl (sy_call_t *)sys_pmc_get_info }, /* 341 = pmc_get_info */
940 1.223 ad { ns(struct sys_pmc_control_args), 0,
941 1.202 dsl (sy_call_t *)sys_pmc_control }, /* 342 = pmc_control */
942 1.223 ad { ns(struct sys_rasctl_args), 0,
943 1.202 dsl (sy_call_t *)sys_rasctl }, /* 343 = rasctl */
944 1.223 ad { 0, 0, 0,
945 1.202 dsl (sy_call_t *)sys_kqueue }, /* 344 = kqueue */
946 1.223 ad { ns(struct sys_kevent_args), 0,
947 1.202 dsl (sy_call_t *)sys_kevent }, /* 345 = kevent */
948 1.223 ad { ns(struct sys__sched_setparam_args), 0,
949 1.206 rmind (sy_call_t *)sys__sched_setparam }, /* 346 = _sched_setparam */
950 1.223 ad { ns(struct sys__sched_getparam_args), 0,
951 1.206 rmind (sy_call_t *)sys__sched_getparam }, /* 347 = _sched_getparam */
952 1.223 ad { ns(struct sys__sched_setaffinity_args), 0,
953 1.206 rmind (sy_call_t *)sys__sched_setaffinity },/* 348 = _sched_setaffinity */
954 1.223 ad { ns(struct sys__sched_getaffinity_args), 0,
955 1.206 rmind (sy_call_t *)sys__sched_getaffinity },/* 349 = _sched_getaffinity */
956 1.223 ad { 0, 0, 0,
957 1.202 dsl (sy_call_t *)sys_sched_yield }, /* 350 = sched_yield */
958 1.123 thorpej { 0, 0, 0,
959 1.206 rmind sys_nosys }, /* 351 = unimplemented */
960 1.123 thorpej { 0, 0, 0,
961 1.206 rmind sys_nosys }, /* 352 = unimplemented */
962 1.123 thorpej { 0, 0, 0,
963 1.206 rmind sys_nosys }, /* 353 = unimplemented */
964 1.223 ad { ns(struct sys_fsync_range_args), 0,
965 1.202 dsl (sy_call_t *)sys_fsync_range }, /* 354 = fsync_range */
966 1.223 ad { ns(struct sys_uuidgen_args), 0,
967 1.202 dsl (sy_call_t *)sys_uuidgen }, /* 355 = uuidgen */
968 1.223 ad { ns(struct sys_getvfsstat_args), 0,
969 1.202 dsl (sy_call_t *)sys_getvfsstat }, /* 356 = getvfsstat */
970 1.223 ad { ns(struct sys_statvfs1_args), 0,
971 1.202 dsl (sy_call_t *)sys_statvfs1 }, /* 357 = statvfs1 */
972 1.223 ad { ns(struct sys_fstatvfs1_args), 0,
973 1.202 dsl (sy_call_t *)sys_fstatvfs1 }, /* 358 = fstatvfs1 */
974 1.223 ad { ns(struct compat_30_sys_fhstatvfs1_args), 0,
975 1.202 dsl (sy_call_t *)compat_30(sys_fhstatvfs1) },/* 359 = compat_30_fhstatvfs1 */
976 1.223 ad { ns(struct sys_extattrctl_args), 0,
977 1.202 dsl (sy_call_t *)sys_extattrctl }, /* 360 = extattrctl */
978 1.223 ad { ns(struct sys_extattr_set_file_args), 0,
979 1.202 dsl (sy_call_t *)sys_extattr_set_file },/* 361 = extattr_set_file */
980 1.223 ad { ns(struct sys_extattr_get_file_args), 0,
981 1.202 dsl (sy_call_t *)sys_extattr_get_file },/* 362 = extattr_get_file */
982 1.223 ad { ns(struct sys_extattr_delete_file_args), 0,
983 1.202 dsl (sy_call_t *)sys_extattr_delete_file },/* 363 = extattr_delete_file */
984 1.223 ad { ns(struct sys_extattr_set_fd_args), 0,
985 1.202 dsl (sy_call_t *)sys_extattr_set_fd }, /* 364 = extattr_set_fd */
986 1.223 ad { ns(struct sys_extattr_get_fd_args), 0,
987 1.202 dsl (sy_call_t *)sys_extattr_get_fd }, /* 365 = extattr_get_fd */
988 1.223 ad { ns(struct sys_extattr_delete_fd_args), 0,
989 1.202 dsl (sy_call_t *)sys_extattr_delete_fd },/* 366 = extattr_delete_fd */
990 1.223 ad { ns(struct sys_extattr_set_link_args), 0,
991 1.202 dsl (sy_call_t *)sys_extattr_set_link },/* 367 = extattr_set_link */
992 1.223 ad { ns(struct sys_extattr_get_link_args), 0,
993 1.202 dsl (sy_call_t *)sys_extattr_get_link },/* 368 = extattr_get_link */
994 1.223 ad { ns(struct sys_extattr_delete_link_args), 0,
995 1.202 dsl (sy_call_t *)sys_extattr_delete_link },/* 369 = extattr_delete_link */
996 1.223 ad { ns(struct sys_extattr_list_fd_args), 0,
997 1.202 dsl (sy_call_t *)sys_extattr_list_fd }, /* 370 = extattr_list_fd */
998 1.223 ad { ns(struct sys_extattr_list_file_args), 0,
999 1.202 dsl (sy_call_t *)sys_extattr_list_file },/* 371 = extattr_list_file */
1000 1.223 ad { ns(struct sys_extattr_list_link_args), 0,
1001 1.202 dsl (sy_call_t *)sys_extattr_list_link },/* 372 = extattr_list_link */
1002 1.223 ad { ns(struct sys_pselect_args), 0,
1003 1.202 dsl (sy_call_t *)sys_pselect }, /* 373 = pselect */
1004 1.223 ad { ns(struct sys_pollts_args), 0,
1005 1.202 dsl (sy_call_t *)sys_pollts }, /* 374 = pollts */
1006 1.223 ad { ns(struct sys_setxattr_args), 0,
1007 1.202 dsl (sy_call_t *)sys_setxattr }, /* 375 = setxattr */
1008 1.223 ad { ns(struct sys_lsetxattr_args), 0,
1009 1.202 dsl (sy_call_t *)sys_lsetxattr }, /* 376 = lsetxattr */
1010 1.223 ad { ns(struct sys_fsetxattr_args), 0,
1011 1.202 dsl (sy_call_t *)sys_fsetxattr }, /* 377 = fsetxattr */
1012 1.223 ad { ns(struct sys_getxattr_args), 0,
1013 1.202 dsl (sy_call_t *)sys_getxattr }, /* 378 = getxattr */
1014 1.223 ad { ns(struct sys_lgetxattr_args), 0,
1015 1.202 dsl (sy_call_t *)sys_lgetxattr }, /* 379 = lgetxattr */
1016 1.223 ad { ns(struct sys_fgetxattr_args), 0,
1017 1.202 dsl (sy_call_t *)sys_fgetxattr }, /* 380 = fgetxattr */
1018 1.223 ad { ns(struct sys_listxattr_args), 0,
1019 1.202 dsl (sy_call_t *)sys_listxattr }, /* 381 = listxattr */
1020 1.223 ad { ns(struct sys_llistxattr_args), 0,
1021 1.202 dsl (sy_call_t *)sys_llistxattr }, /* 382 = llistxattr */
1022 1.223 ad { ns(struct sys_flistxattr_args), 0,
1023 1.202 dsl (sy_call_t *)sys_flistxattr }, /* 383 = flistxattr */
1024 1.223 ad { ns(struct sys_removexattr_args), 0,
1025 1.202 dsl (sy_call_t *)sys_removexattr }, /* 384 = removexattr */
1026 1.223 ad { ns(struct sys_lremovexattr_args), 0,
1027 1.202 dsl (sy_call_t *)sys_lremovexattr }, /* 385 = lremovexattr */
1028 1.223 ad { ns(struct sys_fremovexattr_args), 0,
1029 1.202 dsl (sy_call_t *)sys_fremovexattr }, /* 386 = fremovexattr */
1030 1.223 ad { ns(struct sys___stat30_args), 0,
1031 1.202 dsl (sy_call_t *)sys___stat30 }, /* 387 = __stat30 */
1032 1.223 ad { ns(struct sys___fstat30_args), 0,
1033 1.202 dsl (sy_call_t *)sys___fstat30 }, /* 388 = __fstat30 */
1034 1.223 ad { ns(struct sys___lstat30_args), 0,
1035 1.202 dsl (sy_call_t *)sys___lstat30 }, /* 389 = __lstat30 */
1036 1.223 ad { ns(struct sys___getdents30_args), 0,
1037 1.202 dsl (sy_call_t *)sys___getdents30 }, /* 390 = __getdents30 */
1038 1.213 martin { 0, 0, 0,
1039 1.213 martin (sy_call_t *)nullop }, /* 391 = ignored old posix_fadvise */
1040 1.223 ad { ns(struct compat_30_sys___fhstat30_args), 0,
1041 1.202 dsl (sy_call_t *)compat_30(sys___fhstat30) },/* 392 = compat_30___fhstat30 */
1042 1.223 ad { ns(struct sys___ntp_gettime30_args), 0,
1043 1.202 dsl (sy_call_t *)sys___ntp_gettime30 }, /* 393 = __ntp_gettime30 */
1044 1.200 dsl { ns(struct sys___socket30_args), 0,
1045 1.202 dsl (sy_call_t *)sys___socket30 }, /* 394 = __socket30 */
1046 1.223 ad { ns(struct sys___getfh30_args), 0,
1047 1.202 dsl (sy_call_t *)sys___getfh30 }, /* 395 = __getfh30 */
1048 1.223 ad { ns(struct sys___fhopen40_args), 0,
1049 1.202 dsl (sy_call_t *)sys___fhopen40 }, /* 396 = __fhopen40 */
1050 1.223 ad { ns(struct sys___fhstatvfs140_args), 0,
1051 1.202 dsl (sy_call_t *)sys___fhstatvfs140 }, /* 397 = __fhstatvfs140 */
1052 1.223 ad { ns(struct sys___fhstat40_args), 0,
1053 1.202 dsl (sy_call_t *)sys___fhstat40 }, /* 398 = __fhstat40 */
1054 1.223 ad { ns(struct sys_aio_cancel_args), 0,
1055 1.202 dsl (sy_call_t *)sys_aio_cancel }, /* 399 = aio_cancel */
1056 1.223 ad { ns(struct sys_aio_error_args), 0,
1057 1.202 dsl (sy_call_t *)sys_aio_error }, /* 400 = aio_error */
1058 1.223 ad { ns(struct sys_aio_fsync_args), 0,
1059 1.202 dsl (sy_call_t *)sys_aio_fsync }, /* 401 = aio_fsync */
1060 1.223 ad { ns(struct sys_aio_read_args), 0,
1061 1.202 dsl (sy_call_t *)sys_aio_read }, /* 402 = aio_read */
1062 1.223 ad { ns(struct sys_aio_return_args), 0,
1063 1.202 dsl (sy_call_t *)sys_aio_return }, /* 403 = aio_return */
1064 1.223 ad { ns(struct sys_aio_suspend_args), 0,
1065 1.202 dsl (sy_call_t *)sys_aio_suspend }, /* 404 = aio_suspend */
1066 1.223 ad { ns(struct sys_aio_write_args), 0,
1067 1.202 dsl (sy_call_t *)sys_aio_write }, /* 405 = aio_write */
1068 1.223 ad { ns(struct sys_lio_listio_args), 0,
1069 1.202 dsl (sy_call_t *)sys_lio_listio }, /* 406 = lio_listio */
1070 1.123 thorpej { 0, 0, 0,
1071 1.191 dsl sys_nosys }, /* 407 = unimplemented */
1072 1.123 thorpej { 0, 0, 0,
1073 1.191 dsl sys_nosys }, /* 408 = unimplemented */
1074 1.123 thorpej { 0, 0, 0,
1075 1.191 dsl sys_nosys }, /* 409 = unimplemented */
1076 1.223 ad { ns(struct sys___mount50_args), 0,
1077 1.202 dsl (sy_call_t *)sys___mount50 }, /* 410 = __mount50 */
1078 1.223 ad { ns(struct sys_mremap_args), 0,
1079 1.202 dsl (sy_call_t *)sys_mremap }, /* 411 = mremap */
1080 1.223 ad { ns(struct sys_pset_create_args), 0,
1081 1.206 rmind (sy_call_t *)sys_pset_create }, /* 412 = pset_create */
1082 1.223 ad { ns(struct sys_pset_destroy_args), 0,
1083 1.206 rmind (sy_call_t *)sys_pset_destroy }, /* 413 = pset_destroy */
1084 1.223 ad { ns(struct sys_pset_assign_args), 0,
1085 1.206 rmind (sy_call_t *)sys_pset_assign }, /* 414 = pset_assign */
1086 1.223 ad { ns(struct sys__pset_bind_args), 0,
1087 1.206 rmind (sy_call_t *)sys__pset_bind }, /* 415 = _pset_bind */
1088 1.223 ad { ns(struct sys___posix_fadvise50_args), 0,
1089 1.209 martin (sy_call_t *)sys___posix_fadvise50 },/* 416 = __posix_fadvise50 */
1090 1.123 thorpej { 0, 0, 0,
1091 1.119 mycroft sys_nosys }, /* 417 = filler */
1092 1.123 thorpej { 0, 0, 0,
1093 1.119 mycroft sys_nosys }, /* 418 = filler */
1094 1.123 thorpej { 0, 0, 0,
1095 1.119 mycroft sys_nosys }, /* 419 = filler */
1096 1.123 thorpej { 0, 0, 0,
1097 1.119 mycroft sys_nosys }, /* 420 = filler */
1098 1.123 thorpej { 0, 0, 0,
1099 1.119 mycroft sys_nosys }, /* 421 = filler */
1100 1.123 thorpej { 0, 0, 0,
1101 1.119 mycroft sys_nosys }, /* 422 = filler */
1102 1.123 thorpej { 0, 0, 0,
1103 1.119 mycroft sys_nosys }, /* 423 = filler */
1104 1.123 thorpej { 0, 0, 0,
1105 1.119 mycroft sys_nosys }, /* 424 = filler */
1106 1.123 thorpej { 0, 0, 0,
1107 1.119 mycroft sys_nosys }, /* 425 = filler */
1108 1.123 thorpej { 0, 0, 0,
1109 1.119 mycroft sys_nosys }, /* 426 = filler */
1110 1.123 thorpej { 0, 0, 0,
1111 1.119 mycroft sys_nosys }, /* 427 = filler */
1112 1.123 thorpej { 0, 0, 0,
1113 1.119 mycroft sys_nosys }, /* 428 = filler */
1114 1.123 thorpej { 0, 0, 0,
1115 1.119 mycroft sys_nosys }, /* 429 = filler */
1116 1.123 thorpej { 0, 0, 0,
1117 1.119 mycroft sys_nosys }, /* 430 = filler */
1118 1.123 thorpej { 0, 0, 0,
1119 1.119 mycroft sys_nosys }, /* 431 = filler */
1120 1.123 thorpej { 0, 0, 0,
1121 1.119 mycroft sys_nosys }, /* 432 = filler */
1122 1.123 thorpej { 0, 0, 0,
1123 1.119 mycroft sys_nosys }, /* 433 = filler */
1124 1.123 thorpej { 0, 0, 0,
1125 1.119 mycroft sys_nosys }, /* 434 = filler */
1126 1.123 thorpej { 0, 0, 0,
1127 1.119 mycroft sys_nosys }, /* 435 = filler */
1128 1.123 thorpej { 0, 0, 0,
1129 1.119 mycroft sys_nosys }, /* 436 = filler */
1130 1.123 thorpej { 0, 0, 0,
1131 1.119 mycroft sys_nosys }, /* 437 = filler */
1132 1.123 thorpej { 0, 0, 0,
1133 1.119 mycroft sys_nosys }, /* 438 = filler */
1134 1.123 thorpej { 0, 0, 0,
1135 1.119 mycroft sys_nosys }, /* 439 = filler */
1136 1.123 thorpej { 0, 0, 0,
1137 1.119 mycroft sys_nosys }, /* 440 = filler */
1138 1.123 thorpej { 0, 0, 0,
1139 1.119 mycroft sys_nosys }, /* 441 = filler */
1140 1.123 thorpej { 0, 0, 0,
1141 1.119 mycroft sys_nosys }, /* 442 = filler */
1142 1.123 thorpej { 0, 0, 0,
1143 1.119 mycroft sys_nosys }, /* 443 = filler */
1144 1.123 thorpej { 0, 0, 0,
1145 1.119 mycroft sys_nosys }, /* 444 = filler */
1146 1.123 thorpej { 0, 0, 0,
1147 1.119 mycroft sys_nosys }, /* 445 = filler */
1148 1.123 thorpej { 0, 0, 0,
1149 1.119 mycroft sys_nosys }, /* 446 = filler */
1150 1.123 thorpej { 0, 0, 0,
1151 1.119 mycroft sys_nosys }, /* 447 = filler */
1152 1.123 thorpej { 0, 0, 0,
1153 1.119 mycroft sys_nosys }, /* 448 = filler */
1154 1.123 thorpej { 0, 0, 0,
1155 1.119 mycroft sys_nosys }, /* 449 = filler */
1156 1.123 thorpej { 0, 0, 0,
1157 1.119 mycroft sys_nosys }, /* 450 = filler */
1158 1.123 thorpej { 0, 0, 0,
1159 1.119 mycroft sys_nosys }, /* 451 = filler */
1160 1.123 thorpej { 0, 0, 0,
1161 1.119 mycroft sys_nosys }, /* 452 = filler */
1162 1.123 thorpej { 0, 0, 0,
1163 1.119 mycroft sys_nosys }, /* 453 = filler */
1164 1.123 thorpej { 0, 0, 0,
1165 1.119 mycroft sys_nosys }, /* 454 = filler */
1166 1.123 thorpej { 0, 0, 0,
1167 1.119 mycroft sys_nosys }, /* 455 = filler */
1168 1.123 thorpej { 0, 0, 0,
1169 1.119 mycroft sys_nosys }, /* 456 = filler */
1170 1.123 thorpej { 0, 0, 0,
1171 1.119 mycroft sys_nosys }, /* 457 = filler */
1172 1.123 thorpej { 0, 0, 0,
1173 1.119 mycroft sys_nosys }, /* 458 = filler */
1174 1.123 thorpej { 0, 0, 0,
1175 1.119 mycroft sys_nosys }, /* 459 = filler */
1176 1.123 thorpej { 0, 0, 0,
1177 1.119 mycroft sys_nosys }, /* 460 = filler */
1178 1.123 thorpej { 0, 0, 0,
1179 1.119 mycroft sys_nosys }, /* 461 = filler */
1180 1.123 thorpej { 0, 0, 0,
1181 1.119 mycroft sys_nosys }, /* 462 = filler */
1182 1.123 thorpej { 0, 0, 0,
1183 1.119 mycroft sys_nosys }, /* 463 = filler */
1184 1.123 thorpej { 0, 0, 0,
1185 1.119 mycroft sys_nosys }, /* 464 = filler */
1186 1.123 thorpej { 0, 0, 0,
1187 1.119 mycroft sys_nosys }, /* 465 = filler */
1188 1.123 thorpej { 0, 0, 0,
1189 1.119 mycroft sys_nosys }, /* 466 = filler */
1190 1.123 thorpej { 0, 0, 0,
1191 1.119 mycroft sys_nosys }, /* 467 = filler */
1192 1.123 thorpej { 0, 0, 0,
1193 1.119 mycroft sys_nosys }, /* 468 = filler */
1194 1.123 thorpej { 0, 0, 0,
1195 1.119 mycroft sys_nosys }, /* 469 = filler */
1196 1.123 thorpej { 0, 0, 0,
1197 1.119 mycroft sys_nosys }, /* 470 = filler */
1198 1.123 thorpej { 0, 0, 0,
1199 1.119 mycroft sys_nosys }, /* 471 = filler */
1200 1.123 thorpej { 0, 0, 0,
1201 1.119 mycroft sys_nosys }, /* 472 = filler */
1202 1.123 thorpej { 0, 0, 0,
1203 1.119 mycroft sys_nosys }, /* 473 = filler */
1204 1.123 thorpej { 0, 0, 0,
1205 1.119 mycroft sys_nosys }, /* 474 = filler */
1206 1.123 thorpej { 0, 0, 0,
1207 1.119 mycroft sys_nosys }, /* 475 = filler */
1208 1.123 thorpej { 0, 0, 0,
1209 1.119 mycroft sys_nosys }, /* 476 = filler */
1210 1.123 thorpej { 0, 0, 0,
1211 1.119 mycroft sys_nosys }, /* 477 = filler */
1212 1.123 thorpej { 0, 0, 0,
1213 1.119 mycroft sys_nosys }, /* 478 = filler */
1214 1.123 thorpej { 0, 0, 0,
1215 1.119 mycroft sys_nosys }, /* 479 = filler */
1216 1.123 thorpej { 0, 0, 0,
1217 1.119 mycroft sys_nosys }, /* 480 = filler */
1218 1.123 thorpej { 0, 0, 0,
1219 1.119 mycroft sys_nosys }, /* 481 = filler */
1220 1.123 thorpej { 0, 0, 0,
1221 1.119 mycroft sys_nosys }, /* 482 = filler */
1222 1.123 thorpej { 0, 0, 0,
1223 1.119 mycroft sys_nosys }, /* 483 = filler */
1224 1.123 thorpej { 0, 0, 0,
1225 1.119 mycroft sys_nosys }, /* 484 = filler */
1226 1.123 thorpej { 0, 0, 0,
1227 1.119 mycroft sys_nosys }, /* 485 = filler */
1228 1.123 thorpej { 0, 0, 0,
1229 1.119 mycroft sys_nosys }, /* 486 = filler */
1230 1.123 thorpej { 0, 0, 0,
1231 1.119 mycroft sys_nosys }, /* 487 = filler */
1232 1.123 thorpej { 0, 0, 0,
1233 1.119 mycroft sys_nosys }, /* 488 = filler */
1234 1.123 thorpej { 0, 0, 0,
1235 1.119 mycroft sys_nosys }, /* 489 = filler */
1236 1.123 thorpej { 0, 0, 0,
1237 1.119 mycroft sys_nosys }, /* 490 = filler */
1238 1.123 thorpej { 0, 0, 0,
1239 1.119 mycroft sys_nosys }, /* 491 = filler */
1240 1.123 thorpej { 0, 0, 0,
1241 1.119 mycroft sys_nosys }, /* 492 = filler */
1242 1.123 thorpej { 0, 0, 0,
1243 1.119 mycroft sys_nosys }, /* 493 = filler */
1244 1.123 thorpej { 0, 0, 0,
1245 1.119 mycroft sys_nosys }, /* 494 = filler */
1246 1.123 thorpej { 0, 0, 0,
1247 1.119 mycroft sys_nosys }, /* 495 = filler */
1248 1.123 thorpej { 0, 0, 0,
1249 1.119 mycroft sys_nosys }, /* 496 = filler */
1250 1.123 thorpej { 0, 0, 0,
1251 1.119 mycroft sys_nosys }, /* 497 = filler */
1252 1.123 thorpej { 0, 0, 0,
1253 1.119 mycroft sys_nosys }, /* 498 = filler */
1254 1.123 thorpej { 0, 0, 0,
1255 1.119 mycroft sys_nosys }, /* 499 = filler */
1256 1.123 thorpej { 0, 0, 0,
1257 1.119 mycroft sys_nosys }, /* 500 = filler */
1258 1.123 thorpej { 0, 0, 0,
1259 1.119 mycroft sys_nosys }, /* 501 = filler */
1260 1.123 thorpej { 0, 0, 0,
1261 1.119 mycroft sys_nosys }, /* 502 = filler */
1262 1.123 thorpej { 0, 0, 0,
1263 1.119 mycroft sys_nosys }, /* 503 = filler */
1264 1.123 thorpej { 0, 0, 0,
1265 1.119 mycroft sys_nosys }, /* 504 = filler */
1266 1.123 thorpej { 0, 0, 0,
1267 1.119 mycroft sys_nosys }, /* 505 = filler */
1268 1.123 thorpej { 0, 0, 0,
1269 1.119 mycroft sys_nosys }, /* 506 = filler */
1270 1.123 thorpej { 0, 0, 0,
1271 1.119 mycroft sys_nosys }, /* 507 = filler */
1272 1.123 thorpej { 0, 0, 0,
1273 1.119 mycroft sys_nosys }, /* 508 = filler */
1274 1.123 thorpej { 0, 0, 0,
1275 1.119 mycroft sys_nosys }, /* 509 = filler */
1276 1.123 thorpej { 0, 0, 0,
1277 1.119 mycroft sys_nosys }, /* 510 = filler */
1278 1.123 thorpej { 0, 0, 0,
1279 1.119 mycroft sys_nosys }, /* 511 = filler */
1280 1.1 cgd };
1281 1.1 cgd
1282