freebsd_sysent.c revision 1.71.8.1 1 1.70 dsl /* $NetBSD: freebsd_sysent.c,v 1.71.8.1 2008/03/29 20:46:58 christos Exp $ */
2 1.17 thorpej
3 1.1 mycroft /*
4 1.1 mycroft * System call switch table.
5 1.1 mycroft *
6 1.1 mycroft * DO NOT EDIT-- this file is automatically generated.
7 1.70 dsl * created from NetBSD: syscalls.master,v 1.58 2007/07/13 20:48:39 dsl Exp
8 1.1 mycroft */
9 1.1 mycroft
10 1.47 lukem #include <sys/cdefs.h>
11 1.70 dsl __KERNEL_RCSID(0, "$NetBSD: freebsd_sysent.c,v 1.71.8.1 2008/03/29 20:46:58 christos Exp $");
12 1.47 lukem
13 1.45 mrg #if defined(_KERNEL_OPT)
14 1.24 thorpej #include "opt_ktrace.h"
15 1.25 thorpej #include "opt_nfsserver.h"
16 1.36 bjh21 #include "opt_ntp.h"
17 1.27 tron #include "opt_sysv.h"
18 1.28 christos #include "opt_compat_43.h"
19 1.54 jdolecek #include "opt_posix.h"
20 1.21 thorpej #include "fs_lfs.h"
21 1.21 thorpej #include "fs_nfs.h"
22 1.39 jdolecek #endif
23 1.1 mycroft #include <sys/param.h>
24 1.1 mycroft #include <sys/systm.h>
25 1.1 mycroft #include <sys/signal.h>
26 1.1 mycroft #include <sys/mount.h>
27 1.1 mycroft #include <sys/syscallargs.h>
28 1.62 christos #include <compat/sys/signal.h>
29 1.71.8.1 christos #include <compat/sys/time.h>
30 1.1 mycroft #include <compat/freebsd/freebsd_syscallargs.h>
31 1.1 mycroft #include <machine/freebsd_machdep.h>
32 1.1 mycroft
33 1.1 mycroft #define s(type) sizeof(type)
34 1.71 dsl #define n(type) (sizeof(type)/sizeof (register_t))
35 1.71 dsl #define ns(type) n(type), s(type)
36 1.1 mycroft
37 1.1 mycroft struct sysent freebsd_sysent[] = {
38 1.44 thorpej { 0, 0, 0,
39 1.71 dsl (sy_call_t *)sys_nosys }, /* 0 = syscall */
40 1.71 dsl { ns(struct sys_exit_args), 0,
41 1.71 dsl (sy_call_t *)sys_exit }, /* 1 = exit */
42 1.71 dsl { 0, 0, 0,
43 1.71 dsl (sy_call_t *)sys_fork }, /* 2 = fork */
44 1.71 dsl { ns(struct sys_read_args), 0,
45 1.71 dsl (sy_call_t *)sys_read }, /* 3 = read */
46 1.71 dsl { ns(struct sys_write_args), 0,
47 1.71 dsl (sy_call_t *)sys_write }, /* 4 = write */
48 1.71 dsl { ns(struct sys_open_args), 0,
49 1.71 dsl (sy_call_t *)sys_open }, /* 5 = open */
50 1.71 dsl { ns(struct sys_close_args), 0,
51 1.71 dsl (sy_call_t *)sys_close }, /* 6 = close */
52 1.71.8.1 christos { ns(struct compat_50_sys_wait4_args), 0,
53 1.71.8.1 christos (sy_call_t *)compat_50_sys_wait4 }, /* 7 = wait4 */
54 1.71 dsl { ns(struct compat_43_sys_creat_args), 0,
55 1.71 dsl (sy_call_t *)compat_43_sys_creat }, /* 8 = ocreat */
56 1.71 dsl { ns(struct sys_link_args), 0,
57 1.71 dsl (sy_call_t *)sys_link }, /* 9 = link */
58 1.71 dsl { ns(struct sys_unlink_args), 0,
59 1.71 dsl (sy_call_t *)sys_unlink }, /* 10 = unlink */
60 1.44 thorpej { 0, 0, 0,
61 1.1 mycroft sys_nosys }, /* 11 = obsolete execv */
62 1.71 dsl { ns(struct sys_chdir_args), 0,
63 1.71 dsl (sy_call_t *)sys_chdir }, /* 12 = chdir */
64 1.71 dsl { ns(struct sys_fchdir_args), 0,
65 1.71 dsl (sy_call_t *)sys_fchdir }, /* 13 = fchdir */
66 1.71.8.1 christos { ns(struct compat_50_sys_mknod_args), 0,
67 1.71.8.1 christos (sy_call_t *)compat_50_sys_mknod }, /* 14 = mknod */
68 1.71 dsl { ns(struct sys_chmod_args), 0,
69 1.71 dsl (sy_call_t *)sys_chmod }, /* 15 = chmod */
70 1.71 dsl { ns(struct sys_chown_args), 0,
71 1.71 dsl (sy_call_t *)sys_chown }, /* 16 = chown */
72 1.71 dsl { ns(struct sys_obreak_args), 0,
73 1.71 dsl (sy_call_t *)sys_obreak }, /* 17 = break */
74 1.71 dsl { ns(struct compat_20_sys_getfsstat_args), 0,
75 1.71 dsl (sy_call_t *)compat_20_sys_getfsstat },/* 18 = getfsstat */
76 1.71 dsl { ns(struct compat_43_sys_lseek_args), 0,
77 1.71 dsl (sy_call_t *)compat_43_sys_lseek }, /* 19 = olseek */
78 1.71 dsl { 0, 0, 0,
79 1.71 dsl (sy_call_t *)sys_getpid_with_ppid },/* 20 = getpid_with_ppid */
80 1.71 dsl { ns(struct freebsd_sys_mount_args), 0,
81 1.71 dsl (sy_call_t *)freebsd_sys_mount }, /* 21 = mount */
82 1.71 dsl { ns(struct sys_unmount_args), 0,
83 1.71 dsl (sy_call_t *)sys_unmount }, /* 22 = unmount */
84 1.71 dsl { ns(struct sys_setuid_args), 0,
85 1.71 dsl (sy_call_t *)sys_setuid }, /* 23 = setuid */
86 1.71 dsl { 0, 0, 0,
87 1.71 dsl (sy_call_t *)sys_getuid_with_euid },/* 24 = getuid_with_euid */
88 1.71 dsl { 0, 0, 0,
89 1.71 dsl (sy_call_t *)sys_geteuid }, /* 25 = geteuid */
90 1.71 dsl { ns(struct freebsd_sys_ptrace_args), 0,
91 1.71 dsl (sy_call_t *)freebsd_sys_ptrace }, /* 26 = ptrace */
92 1.71 dsl { ns(struct sys_recvmsg_args), 0,
93 1.71 dsl (sy_call_t *)sys_recvmsg }, /* 27 = recvmsg */
94 1.71 dsl { ns(struct sys_sendmsg_args), 0,
95 1.71 dsl (sy_call_t *)sys_sendmsg }, /* 28 = sendmsg */
96 1.71 dsl { ns(struct sys_recvfrom_args), 0,
97 1.71 dsl (sy_call_t *)sys_recvfrom }, /* 29 = recvfrom */
98 1.71 dsl { ns(struct sys_accept_args), 0,
99 1.71 dsl (sy_call_t *)sys_accept }, /* 30 = accept */
100 1.71 dsl { ns(struct sys_getpeername_args), 0,
101 1.71 dsl (sy_call_t *)sys_getpeername }, /* 31 = getpeername */
102 1.71 dsl { ns(struct sys_getsockname_args), 0,
103 1.71 dsl (sy_call_t *)sys_getsockname }, /* 32 = getsockname */
104 1.71 dsl { ns(struct sys_access_args), 0,
105 1.71 dsl (sy_call_t *)sys_access }, /* 33 = access */
106 1.71 dsl { ns(struct sys_chflags_args), 0,
107 1.71 dsl (sy_call_t *)sys_chflags }, /* 34 = chflags */
108 1.71 dsl { ns(struct sys_fchflags_args), 0,
109 1.71 dsl (sy_call_t *)sys_fchflags }, /* 35 = fchflags */
110 1.71 dsl { 0, 0, 0,
111 1.71 dsl (sy_call_t *)sys_sync }, /* 36 = sync */
112 1.71 dsl { ns(struct sys_kill_args), 0,
113 1.71 dsl (sy_call_t *)sys_kill }, /* 37 = kill */
114 1.71 dsl { ns(struct compat_43_sys_stat_args), 0,
115 1.71 dsl (sy_call_t *)compat_43_sys_stat }, /* 38 = stat43 */
116 1.71 dsl { 0, 0, 0,
117 1.71 dsl (sy_call_t *)sys_getppid }, /* 39 = getppid */
118 1.71 dsl { ns(struct compat_43_sys_lstat_args), 0,
119 1.71 dsl (sy_call_t *)compat_43_sys_lstat }, /* 40 = lstat43 */
120 1.71 dsl { ns(struct sys_dup_args), 0,
121 1.71 dsl (sy_call_t *)sys_dup }, /* 41 = dup */
122 1.71 dsl { 0, 0, 0,
123 1.71 dsl (sy_call_t *)sys_pipe }, /* 42 = pipe */
124 1.71 dsl { 0, 0, 0,
125 1.71 dsl (sy_call_t *)sys_getegid }, /* 43 = getegid */
126 1.71 dsl { ns(struct sys_profil_args), 0,
127 1.71 dsl (sy_call_t *)sys_profil }, /* 44 = profil */
128 1.1 mycroft #ifdef KTRACE
129 1.71 dsl { ns(struct sys_ktrace_args), 0,
130 1.71 dsl (sy_call_t *)sys_ktrace }, /* 45 = ktrace */
131 1.1 mycroft #else
132 1.44 thorpej { 0, 0, 0,
133 1.43 jdolecek sys_nosys }, /* 45 = excluded ktrace */
134 1.1 mycroft #endif
135 1.71 dsl { ns(struct compat_13_sys_sigaction_args), 0,
136 1.71 dsl (sy_call_t *)compat_13_sys_sigaction },/* 46 = sigaction */
137 1.44 thorpej { 0, 0, 0,
138 1.71 dsl (sy_call_t *)sys_getgid_with_egid },/* 47 = getgid_with_egid */
139 1.71 dsl { ns(struct compat_13_sys_sigprocmask_args), 0,
140 1.71 dsl (sy_call_t *)compat_13_sys_sigprocmask },/* 48 = sigprocmask */
141 1.71 dsl { ns(struct sys___getlogin_args), 0,
142 1.71 dsl (sy_call_t *)sys___getlogin }, /* 49 = __getlogin */
143 1.71 dsl { ns(struct sys___setlogin_args), 0,
144 1.71 dsl (sy_call_t *)sys___setlogin }, /* 50 = __setlogin */
145 1.71 dsl { ns(struct sys_acct_args), 0,
146 1.71 dsl (sy_call_t *)sys_acct }, /* 51 = acct */
147 1.71 dsl { 0, 0, 0,
148 1.71 dsl (sy_call_t *)compat_13_sys_sigpending },/* 52 = sigpending */
149 1.71 dsl { ns(struct compat_13_sys_sigaltstack_args), 0,
150 1.71 dsl (sy_call_t *)compat_13_sys_sigaltstack },/* 53 = sigaltstack */
151 1.71 dsl { ns(struct freebsd_sys_ioctl_args), 0,
152 1.71 dsl (sy_call_t *)freebsd_sys_ioctl }, /* 54 = ioctl */
153 1.71 dsl { ns(struct sys_reboot_args), 0,
154 1.71 dsl (sy_call_t *)sys_reboot }, /* 55 = oreboot */
155 1.71 dsl { ns(struct sys_revoke_args), 0,
156 1.71 dsl (sy_call_t *)sys_revoke }, /* 56 = revoke */
157 1.71 dsl { ns(struct sys_symlink_args), 0,
158 1.71 dsl (sy_call_t *)sys_symlink }, /* 57 = symlink */
159 1.71 dsl { ns(struct sys_readlink_args), 0,
160 1.71 dsl (sy_call_t *)sys_readlink }, /* 58 = readlink */
161 1.71 dsl { ns(struct sys_execve_args), 0,
162 1.71 dsl (sy_call_t *)sys_execve }, /* 59 = execve */
163 1.71 dsl { ns(struct sys_umask_args), 0,
164 1.71 dsl (sy_call_t *)sys_umask }, /* 60 = umask */
165 1.71 dsl { ns(struct sys_chroot_args), 0,
166 1.71 dsl (sy_call_t *)sys_chroot }, /* 61 = chroot */
167 1.71 dsl { ns(struct compat_43_sys_fstat_args), 0,
168 1.71 dsl (sy_call_t *)compat_43_sys_fstat }, /* 62 = fstat43 */
169 1.71 dsl { ns(struct compat_43_sys_getkerninfo_args), 0,
170 1.71 dsl (sy_call_t *)compat_43_sys_getkerninfo },/* 63 = ogetkerninfo */
171 1.71 dsl { 0, 0, 0,
172 1.71 dsl (sy_call_t *)compat_43_sys_getpagesize },/* 64 = ogetpagesize */
173 1.71 dsl { ns(struct freebsd_sys_msync_args), 0,
174 1.71 dsl (sy_call_t *)freebsd_sys_msync }, /* 65 = msync */
175 1.44 thorpej { 0, 0, 0,
176 1.71 dsl (sy_call_t *)sys_vfork }, /* 66 = vfork */
177 1.44 thorpej { 0, 0, 0,
178 1.1 mycroft sys_nosys }, /* 67 = obsolete vread */
179 1.44 thorpej { 0, 0, 0,
180 1.1 mycroft sys_nosys }, /* 68 = obsolete vwrite */
181 1.71 dsl { ns(struct sys_sbrk_args), 0,
182 1.71 dsl (sy_call_t *)sys_sbrk }, /* 69 = sbrk */
183 1.71 dsl { ns(struct sys_sstk_args), 0,
184 1.71 dsl (sy_call_t *)sys_sstk }, /* 70 = sstk */
185 1.71 dsl { ns(struct compat_43_sys_mmap_args), 0,
186 1.71 dsl (sy_call_t *)compat_43_sys_mmap }, /* 71 = ommap */
187 1.71 dsl { ns(struct sys_ovadvise_args), 0,
188 1.71 dsl (sy_call_t *)sys_ovadvise }, /* 72 = vadvise */
189 1.71 dsl { ns(struct sys_munmap_args), 0,
190 1.71 dsl (sy_call_t *)sys_munmap }, /* 73 = munmap */
191 1.71 dsl { ns(struct sys_mprotect_args), 0,
192 1.71 dsl (sy_call_t *)sys_mprotect }, /* 74 = mprotect */
193 1.71 dsl { ns(struct sys_madvise_args), 0,
194 1.71 dsl (sy_call_t *)sys_madvise }, /* 75 = madvise */
195 1.44 thorpej { 0, 0, 0,
196 1.1 mycroft sys_nosys }, /* 76 = obsolete vhangup */
197 1.44 thorpej { 0, 0, 0,
198 1.1 mycroft sys_nosys }, /* 77 = obsolete vlimit */
199 1.71 dsl { ns(struct sys_mincore_args), 0,
200 1.71 dsl (sy_call_t *)sys_mincore }, /* 78 = mincore */
201 1.71 dsl { ns(struct sys_getgroups_args), 0,
202 1.71 dsl (sy_call_t *)sys_getgroups }, /* 79 = getgroups */
203 1.71 dsl { ns(struct sys_setgroups_args), 0,
204 1.71 dsl (sy_call_t *)sys_setgroups }, /* 80 = setgroups */
205 1.71 dsl { 0, 0, 0,
206 1.71 dsl (sy_call_t *)sys_getpgrp }, /* 81 = getpgrp */
207 1.71 dsl { ns(struct sys_setpgid_args), 0,
208 1.71 dsl (sy_call_t *)sys_setpgid }, /* 82 = setpgid */
209 1.71.8.1 christos { ns(struct compat_50_sys_setitimer_args), 0,
210 1.71.8.1 christos (sy_call_t *)compat_50_sys_setitimer },/* 83 = setitimer */
211 1.71 dsl { 0, 0, 0,
212 1.71 dsl (sy_call_t *)compat_43_sys_wait }, /* 84 = owait */
213 1.71 dsl { ns(struct compat_12_sys_swapon_args), 0,
214 1.71 dsl (sy_call_t *)compat_12_sys_swapon },/* 85 = swapon */
215 1.71.8.1 christos { ns(struct compat_50_sys_getitimer_args), 0,
216 1.71.8.1 christos (sy_call_t *)compat_50_sys_getitimer },/* 86 = getitimer */
217 1.71 dsl { ns(struct compat_43_sys_gethostname_args), 0,
218 1.71 dsl (sy_call_t *)compat_43_sys_gethostname },/* 87 = ogethostname */
219 1.71 dsl { ns(struct compat_43_sys_sethostname_args), 0,
220 1.71 dsl (sy_call_t *)compat_43_sys_sethostname },/* 88 = osethostname */
221 1.71 dsl { 0, 0, 0,
222 1.71 dsl (sy_call_t *)compat_43_sys_getdtablesize },/* 89 = ogetdtablesize */
223 1.71 dsl { ns(struct sys_dup2_args), 0,
224 1.71 dsl (sy_call_t *)sys_dup2 }, /* 90 = dup2 */
225 1.44 thorpej { 0, 0, 0,
226 1.1 mycroft sys_nosys }, /* 91 = unimplemented getdopt */
227 1.71 dsl { ns(struct sys_fcntl_args), 0,
228 1.71 dsl (sy_call_t *)sys_fcntl }, /* 92 = fcntl */
229 1.71.8.1 christos { ns(struct compat_50_sys_select_args), 0,
230 1.71.8.1 christos (sy_call_t *)compat_50_sys_select },/* 93 = select */
231 1.44 thorpej { 0, 0, 0,
232 1.1 mycroft sys_nosys }, /* 94 = unimplemented setdopt */
233 1.71 dsl { ns(struct sys_fsync_args), 0,
234 1.71 dsl (sy_call_t *)sys_fsync }, /* 95 = fsync */
235 1.71 dsl { ns(struct sys_setpriority_args), 0,
236 1.71 dsl (sy_call_t *)sys_setpriority }, /* 96 = setpriority */
237 1.71 dsl { ns(struct compat_30_sys_socket_args), 0,
238 1.71 dsl (sy_call_t *)compat_30_sys_socket },/* 97 = socket */
239 1.71 dsl { ns(struct sys_connect_args), 0,
240 1.71 dsl (sy_call_t *)sys_connect }, /* 98 = connect */
241 1.71 dsl { ns(struct compat_43_sys_accept_args), 0,
242 1.71 dsl (sy_call_t *)compat_43_sys_accept },/* 99 = oaccept */
243 1.71 dsl { ns(struct sys_getpriority_args), 0,
244 1.71 dsl (sy_call_t *)sys_getpriority }, /* 100 = getpriority */
245 1.71 dsl { ns(struct compat_43_sys_send_args), 0,
246 1.71 dsl (sy_call_t *)compat_43_sys_send }, /* 101 = osend */
247 1.71 dsl { ns(struct compat_43_sys_recv_args), 0,
248 1.71 dsl (sy_call_t *)compat_43_sys_recv }, /* 102 = orecv */
249 1.71 dsl { ns(struct freebsd_sys_sigreturn_args), 0,
250 1.71 dsl (sy_call_t *)freebsd_sys_sigreturn },/* 103 = sigreturn */
251 1.71 dsl { ns(struct sys_bind_args), 0,
252 1.71 dsl (sy_call_t *)sys_bind }, /* 104 = bind */
253 1.71 dsl { ns(struct sys_setsockopt_args), 0,
254 1.71 dsl (sy_call_t *)sys_setsockopt }, /* 105 = setsockopt */
255 1.71 dsl { ns(struct sys_listen_args), 0,
256 1.71 dsl (sy_call_t *)sys_listen }, /* 106 = listen */
257 1.44 thorpej { 0, 0, 0,
258 1.1 mycroft sys_nosys }, /* 107 = obsolete vtimes */
259 1.71 dsl { ns(struct compat_43_sys_sigvec_args), 0,
260 1.71 dsl (sy_call_t *)compat_43_sys_sigvec },/* 108 = osigvec */
261 1.71 dsl { ns(struct compat_43_sys_sigblock_args), 0,
262 1.71 dsl (sy_call_t *)compat_43_sys_sigblock },/* 109 = osigblock */
263 1.71 dsl { ns(struct compat_43_sys_sigsetmask_args), 0,
264 1.71 dsl (sy_call_t *)compat_43_sys_sigsetmask },/* 110 = osigsetmask */
265 1.71 dsl { ns(struct compat_13_sys_sigsuspend_args), 0,
266 1.71 dsl (sy_call_t *)compat_13_sys_sigsuspend },/* 111 = sigsuspend */
267 1.71 dsl { ns(struct compat_43_sys_sigstack_args), 0,
268 1.71 dsl (sy_call_t *)compat_43_sys_sigstack },/* 112 = osigstack */
269 1.71 dsl { ns(struct compat_43_sys_recvmsg_args), 0,
270 1.71 dsl (sy_call_t *)compat_43_sys_recvmsg },/* 113 = orecvmsg */
271 1.71 dsl { ns(struct compat_43_sys_sendmsg_args), 0,
272 1.71 dsl (sy_call_t *)compat_43_sys_sendmsg },/* 114 = osendmsg */
273 1.1 mycroft #ifdef TRACE
274 1.71 dsl { ns(struct sys_vtrace_args), 0,
275 1.71 dsl (sy_call_t *)sys_vtrace }, /* 115 = vtrace */
276 1.1 mycroft #else
277 1.44 thorpej { 0, 0, 0,
278 1.1 mycroft sys_nosys }, /* 115 = obsolete vtrace */
279 1.1 mycroft #endif
280 1.71.8.1 christos { ns(struct compat_50_sys_gettimeofday_args), 0,
281 1.71.8.1 christos (sy_call_t *)compat_50_sys_gettimeofday },/* 116 = gettimeofday */
282 1.71.8.1 christos { ns(struct compat_50_sys_getrusage_args), 0,
283 1.71.8.1 christos (sy_call_t *)compat_50_sys_getrusage },/* 117 = getrusage */
284 1.71 dsl { ns(struct sys_getsockopt_args), 0,
285 1.71 dsl (sy_call_t *)sys_getsockopt }, /* 118 = getsockopt */
286 1.44 thorpej { 0, 0, 0,
287 1.1 mycroft sys_nosys }, /* 119 = obsolete resuba */
288 1.71 dsl { ns(struct sys_readv_args), 0,
289 1.71 dsl (sy_call_t *)sys_readv }, /* 120 = readv */
290 1.71 dsl { ns(struct sys_writev_args), 0,
291 1.71 dsl (sy_call_t *)sys_writev }, /* 121 = writev */
292 1.71.8.1 christos { ns(struct compat_50_sys_settimeofday_args), 0,
293 1.71.8.1 christos (sy_call_t *)compat_50_sys_settimeofday },/* 122 = settimeofday */
294 1.71 dsl { ns(struct sys_fchown_args), 0,
295 1.71 dsl (sy_call_t *)sys_fchown }, /* 123 = fchown */
296 1.71 dsl { ns(struct sys_fchmod_args), 0,
297 1.71 dsl (sy_call_t *)sys_fchmod }, /* 124 = fchmod */
298 1.71 dsl { ns(struct compat_43_sys_recvfrom_args), 0,
299 1.71 dsl (sy_call_t *)compat_43_sys_recvfrom },/* 125 = orecvfrom */
300 1.71 dsl { ns(struct sys_setreuid_args), 0,
301 1.71 dsl (sy_call_t *)sys_setreuid }, /* 126 = setreuid */
302 1.71 dsl { ns(struct sys_setregid_args), 0,
303 1.71 dsl (sy_call_t *)sys_setregid }, /* 127 = setregid */
304 1.71 dsl { ns(struct sys_rename_args), 0,
305 1.71 dsl (sy_call_t *)sys_rename }, /* 128 = rename */
306 1.71 dsl { ns(struct compat_43_sys_truncate_args), 0,
307 1.71 dsl (sy_call_t *)compat_43_sys_truncate },/* 129 = otruncate */
308 1.71 dsl { ns(struct compat_43_sys_ftruncate_args), 0,
309 1.71 dsl (sy_call_t *)compat_43_sys_ftruncate },/* 130 = oftruncate */
310 1.71 dsl { ns(struct sys_flock_args), 0,
311 1.71 dsl (sy_call_t *)sys_flock }, /* 131 = flock */
312 1.71 dsl { ns(struct sys_mkfifo_args), 0,
313 1.71 dsl (sy_call_t *)sys_mkfifo }, /* 132 = mkfifo */
314 1.71 dsl { ns(struct sys_sendto_args), 0,
315 1.71 dsl (sy_call_t *)sys_sendto }, /* 133 = sendto */
316 1.71 dsl { ns(struct sys_shutdown_args), 0,
317 1.71 dsl (sy_call_t *)sys_shutdown }, /* 134 = shutdown */
318 1.71 dsl { ns(struct sys_socketpair_args), 0,
319 1.71 dsl (sy_call_t *)sys_socketpair }, /* 135 = socketpair */
320 1.71 dsl { ns(struct sys_mkdir_args), 0,
321 1.71 dsl (sy_call_t *)sys_mkdir }, /* 136 = mkdir */
322 1.71 dsl { ns(struct sys_rmdir_args), 0,
323 1.71 dsl (sy_call_t *)sys_rmdir }, /* 137 = rmdir */
324 1.71.8.1 christos { ns(struct compat_50_sys_utimes_args), 0,
325 1.71.8.1 christos (sy_call_t *)compat_50_sys_utimes },/* 138 = utimes */
326 1.44 thorpej { 0, 0, 0,
327 1.1 mycroft sys_nosys }, /* 139 = obsolete 4.2 sigreturn */
328 1.71.8.1 christos { ns(struct compat_50_sys_adjtime_args), 0,
329 1.71.8.1 christos (sy_call_t *)compat_50_sys_adjtime },/* 140 = adjtime */
330 1.71 dsl { ns(struct compat_43_sys_getpeername_args), 0,
331 1.71 dsl (sy_call_t *)compat_43_sys_getpeername },/* 141 = ogetpeername */
332 1.71 dsl { 0, 0, 0,
333 1.71 dsl (sy_call_t *)compat_43_sys_gethostid },/* 142 = ogethostid */
334 1.71 dsl { ns(struct compat_43_sys_sethostid_args), 0,
335 1.71 dsl (sy_call_t *)compat_43_sys_sethostid },/* 143 = osethostid */
336 1.71 dsl { ns(struct compat_43_sys_getrlimit_args), 0,
337 1.71 dsl (sy_call_t *)compat_43_sys_getrlimit },/* 144 = ogetrlimit */
338 1.71 dsl { ns(struct compat_43_sys_setrlimit_args), 0,
339 1.71 dsl (sy_call_t *)compat_43_sys_setrlimit },/* 145 = osetrlimit */
340 1.71 dsl { ns(struct compat_43_sys_killpg_args), 0,
341 1.71 dsl (sy_call_t *)compat_43_sys_killpg },/* 146 = okillpg */
342 1.71 dsl { 0, 0, 0,
343 1.71 dsl (sy_call_t *)sys_setsid }, /* 147 = setsid */
344 1.71 dsl { ns(struct sys_quotactl_args), 0,
345 1.71 dsl (sy_call_t *)sys_quotactl }, /* 148 = quotactl */
346 1.71 dsl { 0, 0, 0,
347 1.71 dsl (sy_call_t *)compat_43_sys_quota }, /* 149 = oquota */
348 1.71 dsl { ns(struct compat_43_sys_getsockname_args), 0,
349 1.71 dsl (sy_call_t *)compat_43_sys_getsockname },/* 150 = ogetsockname */
350 1.44 thorpej { 0, 0, 0,
351 1.34 tv sys_nosys }, /* 151 = unimplemented sem_lock */
352 1.44 thorpej { 0, 0, 0,
353 1.34 tv sys_nosys }, /* 152 = unimplemented sem_wakeup */
354 1.44 thorpej { 0, 0, 0,
355 1.34 tv sys_nosys }, /* 153 = unimplemented asyncdaemon */
356 1.44 thorpej { 0, 0, 0,
357 1.1 mycroft sys_nosys }, /* 154 = unimplemented */
358 1.7 thorpej #if defined(NFS) || defined(NFSSERVER)
359 1.71 dsl { ns(struct sys_nfssvc_args), 0,
360 1.71 dsl (sy_call_t *)sys_nfssvc }, /* 155 = nfssvc */
361 1.1 mycroft #else
362 1.44 thorpej { 0, 0, 0,
363 1.34 tv sys_nosys }, /* 155 = unimplemented nfssvc */
364 1.1 mycroft #endif
365 1.71 dsl { ns(struct compat_43_sys_getdirentries_args), 0,
366 1.71 dsl (sy_call_t *)compat_43_sys_getdirentries },/* 156 = ogetdirentries */
367 1.71 dsl { ns(struct compat_20_sys_statfs_args), 0,
368 1.71 dsl (sy_call_t *)compat_20_sys_statfs },/* 157 = statfs */
369 1.71 dsl { ns(struct compat_20_sys_fstatfs_args), 0,
370 1.71 dsl (sy_call_t *)compat_20_sys_fstatfs },/* 158 = fstatfs */
371 1.44 thorpej { 0, 0, 0,
372 1.1 mycroft sys_nosys }, /* 159 = unimplemented */
373 1.44 thorpej { 0, 0, 0,
374 1.1 mycroft sys_nosys }, /* 160 = unimplemented */
375 1.7 thorpej #ifdef NFS
376 1.71 dsl { ns(struct compat_30_sys_getfh_args), 0,
377 1.71 dsl (sy_call_t *)compat_30_sys_getfh }, /* 161 = getfh */
378 1.1 mycroft #else
379 1.44 thorpej { 0, 0, 0,
380 1.1 mycroft sys_nosys }, /* 161 = unimplemented getfh */
381 1.1 mycroft #endif
382 1.71 dsl { ns(struct compat_09_sys_getdomainname_args), 0,
383 1.71 dsl (sy_call_t *)compat_09_sys_getdomainname },/* 162 = getdomainname */
384 1.71 dsl { ns(struct compat_09_sys_setdomainname_args), 0,
385 1.71 dsl (sy_call_t *)compat_09_sys_setdomainname },/* 163 = setdomainname */
386 1.71 dsl { ns(struct compat_09_sys_uname_args), 0,
387 1.71 dsl (sy_call_t *)compat_09_sys_uname }, /* 164 = uname */
388 1.71 dsl { ns(struct sys_sysarch_args), 0,
389 1.71 dsl (sy_call_t *)sys_sysarch }, /* 165 = sysarch */
390 1.71 dsl { ns(struct freebsd_sys_rtprio_args), 0,
391 1.71 dsl (sy_call_t *)freebsd_sys_rtprio }, /* 166 = rtprio */
392 1.44 thorpej { 0, 0, 0,
393 1.1 mycroft sys_nosys }, /* 167 = unimplemented */
394 1.44 thorpej { 0, 0, 0,
395 1.1 mycroft sys_nosys }, /* 168 = unimplemented */
396 1.48 eeh #if defined(SYSVSEM) && !defined(_LP64)
397 1.71 dsl { ns(struct freebsd_sys_semsys_args), 0,
398 1.71 dsl (sy_call_t *)freebsd_sys_semsys }, /* 169 = semsys */
399 1.1 mycroft #else
400 1.44 thorpej { 0, 0, 0,
401 1.1 mycroft sys_nosys }, /* 169 = unimplemented 1.0 semsys */
402 1.1 mycroft #endif
403 1.48 eeh #if defined(SYSVMSG) && !defined(_LP64)
404 1.71 dsl { ns(struct freebsd_sys_msgsys_args), 0,
405 1.71 dsl (sy_call_t *)freebsd_sys_msgsys }, /* 170 = msgsys */
406 1.1 mycroft #else
407 1.44 thorpej { 0, 0, 0,
408 1.1 mycroft sys_nosys }, /* 170 = unimplemented 1.0 msgsys */
409 1.1 mycroft #endif
410 1.48 eeh #if defined(SYSVSHM) && !defined(_LP64)
411 1.71 dsl { ns(struct freebsd_sys_shmsys_args), 0,
412 1.71 dsl (sy_call_t *)freebsd_sys_shmsys }, /* 171 = shmsys */
413 1.1 mycroft #else
414 1.44 thorpej { 0, 0, 0,
415 1.1 mycroft sys_nosys }, /* 171 = unimplemented 1.0 shmsys */
416 1.1 mycroft #endif
417 1.44 thorpej { 0, 0, 0,
418 1.1 mycroft sys_nosys }, /* 172 = unimplemented */
419 1.71 dsl { ns(struct sys_pread_args), 0,
420 1.71 dsl (sy_call_t *)sys_pread }, /* 173 = pread */
421 1.71 dsl { ns(struct sys_pwrite_args), 0,
422 1.71 dsl (sy_call_t *)sys_pwrite }, /* 174 = pwrite */
423 1.44 thorpej { 0, 0, 0,
424 1.1 mycroft sys_nosys }, /* 175 = unimplemented */
425 1.37 itojun #ifdef NTP
426 1.71 dsl { ns(struct freebsd_ntp_adjtime_args), 0,
427 1.71 dsl (sy_call_t *)freebsd_ntp_adjtime }, /* 176 = freebsd_ntp_adjtime */
428 1.36 bjh21 #else
429 1.44 thorpej { 0, 0, 0,
430 1.36 bjh21 sys_nosys }, /* 176 = excluded ntp_adjtime */
431 1.36 bjh21 #endif
432 1.44 thorpej { 0, 0, 0,
433 1.34 tv sys_nosys }, /* 177 = unimplemented sfork */
434 1.44 thorpej { 0, 0, 0,
435 1.34 tv sys_nosys }, /* 178 = unimplemented getdescriptor */
436 1.44 thorpej { 0, 0, 0,
437 1.34 tv sys_nosys }, /* 179 = unimplemented setdescriptor */
438 1.44 thorpej { 0, 0, 0,
439 1.1 mycroft sys_nosys }, /* 180 = unimplemented */
440 1.71 dsl { ns(struct sys_setgid_args), 0,
441 1.71 dsl (sy_call_t *)sys_setgid }, /* 181 = setgid */
442 1.71 dsl { ns(struct sys_setegid_args), 0,
443 1.71 dsl (sy_call_t *)sys_setegid }, /* 182 = setegid */
444 1.71 dsl { ns(struct sys_seteuid_args), 0,
445 1.71 dsl (sy_call_t *)sys_seteuid }, /* 183 = seteuid */
446 1.1 mycroft #ifdef LFS
447 1.71 dsl { ns(struct sys_lfs_bmapv_args), 0,
448 1.71 dsl (sy_call_t *)sys_lfs_bmapv }, /* 184 = lfs_bmapv */
449 1.71 dsl { ns(struct sys_lfs_markv_args), 0,
450 1.71 dsl (sy_call_t *)sys_lfs_markv }, /* 185 = lfs_markv */
451 1.71 dsl { ns(struct sys_lfs_segclean_args), 0,
452 1.71 dsl (sy_call_t *)sys_lfs_segclean }, /* 186 = lfs_segclean */
453 1.71.8.1 christos { ns(struct compat_50_sys_lfs_segwait_args), 0,
454 1.71.8.1 christos (sy_call_t *)compat_50_sys_lfs_segwait },/* 187 = lfs_segwait */
455 1.1 mycroft #else
456 1.44 thorpej { 0, 0, 0,
457 1.1 mycroft sys_nosys }, /* 184 = unimplemented */
458 1.44 thorpej { 0, 0, 0,
459 1.1 mycroft sys_nosys }, /* 185 = unimplemented */
460 1.44 thorpej { 0, 0, 0,
461 1.1 mycroft sys_nosys }, /* 186 = unimplemented */
462 1.44 thorpej { 0, 0, 0,
463 1.1 mycroft sys_nosys }, /* 187 = unimplemented */
464 1.1 mycroft #endif
465 1.71 dsl { ns(struct compat_12_sys_stat_args), 0,
466 1.71 dsl (sy_call_t *)compat_12_sys_stat }, /* 188 = stat */
467 1.71 dsl { ns(struct compat_12_sys_fstat_args), 0,
468 1.71 dsl (sy_call_t *)compat_12_sys_fstat }, /* 189 = fstat */
469 1.71 dsl { ns(struct compat_12_sys_lstat_args), 0,
470 1.71 dsl (sy_call_t *)compat_12_sys_lstat }, /* 190 = lstat */
471 1.71 dsl { ns(struct sys_pathconf_args), 0,
472 1.71 dsl (sy_call_t *)sys_pathconf }, /* 191 = pathconf */
473 1.71 dsl { ns(struct sys_fpathconf_args), 0,
474 1.71 dsl (sy_call_t *)sys_fpathconf }, /* 192 = fpathconf */
475 1.44 thorpej { 0, 0, 0,
476 1.1 mycroft sys_nosys }, /* 193 = unimplemented */
477 1.71 dsl { ns(struct sys_getrlimit_args), 0,
478 1.71 dsl (sy_call_t *)sys_getrlimit }, /* 194 = getrlimit */
479 1.71 dsl { ns(struct sys_setrlimit_args), 0,
480 1.71 dsl (sy_call_t *)sys_setrlimit }, /* 195 = setrlimit */
481 1.71 dsl { ns(struct compat_12_sys_getdirentries_args), 0,
482 1.71 dsl (sy_call_t *)compat_12_sys_getdirentries },/* 196 = getdirentries */
483 1.71 dsl { ns(struct freebsd_sys_mmap_args), 0,
484 1.71 dsl (sy_call_t *)freebsd_sys_mmap }, /* 197 = mmap */
485 1.71 dsl { 0, 0, 0,
486 1.71 dsl (sy_call_t *)sys_nosys }, /* 198 = __syscall */
487 1.71 dsl { ns(struct sys_lseek_args), 0,
488 1.71 dsl (sy_call_t *)sys_lseek }, /* 199 = lseek */
489 1.71 dsl { ns(struct sys_truncate_args), 0,
490 1.71 dsl (sy_call_t *)sys_truncate }, /* 200 = truncate */
491 1.71 dsl { ns(struct sys_ftruncate_args), 0,
492 1.71 dsl (sy_call_t *)sys_ftruncate }, /* 201 = ftruncate */
493 1.71 dsl { ns(struct freebsd_sys_sysctl_args), 0,
494 1.71 dsl (sy_call_t *)freebsd_sys_sysctl }, /* 202 = sysctl */
495 1.71 dsl { ns(struct sys_mlock_args), 0,
496 1.71 dsl (sy_call_t *)sys_mlock }, /* 203 = mlock */
497 1.71 dsl { ns(struct sys_munlock_args), 0,
498 1.71 dsl (sy_call_t *)sys_munlock }, /* 204 = munlock */
499 1.1 mycroft #ifdef FREEBSD_BASED_ON_44LITE_R2
500 1.71 dsl { ns(struct freebsd_sys_undelete_args), 0,
501 1.71 dsl (sy_call_t *)freebsd_sys_undelete },/* 205 = undelete */
502 1.1 mycroft #else
503 1.44 thorpej { 0, 0, 0,
504 1.34 tv sys_nosys }, /* 205 = unimplemented undelete */
505 1.1 mycroft #endif
506 1.71.8.1 christos { ns(struct compat_50_sys_futimes_args), 0,
507 1.71.8.1 christos (sy_call_t *)compat_50_sys_futimes },/* 206 = futimes */
508 1.71 dsl { ns(struct sys_getpgid_args), 0,
509 1.71 dsl (sy_call_t *)sys_getpgid }, /* 207 = getpgid */
510 1.29 christos #if 0
511 1.71 dsl { ns(struct sys_reboot_args), 0,
512 1.71 dsl (sy_call_t *)sys_reboot }, /* 208 = reboot */
513 1.29 christos #else
514 1.44 thorpej { 0, 0, 0,
515 1.29 christos sys_nosys }, /* 208 = unimplemented newreboot */
516 1.29 christos #endif
517 1.71 dsl { ns(struct sys_poll_args), 0,
518 1.71 dsl (sy_call_t *)sys_poll }, /* 209 = poll */
519 1.44 thorpej { 0, 0, 0,
520 1.1 mycroft sys_nosys }, /* 210 = unimplemented */
521 1.44 thorpej { 0, 0, 0,
522 1.1 mycroft sys_nosys }, /* 211 = unimplemented */
523 1.44 thorpej { 0, 0, 0,
524 1.1 mycroft sys_nosys }, /* 212 = unimplemented */
525 1.44 thorpej { 0, 0, 0,
526 1.1 mycroft sys_nosys }, /* 213 = unimplemented */
527 1.44 thorpej { 0, 0, 0,
528 1.1 mycroft sys_nosys }, /* 214 = unimplemented */
529 1.44 thorpej { 0, 0, 0,
530 1.1 mycroft sys_nosys }, /* 215 = unimplemented */
531 1.44 thorpej { 0, 0, 0,
532 1.1 mycroft sys_nosys }, /* 216 = unimplemented */
533 1.44 thorpej { 0, 0, 0,
534 1.1 mycroft sys_nosys }, /* 217 = unimplemented */
535 1.44 thorpej { 0, 0, 0,
536 1.1 mycroft sys_nosys }, /* 218 = unimplemented */
537 1.44 thorpej { 0, 0, 0,
538 1.1 mycroft sys_nosys }, /* 219 = unimplemented */
539 1.29 christos #ifdef SYSVSEM
540 1.71 dsl { ns(struct compat_14_sys___semctl_args), 0,
541 1.71 dsl (sy_call_t *)compat_14_sys___semctl },/* 220 = __semctl */
542 1.71 dsl { ns(struct sys_semget_args), 0,
543 1.71 dsl (sy_call_t *)sys_semget }, /* 221 = semget */
544 1.71 dsl { ns(struct sys_semop_args), 0,
545 1.71 dsl (sy_call_t *)sys_semop }, /* 222 = semop */
546 1.71 dsl { ns(struct sys_semconfig_args), 0,
547 1.71 dsl (sy_call_t *)sys_semconfig }, /* 223 = semconfig */
548 1.29 christos #else
549 1.44 thorpej { 0, 0, 0,
550 1.29 christos sys_nosys }, /* 220 = unimplemented semctl */
551 1.44 thorpej { 0, 0, 0,
552 1.29 christos sys_nosys }, /* 221 = unimplemented semget */
553 1.44 thorpej { 0, 0, 0,
554 1.29 christos sys_nosys }, /* 222 = unimplemented semop */
555 1.44 thorpej { 0, 0, 0,
556 1.29 christos sys_nosys }, /* 223 = unimplemented semconfig */
557 1.29 christos #endif
558 1.29 christos #ifdef SYSVMSG
559 1.71 dsl { ns(struct compat_14_sys_msgctl_args), 0,
560 1.71 dsl (sy_call_t *)compat_14_sys_msgctl },/* 224 = msgctl */
561 1.71 dsl { ns(struct sys_msgget_args), 0,
562 1.71 dsl (sy_call_t *)sys_msgget }, /* 225 = msgget */
563 1.71 dsl { ns(struct sys_msgsnd_args), 0,
564 1.71 dsl (sy_call_t *)sys_msgsnd }, /* 226 = msgsnd */
565 1.71 dsl { ns(struct sys_msgrcv_args), 0,
566 1.71 dsl (sy_call_t *)sys_msgrcv }, /* 227 = msgrcv */
567 1.29 christos #else
568 1.44 thorpej { 0, 0, 0,
569 1.29 christos sys_nosys }, /* 224 = unimplemented msgctl */
570 1.44 thorpej { 0, 0, 0,
571 1.29 christos sys_nosys }, /* 225 = unimplemented msgget */
572 1.44 thorpej { 0, 0, 0,
573 1.29 christos sys_nosys }, /* 226 = unimplemented msgsnd */
574 1.44 thorpej { 0, 0, 0,
575 1.29 christos sys_nosys }, /* 227 = unimplemented msgrcv */
576 1.29 christos #endif
577 1.29 christos #ifdef SYSVSHM
578 1.71 dsl { ns(struct sys_shmat_args), 0,
579 1.71 dsl (sy_call_t *)sys_shmat }, /* 228 = shmat */
580 1.71 dsl { ns(struct compat_14_sys_shmctl_args), 0,
581 1.71 dsl (sy_call_t *)compat_14_sys_shmctl },/* 229 = shmctl */
582 1.71 dsl { ns(struct sys_shmdt_args), 0,
583 1.71 dsl (sy_call_t *)sys_shmdt }, /* 230 = shmdt */
584 1.71 dsl { ns(struct sys_shmget_args), 0,
585 1.71 dsl (sy_call_t *)sys_shmget }, /* 231 = shmget */
586 1.29 christos #else
587 1.44 thorpej { 0, 0, 0,
588 1.29 christos sys_nosys }, /* 228 = unimplemented shmat */
589 1.44 thorpej { 0, 0, 0,
590 1.29 christos sys_nosys }, /* 229 = unimplemented shmctl */
591 1.44 thorpej { 0, 0, 0,
592 1.29 christos sys_nosys }, /* 230 = unimplemented shmdt */
593 1.44 thorpej { 0, 0, 0,
594 1.29 christos sys_nosys }, /* 231 = unimplemented shmget */
595 1.29 christos #endif
596 1.71.8.1 christos { ns(struct compat_50_sys_clock_gettime_args), 0,
597 1.71.8.1 christos (sy_call_t *)compat_50_sys_clock_gettime },/* 232 = clock_gettime */
598 1.71.8.1 christos { ns(struct compat_50_sys_clock_settime_args), 0,
599 1.71.8.1 christos (sy_call_t *)compat_50_sys_clock_settime },/* 233 = clock_settime */
600 1.71.8.1 christos { ns(struct compat_50_sys_clock_getres_args), 0,
601 1.71.8.1 christos (sy_call_t *)compat_50_sys_clock_getres },/* 234 = clock_getres */
602 1.44 thorpej { 0, 0, 0,
603 1.29 christos sys_nosys }, /* 235 = unimplemented timer_create */
604 1.44 thorpej { 0, 0, 0,
605 1.29 christos sys_nosys }, /* 236 = unimplemented timer_delete */
606 1.44 thorpej { 0, 0, 0,
607 1.29 christos sys_nosys }, /* 237 = unimplemented timer_settime */
608 1.44 thorpej { 0, 0, 0,
609 1.29 christos sys_nosys }, /* 238 = unimplemented timer_gettime */
610 1.44 thorpej { 0, 0, 0,
611 1.29 christos sys_nosys }, /* 239 = unimplemented timer_getoverrun */
612 1.71.8.1 christos { ns(struct compat_50_sys_nanosleep_args), 0,
613 1.71.8.1 christos (sy_call_t *)compat_50_sys_nanosleep },/* 240 = nanosleep */
614 1.44 thorpej { 0, 0, 0,
615 1.10 enami sys_nosys }, /* 241 = unimplemented */
616 1.44 thorpej { 0, 0, 0,
617 1.10 enami sys_nosys }, /* 242 = unimplemented */
618 1.44 thorpej { 0, 0, 0,
619 1.10 enami sys_nosys }, /* 243 = unimplemented */
620 1.44 thorpej { 0, 0, 0,
621 1.10 enami sys_nosys }, /* 244 = unimplemented */
622 1.44 thorpej { 0, 0, 0,
623 1.10 enami sys_nosys }, /* 245 = unimplemented */
624 1.44 thorpej { 0, 0, 0,
625 1.10 enami sys_nosys }, /* 246 = unimplemented */
626 1.44 thorpej { 0, 0, 0,
627 1.10 enami sys_nosys }, /* 247 = unimplemented */
628 1.44 thorpej { 0, 0, 0,
629 1.10 enami sys_nosys }, /* 248 = unimplemented */
630 1.44 thorpej { 0, 0, 0,
631 1.10 enami sys_nosys }, /* 249 = unimplemented */
632 1.71 dsl { ns(struct sys_minherit_args), 0,
633 1.71 dsl (sy_call_t *)sys_minherit }, /* 250 = minherit */
634 1.71 dsl { ns(struct freebsd_sys_rfork_args), 0,
635 1.71 dsl (sy_call_t *)freebsd_sys_rfork }, /* 251 = rfork */
636 1.44 thorpej { 0, 0, 0,
637 1.29 christos sys_nosys }, /* 252 = unimplemented openbsd_poll */
638 1.44 thorpej { 0, 0, 0,
639 1.71 dsl (sy_call_t *)sys_issetugid }, /* 253 = issetugid */
640 1.71 dsl { ns(struct sys_lchown_args), 0,
641 1.71 dsl (sy_call_t *)sys_lchown }, /* 254 = lchown */
642 1.44 thorpej { 0, 0, 0,
643 1.29 christos sys_nosys }, /* 255 = unimplemented */
644 1.44 thorpej { 0, 0, 0,
645 1.29 christos sys_nosys }, /* 256 = unimplemented */
646 1.44 thorpej { 0, 0, 0,
647 1.29 christos sys_nosys }, /* 257 = unimplemented */
648 1.44 thorpej { 0, 0, 0,
649 1.29 christos sys_nosys }, /* 258 = unimplemented */
650 1.44 thorpej { 0, 0, 0,
651 1.29 christos sys_nosys }, /* 259 = unimplemented */
652 1.44 thorpej { 0, 0, 0,
653 1.29 christos sys_nosys }, /* 260 = unimplemented */
654 1.44 thorpej { 0, 0, 0,
655 1.29 christos sys_nosys }, /* 261 = unimplemented */
656 1.44 thorpej { 0, 0, 0,
657 1.29 christos sys_nosys }, /* 262 = unimplemented */
658 1.44 thorpej { 0, 0, 0,
659 1.29 christos sys_nosys }, /* 263 = unimplemented */
660 1.44 thorpej { 0, 0, 0,
661 1.29 christos sys_nosys }, /* 264 = unimplemented */
662 1.44 thorpej { 0, 0, 0,
663 1.29 christos sys_nosys }, /* 265 = unimplemented */
664 1.44 thorpej { 0, 0, 0,
665 1.29 christos sys_nosys }, /* 266 = unimplemented */
666 1.44 thorpej { 0, 0, 0,
667 1.29 christos sys_nosys }, /* 267 = unimplemented */
668 1.44 thorpej { 0, 0, 0,
669 1.29 christos sys_nosys }, /* 268 = unimplemented */
670 1.44 thorpej { 0, 0, 0,
671 1.29 christos sys_nosys }, /* 269 = unimplemented */
672 1.44 thorpej { 0, 0, 0,
673 1.29 christos sys_nosys }, /* 270 = unimplemented */
674 1.44 thorpej { 0, 0, 0,
675 1.29 christos sys_nosys }, /* 271 = unimplemented */
676 1.71 dsl { ns(struct compat_30_sys_getdents_args), 0,
677 1.71 dsl (sy_call_t *)compat_30_sys_getdents },/* 272 = getdents */
678 1.44 thorpej { 0, 0, 0,
679 1.29 christos sys_nosys }, /* 273 = unimplemented */
680 1.71 dsl { ns(struct sys_lchmod_args), 0,
681 1.71 dsl (sy_call_t *)sys_lchmod }, /* 274 = lchmod */
682 1.71 dsl { ns(struct sys_lchown_args), 0,
683 1.71 dsl (sy_call_t *)sys_lchown }, /* 275 = netbsd_lchown */
684 1.71.8.1 christos { ns(struct compat_50_sys_lutimes_args), 0,
685 1.71.8.1 christos (sy_call_t *)compat_50_sys_lutimes },/* 276 = lutimes */
686 1.71 dsl { ns(struct sys___msync13_args), 0,
687 1.71 dsl (sy_call_t *)sys___msync13 }, /* 277 = __msync13 */
688 1.71 dsl { ns(struct compat_30_sys___stat13_args), 0,
689 1.71 dsl (sy_call_t *)compat_30_sys___stat13 },/* 278 = __stat13 */
690 1.71 dsl { ns(struct compat_30_sys___fstat13_args), 0,
691 1.71 dsl (sy_call_t *)compat_30_sys___fstat13 },/* 279 = __fstat13 */
692 1.71 dsl { ns(struct compat_30_sys___lstat13_args), 0,
693 1.71 dsl (sy_call_t *)compat_30_sys___lstat13 },/* 280 = __lstat13 */
694 1.44 thorpej { 0, 0, 0,
695 1.29 christos sys_nosys }, /* 281 = unimplemented */
696 1.44 thorpej { 0, 0, 0,
697 1.29 christos sys_nosys }, /* 282 = unimplemented */
698 1.44 thorpej { 0, 0, 0,
699 1.29 christos sys_nosys }, /* 283 = unimplemented */
700 1.44 thorpej { 0, 0, 0,
701 1.29 christos sys_nosys }, /* 284 = unimplemented */
702 1.44 thorpej { 0, 0, 0,
703 1.29 christos sys_nosys }, /* 285 = unimplemented */
704 1.44 thorpej { 0, 0, 0,
705 1.29 christos sys_nosys }, /* 286 = unimplemented */
706 1.44 thorpej { 0, 0, 0,
707 1.29 christos sys_nosys }, /* 287 = unimplemented */
708 1.44 thorpej { 0, 0, 0,
709 1.29 christos sys_nosys }, /* 288 = unimplemented */
710 1.44 thorpej { 0, 0, 0,
711 1.29 christos sys_nosys }, /* 289 = unimplemented */
712 1.44 thorpej { 0, 0, 0,
713 1.29 christos sys_nosys }, /* 290 = unimplemented */
714 1.44 thorpej { 0, 0, 0,
715 1.29 christos sys_nosys }, /* 291 = unimplemented */
716 1.44 thorpej { 0, 0, 0,
717 1.29 christos sys_nosys }, /* 292 = unimplemented */
718 1.44 thorpej { 0, 0, 0,
719 1.29 christos sys_nosys }, /* 293 = unimplemented */
720 1.44 thorpej { 0, 0, 0,
721 1.29 christos sys_nosys }, /* 294 = unimplemented */
722 1.44 thorpej { 0, 0, 0,
723 1.29 christos sys_nosys }, /* 295 = unimplemented */
724 1.44 thorpej { 0, 0, 0,
725 1.29 christos sys_nosys }, /* 296 = unimplemented */
726 1.71 dsl { ns(struct compat_20_sys_fhstatfs_args), 0,
727 1.71 dsl (sy_call_t *)compat_20_sys_fhstatfs },/* 297 = fhstatfs */
728 1.71 dsl { ns(struct compat_30_sys_fhopen_args), 0,
729 1.71 dsl (sy_call_t *)compat_30_sys_fhopen },/* 298 = fhopen */
730 1.71 dsl { ns(struct compat_30_sys_fhstat_args), 0,
731 1.71 dsl (sy_call_t *)compat_30_sys_fhstat },/* 299 = fhstat */
732 1.44 thorpej { 0, 0, 0,
733 1.29 christos sys_nosys }, /* 300 = unimplemented modnext */
734 1.44 thorpej { 0, 0, 0,
735 1.29 christos sys_nosys }, /* 301 = unimplemented modstat */
736 1.44 thorpej { 0, 0, 0,
737 1.29 christos sys_nosys }, /* 302 = unimplemented modfnext */
738 1.44 thorpej { 0, 0, 0,
739 1.29 christos sys_nosys }, /* 303 = unimplemented modfind */
740 1.44 thorpej { 0, 0, 0,
741 1.29 christos sys_nosys }, /* 304 = unimplemented kldload */
742 1.44 thorpej { 0, 0, 0,
743 1.29 christos sys_nosys }, /* 305 = unimplemented kldunload */
744 1.44 thorpej { 0, 0, 0,
745 1.29 christos sys_nosys }, /* 306 = unimplemented kldfind */
746 1.44 thorpej { 0, 0, 0,
747 1.29 christos sys_nosys }, /* 307 = unimplemented kldnext */
748 1.44 thorpej { 0, 0, 0,
749 1.29 christos sys_nosys }, /* 308 = unimplemented kldstat */
750 1.44 thorpej { 0, 0, 0,
751 1.29 christos sys_nosys }, /* 309 = unimplemented kldfirstmod */
752 1.71 dsl { ns(struct sys_getsid_args), 0,
753 1.71 dsl (sy_call_t *)sys_getsid }, /* 310 = getsid */
754 1.44 thorpej { 0, 0, 0,
755 1.29 christos sys_nosys }, /* 311 = unimplemented setresuid */
756 1.44 thorpej { 0, 0, 0,
757 1.29 christos sys_nosys }, /* 312 = unimplemented setresgid */
758 1.44 thorpej { 0, 0, 0,
759 1.29 christos sys_nosys }, /* 313 = unimplemented signanosleep */
760 1.44 thorpej { 0, 0, 0,
761 1.29 christos sys_nosys }, /* 314 = unimplemented aio_return */
762 1.44 thorpej { 0, 0, 0,
763 1.29 christos sys_nosys }, /* 315 = unimplemented aio_suspend */
764 1.44 thorpej { 0, 0, 0,
765 1.29 christos sys_nosys }, /* 316 = unimplemented aio_cancel */
766 1.44 thorpej { 0, 0, 0,
767 1.29 christos sys_nosys }, /* 317 = unimplemented aio_error */
768 1.44 thorpej { 0, 0, 0,
769 1.29 christos sys_nosys }, /* 318 = unimplemented aio_read */
770 1.44 thorpej { 0, 0, 0,
771 1.29 christos sys_nosys }, /* 319 = unimplemented aio_write */
772 1.44 thorpej { 0, 0, 0,
773 1.29 christos sys_nosys }, /* 320 = unimplemented lio_listio */
774 1.44 thorpej { 0, 0, 0,
775 1.71 dsl (sy_call_t *)freebsd_sys_yield }, /* 321 = yield */
776 1.44 thorpej { 0, 0, 0,
777 1.29 christos sys_nosys }, /* 322 = unimplemented thr_sleep */
778 1.44 thorpej { 0, 0, 0,
779 1.29 christos sys_nosys }, /* 323 = unimplemented thr_wakeup */
780 1.71 dsl { ns(struct sys_mlockall_args), 0,
781 1.71 dsl (sy_call_t *)sys_mlockall }, /* 324 = mlockall */
782 1.44 thorpej { 0, 0, 0,
783 1.71 dsl (sy_call_t *)sys_munlockall }, /* 325 = munlockall */
784 1.71 dsl { ns(struct sys___getcwd_args), 0,
785 1.71 dsl (sy_call_t *)sys___getcwd }, /* 326 = __getcwd */
786 1.71 dsl { ns(struct freebsd_sys_sched_setparam_args), 0,
787 1.71 dsl (sy_call_t *)freebsd_sys_sched_setparam },/* 327 = sched_setparam */
788 1.71 dsl { ns(struct freebsd_sys_sched_getparam_args), 0,
789 1.71 dsl (sy_call_t *)freebsd_sys_sched_getparam },/* 328 = sched_getparam */
790 1.71 dsl { ns(struct freebsd_sys_sched_setscheduler_args), 0,
791 1.71 dsl (sy_call_t *)freebsd_sys_sched_setscheduler },/* 329 = sched_setscheduler */
792 1.71 dsl { ns(struct freebsd_sys_sched_getscheduler_args), 0,
793 1.71 dsl (sy_call_t *)freebsd_sys_sched_getscheduler },/* 330 = sched_getscheduler */
794 1.71 dsl { 0, 0, 0,
795 1.71 dsl (sy_call_t *)freebsd_sys_sched_yield },/* 331 = sched_yield */
796 1.71 dsl { ns(struct freebsd_sys_sched_get_priority_max_args), 0,
797 1.71 dsl (sy_call_t *)freebsd_sys_sched_get_priority_max },/* 332 = sched_get_priority_max */
798 1.71 dsl { ns(struct freebsd_sys_sched_get_priority_min_args), 0,
799 1.71 dsl (sy_call_t *)freebsd_sys_sched_get_priority_min },/* 333 = sched_get_priority_min */
800 1.44 thorpej { 0, 0, 0,
801 1.29 christos sys_nosys }, /* 334 = unimplemented sched_rr_get_interval */
802 1.71 dsl { ns(struct freebsd_sys_utrace_args), 0,
803 1.71 dsl (sy_call_t *)freebsd_sys_utrace }, /* 335 = utrace */
804 1.44 thorpej { 0, 0, 0,
805 1.29 christos sys_nosys }, /* 336 = unimplemented sendfile */
806 1.44 thorpej { 0, 0, 0,
807 1.29 christos sys_nosys }, /* 337 = unimplemented kldsym */
808 1.44 thorpej { 0, 0, 0,
809 1.34 tv sys_nosys }, /* 338 = unimplemented jail */
810 1.44 thorpej { 0, 0, 0,
811 1.34 tv sys_nosys }, /* 339 = unimplemented pioctl */
812 1.71 dsl { ns(struct sys___sigprocmask14_args), 0,
813 1.71 dsl (sy_call_t *)sys___sigprocmask14 }, /* 340 = __sigprocmask14 */
814 1.71 dsl { ns(struct sys___sigsuspend14_args), 0,
815 1.71 dsl (sy_call_t *)sys___sigsuspend14 }, /* 341 = __sigsuspend14 */
816 1.71 dsl { ns(struct freebsd_sys_sigaction4_args), 0,
817 1.71 dsl (sy_call_t *)freebsd_sys_sigaction4 },/* 342 = sigaction4 */
818 1.71 dsl { ns(struct sys___sigpending14_args), 0,
819 1.71 dsl (sy_call_t *)sys___sigpending14 }, /* 343 = __sigpending14 */
820 1.44 thorpej { 0, 0, 0,
821 1.34 tv sys_nosys }, /* 344 = unimplemented 4.0 sigreturn */
822 1.44 thorpej { 0, 0, 0,
823 1.34 tv sys_nosys }, /* 345 = unimplemented sigtimedwait */
824 1.44 thorpej { 0, 0, 0,
825 1.34 tv sys_nosys }, /* 346 = unimplemented sigwaitinfo */
826 1.44 thorpej { 0, 0, 0,
827 1.34 tv sys_nosys }, /* 347 = unimplemented __acl_get_file */
828 1.44 thorpej { 0, 0, 0,
829 1.34 tv sys_nosys }, /* 348 = unimplemented __acl_set_file */
830 1.44 thorpej { 0, 0, 0,
831 1.34 tv sys_nosys }, /* 349 = unimplemented __acl_get_fd */
832 1.44 thorpej { 0, 0, 0,
833 1.34 tv sys_nosys }, /* 350 = unimplemented __acl_set_fd */
834 1.44 thorpej { 0, 0, 0,
835 1.34 tv sys_nosys }, /* 351 = unimplemented __acl_delete_file */
836 1.44 thorpej { 0, 0, 0,
837 1.34 tv sys_nosys }, /* 352 = unimplemented __acl_delete_fd */
838 1.44 thorpej { 0, 0, 0,
839 1.34 tv sys_nosys }, /* 353 = unimplemented __acl_aclcheck_file */
840 1.44 thorpej { 0, 0, 0,
841 1.34 tv sys_nosys }, /* 354 = unimplemented __acl_aclcheck_fd */
842 1.44 thorpej { 0, 0, 0,
843 1.34 tv sys_nosys }, /* 355 = unimplemented extattrctl */
844 1.44 thorpej { 0, 0, 0,
845 1.34 tv sys_nosys }, /* 356 = unimplemented extattr_set_file */
846 1.44 thorpej { 0, 0, 0,
847 1.34 tv sys_nosys }, /* 357 = unimplemented extattr_get_file */
848 1.44 thorpej { 0, 0, 0,
849 1.34 tv sys_nosys }, /* 358 = unimplemented extattr_delete_file */
850 1.44 thorpej { 0, 0, 0,
851 1.34 tv sys_nosys }, /* 359 = unimplemented aio_waitcomplete */
852 1.44 thorpej { 0, 0, 0,
853 1.34 tv sys_nosys }, /* 360 = unimplemented getresuid */
854 1.44 thorpej { 0, 0, 0,
855 1.34 tv sys_nosys }, /* 361 = unimplemented getresgid */
856 1.44 thorpej { 0, 0, 0,
857 1.34 tv sys_nosys }, /* 362 = unimplemented kqueue */
858 1.44 thorpej { 0, 0, 0,
859 1.34 tv sys_nosys }, /* 363 = unimplemented kevent */
860 1.44 thorpej { 0, 0, 0,
861 1.54 jdolecek sys_nosys }, /* 364 = unimplemented __cap_get_proc */
862 1.44 thorpej { 0, 0, 0,
863 1.54 jdolecek sys_nosys }, /* 365 = unimplemented __cap_set_proc */
864 1.44 thorpej { 0, 0, 0,
865 1.54 jdolecek sys_nosys }, /* 366 = unimplemented __cap_get_fd */
866 1.44 thorpej { 0, 0, 0,
867 1.54 jdolecek sys_nosys }, /* 367 = unimplemented __cap_get_file */
868 1.44 thorpej { 0, 0, 0,
869 1.54 jdolecek sys_nosys }, /* 368 = unimplemented __cap_set_fd */
870 1.44 thorpej { 0, 0, 0,
871 1.54 jdolecek sys_nosys }, /* 369 = unimplemented __cap_set_file */
872 1.44 thorpej { 0, 0, 0,
873 1.54 jdolecek sys_nosys }, /* 370 = unimplemented lkmressym */
874 1.44 thorpej { 0, 0, 0,
875 1.54 jdolecek sys_nosys }, /* 371 = unimplemented extattr_set_fd */
876 1.44 thorpej { 0, 0, 0,
877 1.54 jdolecek sys_nosys }, /* 372 = unimplemented extattr_get_fd */
878 1.44 thorpej { 0, 0, 0,
879 1.54 jdolecek sys_nosys }, /* 373 = unimplemented extattr_delete_fd */
880 1.44 thorpej { 0, 0, 0,
881 1.54 jdolecek sys_nosys }, /* 374 = unimplemented __setugid */
882 1.44 thorpej { 0, 0, 0,
883 1.54 jdolecek sys_nosys }, /* 375 = unimplemented nfsclnt */
884 1.44 thorpej { 0, 0, 0,
885 1.54 jdolecek sys_nosys }, /* 376 = unimplemented eaccess */
886 1.44 thorpej { 0, 0, 0,
887 1.54 jdolecek sys_nosys }, /* 377 = unimplemented afs_syscall */
888 1.44 thorpej { 0, 0, 0,
889 1.54 jdolecek sys_nosys }, /* 378 = unimplemented nmount */
890 1.44 thorpej { 0, 0, 0,
891 1.54 jdolecek sys_nosys }, /* 379 = unimplemented kse_exit */
892 1.44 thorpej { 0, 0, 0,
893 1.54 jdolecek sys_nosys }, /* 380 = unimplemented kse_wakeup */
894 1.44 thorpej { 0, 0, 0,
895 1.54 jdolecek sys_nosys }, /* 381 = unimplemented kse_create */
896 1.44 thorpej { 0, 0, 0,
897 1.54 jdolecek sys_nosys }, /* 382 = unimplemented kse_thr_interrupt */
898 1.44 thorpej { 0, 0, 0,
899 1.54 jdolecek sys_nosys }, /* 383 = unimplemented kse_release */
900 1.44 thorpej { 0, 0, 0,
901 1.54 jdolecek sys_nosys }, /* 384 = unimplemented __mac_get_proc */
902 1.44 thorpej { 0, 0, 0,
903 1.54 jdolecek sys_nosys }, /* 385 = unimplemented __mac_set_proc */
904 1.44 thorpej { 0, 0, 0,
905 1.54 jdolecek sys_nosys }, /* 386 = unimplemented __mac_get_fd */
906 1.44 thorpej { 0, 0, 0,
907 1.54 jdolecek sys_nosys }, /* 387 = unimplemented __mac_get_file */
908 1.44 thorpej { 0, 0, 0,
909 1.54 jdolecek sys_nosys }, /* 388 = unimplemented __mac_set_fd */
910 1.44 thorpej { 0, 0, 0,
911 1.54 jdolecek sys_nosys }, /* 389 = unimplemented __mac_set_file */
912 1.44 thorpej { 0, 0, 0,
913 1.54 jdolecek sys_nosys }, /* 390 = unimplemented kenv */
914 1.71 dsl { ns(struct sys_lchflags_args), 0,
915 1.71 dsl (sy_call_t *)sys_lchflags }, /* 391 = lchflags */
916 1.71 dsl { ns(struct sys_uuidgen_args), 0,
917 1.71 dsl (sy_call_t *)sys_uuidgen }, /* 392 = uuidgen */
918 1.44 thorpej { 0, 0, 0,
919 1.54 jdolecek sys_nosys }, /* 393 = unimplemented sendfile */
920 1.44 thorpej { 0, 0, 0,
921 1.54 jdolecek sys_nosys }, /* 394 = unimplemented mac_syscall */
922 1.44 thorpej { 0, 0, 0,
923 1.54 jdolecek sys_nosys }, /* 395 = unimplemented getfsstat */
924 1.44 thorpej { 0, 0, 0,
925 1.54 jdolecek sys_nosys }, /* 396 = unimplemented statfs */
926 1.44 thorpej { 0, 0, 0,
927 1.54 jdolecek sys_nosys }, /* 397 = unimplemented fsstatfs */
928 1.44 thorpej { 0, 0, 0,
929 1.54 jdolecek sys_nosys }, /* 398 = unimplemented fhstatfs */
930 1.44 thorpej { 0, 0, 0,
931 1.54 jdolecek sys_nosys }, /* 399 = unimplemented nosys */
932 1.54 jdolecek #if defined(P1003_1B_SEMAPHORE) || !defined(_KERNEL)
933 1.71 dsl { ns(struct sys__ksem_close_args), 0,
934 1.71 dsl (sy_call_t *)sys__ksem_close }, /* 400 = _ksem_close */
935 1.71 dsl { ns(struct sys__ksem_post_args), 0,
936 1.71 dsl (sy_call_t *)sys__ksem_post }, /* 401 = _ksem_post */
937 1.71 dsl { ns(struct sys__ksem_wait_args), 0,
938 1.71 dsl (sy_call_t *)sys__ksem_wait }, /* 402 = _ksem_wait */
939 1.71 dsl { ns(struct sys__ksem_trywait_args), 0,
940 1.71 dsl (sy_call_t *)sys__ksem_trywait }, /* 403 = _ksem_trywait */
941 1.44 thorpej { 0, 0, 0,
942 1.54 jdolecek sys_nosys }, /* 404 = unimplemented ksem_init */
943 1.44 thorpej { 0, 0, 0,
944 1.54 jdolecek sys_nosys }, /* 405 = unimplemented ksem_open */
945 1.71 dsl { ns(struct sys__ksem_unlink_args), 0,
946 1.71 dsl (sy_call_t *)sys__ksem_unlink }, /* 406 = _ksem_unlink */
947 1.71 dsl { ns(struct sys__ksem_getvalue_args), 0,
948 1.71 dsl (sy_call_t *)sys__ksem_getvalue }, /* 407 = _ksem_getvalue */
949 1.71 dsl { ns(struct sys__ksem_destroy_args), 0,
950 1.71 dsl (sy_call_t *)sys__ksem_destroy }, /* 408 = _ksem_destroy */
951 1.54 jdolecek #else
952 1.54 jdolecek { 0, 0, 0,
953 1.54 jdolecek sys_nosys }, /* 400 = excluded ksem_close */
954 1.44 thorpej { 0, 0, 0,
955 1.54 jdolecek sys_nosys }, /* 401 = excluded ksem_post */
956 1.44 thorpej { 0, 0, 0,
957 1.54 jdolecek sys_nosys }, /* 402 = excluded ksem_wait */
958 1.44 thorpej { 0, 0, 0,
959 1.54 jdolecek sys_nosys }, /* 403 = excluded ksem_trywait */
960 1.44 thorpej { 0, 0, 0,
961 1.54 jdolecek sys_nosys }, /* 404 = excluded ksem_init */
962 1.44 thorpej { 0, 0, 0,
963 1.54 jdolecek sys_nosys }, /* 405 = excluded ksem_open */
964 1.44 thorpej { 0, 0, 0,
965 1.54 jdolecek sys_nosys }, /* 406 = excluded ksem_unlink */
966 1.44 thorpej { 0, 0, 0,
967 1.54 jdolecek sys_nosys }, /* 407 = excluded ksem_getvalue */
968 1.44 thorpej { 0, 0, 0,
969 1.54 jdolecek sys_nosys }, /* 408 = excluded ksem_destroy */
970 1.54 jdolecek #endif
971 1.44 thorpej { 0, 0, 0,
972 1.54 jdolecek sys_nosys }, /* 409 = unimplemented __mac_get_pid */
973 1.44 thorpej { 0, 0, 0,
974 1.54 jdolecek sys_nosys }, /* 410 = unimplemented __mac_get_link */
975 1.44 thorpej { 0, 0, 0,
976 1.54 jdolecek sys_nosys }, /* 411 = unimplemented __mac_set_link */
977 1.44 thorpej { 0, 0, 0,
978 1.54 jdolecek sys_nosys }, /* 412 = unimplemented extattr_set_link */
979 1.44 thorpej { 0, 0, 0,
980 1.54 jdolecek sys_nosys }, /* 413 = unimplemented extattr_get_link */
981 1.44 thorpej { 0, 0, 0,
982 1.54 jdolecek sys_nosys }, /* 414 = unimplemented extattr_delete_link */
983 1.44 thorpej { 0, 0, 0,
984 1.54 jdolecek sys_nosys }, /* 415 = unimplemented __mac_execve */
985 1.44 thorpej { 0, 0, 0,
986 1.54 jdolecek sys_nosys }, /* 416 = unimplemented sigaction */
987 1.44 thorpej { 0, 0, 0,
988 1.54 jdolecek sys_nosys }, /* 417 = unimplemented sigreturn */
989 1.44 thorpej { 0, 0, 0,
990 1.54 jdolecek sys_nosys }, /* 418 = unimplemented __xstat */
991 1.44 thorpej { 0, 0, 0,
992 1.54 jdolecek sys_nosys }, /* 419 = unimplemented __xfstat */
993 1.44 thorpej { 0, 0, 0,
994 1.54 jdolecek sys_nosys }, /* 420 = unimplemented __xlstat */
995 1.44 thorpej { 0, 0, 0,
996 1.54 jdolecek sys_nosys }, /* 421 = unimplemented getcontext */
997 1.44 thorpej { 0, 0, 0,
998 1.54 jdolecek sys_nosys }, /* 422 = unimplemented setcontext */
999 1.44 thorpej { 0, 0, 0,
1000 1.54 jdolecek sys_nosys }, /* 423 = unimplemented swapcontext */
1001 1.44 thorpej { 0, 0, 0,
1002 1.54 jdolecek sys_nosys }, /* 424 = unimplemented swapoff */
1003 1.44 thorpej { 0, 0, 0,
1004 1.54 jdolecek sys_nosys }, /* 425 = unimplemented __acl_get_link */
1005 1.44 thorpej { 0, 0, 0,
1006 1.54 jdolecek sys_nosys }, /* 426 = unimplemented __acl_set_link */
1007 1.44 thorpej { 0, 0, 0,
1008 1.54 jdolecek sys_nosys }, /* 427 = unimplemented __acl_delete_link */
1009 1.44 thorpej { 0, 0, 0,
1010 1.54 jdolecek sys_nosys }, /* 428 = unimplemented __acl_aclcheck_link */
1011 1.44 thorpej { 0, 0, 0,
1012 1.54 jdolecek sys_nosys }, /* 429 = unimplemented sigwait */
1013 1.44 thorpej { 0, 0, 0,
1014 1.54 jdolecek sys_nosys }, /* 430 = unimplemented thr_create */
1015 1.44 thorpej { 0, 0, 0,
1016 1.54 jdolecek sys_nosys }, /* 431 = unimplemented thr_exit */
1017 1.44 thorpej { 0, 0, 0,
1018 1.54 jdolecek sys_nosys }, /* 432 = unimplemented thr_self */
1019 1.44 thorpej { 0, 0, 0,
1020 1.54 jdolecek sys_nosys }, /* 433 = unimplemented thr_kill */
1021 1.44 thorpej { 0, 0, 0,
1022 1.54 jdolecek sys_nosys }, /* 434 = unimplemented _umtx_lock */
1023 1.44 thorpej { 0, 0, 0,
1024 1.54 jdolecek sys_nosys }, /* 435 = unimplemented _umtx_unlock */
1025 1.44 thorpej { 0, 0, 0,
1026 1.54 jdolecek sys_nosys }, /* 436 = unimplemented jail_attach */
1027 1.44 thorpej { 0, 0, 0,
1028 1.54 jdolecek sys_nosys }, /* 437 = unimplemented extattr_list_fd */
1029 1.44 thorpej { 0, 0, 0,
1030 1.54 jdolecek sys_nosys }, /* 438 = unimplemented extattr_list_file */
1031 1.44 thorpej { 0, 0, 0,
1032 1.54 jdolecek sys_nosys }, /* 439 = unimplemented extattr_list_link */
1033 1.44 thorpej { 0, 0, 0,
1034 1.41 mycroft sys_nosys }, /* 440 = filler */
1035 1.44 thorpej { 0, 0, 0,
1036 1.41 mycroft sys_nosys }, /* 441 = filler */
1037 1.44 thorpej { 0, 0, 0,
1038 1.41 mycroft sys_nosys }, /* 442 = filler */
1039 1.44 thorpej { 0, 0, 0,
1040 1.41 mycroft sys_nosys }, /* 443 = filler */
1041 1.44 thorpej { 0, 0, 0,
1042 1.41 mycroft sys_nosys }, /* 444 = filler */
1043 1.44 thorpej { 0, 0, 0,
1044 1.41 mycroft sys_nosys }, /* 445 = filler */
1045 1.44 thorpej { 0, 0, 0,
1046 1.41 mycroft sys_nosys }, /* 446 = filler */
1047 1.44 thorpej { 0, 0, 0,
1048 1.41 mycroft sys_nosys }, /* 447 = filler */
1049 1.44 thorpej { 0, 0, 0,
1050 1.41 mycroft sys_nosys }, /* 448 = filler */
1051 1.44 thorpej { 0, 0, 0,
1052 1.41 mycroft sys_nosys }, /* 449 = filler */
1053 1.44 thorpej { 0, 0, 0,
1054 1.41 mycroft sys_nosys }, /* 450 = filler */
1055 1.44 thorpej { 0, 0, 0,
1056 1.41 mycroft sys_nosys }, /* 451 = filler */
1057 1.44 thorpej { 0, 0, 0,
1058 1.41 mycroft sys_nosys }, /* 452 = filler */
1059 1.44 thorpej { 0, 0, 0,
1060 1.41 mycroft sys_nosys }, /* 453 = filler */
1061 1.44 thorpej { 0, 0, 0,
1062 1.41 mycroft sys_nosys }, /* 454 = filler */
1063 1.44 thorpej { 0, 0, 0,
1064 1.41 mycroft sys_nosys }, /* 455 = filler */
1065 1.44 thorpej { 0, 0, 0,
1066 1.41 mycroft sys_nosys }, /* 456 = filler */
1067 1.44 thorpej { 0, 0, 0,
1068 1.41 mycroft sys_nosys }, /* 457 = filler */
1069 1.44 thorpej { 0, 0, 0,
1070 1.41 mycroft sys_nosys }, /* 458 = filler */
1071 1.44 thorpej { 0, 0, 0,
1072 1.41 mycroft sys_nosys }, /* 459 = filler */
1073 1.44 thorpej { 0, 0, 0,
1074 1.41 mycroft sys_nosys }, /* 460 = filler */
1075 1.44 thorpej { 0, 0, 0,
1076 1.41 mycroft sys_nosys }, /* 461 = filler */
1077 1.44 thorpej { 0, 0, 0,
1078 1.41 mycroft sys_nosys }, /* 462 = filler */
1079 1.44 thorpej { 0, 0, 0,
1080 1.41 mycroft sys_nosys }, /* 463 = filler */
1081 1.44 thorpej { 0, 0, 0,
1082 1.41 mycroft sys_nosys }, /* 464 = filler */
1083 1.44 thorpej { 0, 0, 0,
1084 1.41 mycroft sys_nosys }, /* 465 = filler */
1085 1.44 thorpej { 0, 0, 0,
1086 1.41 mycroft sys_nosys }, /* 466 = filler */
1087 1.44 thorpej { 0, 0, 0,
1088 1.41 mycroft sys_nosys }, /* 467 = filler */
1089 1.44 thorpej { 0, 0, 0,
1090 1.41 mycroft sys_nosys }, /* 468 = filler */
1091 1.44 thorpej { 0, 0, 0,
1092 1.41 mycroft sys_nosys }, /* 469 = filler */
1093 1.44 thorpej { 0, 0, 0,
1094 1.41 mycroft sys_nosys }, /* 470 = filler */
1095 1.44 thorpej { 0, 0, 0,
1096 1.41 mycroft sys_nosys }, /* 471 = filler */
1097 1.44 thorpej { 0, 0, 0,
1098 1.41 mycroft sys_nosys }, /* 472 = filler */
1099 1.44 thorpej { 0, 0, 0,
1100 1.41 mycroft sys_nosys }, /* 473 = filler */
1101 1.44 thorpej { 0, 0, 0,
1102 1.41 mycroft sys_nosys }, /* 474 = filler */
1103 1.44 thorpej { 0, 0, 0,
1104 1.41 mycroft sys_nosys }, /* 475 = filler */
1105 1.44 thorpej { 0, 0, 0,
1106 1.41 mycroft sys_nosys }, /* 476 = filler */
1107 1.44 thorpej { 0, 0, 0,
1108 1.41 mycroft sys_nosys }, /* 477 = filler */
1109 1.44 thorpej { 0, 0, 0,
1110 1.41 mycroft sys_nosys }, /* 478 = filler */
1111 1.44 thorpej { 0, 0, 0,
1112 1.41 mycroft sys_nosys }, /* 479 = filler */
1113 1.44 thorpej { 0, 0, 0,
1114 1.41 mycroft sys_nosys }, /* 480 = filler */
1115 1.44 thorpej { 0, 0, 0,
1116 1.41 mycroft sys_nosys }, /* 481 = filler */
1117 1.44 thorpej { 0, 0, 0,
1118 1.41 mycroft sys_nosys }, /* 482 = filler */
1119 1.44 thorpej { 0, 0, 0,
1120 1.41 mycroft sys_nosys }, /* 483 = filler */
1121 1.44 thorpej { 0, 0, 0,
1122 1.41 mycroft sys_nosys }, /* 484 = filler */
1123 1.44 thorpej { 0, 0, 0,
1124 1.41 mycroft sys_nosys }, /* 485 = filler */
1125 1.44 thorpej { 0, 0, 0,
1126 1.41 mycroft sys_nosys }, /* 486 = filler */
1127 1.44 thorpej { 0, 0, 0,
1128 1.41 mycroft sys_nosys }, /* 487 = filler */
1129 1.44 thorpej { 0, 0, 0,
1130 1.41 mycroft sys_nosys }, /* 488 = filler */
1131 1.44 thorpej { 0, 0, 0,
1132 1.41 mycroft sys_nosys }, /* 489 = filler */
1133 1.44 thorpej { 0, 0, 0,
1134 1.41 mycroft sys_nosys }, /* 490 = filler */
1135 1.44 thorpej { 0, 0, 0,
1136 1.41 mycroft sys_nosys }, /* 491 = filler */
1137 1.44 thorpej { 0, 0, 0,
1138 1.41 mycroft sys_nosys }, /* 492 = filler */
1139 1.44 thorpej { 0, 0, 0,
1140 1.41 mycroft sys_nosys }, /* 493 = filler */
1141 1.44 thorpej { 0, 0, 0,
1142 1.41 mycroft sys_nosys }, /* 494 = filler */
1143 1.44 thorpej { 0, 0, 0,
1144 1.41 mycroft sys_nosys }, /* 495 = filler */
1145 1.44 thorpej { 0, 0, 0,
1146 1.41 mycroft sys_nosys }, /* 496 = filler */
1147 1.44 thorpej { 0, 0, 0,
1148 1.41 mycroft sys_nosys }, /* 497 = filler */
1149 1.44 thorpej { 0, 0, 0,
1150 1.41 mycroft sys_nosys }, /* 498 = filler */
1151 1.44 thorpej { 0, 0, 0,
1152 1.41 mycroft sys_nosys }, /* 499 = filler */
1153 1.44 thorpej { 0, 0, 0,
1154 1.41 mycroft sys_nosys }, /* 500 = filler */
1155 1.44 thorpej { 0, 0, 0,
1156 1.41 mycroft sys_nosys }, /* 501 = filler */
1157 1.44 thorpej { 0, 0, 0,
1158 1.41 mycroft sys_nosys }, /* 502 = filler */
1159 1.44 thorpej { 0, 0, 0,
1160 1.41 mycroft sys_nosys }, /* 503 = filler */
1161 1.44 thorpej { 0, 0, 0,
1162 1.41 mycroft sys_nosys }, /* 504 = filler */
1163 1.44 thorpej { 0, 0, 0,
1164 1.41 mycroft sys_nosys }, /* 505 = filler */
1165 1.44 thorpej { 0, 0, 0,
1166 1.41 mycroft sys_nosys }, /* 506 = filler */
1167 1.44 thorpej { 0, 0, 0,
1168 1.41 mycroft sys_nosys }, /* 507 = filler */
1169 1.44 thorpej { 0, 0, 0,
1170 1.41 mycroft sys_nosys }, /* 508 = filler */
1171 1.44 thorpej { 0, 0, 0,
1172 1.41 mycroft sys_nosys }, /* 509 = filler */
1173 1.44 thorpej { 0, 0, 0,
1174 1.41 mycroft sys_nosys }, /* 510 = filler */
1175 1.44 thorpej { 0, 0, 0,
1176 1.41 mycroft sys_nosys }, /* 511 = filler */
1177 1.1 mycroft };
1178 1.1 mycroft
1179