Sync usage with man page.
[netbsd-mini2440.git] / sys / compat / svr4_32 / svr4_32_sysent.c
blobac699f88be108006e6c58542c068b8c15e4ac117
1 /* $NetBSD$ */
3 /*
4 * System call switch table.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.19 2009/01/13 22:27:44 pooka Exp
8 */
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD$");
13 #if defined(_KERNEL_OPT)
14 #include "opt_ntp.h"
15 #include "opt_sysv.h"
16 #endif
17 #include <sys/param.h>
18 #include <sys/systm.h>
19 #include <sys/signal.h>
20 #include <sys/mount.h>
21 #include <sys/poll.h>
22 #include <sys/syscallargs.h>
23 #include <compat/svr4_32/svr4_32_types.h>
24 #include <compat/netbsd32/netbsd32_syscallargs.h>
25 #include <compat/svr4_32/svr4_32_time.h>
26 #include <compat/svr4_32/svr4_32_signal.h>
27 #include <compat/svr4_32/svr4_32_ucontext.h>
28 #include <compat/svr4_32/svr4_32_lwp.h>
29 #include <compat/svr4_32/svr4_32_syscallargs.h>
30 #include <compat/svr4_32/svr4_32_statvfs.h>
31 #include <compat/svr4_32/svr4_32_resource.h>
32 #include <compat/svr4_32/svr4_32_acl.h>
33 #include <compat/svr4_32/svr4_32_schedctl.h>
35 #define s(type) sizeof(type)
36 #define n(type) (sizeof(type)/sizeof (register32_t))
37 #define ns(type) n(type), s(type)
39 struct sysent svr4_32_sysent[] = {
40 { 0, 0, 0,
41 (sy_call_t *)sys_nosys }, /* 0 = syscall */
42 { ns(struct netbsd32_exit_args), 0,
43 (sy_call_t *)netbsd32_exit }, /* 1 = netbsd32_exit */
44 { 0, 0, 0,
45 (sy_call_t *)sys_fork }, /* 2 = fork */
46 { ns(struct netbsd32_read_args), 0,
47 (sy_call_t *)netbsd32_read }, /* 3 = netbsd32_read */
48 { ns(struct netbsd32_write_args), 0,
49 (sy_call_t *)netbsd32_write }, /* 4 = netbsd32_write */
50 { ns(struct svr4_32_sys_open_args), 0,
51 (sy_call_t *)svr4_32_sys_open }, /* 5 = open */
52 { ns(struct netbsd32_close_args), 0,
53 (sy_call_t *)netbsd32_close }, /* 6 = netbsd32_close */
54 { ns(struct svr4_32_sys_wait_args), 0,
55 (sy_call_t *)svr4_32_sys_wait }, /* 7 = wait */
56 { ns(struct svr4_32_sys_creat_args), 0,
57 (sy_call_t *)svr4_32_sys_creat }, /* 8 = creat */
58 { ns(struct netbsd32_link_args), 0,
59 (sy_call_t *)netbsd32_link }, /* 9 = netbsd32_link */
60 { ns(struct netbsd32_unlink_args), 0,
61 (sy_call_t *)netbsd32_unlink }, /* 10 = netbsd32_unlink */
62 { ns(struct svr4_32_sys_execv_args), 0,
63 (sy_call_t *)svr4_32_sys_execv }, /* 11 = execv */
64 { ns(struct netbsd32_chdir_args), 0,
65 (sy_call_t *)netbsd32_chdir }, /* 12 = netbsd32_chdir */
66 { ns(struct svr4_32_sys_time_args), 0,
67 (sy_call_t *)svr4_32_sys_time }, /* 13 = time */
68 { ns(struct svr4_32_sys_mknod_args), 0,
69 (sy_call_t *)svr4_32_sys_mknod }, /* 14 = mknod */
70 { ns(struct netbsd32_chmod_args), 0,
71 (sy_call_t *)netbsd32_chmod }, /* 15 = netbsd32_chmod */
72 { ns(struct netbsd32___posix_chown_args), 0,
73 (sy_call_t *)netbsd32___posix_chown },/* 16 = chown */
74 { ns(struct svr4_32_sys_break_args), 0,
75 (sy_call_t *)svr4_32_sys_break }, /* 17 = break */
76 { ns(struct svr4_32_sys_stat_args), 0,
77 (sy_call_t *)svr4_32_sys_stat }, /* 18 = stat */
78 { ns(struct compat_43_netbsd32_olseek_args), 0,
79 (sy_call_t *)compat_43_netbsd32_olseek },/* 19 = compat_43_netbsd32_olseek */
80 { 0, 0, 0,
81 (sy_call_t *)sys_getpid }, /* 20 = getpid */
82 { 0, 0, 0,
83 sys_nosys }, /* 21 = unimplemented old_mount */
84 { 0, 0, 0,
85 sys_nosys }, /* 22 = unimplemented System V umount */
86 { ns(struct netbsd32_setuid_args), 0,
87 (sy_call_t *)netbsd32_setuid }, /* 23 = netbsd32_setuid */
88 { 0, 0, 0,
89 (sy_call_t *)sys_getuid_with_euid },/* 24 = getuid_with_euid */
90 { 0, 0, 0,
91 sys_nosys }, /* 25 = unimplemented stime */
92 { 0, 0, 0,
93 sys_nosys }, /* 26 = unimplemented pcsample */
94 { ns(struct svr4_32_sys_alarm_args), 0,
95 (sy_call_t *)svr4_32_sys_alarm }, /* 27 = alarm */
96 { ns(struct svr4_32_sys_fstat_args), 0,
97 (sy_call_t *)svr4_32_sys_fstat }, /* 28 = fstat */
98 { 0, 0, 0,
99 (sy_call_t *)svr4_32_sys_pause }, /* 29 = pause */
100 { ns(struct svr4_32_sys_utime_args), 0,
101 (sy_call_t *)svr4_32_sys_utime }, /* 30 = utime */
102 { 0, 0, 0,
103 sys_nosys }, /* 31 = unimplemented was stty */
104 { 0, 0, 0,
105 sys_nosys }, /* 32 = unimplemented was gtty */
106 { ns(struct svr4_32_sys_access_args), 0,
107 (sy_call_t *)svr4_32_sys_access }, /* 33 = access */
108 { ns(struct svr4_32_sys_nice_args), 0,
109 (sy_call_t *)svr4_32_sys_nice }, /* 34 = nice */
110 { 0, 0, 0,
111 sys_nosys }, /* 35 = unimplemented statfs */
112 { 0, 0, 0,
113 (sy_call_t *)sys_sync }, /* 36 = sync */
114 { ns(struct svr4_32_sys_kill_args), 0,
115 (sy_call_t *)svr4_32_sys_kill }, /* 37 = kill */
116 { 0, 0, 0,
117 sys_nosys }, /* 38 = unimplemented fstatfs */
118 { ns(struct svr4_32_sys_pgrpsys_args), 0,
119 (sy_call_t *)svr4_32_sys_pgrpsys }, /* 39 = pgrpsys */
120 { 0, 0, 0,
121 sys_nosys }, /* 40 = unimplemented xenix */
122 { ns(struct netbsd32_dup_args), 0,
123 (sy_call_t *)netbsd32_dup }, /* 41 = netbsd32_dup */
124 { 0, 0, 0,
125 (sy_call_t *)sys_pipe }, /* 42 = pipe */
126 { ns(struct svr4_32_sys_times_args), 0,
127 (sy_call_t *)svr4_32_sys_times }, /* 43 = times */
128 { 0, 0, 0,
129 sys_nosys }, /* 44 = unimplemented profil */
130 { 0, 0, 0,
131 sys_nosys }, /* 45 = unimplemented plock */
132 { ns(struct netbsd32_setgid_args), 0,
133 (sy_call_t *)netbsd32_setgid }, /* 46 = netbsd32_setgid */
134 { 0, 0, 0,
135 (sy_call_t *)sys_getgid_with_egid },/* 47 = getgid_with_egid */
136 { ns(struct svr4_32_sys_signal_args), 0,
137 (sy_call_t *)svr4_32_sys_signal }, /* 48 = signal */
138 #ifdef SYSVMSG
139 { ns(struct svr4_32_sys_msgsys_args), 0,
140 (sy_call_t *)svr4_32_sys_msgsys }, /* 49 = msgsys */
141 #else
142 { 0, 0, 0,
143 sys_nosys }, /* 49 = unimplemented msgsys */
144 #endif
145 { ns(struct svr4_32_sys_sysarch_args), 0,
146 (sy_call_t *)svr4_32_sys_sysarch }, /* 50 = sysarch */
147 { 0, 0, 0,
148 sys_nosys }, /* 51 = unimplemented acct */
149 #ifdef SYSVSHM
150 { ns(struct svr4_32_sys_shmsys_args), 0,
151 (sy_call_t *)svr4_32_sys_shmsys }, /* 52 = shmsys */
152 #else
153 { 0, 0, 0,
154 sys_nosys }, /* 52 = unimplemented shmsys */
155 #endif
156 #ifdef SYSVSEM
157 { ns(struct svr4_32_sys_semsys_args), 0,
158 (sy_call_t *)svr4_32_sys_semsys }, /* 53 = semsys */
159 #else
160 { 0, 0, 0,
161 sys_nosys }, /* 53 = unimplemented semsys */
162 #endif
163 { ns(struct svr4_32_sys_ioctl_args), 0,
164 (sy_call_t *)svr4_32_sys_ioctl }, /* 54 = ioctl */
165 { 0, 0, 0,
166 sys_nosys }, /* 55 = unimplemented uadmin */
167 { 0, 0, 0,
168 sys_nosys }, /* 56 = unimplemented exch */
169 { ns(struct svr4_32_sys_utssys_args), 0,
170 (sy_call_t *)svr4_32_sys_utssys }, /* 57 = utssys */
171 { ns(struct netbsd32_fsync_args), 0,
172 (sy_call_t *)netbsd32_fsync }, /* 58 = netbsd32_fsync */
173 { ns(struct netbsd32_execve_args), 0,
174 (sy_call_t *)netbsd32_execve }, /* 59 = netbsd32_execve */
175 { ns(struct netbsd32_umask_args), 0,
176 (sy_call_t *)netbsd32_umask }, /* 60 = netbsd32_umask */
177 { ns(struct netbsd32_chroot_args), 0,
178 (sy_call_t *)netbsd32_chroot }, /* 61 = netbsd32_chroot */
179 { ns(struct svr4_32_sys_fcntl_args), 0,
180 (sy_call_t *)svr4_32_sys_fcntl }, /* 62 = fcntl */
181 { ns(struct svr4_32_sys_ulimit_args), 0,
182 (sy_call_t *)svr4_32_sys_ulimit }, /* 63 = ulimit */
183 { 0, 0, 0,
184 sys_nosys }, /* 64 = unimplemented reserved for unix/pc */
185 { 0, 0, 0,
186 sys_nosys }, /* 65 = unimplemented reserved for unix/pc */
187 { 0, 0, 0,
188 sys_nosys }, /* 66 = unimplemented reserved for unix/pc */
189 { 0, 0, 0,
190 sys_nosys }, /* 67 = unimplemented reserved for unix/pc */
191 { 0, 0, 0,
192 sys_nosys }, /* 68 = unimplemented reserved for unix/pc */
193 { 0, 0, 0,
194 sys_nosys }, /* 69 = unimplemented reserved for unix/pc */
195 { 0, 0, 0,
196 sys_nosys }, /* 70 = obsolete advfs */
197 { 0, 0, 0,
198 sys_nosys }, /* 71 = obsolete unadvfs */
199 { 0, 0, 0,
200 sys_nosys }, /* 72 = obsolete rmount */
201 { 0, 0, 0,
202 sys_nosys }, /* 73 = obsolete rumount */
203 { 0, 0, 0,
204 sys_nosys }, /* 74 = obsolete rfstart */
205 { 0, 0, 0,
206 sys_nosys }, /* 75 = obsolete sigret */
207 { 0, 0, 0,
208 sys_nosys }, /* 76 = obsolete rdebug */
209 { 0, 0, 0,
210 sys_nosys }, /* 77 = obsolete rfstop */
211 { 0, 0, 0,
212 sys_nosys }, /* 78 = unimplemented rfsys */
213 { ns(struct netbsd32_rmdir_args), 0,
214 (sy_call_t *)netbsd32_rmdir }, /* 79 = netbsd32_rmdir */
215 { ns(struct netbsd32_mkdir_args), 0,
216 (sy_call_t *)netbsd32_mkdir }, /* 80 = netbsd32_mkdir */
217 { ns(struct svr4_32_sys_getdents_args), 0,
218 (sy_call_t *)svr4_32_sys_getdents },/* 81 = getdents */
219 { 0, 0, 0,
220 sys_nosys }, /* 82 = obsolete libattach */
221 { 0, 0, 0,
222 sys_nosys }, /* 83 = obsolete libdetach */
223 { 0, 0, 0,
224 sys_nosys }, /* 84 = unimplemented sysfs */
225 { ns(struct svr4_32_sys_getmsg_args), 0,
226 (sy_call_t *)svr4_32_sys_getmsg }, /* 85 = getmsg */
227 { ns(struct svr4_32_sys_putmsg_args), 0,
228 (sy_call_t *)svr4_32_sys_putmsg }, /* 86 = putmsg */
229 { ns(struct netbsd32_poll_args), 0,
230 (sy_call_t *)netbsd32_poll }, /* 87 = netbsd32_poll */
231 { ns(struct svr4_32_sys_lstat_args), 0,
232 (sy_call_t *)svr4_32_sys_lstat }, /* 88 = lstat */
233 { ns(struct netbsd32_symlink_args), 0,
234 (sy_call_t *)netbsd32_symlink }, /* 89 = netbsd32_symlink */
235 { ns(struct netbsd32_readlink_args), 0,
236 (sy_call_t *)netbsd32_readlink }, /* 90 = netbsd32_readlink */
237 { ns(struct netbsd32_getgroups_args), 0,
238 (sy_call_t *)netbsd32_getgroups }, /* 91 = netbsd32_getgroups */
239 { ns(struct netbsd32_setgroups_args), 0,
240 (sy_call_t *)netbsd32_setgroups }, /* 92 = netbsd32_setgroups */
241 { ns(struct netbsd32_fchmod_args), 0,
242 (sy_call_t *)netbsd32_fchmod }, /* 93 = netbsd32_fchmod */
243 { ns(struct netbsd32___posix_fchown_args), 0,
244 (sy_call_t *)netbsd32___posix_fchown },/* 94 = fchown */
245 { ns(struct svr4_32_sys_sigprocmask_args), 0,
246 (sy_call_t *)svr4_32_sys_sigprocmask },/* 95 = sigprocmask */
247 { ns(struct svr4_32_sys_sigsuspend_args), 0,
248 (sy_call_t *)svr4_32_sys_sigsuspend },/* 96 = sigsuspend */
249 { ns(struct svr4_32_sys_sigaltstack_args), 0,
250 (sy_call_t *)svr4_32_sys_sigaltstack },/* 97 = sigaltstack */
251 { ns(struct svr4_32_sys_sigaction_args), 0,
252 (sy_call_t *)svr4_32_sys_sigaction },/* 98 = sigaction */
253 { ns(struct svr4_32_sys_sigpending_args), 0,
254 (sy_call_t *)svr4_32_sys_sigpending },/* 99 = sigpending */
255 { ns(struct svr4_32_sys_context_args), 0,
256 (sy_call_t *)svr4_32_sys_context }, /* 100 = context */
257 { 0, 0, 0,
258 sys_nosys }, /* 101 = unimplemented evsys */
259 { 0, 0, 0,
260 sys_nosys }, /* 102 = unimplemented evtrapret */
261 { ns(struct svr4_32_sys_statvfs_args), 0,
262 (sy_call_t *)svr4_32_sys_statvfs }, /* 103 = statvfs */
263 { ns(struct svr4_32_sys_fstatvfs_args), 0,
264 (sy_call_t *)svr4_32_sys_fstatvfs },/* 104 = fstatvfs */
265 { 0, 0, 0,
266 sys_nosys }, /* 105 = unimplemented getloadavg */
267 { 0, 0, 0,
268 sys_nosys }, /* 106 = unimplemented nfssvc */
269 { ns(struct svr4_32_sys_waitsys_args), 0,
270 (sy_call_t *)svr4_32_sys_waitsys }, /* 107 = waitsys */
271 { 0, 0, 0,
272 sys_nosys }, /* 108 = unimplemented sigsendsys */
273 { ns(struct svr4_32_sys_hrtsys_args), 0,
274 (sy_call_t *)svr4_32_sys_hrtsys }, /* 109 = hrtsys */
275 { 0, 0, 0,
276 sys_nosys }, /* 110 = unimplemented acancel */
277 { 0, 0, 0,
278 sys_nosys }, /* 111 = unimplemented async */
279 { 0, 0, 0,
280 sys_nosys }, /* 112 = unimplemented priocntlsys */
281 { ns(struct svr4_32_sys_pathconf_args), 0,
282 (sy_call_t *)svr4_32_sys_pathconf },/* 113 = pathconf */
283 { 0, 0, 0,
284 sys_nosys }, /* 114 = unimplemented mincore */
285 { ns(struct svr4_32_sys_mmap_args), 0,
286 (sy_call_t *)svr4_32_sys_mmap }, /* 115 = mmap */
287 { ns(struct netbsd32_mprotect_args), 0,
288 (sy_call_t *)netbsd32_mprotect }, /* 116 = netbsd32_mprotect */
289 { ns(struct netbsd32_munmap_args), 0,
290 (sy_call_t *)netbsd32_munmap }, /* 117 = netbsd32_munmap */
291 { ns(struct svr4_32_sys_fpathconf_args), 0,
292 (sy_call_t *)svr4_32_sys_fpathconf },/* 118 = fpathconf */
293 { 0, 0, 0,
294 (sy_call_t *)sys_vfork }, /* 119 = vfork */
295 { ns(struct netbsd32_fchdir_args), 0,
296 (sy_call_t *)netbsd32_fchdir }, /* 120 = netbsd32_fchdir */
297 { ns(struct netbsd32_readv_args), 0,
298 (sy_call_t *)netbsd32_readv }, /* 121 = netbsd32_readv */
299 { ns(struct netbsd32_writev_args), 0,
300 (sy_call_t *)netbsd32_writev }, /* 122 = netbsd32_writev */
301 { ns(struct svr4_32_sys_xstat_args), 0,
302 (sy_call_t *)svr4_32_sys_xstat }, /* 123 = xstat */
303 { ns(struct svr4_32_sys_lxstat_args), 0,
304 (sy_call_t *)svr4_32_sys_lxstat }, /* 124 = lxstat */
305 { ns(struct svr4_32_sys_fxstat_args), 0,
306 (sy_call_t *)svr4_32_sys_fxstat }, /* 125 = fxstat */
307 { ns(struct svr4_32_sys_xmknod_args), 0,
308 (sy_call_t *)svr4_32_sys_xmknod }, /* 126 = xmknod */
309 { 0, 0, 0,
310 sys_nosys }, /* 127 = unimplemented clocal */
311 { ns(struct svr4_32_sys_setrlimit_args), 0,
312 (sy_call_t *)svr4_32_sys_setrlimit },/* 128 = setrlimit */
313 { ns(struct svr4_32_sys_getrlimit_args), 0,
314 (sy_call_t *)svr4_32_sys_getrlimit },/* 129 = getrlimit */
315 { ns(struct netbsd32_lchown_args), 0,
316 (sy_call_t *)netbsd32_lchown }, /* 130 = lchown */
317 { ns(struct svr4_32_sys_memcntl_args), 0,
318 (sy_call_t *)svr4_32_sys_memcntl }, /* 131 = memcntl */
319 { 0, 0, 0,
320 sys_nosys }, /* 132 = unimplemented getpmsg */
321 { 0, 0, 0,
322 sys_nosys }, /* 133 = unimplemented putpmsg */
323 { ns(struct netbsd32___posix_rename_args), 0,
324 (sy_call_t *)netbsd32___posix_rename },/* 134 = rename */
325 { ns(struct svr4_32_sys_uname_args), 0,
326 (sy_call_t *)svr4_32_sys_uname }, /* 135 = uname */
327 { ns(struct netbsd32_setegid_args), 0,
328 (sy_call_t *)netbsd32_setegid }, /* 136 = netbsd32_setegid */
329 { ns(struct svr4_32_sys_sysconfig_args), 0,
330 (sy_call_t *)svr4_32_sys_sysconfig },/* 137 = sysconfig */
331 { ns(struct compat_50_netbsd32_adjtime_args), 0,
332 (sy_call_t *)compat_50_netbsd32_adjtime },/* 138 = compat_50_netbsd32_adjtime */
333 { ns(struct svr4_32_sys_systeminfo_args), 0,
334 (sy_call_t *)svr4_32_sys_systeminfo },/* 139 = systeminfo */
335 { 0, 0, 0,
336 sys_nosys }, /* 140 = unimplemented */
337 { ns(struct netbsd32_seteuid_args), 0,
338 (sy_call_t *)netbsd32_seteuid }, /* 141 = netbsd32_seteuid */
339 { 0, 0, 0,
340 sys_nosys }, /* 142 = unimplemented vtrace */
341 { 0, 0, 0,
342 (sy_call_t *)sys_fork }, /* 143 = fork1 */
343 { 0, 0, 0,
344 sys_nosys }, /* 144 = unimplemented sigtimedwait */
345 { ns(struct svr4_32_sys__lwp_info_args), 0,
346 (sy_call_t *)svr4_32_sys__lwp_info },/* 145 = _lwp_info */
347 { 0, 0, 0,
348 sys_nosys }, /* 146 = unimplemented yield */
349 { 0, 0, 0,
350 sys_nosys }, /* 147 = unimplemented lwp_sema_wait */
351 { 0, 0, 0,
352 sys_nosys }, /* 148 = unimplemented lwp_sema_post */
353 { 0, 0, 0,
354 sys_nosys }, /* 149 = unimplemented lwp_sema_trywait */
355 { 0, 0, 0,
356 sys_nosys }, /* 150 = unimplemented */
357 { 0, 0, 0,
358 sys_nosys }, /* 151 = unimplemented corectl */
359 { 0, 0, 0,
360 sys_nosys }, /* 152 = unimplemented modctl */
361 { ns(struct netbsd32_fchroot_args), 0,
362 (sy_call_t *)netbsd32_fchroot }, /* 153 = netbsd32_fchroot */
363 { ns(struct svr4_32_sys_utimes_args), 0,
364 (sy_call_t *)svr4_32_sys_utimes }, /* 154 = utimes */
365 { 0, 0, 0,
366 (sy_call_t *)svr4_32_sys_vhangup }, /* 155 = vhangup */
367 { ns(struct svr4_32_sys_gettimeofday_args), 0,
368 (sy_call_t *)svr4_32_sys_gettimeofday },/* 156 = gettimeofday */
369 { ns(struct compat_50_netbsd32_getitimer_args), 0,
370 (sy_call_t *)compat_50_netbsd32_getitimer },/* 157 = compat_50_netbsd32_getitimer */
371 { ns(struct compat_50_netbsd32_setitimer_args), 0,
372 (sy_call_t *)compat_50_netbsd32_setitimer },/* 158 = compat_50_netbsd32_setitimer */
373 { ns(struct svr4_32_sys__lwp_create_args), 0,
374 (sy_call_t *)svr4_32_sys__lwp_create },/* 159 = _lwp_create */
375 { 0, 0, 0,
376 (sy_call_t *)svr4_32_sys__lwp_exit },/* 160 = _lwp_exit */
377 { ns(struct svr4_32_sys__lwp_suspend_args), 0,
378 (sy_call_t *)svr4_32_sys__lwp_suspend },/* 161 = _lwp_suspend */
379 { ns(struct svr4_32_sys__lwp_continue_args), 0,
380 (sy_call_t *)svr4_32_sys__lwp_continue },/* 162 = _lwp_continue */
381 { ns(struct svr4_32_sys__lwp_kill_args), 0,
382 (sy_call_t *)svr4_32_sys__lwp_kill },/* 163 = _lwp_kill */
383 { 0, 0, 0,
384 (sy_call_t *)svr4_sys__lwp_self }, /* 164 = _lwp_self */
385 { 0, 0, 0,
386 (sy_call_t *)svr4_32_sys__lwp_getprivate },/* 165 = _lwp_getprivate */
387 { ns(struct svr4_32_sys__lwp_setprivate_args), 0,
388 (sy_call_t *)svr4_32_sys__lwp_setprivate },/* 166 = _lwp_setprivate */
389 { ns(struct svr4_32_sys__lwp_wait_args), 0,
390 (sy_call_t *)svr4_32_sys__lwp_wait },/* 167 = _lwp_wait */
391 { 0, 0, 0,
392 sys_nosys }, /* 168 = unimplemented lwp_mutex_wakeup */
393 { 0, 0, 0,
394 sys_nosys }, /* 169 = unimplemented lwp_mutex_lock */
395 { 0, 0, 0,
396 sys_nosys }, /* 170 = unimplemented lwp_cond_wait */
397 { 0, 0, 0,
398 sys_nosys }, /* 171 = unimplemented lwp_cond_signal */
399 { 0, 0, 0,
400 sys_nosys }, /* 172 = unimplemented lwp_cond_broadcast */
401 { ns(struct svr4_32_sys_pread_args), 0,
402 (sy_call_t *)svr4_32_sys_pread }, /* 173 = pread */
403 { ns(struct svr4_32_sys_pwrite_args), 0,
404 (sy_call_t *)svr4_32_sys_pwrite }, /* 174 = pwrite */
405 { ns(struct svr4_32_sys_llseek_args), 0,
406 (sy_call_t *)svr4_32_sys_llseek }, /* 175 = llseek */
407 { 0, 0, 0,
408 sys_nosys }, /* 176 = unimplemented inst_sync */
409 { 0, 0, 0,
410 sys_nosys }, /* 177 = unimplemented srmlimitsys */
411 { 0, 0, 0,
412 sys_nosys }, /* 178 = unimplemented kaio */
413 { 0, 0, 0,
414 sys_nosys }, /* 179 = unimplemented cpc */
415 { 0, 0, 0,
416 sys_nosys }, /* 180 = unimplemented */
417 { 0, 0, 0,
418 sys_nosys }, /* 181 = unimplemented */
419 { 0, 0, 0,
420 sys_nosys }, /* 182 = unimplemented */
421 { 0, 0, 0,
422 sys_nosys }, /* 183 = unimplemented */
423 { 0, 0, 0,
424 sys_nosys }, /* 184 = unimplemented tsolsys */
425 { ns(struct svr4_32_sys_acl_args), 0,
426 (sy_call_t *)svr4_32_sys_acl }, /* 185 = acl */
427 { ns(struct svr4_32_sys_auditsys_args), 0,
428 (sy_call_t *)svr4_32_sys_auditsys },/* 186 = auditsys */
429 { 0, 0, 0,
430 sys_nosys }, /* 187 = unimplemented processor_bind */
431 { 0, 0, 0,
432 sys_nosys }, /* 188 = unimplemented processor_info */
433 { 0, 0, 0,
434 sys_nosys }, /* 189 = unimplemented p_online */
435 { 0, 0, 0,
436 sys_nosys }, /* 190 = unimplemented sigqueue */
437 { 0, 0, 0,
438 sys_nosys }, /* 191 = unimplemented clock_gettime */
439 { 0, 0, 0,
440 sys_nosys }, /* 192 = unimplemented clock_settime */
441 { 0, 0, 0,
442 sys_nosys }, /* 193 = unimplemented clock_getres */
443 { 0, 0, 0,
444 sys_nosys }, /* 194 = unimplemented timer_create */
445 { 0, 0, 0,
446 sys_nosys }, /* 195 = unimplemented timer_delete */
447 { 0, 0, 0,
448 sys_nosys }, /* 196 = unimplemented timer_settime */
449 { 0, 0, 0,
450 sys_nosys }, /* 197 = unimplemented timer_gettime */
451 { 0, 0, 0,
452 sys_nosys }, /* 198 = unimplemented timer_getoverrun */
453 { ns(struct compat_50_netbsd32_nanosleep_args), 0,
454 (sy_call_t *)compat_50_netbsd32_nanosleep },/* 199 = compat_50_netbsd32_nanosleep */
455 { ns(struct svr4_32_sys_facl_args), 0,
456 (sy_call_t *)svr4_32_sys_facl }, /* 200 = facl */
457 { 0, 0, 0,
458 sys_nosys }, /* 201 = unimplemented door */
459 { ns(struct netbsd32_setreuid_args), 0,
460 (sy_call_t *)netbsd32_setreuid }, /* 202 = netbsd32_setreuid */
461 { ns(struct netbsd32_setregid_args), 0,
462 (sy_call_t *)netbsd32_setregid }, /* 203 = netbsd32_setregid */
463 { 0, 0, 0,
464 sys_nosys }, /* 204 = unimplemented install_utrap */
465 { 0, 0, 0,
466 sys_nosys }, /* 205 = unimplemented signotify */
467 { ns(struct svr4_32_sys_schedctl_args), 0,
468 (sy_call_t *)svr4_32_sys_schedctl },/* 206 = schedctl */
469 { 0, 0, 0,
470 sys_nosys }, /* 207 = unimplemented pset */
471 { 0, 0, 0,
472 sys_nosys }, /* 208 = unimplemented sparc_utrap_install */
473 { ns(struct svr4_32_sys_resolvepath_args), 0,
474 (sy_call_t *)svr4_32_sys_resolvepath },/* 209 = resolvepath */
475 { 0, 0, 0,
476 sys_nosys }, /* 210 = unimplemented signotifywait */
477 { 0, 0, 0,
478 sys_nosys }, /* 211 = unimplemented lwp_sigredirect */
479 { 0, 0, 0,
480 sys_nosys }, /* 212 = unimplemented lwp_alarm */
481 { ns(struct svr4_32_sys_getdents64_args), 0,
482 (sy_call_t *)svr4_32_sys_getdents64 },/* 213 = getdents64 */
483 { ns(struct svr4_32_sys_mmap64_args), 0,
484 (sy_call_t *)svr4_32_sys_mmap64 }, /* 214 = mmap64 */
485 { ns(struct svr4_32_sys_stat64_args), 0,
486 (sy_call_t *)svr4_32_sys_stat64 }, /* 215 = stat64 */
487 { ns(struct svr4_32_sys_lstat64_args), 0,
488 (sy_call_t *)svr4_32_sys_lstat64 }, /* 216 = lstat64 */
489 { ns(struct svr4_32_sys_fstat64_args), 0,
490 (sy_call_t *)svr4_32_sys_fstat64 }, /* 217 = fstat64 */
491 { ns(struct svr4_32_sys_statvfs64_args), 0,
492 (sy_call_t *)svr4_32_sys_statvfs64 },/* 218 = statvfs64 */
493 { ns(struct svr4_32_sys_fstatvfs64_args), 0,
494 (sy_call_t *)svr4_32_sys_fstatvfs64 },/* 219 = fstatvfs64 */
495 { ns(struct svr4_32_sys_setrlimit64_args), 0,
496 (sy_call_t *)svr4_32_sys_setrlimit64 },/* 220 = setrlimit64 */
497 { ns(struct svr4_32_sys_getrlimit64_args), 0,
498 (sy_call_t *)svr4_32_sys_getrlimit64 },/* 221 = getrlimit64 */
499 { ns(struct svr4_32_sys_pread64_args), 0,
500 (sy_call_t *)svr4_32_sys_pread64 }, /* 222 = pread64 */
501 { ns(struct svr4_32_sys_pwrite64_args), 0,
502 (sy_call_t *)svr4_32_sys_pwrite64 },/* 223 = pwrite64 */
503 #define svr4_32_sys_creat64 svr4_32_sys_creat
504 #define svr4_32_sys_creat64_args svr4_32_sys_creat_args
505 { ns(struct svr4_32_sys_creat64_args), 0,
506 (sy_call_t *)svr4_32_sys_creat64 }, /* 224 = creat64 */
507 #define svr4_32_sys_open64 svr4_32_sys_open
508 #define svr4_32_sys_open64_args svr4_32_sys_open_args
509 { ns(struct svr4_32_sys_open64_args), 0,
510 (sy_call_t *)svr4_32_sys_open64 }, /* 225 = open64 */
511 { 0, 0, 0,
512 sys_nosys }, /* 226 = unimplemented rpcsys */
513 { 0, 0, 0,
514 sys_nosys }, /* 227 = unimplemented */
515 { 0, 0, 0,
516 sys_nosys }, /* 228 = unimplemented */
517 { 0, 0, 0,
518 sys_nosys }, /* 229 = unimplemented */
519 { ns(struct svr4_32_sys_socket_args), 0,
520 (sy_call_t *)svr4_32_sys_socket }, /* 230 = socket */
521 { ns(struct netbsd32_socketpair_args), 0,
522 (sy_call_t *)netbsd32_socketpair }, /* 231 = netbsd32_socketpair */
523 { ns(struct netbsd32_bind_args), 0,
524 (sy_call_t *)netbsd32_bind }, /* 232 = netbsd32_bind */
525 { ns(struct netbsd32_listen_args), 0,
526 (sy_call_t *)netbsd32_listen }, /* 233 = netbsd32_listen */
527 { ns(struct compat_43_netbsd32_oaccept_args), 0,
528 (sy_call_t *)compat_43_netbsd32_oaccept },/* 234 = compat_43_netbsd32_oaccept */
529 { ns(struct netbsd32_connect_args), 0,
530 (sy_call_t *)netbsd32_connect }, /* 235 = netbsd32_connect */
531 { ns(struct netbsd32_shutdown_args), 0,
532 (sy_call_t *)netbsd32_shutdown }, /* 236 = netbsd32_shutdown */
533 { ns(struct compat_43_netbsd32_orecv_args), 0,
534 (sy_call_t *)compat_43_netbsd32_orecv },/* 237 = compat_43_netbsd32_orecv */
535 { ns(struct compat_43_netbsd32_orecvfrom_args), 0,
536 (sy_call_t *)compat_43_netbsd32_orecvfrom },/* 238 = compat_43_netbsd32_orecvfrom */
537 { ns(struct compat_43_netbsd32_orecvmsg_args), 0,
538 (sy_call_t *)compat_43_netbsd32_orecvmsg },/* 239 = compat_43_netbsd32_orecvmsg */
539 { ns(struct compat_43_netbsd32_osend_args), 0,
540 (sy_call_t *)compat_43_netbsd32_osend },/* 240 = compat_43_netbsd32_osend */
541 { ns(struct compat_43_netbsd32_osendmsg_args), 0,
542 (sy_call_t *)compat_43_netbsd32_osendmsg },/* 241 = compat_43_netbsd32_osendmsg */
543 { ns(struct netbsd32_sendto_args), 0,
544 (sy_call_t *)netbsd32_sendto }, /* 242 = netbsd32_sendto */
545 { ns(struct compat_43_netbsd32_ogetpeername_args), 0,
546 (sy_call_t *)compat_43_netbsd32_ogetpeername },/* 243 = compat_43_netbsd32_ogetpeername */
547 { ns(struct compat_43_netbsd32_ogetsockname_args), 0,
548 (sy_call_t *)compat_43_netbsd32_ogetsockname },/* 244 = compat_43_netbsd32_ogetsockname */
549 { ns(struct netbsd32_getsockopt_args), 0,
550 (sy_call_t *)netbsd32_getsockopt }, /* 245 = netbsd32_getsockopt */
551 { ns(struct netbsd32_setsockopt_args), 0,
552 (sy_call_t *)netbsd32_setsockopt }, /* 246 = netbsd32_setsockopt */
553 { 0, 0, 0,
554 sys_nosys }, /* 247 = unimplemented sockconfig */
555 { 0, 0, 0,
556 sys_nosys }, /* 248 = unimplemented netbsd32_ntp_gettime */
557 #if defined(NTP) || !defined(_KERNEL)
558 { ns(struct netbsd32_ntp_adjtime_args), 0,
559 (sy_call_t *)netbsd32_ntp_adjtime },/* 249 = netbsd32_ntp_adjtime */
560 #else
561 { 0, 0, 0,
562 sys_nosys }, /* 249 = excluded ntp_adjtime */
563 #endif
564 { 0, 0, 0,
565 sys_nosys }, /* 250 = unimplemented lwp_mutex_unlock */
566 { 0, 0, 0,
567 sys_nosys }, /* 251 = unimplemented lwp_mutex_trylock */
568 { 0, 0, 0,
569 sys_nosys }, /* 252 = unimplemented lwp_mutex_init */
570 { 0, 0, 0,
571 sys_nosys }, /* 253 = unimplemented cladm */
572 { 0, 0, 0,
573 sys_nosys }, /* 254 = unimplemented lwp_sigtimedwait */
574 { 0, 0, 0,
575 sys_nosys }, /* 255 = unimplemented umount2 */