1 /* $NetBSD: svr4_sysent.c,v 1.78 2006/05/29 09:46:54 drochner Exp $ */
2
3 /*
4 * System call switch table.
5 *
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.54 2006/05/29 09:44:51 drochner Exp
8 */
9
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD: svr4_sysent.c,v 1.78 2006/05/29 09:46:54 drochner Exp $");
12
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/sa.h>
23 #include <sys/syscallargs.h>
24 #include <compat/svr4/svr4_types.h>
25 #include <compat/svr4/svr4_time.h>
26 #include <compat/svr4/svr4_signal.h>
27 #include <compat/svr4/svr4_ucontext.h>
28 #include <compat/svr4/svr4_lwp.h>
29 #include <compat/svr4/svr4_syscallargs.h>
30 #include <compat/svr4/svr4_statvfs.h>
31 #include <compat/svr4/svr4_resource.h>
32 #include <compat/svr4/svr4_acl.h>
33 #include <compat/svr4/svr4_schedctl.h>
34
35 #define s(type) sizeof(type)
36
37 struct sysent svr4_sysent[] = {
38 { 0, 0, 0,
39 sys_nosys }, /* 0 = syscall */
40 { 1, s(struct sys_exit_args), 0,
41 sys_exit }, /* 1 = exit */
42 { 0, 0, 0,
43 sys_fork }, /* 2 = fork */
44 { 3, s(struct sys_read_args), 0,
45 sys_read }, /* 3 = read */
46 { 3, s(struct sys_write_args), 0,
47 sys_write }, /* 4 = write */
48 { 3, s(struct svr4_sys_open_args), 0,
49 svr4_sys_open }, /* 5 = open */
50 { 1, s(struct sys_close_args), 0,
51 sys_close }, /* 6 = close */
52 { 1, s(struct svr4_sys_wait_args), 0,
53 svr4_sys_wait }, /* 7 = wait */
54 { 2, s(struct svr4_sys_creat_args), 0,
55 svr4_sys_creat }, /* 8 = creat */
56 { 2, s(struct sys_link_args), 0,
57 sys_link }, /* 9 = link */
58 { 1, s(struct sys_unlink_args), 0,
59 sys_unlink }, /* 10 = unlink */
60 { 2, s(struct svr4_sys_execv_args), 0,
61 svr4_sys_execv }, /* 11 = execv */
62 { 1, s(struct sys_chdir_args), 0,
63 sys_chdir }, /* 12 = chdir */
64 { 1, s(struct svr4_sys_time_args), 0,
65 svr4_sys_time }, /* 13 = time */
66 { 3, s(struct svr4_sys_mknod_args), 0,
67 svr4_sys_mknod }, /* 14 = mknod */
68 { 2, s(struct sys_chmod_args), 0,
69 sys_chmod }, /* 15 = chmod */
70 { 3, s(struct sys___posix_chown_args), 0,
71 sys___posix_chown }, /* 16 = chown */
72 { 1, s(struct svr4_sys_break_args), 0,
73 svr4_sys_break }, /* 17 = break */
74 { 2, s(struct svr4_sys_stat_args), 0,
75 svr4_sys_stat }, /* 18 = stat */
76 { 3, s(struct compat_43_sys_lseek_args), 0,
77 compat_43_sys_lseek }, /* 19 = lseek */
78 { 0, 0, SYCALL_MPSAFE | 0,
79 sys_getpid }, /* 20 = getpid */
80 { 0, 0, 0,
81 sys_nosys }, /* 21 = unimplemented old_mount */
82 { 0, 0, 0,
83 sys_nosys }, /* 22 = unimplemented System V umount */
84 { 1, s(struct sys_setuid_args), 0,
85 sys_setuid }, /* 23 = setuid */
86 { 0, 0, 0,
87 sys_getuid_with_euid }, /* 24 = getuid_with_euid */
88 { 0, 0, 0,
89 sys_nosys }, /* 25 = unimplemented stime */
90 { 0, 0, 0,
91 sys_nosys }, /* 26 = unimplemented ptrace */
92 { 1, s(struct svr4_sys_alarm_args), 0,
93 svr4_sys_alarm }, /* 27 = alarm */
94 { 2, s(struct svr4_sys_fstat_args), 0,
95 svr4_sys_fstat }, /* 28 = fstat */
96 { 0, 0, 0,
97 svr4_sys_pause }, /* 29 = pause */
98 { 2, s(struct svr4_sys_utime_args), 0,
99 svr4_sys_utime }, /* 30 = utime */
100 { 0, 0, 0,
101 sys_nosys }, /* 31 = unimplemented was stty */
102 { 0, 0, 0,
103 sys_nosys }, /* 32 = unimplemented was gtty */
104 { 2, s(struct svr4_sys_access_args), 0,
105 svr4_sys_access }, /* 33 = access */
106 { 1, s(struct svr4_sys_nice_args), 0,
107 svr4_sys_nice }, /* 34 = nice */
108 { 0, 0, 0,
109 sys_nosys }, /* 35 = unimplemented statfs */
110 { 0, 0, 0,
111 sys_sync }, /* 36 = sync */
112 { 2, s(struct svr4_sys_kill_args), 0,
113 svr4_sys_kill }, /* 37 = kill */
114 { 0, 0, 0,
115 sys_nosys }, /* 38 = unimplemented fstatfs */
116 { 3, s(struct svr4_sys_pgrpsys_args), 0,
117 svr4_sys_pgrpsys }, /* 39 = pgrpsys */
118 { 0, 0, 0,
119 sys_nosys }, /* 40 = unimplemented xenix */
120 { 1, s(struct sys_dup_args), 0,
121 sys_dup }, /* 41 = dup */
122 { 0, 0, 0,
123 sys_pipe }, /* 42 = pipe */
124 { 1, s(struct svr4_sys_times_args), 0,
125 svr4_sys_times }, /* 43 = times */
126 { 0, 0, 0,
127 sys_nosys }, /* 44 = unimplemented profil */
128 { 0, 0, 0,
129 sys_nosys }, /* 45 = unimplemented plock */
130 { 1, s(struct sys_setgid_args), 0,
131 sys_setgid }, /* 46 = setgid */
132 { 0, 0, 0,
133 sys_getgid_with_egid }, /* 47 = getgid_with_egid */
134 { 2, s(struct svr4_sys_signal_args), 0,
135 svr4_sys_signal }, /* 48 = signal */
136 #ifdef SYSVMSG
137 { 5, s(struct svr4_sys_msgsys_args), 0,
138 svr4_sys_msgsys }, /* 49 = msgsys */
139 #else
140 { 0, 0, 0,
141 sys_nosys }, /* 49 = unimplemented msgsys */
142 #endif
143 { 2, s(struct svr4_sys_sysarch_args), 0,
144 svr4_sys_sysarch }, /* 50 = sysarch */
145 { 0, 0, 0,
146 sys_nosys }, /* 51 = unimplemented acct */
147 #ifdef SYSVSHM
148 { 4, s(struct svr4_sys_shmsys_args), 0,
149 svr4_sys_shmsys }, /* 52 = shmsys */
150 #else
151 { 0, 0, 0,
152 sys_nosys }, /* 52 = unimplemented shmsys */
153 #endif
154 #ifdef SYSVSEM
155 { 5, s(struct svr4_sys_semsys_args), 0,
156 svr4_sys_semsys }, /* 53 = semsys */
157 #else
158 { 0, 0, 0,
159 sys_nosys }, /* 53 = unimplemented semsys */
160 #endif
161 { 3, s(struct svr4_sys_ioctl_args), 0,
162 svr4_sys_ioctl }, /* 54 = ioctl */
163 { 0, 0, 0,
164 sys_nosys }, /* 55 = unimplemented uadmin */
165 { 0, 0, 0,
166 sys_nosys }, /* 56 = unimplemented exch */
167 { 4, s(struct svr4_sys_utssys_args), 0,
168 svr4_sys_utssys }, /* 57 = utssys */
169 { 1, s(struct sys_fsync_args), 0,
170 sys_fsync }, /* 58 = fsync */
171 { 3, s(struct svr4_sys_execve_args), 0,
172 svr4_sys_execve }, /* 59 = execve */
173 { 1, s(struct sys_umask_args), 0,
174 sys_umask }, /* 60 = umask */
175 { 1, s(struct sys_chroot_args), 0,
176 sys_chroot }, /* 61 = chroot */
177 { 3, s(struct svr4_sys_fcntl_args), 0,
178 svr4_sys_fcntl }, /* 62 = fcntl */
179 { 2, s(struct svr4_sys_ulimit_args), 0,
180 svr4_sys_ulimit }, /* 63 = ulimit */
181 { 0, 0, 0,
182 sys_nosys }, /* 64 = unimplemented reserved for unix/pc */
183 { 0, 0, 0,
184 sys_nosys }, /* 65 = unimplemented reserved for unix/pc */
185 { 0, 0, 0,
186 sys_nosys }, /* 66 = unimplemented reserved for unix/pc */
187 { 0, 0, 0,
188 sys_nosys }, /* 67 = unimplemented reserved for unix/pc */
189 { 0, 0, 0,
190 sys_nosys }, /* 68 = unimplemented reserved for unix/pc */
191 { 0, 0, 0,
192 sys_nosys }, /* 69 = unimplemented reserved for unix/pc */
193 { 0, 0, 0,
194 sys_nosys }, /* 70 = obsolete advfs */
195 { 0, 0, 0,
196 sys_nosys }, /* 71 = obsolete unadvfs */
197 { 0, 0, 0,
198 sys_nosys }, /* 72 = obsolete rmount */
199 { 0, 0, 0,
200 sys_nosys }, /* 73 = obsolete rumount */
201 { 0, 0, 0,
202 sys_nosys }, /* 74 = obsolete rfstart */
203 { 0, 0, 0,
204 sys_nosys }, /* 75 = obsolete sigret */
205 { 0, 0, 0,
206 sys_nosys }, /* 76 = obsolete rdebug */
207 { 0, 0, 0,
208 sys_nosys }, /* 77 = obsolete rfstop */
209 { 0, 0, 0,
210 sys_nosys }, /* 78 = unimplemented rfsys */
211 { 1, s(struct sys_rmdir_args), 0,
212 sys_rmdir }, /* 79 = rmdir */
213 { 2, s(struct sys_mkdir_args), 0,
214 sys_mkdir }, /* 80 = mkdir */
215 { 3, s(struct svr4_sys_getdents_args), 0,
216 svr4_sys_getdents }, /* 81 = getdents */
217 { 0, 0, 0,
218 sys_nosys }, /* 82 = obsolete libattach */
219 { 0, 0, 0,
220 sys_nosys }, /* 83 = obsolete libdetach */
221 { 0, 0, 0,
222 sys_nosys }, /* 84 = unimplemented sysfs */
223 { 4, s(struct svr4_sys_getmsg_args), 0,
224 svr4_sys_getmsg }, /* 85 = getmsg */
225 { 4, s(struct svr4_sys_putmsg_args), 0,
226 svr4_sys_putmsg }, /* 86 = putmsg */
227 { 3, s(struct sys_poll_args), 0,
228 sys_poll }, /* 87 = poll */
229 { 2, s(struct svr4_sys_lstat_args), 0,
230 svr4_sys_lstat }, /* 88 = lstat */
231 { 2, s(struct sys_symlink_args), 0,
232 sys_symlink }, /* 89 = symlink */
233 { 3, s(struct sys_readlink_args), 0,
234 sys_readlink }, /* 90 = readlink */
235 { 2, s(struct sys_getgroups_args), 0,
236 sys_getgroups }, /* 91 = getgroups */
237 { 2, s(struct sys_setgroups_args), 0,
238 sys_setgroups }, /* 92 = setgroups */
239 { 2, s(struct sys_fchmod_args), 0,
240 sys_fchmod }, /* 93 = fchmod */
241 { 3, s(struct sys___posix_fchown_args), 0,
242 sys___posix_fchown }, /* 94 = fchown */
243 { 3, s(struct svr4_sys_sigprocmask_args), 0,
244 svr4_sys_sigprocmask }, /* 95 = sigprocmask */
245 { 1, s(struct svr4_sys_sigsuspend_args), 0,
246 svr4_sys_sigsuspend }, /* 96 = sigsuspend */
247 { 2, s(struct svr4_sys_sigaltstack_args), 0,
248 svr4_sys_sigaltstack }, /* 97 = sigaltstack */
249 { 3, s(struct svr4_sys_sigaction_args), 0,
250 svr4_sys_sigaction }, /* 98 = sigaction */
251 { 2, s(struct svr4_sys_sigpending_args), 0,
252 svr4_sys_sigpending }, /* 99 = sigpending */
253 { 2, s(struct svr4_sys_context_args), 0,
254 svr4_sys_context }, /* 100 = context */
255 { 0, 0, 0,
256 sys_nosys }, /* 101 = unimplemented evsys */
257 { 0, 0, 0,
258 sys_nosys }, /* 102 = unimplemented evtrapret */
259 { 2, s(struct svr4_sys_statvfs_args), 0,
260 svr4_sys_statvfs }, /* 103 = statvfs */
261 { 2, s(struct svr4_sys_fstatvfs_args), 0,
262 svr4_sys_fstatvfs }, /* 104 = fstatvfs */
263 { 0, 0, 0,
264 sys_nosys }, /* 105 = unimplemented */
265 { 0, 0, 0,
266 sys_nosys }, /* 106 = unimplemented nfssvc */
267 { 4, s(struct svr4_sys_waitsys_args), 0,
268 svr4_sys_waitsys }, /* 107 = waitsys */
269 { 0, 0, 0,
270 sys_nosys }, /* 108 = unimplemented sigsendsys */
271 { 5, s(struct svr4_sys_hrtsys_args), 0,
272 svr4_sys_hrtsys }, /* 109 = hrtsys */
273 { 0, 0, 0,
274 sys_nosys }, /* 110 = unimplemented acancel */
275 { 0, 0, 0,
276 sys_nosys }, /* 111 = unimplemented async */
277 { 0, 0, 0,
278 sys_nosys }, /* 112 = unimplemented priocntlsys */
279 { 2, s(struct svr4_sys_pathconf_args), 0,
280 svr4_sys_pathconf }, /* 113 = pathconf */
281 { 0, 0, 0,
282 sys_nosys }, /* 114 = unimplemented mincore */
283 { 6, s(struct svr4_sys_mmap_args), 0,
284 svr4_sys_mmap }, /* 115 = mmap */
285 { 3, s(struct sys_mprotect_args), 0,
286 sys_mprotect }, /* 116 = mprotect */
287 { 2, s(struct sys_munmap_args), 0,
288 sys_munmap }, /* 117 = munmap */
289 { 2, s(struct svr4_sys_fpathconf_args), 0,
290 svr4_sys_fpathconf }, /* 118 = fpathconf */
291 { 0, 0, 0,
292 sys_vfork }, /* 119 = vfork */
293 { 1, s(struct sys_fchdir_args), 0,
294 sys_fchdir }, /* 120 = fchdir */
295 { 3, s(struct sys_readv_args), 0,
296 sys_readv }, /* 121 = readv */
297 { 3, s(struct sys_writev_args), 0,
298 sys_writev }, /* 122 = writev */
299 { 3, s(struct svr4_sys_xstat_args), 0,
300 svr4_sys_xstat }, /* 123 = xstat */
301 { 3, s(struct svr4_sys_lxstat_args), 0,
302 svr4_sys_lxstat }, /* 124 = lxstat */
303 { 3, s(struct svr4_sys_fxstat_args), 0,
304 svr4_sys_fxstat }, /* 125 = fxstat */
305 { 4, s(struct svr4_sys_xmknod_args), 0,
306 svr4_sys_xmknod }, /* 126 = xmknod */
307 { 0, 0, 0,
308 sys_nosys }, /* 127 = unimplemented clocal */
309 { 2, s(struct svr4_sys_setrlimit_args), 0,
310 svr4_sys_setrlimit }, /* 128 = setrlimit */
311 { 2, s(struct svr4_sys_getrlimit_args), 0,
312 svr4_sys_getrlimit }, /* 129 = getrlimit */
313 { 3, s(struct sys___posix_lchown_args), 0,
314 sys___posix_lchown }, /* 130 = lchown */
315 { 6, s(struct svr4_sys_memcntl_args), 0,
316 svr4_sys_memcntl }, /* 131 = memcntl */
317 { 0, 0, 0,
318 sys_nosys }, /* 132 = unimplemented getpmsg */
319 { 0, 0, 0,
320 sys_nosys }, /* 133 = unimplemented putpmsg */
321 { 2, s(struct sys___posix_rename_args), 0,
322 sys___posix_rename }, /* 134 = rename */
323 { 2, s(struct svr4_sys_uname_args), 0,
324 svr4_sys_uname }, /* 135 = uname */
325 { 1, s(struct sys_setegid_args), 0,
326 sys_setegid }, /* 136 = setegid */
327 { 1, s(struct svr4_sys_sysconfig_args), 0,
328 svr4_sys_sysconfig }, /* 137 = sysconfig */
329 { 2, s(struct sys_adjtime_args), 0,
330 sys_adjtime }, /* 138 = adjtime */
331 { 3, s(struct svr4_sys_systeminfo_args), 0,
332 svr4_sys_systeminfo }, /* 139 = systeminfo */
333 { 0, 0, 0,
334 sys_nosys }, /* 140 = unimplemented */
335 { 1, s(struct sys_seteuid_args), 0,
336 sys_seteuid }, /* 141 = seteuid */
337 { 0, 0, 0,
338 sys_nosys }, /* 142 = unimplemented vtrace */
339 { 0, 0, 0,
340 sys_fork }, /* 143 = fork1 */
341 { 0, 0, 0,
342 sys_nosys }, /* 144 = unimplemented sigtimedwait */
343 { 1, s(struct svr4_sys__lwp_info_args), 0,
344 svr4_sys__lwp_info }, /* 145 = _lwp_info */
345 { 0, 0, 0,
346 sys_nosys }, /* 146 = unimplemented yield */
347 { 0, 0, 0,
348 sys_nosys }, /* 147 = unimplemented lwp_sema_wait */
349 { 0, 0, 0,
350 sys_nosys }, /* 148 = unimplemented lwp_sema_post */
351 { 0, 0, 0,
352 sys_nosys }, /* 149 = unimplemented lwp_sema_trywait */
353 { 0, 0, 0,
354 sys_nosys }, /* 150 = unimplemented */
355 { 0, 0, 0,
356 sys_nosys }, /* 151 = unimplemented */
357 { 0, 0, 0,
358 sys_nosys }, /* 152 = unimplemented modctl */
359 { 1, s(struct sys_fchroot_args), 0,
360 sys_fchroot }, /* 153 = fchroot */
361 { 2, s(struct svr4_sys_utimes_args), 0,
362 svr4_sys_utimes }, /* 154 = utimes */
363 { 0, 0, 0,
364 svr4_sys_vhangup }, /* 155 = vhangup */
365 { 1, s(struct svr4_sys_gettimeofday_args), 0,
366 svr4_sys_gettimeofday }, /* 156 = gettimeofday */
367 { 2, s(struct sys_getitimer_args), 0,
368 sys_getitimer }, /* 157 = getitimer */
369 { 3, s(struct sys_setitimer_args), 0,
370 sys_setitimer }, /* 158 = setitimer */
371 { 3, s(struct svr4_sys__lwp_create_args), 0,
372 svr4_sys__lwp_create }, /* 159 = _lwp_create */
373 { 0, 0, 0,
374 svr4_sys__lwp_exit }, /* 160 = _lwp_exit */
375 { 1, s(struct svr4_sys__lwp_suspend_args), 0,
376 svr4_sys__lwp_suspend }, /* 161 = _lwp_suspend */
377 { 1, s(struct svr4_sys__lwp_continue_args), 0,
378 svr4_sys__lwp_continue }, /* 162 = _lwp_continue */
379 { 2, s(struct svr4_sys__lwp_kill_args), 0,
380 svr4_sys__lwp_kill }, /* 163 = _lwp_kill */
381 { 0, 0, 0,
382 svr4_sys__lwp_self }, /* 164 = _lwp_self */
383 { 0, 0, 0,
384 svr4_sys__lwp_getprivate }, /* 165 = _lwp_getprivate */
385 { 1, s(struct svr4_sys__lwp_setprivate_args), 0,
386 svr4_sys__lwp_setprivate }, /* 166 = _lwp_setprivate */
387 { 2, s(struct svr4_sys__lwp_wait_args), 0,
388 svr4_sys__lwp_wait }, /* 167 = _lwp_wait */
389 { 0, 0, 0,
390 sys_nosys }, /* 168 = unimplemented lwp_mutex_unlock */
391 { 0, 0, 0,
392 sys_nosys }, /* 169 = unimplemented lwp_mutex_lock */
393 { 0, 0, 0,
394 sys_nosys }, /* 170 = unimplemented lwp_cond_wait */
395 { 0, 0, 0,
396 sys_nosys }, /* 171 = unimplemented lwp_cond_signal */
397 { 0, 0, 0,
398 sys_nosys }, /* 172 = unimplemented lwp_cond_broadcast */
399 { 4, s(struct svr4_sys_pread_args), 0,
400 svr4_sys_pread }, /* 173 = pread */
401 { 4, s(struct svr4_sys_pwrite_args), 0,
402 svr4_sys_pwrite }, /* 174 = pwrite */
403 { 4, s(struct svr4_sys_llseek_args), 0,
404 svr4_sys_llseek }, /* 175 = llseek */
405 { 0, 0, 0,
406 sys_nosys }, /* 176 = unimplemented inst_sync */
407 { 0, 0, 0,
408 sys_nosys }, /* 177 = unimplemented */
409 { 0, 0, 0,
410 sys_nosys }, /* 178 = unimplemented kaio */
411 { 0, 0, 0,
412 sys_nosys }, /* 179 = unimplemented */
413 { 0, 0, 0,
414 sys_nosys }, /* 180 = unimplemented */
415 { 0, 0, 0,
416 sys_nosys }, /* 181 = unimplemented */
417 { 0, 0, 0,
418 sys_nosys }, /* 182 = unimplemented */
419 { 0, 0, 0,
420 sys_nosys }, /* 183 = unimplemented */
421 { 0, 0, 0,
422 sys_nosys }, /* 184 = unimplemented tsolsys */
423 { 4, s(struct svr4_sys_acl_args), 0,
424 svr4_sys_acl }, /* 185 = acl */
425 { 6, s(struct svr4_sys_auditsys_args), 0,
426 svr4_sys_auditsys }, /* 186 = auditsys */
427 { 0, 0, 0,
428 sys_nosys }, /* 187 = unimplemented processor_bind */
429 { 0, 0, 0,
430 sys_nosys }, /* 188 = unimplemented processor_info */
431 { 0, 0, 0,
432 sys_nosys }, /* 189 = unimplemented p_online */
433 { 0, 0, 0,
434 sys_nosys }, /* 190 = unimplemented sigqueue */
435 { 0, 0, 0,
436 sys_nosys }, /* 191 = unimplemented clock_gettime */
437 { 0, 0, 0,
438 sys_nosys }, /* 192 = unimplemented clock_settime */
439 { 0, 0, 0,
440 sys_nosys }, /* 193 = unimplemented clock_getres */
441 { 0, 0, 0,
442 sys_nosys }, /* 194 = unimplemented timer_create */
443 { 0, 0, 0,
444 sys_nosys }, /* 195 = unimplemented timer_delete */
445 { 0, 0, 0,
446 sys_nosys }, /* 196 = unimplemented timer_settime */
447 { 0, 0, 0,
448 sys_nosys }, /* 197 = unimplemented timer_gettime */
449 { 0, 0, 0,
450 sys_nosys }, /* 198 = unimplemented timer_getoverrun */
451 { 2, s(struct sys_nanosleep_args), 0,
452 sys_nanosleep }, /* 199 = nanosleep */
453 { 4, s(struct svr4_sys_facl_args), 0,
454 svr4_sys_facl }, /* 200 = facl */
455 { 0, 0, 0,
456 sys_nosys }, /* 201 = unimplemented door */
457 { 2, s(struct sys_setreuid_args), 0,
458 sys_setreuid }, /* 202 = setreuid */
459 { 2, s(struct sys_setregid_args), 0,
460 sys_setregid }, /* 203 = setregid */
461 { 0, 0, 0,
462 sys_nosys }, /* 204 = unimplemented install_utrap */
463 { 0, 0, 0,
464 sys_nosys }, /* 205 = unimplemented signotify */
465 { 3, s(struct svr4_sys_schedctl_args), 0,
466 svr4_sys_schedctl }, /* 206 = schedctl */
467 { 0, 0, 0,
468 sys_nosys }, /* 207 = unimplemented pset */
469 { 0, 0, 0,
470 sys_nosys }, /* 208 = unimplemented */
471 { 3, s(struct svr4_sys_resolvepath_args), 0,
472 svr4_sys_resolvepath }, /* 209 = resolvepath */
473 { 0, 0, 0,
474 sys_nosys }, /* 210 = unimplemented signotifywait */
475 { 0, 0, 0,
476 sys_nosys }, /* 211 = unimplemented lwp_sigredirect */
477 { 0, 0, 0,
478 sys_nosys }, /* 212 = unimplemented lwp_alarm */
479 { 3, s(struct svr4_sys_getdents64_args), 0,
480 svr4_sys_getdents64 }, /* 213 = getdents64 */
481 { 6, s(struct svr4_sys_mmap64_args), 0,
482 svr4_sys_mmap64 }, /* 214 = mmap64 */
483 { 2, s(struct svr4_sys_stat64_args), 0,
484 svr4_sys_stat64 }, /* 215 = stat64 */
485 { 2, s(struct svr4_sys_lstat64_args), 0,
486 svr4_sys_lstat64 }, /* 216 = lstat64 */
487 { 2, s(struct svr4_sys_fstat64_args), 0,
488 svr4_sys_fstat64 }, /* 217 = fstat64 */
489 { 2, s(struct svr4_sys_statvfs64_args), 0,
490 svr4_sys_statvfs64 }, /* 218 = statvfs64 */
491 { 2, s(struct svr4_sys_fstatvfs64_args), 0,
492 svr4_sys_fstatvfs64 }, /* 219 = fstatvfs64 */
493 { 2, s(struct svr4_sys_setrlimit64_args), 0,
494 svr4_sys_setrlimit64 }, /* 220 = setrlimit64 */
495 { 2, s(struct svr4_sys_getrlimit64_args), 0,
496 svr4_sys_getrlimit64 }, /* 221 = getrlimit64 */
497 { 4, s(struct svr4_sys_pread64_args), 0,
498 svr4_sys_pread64 }, /* 222 = pread64 */
499 { 4, s(struct svr4_sys_pwrite64_args), 0,
500 svr4_sys_pwrite64 }, /* 223 = pwrite64 */
501 { 2, s(struct svr4_sys_creat64_args), 0,
502 svr4_sys_creat64 }, /* 224 = creat64 */
503 { 3, s(struct svr4_sys_open64_args), 0,
504 svr4_sys_open64 }, /* 225 = open64 */
505 { 0, 0, 0,
506 sys_nosys }, /* 226 = unimplemented rpcsys */
507 { 0, 0, 0,
508 sys_nosys }, /* 227 = unimplemented */
509 { 0, 0, 0,
510 sys_nosys }, /* 228 = unimplemented */
511 { 0, 0, 0,
512 sys_nosys }, /* 229 = unimplemented */
513 { 3, s(struct svr4_sys_socket_args), 0,
514 svr4_sys_socket }, /* 230 = socket */
515 { 4, s(struct sys_socketpair_args), 0,
516 sys_socketpair }, /* 231 = socketpair */
517 { 3, s(struct sys_bind_args), 0,
518 sys_bind }, /* 232 = bind */
519 { 2, s(struct sys_listen_args), 0,
520 sys_listen }, /* 233 = listen */
521 { 3, s(struct compat_43_sys_accept_args), 0,
522 compat_43_sys_accept }, /* 234 = accept */
523 { 3, s(struct sys_connect_args), 0,
524 sys_connect }, /* 235 = connect */
525 { 2, s(struct sys_shutdown_args), 0,
526 sys_shutdown }, /* 236 = shutdown */
527 { 4, s(struct compat_43_sys_recv_args), 0,
528 compat_43_sys_recv }, /* 237 = recv */
529 { 6, s(struct compat_43_sys_recvfrom_args), 0,
530 compat_43_sys_recvfrom }, /* 238 = recvfrom */
531 { 3, s(struct compat_43_sys_recvmsg_args), 0,
532 compat_43_sys_recvmsg }, /* 239 = recvmsg */
533 { 4, s(struct compat_43_sys_send_args), 0,
534 compat_43_sys_send }, /* 240 = send */
535 { 3, s(struct compat_43_sys_sendmsg_args), 0,
536 compat_43_sys_sendmsg }, /* 241 = sendmsg */
537 { 6, s(struct sys_sendto_args), 0,
538 sys_sendto }, /* 242 = sendto */
539 { 3, s(struct compat_43_sys_getpeername_args), 0,
540 compat_43_sys_getpeername }, /* 243 = getpeername */
541 { 3, s(struct compat_43_sys_getsockname_args), 0,
542 compat_43_sys_getsockname }, /* 244 = getsockname */
543 { 5, s(struct sys_getsockopt_args), 0,
544 sys_getsockopt }, /* 245 = getsockopt */
545 { 5, s(struct sys_setsockopt_args), 0,
546 sys_setsockopt }, /* 246 = setsockopt */
547 { 0, 0, 0,
548 sys_nosys }, /* 247 = unimplemented sockconfig */
549 { 0, 0, 0,
550 sys_nosys }, /* 248 = unimplemented { int sys_ntp_gettime ( struct ntptimeval * ntvp ) ; } */
551 #if defined(NTP) || !defined(_KERNEL)
552 { 1, s(struct sys_ntp_adjtime_args), 0,
553 sys_ntp_adjtime }, /* 249 = ntp_adjtime */
554 #else
555 { 0, 0, 0,
556 sys_nosys }, /* 249 = excluded ntp_adjtime */
557 #endif
558 { 0, 0, 0,
559 sys_nosys }, /* 250 = unimplemented lwp_mutex_unlock */
560 { 0, 0, 0,
561 sys_nosys }, /* 251 = unimplemented lwp_mutex_trylock */
562 { 0, 0, 0,
563 sys_nosys }, /* 252 = unimplemented lwp_mutex_init */
564 { 0, 0, 0,
565 sys_nosys }, /* 253 = unimplemented cladm */
566 { 0, 0, 0,
567 sys_nosys }, /* 254 = unimplemented lwp_sigtimedwait */
568 { 0, 0, 0,
569 sys_nosys }, /* 255 = unimplemented umount2 */
570 };
571
Cache object: 5eb8eb99e31a7289cb85f602006f3d0b
|