ultrix_sysent.c revision 1.28 1 1.25 thorpej /* $NetBSD: ultrix_sysent.c,v 1.28 1998/02/19 00:46:39 thorpej Exp $ */
2 1.25 thorpej
3 1.1 glass /*
4 1.1 glass * System call switch table.
5 1.1 glass *
6 1.1 glass * DO NOT EDIT-- this file is automatically generated.
7 1.28 thorpej * created from NetBSD: syscalls.master,v 1.24 1998/02/19 00:46:02 thorpej Exp
8 1.1 glass */
9 1.1 glass
10 1.28 thorpej #include "fs_nfs.h"
11 1.1 glass #include <sys/param.h>
12 1.1 glass #include <sys/systm.h>
13 1.6 dean #include <sys/signal.h>
14 1.6 dean #include <sys/mount.h>
15 1.6 dean #include <sys/syscallargs.h>
16 1.6 dean #include <compat/ultrix/ultrix_syscallargs.h>
17 1.12 mycroft
18 1.12 mycroft #ifdef COMPAT_43
19 1.12 mycroft #define compat_43(func) __CONCAT(compat_43_,func)
20 1.12 mycroft #else
21 1.12 mycroft #define compat_43(func) sys_nosys
22 1.12 mycroft #endif
23 1.12 mycroft
24 1.12 mycroft #ifdef COMPAT_09
25 1.12 mycroft #define compat_09(func) __CONCAT(compat_09_,func)
26 1.12 mycroft #else
27 1.12 mycroft #define compat_09(func) sys_nosys
28 1.12 mycroft #endif
29 1.12 mycroft
30 1.6 dean #define s(type) sizeof(type)
31 1.1 glass
32 1.1 glass struct sysent ultrix_sysent[] = {
33 1.6 dean { 0, 0,
34 1.12 mycroft sys_nosys }, /* 0 = syscall */
35 1.12 mycroft { 1, s(struct sys_exit_args),
36 1.12 mycroft sys_exit }, /* 1 = exit */
37 1.12 mycroft { 0, 0,
38 1.12 mycroft sys_fork }, /* 2 = fork */
39 1.12 mycroft { 3, s(struct sys_read_args),
40 1.12 mycroft sys_read }, /* 3 = read */
41 1.12 mycroft { 3, s(struct sys_write_args),
42 1.12 mycroft sys_write }, /* 4 = write */
43 1.12 mycroft { 3, s(struct ultrix_sys_open_args),
44 1.12 mycroft ultrix_sys_open }, /* 5 = open */
45 1.12 mycroft { 1, s(struct sys_close_args),
46 1.12 mycroft sys_close }, /* 6 = close */
47 1.12 mycroft { 0, 0,
48 1.14 jonathan compat_43_sys_wait }, /* 7 = owait */
49 1.15 jonathan { 2, s(struct ultrix_sys_creat_args),
50 1.15 jonathan ultrix_sys_creat }, /* 8 = creat */
51 1.12 mycroft { 2, s(struct sys_link_args),
52 1.12 mycroft sys_link }, /* 9 = link */
53 1.12 mycroft { 1, s(struct sys_unlink_args),
54 1.12 mycroft sys_unlink }, /* 10 = unlink */
55 1.12 mycroft { 2, s(struct ultrix_sys_execv_args),
56 1.12 mycroft ultrix_sys_execv }, /* 11 = execv */
57 1.12 mycroft { 1, s(struct sys_chdir_args),
58 1.12 mycroft sys_chdir }, /* 12 = chdir */
59 1.12 mycroft { 0, 0,
60 1.12 mycroft sys_nosys }, /* 13 = obsolete time */
61 1.12 mycroft { 3, s(struct ultrix_sys_mknod_args),
62 1.12 mycroft ultrix_sys_mknod }, /* 14 = mknod */
63 1.12 mycroft { 2, s(struct sys_chmod_args),
64 1.12 mycroft sys_chmod }, /* 15 = chmod */
65 1.27 kleink { 3, s(struct sys___posix_chown_args),
66 1.27 kleink sys___posix_chown }, /* 16 = __posix_chown */
67 1.12 mycroft { 1, s(struct sys_obreak_args),
68 1.12 mycroft sys_obreak }, /* 17 = break */
69 1.12 mycroft { 0, 0,
70 1.12 mycroft sys_nosys }, /* 18 = obsolete stat */
71 1.12 mycroft { 3, s(struct compat_43_sys_lseek_args),
72 1.12 mycroft compat_43_sys_lseek }, /* 19 = lseek */
73 1.12 mycroft { 0, 0,
74 1.12 mycroft sys_getpid }, /* 20 = getpid */
75 1.14 jonathan { 5, s(struct ultrix_sys_mount_args),
76 1.14 jonathan ultrix_sys_mount }, /* 21 = mount */
77 1.12 mycroft { 0, 0,
78 1.12 mycroft sys_nosys }, /* 22 = obsolete sysV_unmount */
79 1.12 mycroft { 1, s(struct sys_setuid_args),
80 1.12 mycroft sys_setuid }, /* 23 = setuid */
81 1.12 mycroft { 0, 0,
82 1.12 mycroft sys_getuid }, /* 24 = getuid */
83 1.12 mycroft { 0, 0,
84 1.12 mycroft sys_nosys }, /* 25 = obsolete v7 stime */
85 1.12 mycroft { 0, 0,
86 1.12 mycroft sys_nosys }, /* 26 = obsolete v7 ptrace */
87 1.12 mycroft { 0, 0,
88 1.12 mycroft sys_nosys }, /* 27 = obsolete v7 alarm */
89 1.12 mycroft { 0, 0,
90 1.12 mycroft sys_nosys }, /* 28 = obsolete v7 fstat */
91 1.12 mycroft { 0, 0,
92 1.12 mycroft sys_nosys }, /* 29 = obsolete v7 pause */
93 1.12 mycroft { 0, 0,
94 1.12 mycroft sys_nosys }, /* 30 = obsolete v7 utime */
95 1.12 mycroft { 0, 0,
96 1.12 mycroft sys_nosys }, /* 31 = obsolete v7 stty */
97 1.12 mycroft { 0, 0,
98 1.12 mycroft sys_nosys }, /* 32 = obsolete v7 gtty */
99 1.15 jonathan { 2, s(struct ultrix_sys_access_args),
100 1.15 jonathan ultrix_sys_access }, /* 33 = access */
101 1.12 mycroft { 0, 0,
102 1.12 mycroft sys_nosys }, /* 34 = obsolete v7 nice */
103 1.12 mycroft { 0, 0,
104 1.12 mycroft sys_nosys }, /* 35 = obsolete v7 ftime */
105 1.12 mycroft { 0, 0,
106 1.12 mycroft sys_sync }, /* 36 = sync */
107 1.12 mycroft { 2, s(struct sys_kill_args),
108 1.12 mycroft sys_kill }, /* 37 = kill */
109 1.15 jonathan { 2, s(struct ultrix_sys_stat_args),
110 1.22 christos ultrix_sys_stat }, /* 38 = stat43 */
111 1.12 mycroft { 0, 0,
112 1.12 mycroft sys_nosys }, /* 39 = obsolete v7 setpgrp */
113 1.15 jonathan { 2, s(struct ultrix_sys_lstat_args),
114 1.22 christos ultrix_sys_lstat }, /* 40 = lstat43 */
115 1.12 mycroft { 1, s(struct sys_dup_args),
116 1.12 mycroft sys_dup }, /* 41 = dup */
117 1.12 mycroft { 0, 0,
118 1.12 mycroft sys_pipe }, /* 42 = pipe */
119 1.12 mycroft { 0, 0,
120 1.12 mycroft sys_nosys }, /* 43 = obsolete v7 times */
121 1.12 mycroft { 4, s(struct sys_profil_args),
122 1.12 mycroft sys_profil }, /* 44 = profil */
123 1.12 mycroft { 0, 0,
124 1.12 mycroft sys_nosys }, /* 45 = unimplemented */
125 1.12 mycroft { 0, 0,
126 1.12 mycroft sys_nosys }, /* 46 = obsolete v7 setgid */
127 1.12 mycroft { 0, 0,
128 1.12 mycroft sys_getgid }, /* 47 = getgid */
129 1.12 mycroft { 0, 0,
130 1.12 mycroft sys_nosys }, /* 48 = unimplemented ssig */
131 1.12 mycroft { 0, 0,
132 1.12 mycroft sys_nosys }, /* 49 = unimplemented reserved for USG */
133 1.12 mycroft { 0, 0,
134 1.12 mycroft sys_nosys }, /* 50 = unimplemented reserved for USG */
135 1.12 mycroft { 1, s(struct sys_acct_args),
136 1.12 mycroft sys_acct }, /* 51 = acct */
137 1.12 mycroft { 0, 0,
138 1.12 mycroft sys_nosys }, /* 52 = unimplemented */
139 1.12 mycroft { 0, 0,
140 1.12 mycroft sys_nosys }, /* 53 = unimplemented syslock */
141 1.13 jonathan { 3, s(struct ultrix_sys_ioctl_args),
142 1.13 jonathan ultrix_sys_ioctl }, /* 54 = ioctl */
143 1.12 mycroft { 1, s(struct sys_reboot_args),
144 1.12 mycroft sys_reboot }, /* 55 = reboot */
145 1.12 mycroft { 0, 0,
146 1.12 mycroft sys_nosys }, /* 56 = unimplemented v7 mpxchan */
147 1.12 mycroft { 2, s(struct sys_symlink_args),
148 1.12 mycroft sys_symlink }, /* 57 = symlink */
149 1.12 mycroft { 3, s(struct sys_readlink_args),
150 1.12 mycroft sys_readlink }, /* 58 = readlink */
151 1.17 mycroft { 3, s(struct ultrix_sys_execve_args),
152 1.17 mycroft ultrix_sys_execve }, /* 59 = execve */
153 1.12 mycroft { 1, s(struct sys_umask_args),
154 1.12 mycroft sys_umask }, /* 60 = umask */
155 1.12 mycroft { 1, s(struct sys_chroot_args),
156 1.12 mycroft sys_chroot }, /* 61 = chroot */
157 1.12 mycroft { 2, s(struct compat_43_sys_fstat_args),
158 1.12 mycroft compat_43_sys_fstat }, /* 62 = fstat */
159 1.12 mycroft { 0, 0,
160 1.12 mycroft sys_nosys }, /* 63 = unimplemented */
161 1.12 mycroft { 0, 0,
162 1.12 mycroft compat_43_sys_getpagesize }, /* 64 = getpagesize */
163 1.12 mycroft { 0, 0,
164 1.12 mycroft sys_nosys }, /* 65 = unimplemented mremap */
165 1.12 mycroft { 0, 0,
166 1.12 mycroft sys_vfork }, /* 66 = vfork */
167 1.12 mycroft { 0, 0,
168 1.12 mycroft sys_nosys }, /* 67 = obsolete vread */
169 1.12 mycroft { 0, 0,
170 1.12 mycroft sys_nosys }, /* 68 = obsolete vwrite */
171 1.12 mycroft { 1, s(struct sys_sbrk_args),
172 1.12 mycroft sys_sbrk }, /* 69 = sbrk */
173 1.12 mycroft { 1, s(struct sys_sstk_args),
174 1.12 mycroft sys_sstk }, /* 70 = sstk */
175 1.12 mycroft { 6, s(struct ultrix_sys_mmap_args),
176 1.12 mycroft ultrix_sys_mmap }, /* 71 = mmap */
177 1.12 mycroft { 1, s(struct sys_ovadvise_args),
178 1.12 mycroft sys_ovadvise }, /* 72 = vadvise */
179 1.12 mycroft { 2, s(struct sys_munmap_args),
180 1.12 mycroft sys_munmap }, /* 73 = munmap */
181 1.12 mycroft { 3, s(struct sys_mprotect_args),
182 1.12 mycroft sys_mprotect }, /* 74 = mprotect */
183 1.12 mycroft { 3, s(struct sys_madvise_args),
184 1.12 mycroft sys_madvise }, /* 75 = madvise */
185 1.12 mycroft { 0, 0,
186 1.12 mycroft ultrix_sys_vhangup }, /* 76 = vhangup */
187 1.12 mycroft { 0, 0,
188 1.12 mycroft sys_nosys }, /* 77 = unimplemented old vlimit */
189 1.12 mycroft { 3, s(struct sys_mincore_args),
190 1.12 mycroft sys_mincore }, /* 78 = mincore */
191 1.12 mycroft { 2, s(struct sys_getgroups_args),
192 1.12 mycroft sys_getgroups }, /* 79 = getgroups */
193 1.12 mycroft { 2, s(struct sys_setgroups_args),
194 1.12 mycroft sys_setgroups }, /* 80 = setgroups */
195 1.12 mycroft { 0, 0,
196 1.12 mycroft sys_getpgrp }, /* 81 = getpgrp */
197 1.12 mycroft { 2, s(struct ultrix_sys_setpgrp_args),
198 1.12 mycroft ultrix_sys_setpgrp }, /* 82 = setpgrp */
199 1.12 mycroft { 3, s(struct sys_setitimer_args),
200 1.12 mycroft sys_setitimer }, /* 83 = setitimer */
201 1.12 mycroft { 3, s(struct ultrix_sys_wait3_args),
202 1.12 mycroft ultrix_sys_wait3 }, /* 84 = wait3 */
203 1.21 thorpej { 1, s(struct compat_12_sys_swapon_args),
204 1.21 thorpej compat_12_sys_swapon }, /* 85 = swapon */
205 1.12 mycroft { 2, s(struct sys_getitimer_args),
206 1.12 mycroft sys_getitimer }, /* 86 = getitimer */
207 1.12 mycroft { 2, s(struct compat_43_sys_gethostname_args),
208 1.12 mycroft compat_43_sys_gethostname }, /* 87 = gethostname */
209 1.12 mycroft { 2, s(struct compat_43_sys_sethostname_args),
210 1.12 mycroft compat_43_sys_sethostname }, /* 88 = sethostname */
211 1.12 mycroft { 0, 0,
212 1.12 mycroft compat_43_sys_getdtablesize }, /* 89 = getdtablesize */
213 1.12 mycroft { 2, s(struct sys_dup2_args),
214 1.12 mycroft sys_dup2 }, /* 90 = dup2 */
215 1.12 mycroft { 0, 0,
216 1.12 mycroft sys_nosys }, /* 91 = unimplemented getdopt */
217 1.12 mycroft { 3, s(struct sys_fcntl_args),
218 1.12 mycroft sys_fcntl }, /* 92 = fcntl */
219 1.13 jonathan { 5, s(struct ultrix_sys_select_args),
220 1.13 jonathan ultrix_sys_select }, /* 93 = select */
221 1.12 mycroft { 0, 0,
222 1.12 mycroft sys_nosys }, /* 94 = unimplemented setdopt */
223 1.12 mycroft { 1, s(struct sys_fsync_args),
224 1.12 mycroft sys_fsync }, /* 95 = fsync */
225 1.12 mycroft { 3, s(struct sys_setpriority_args),
226 1.12 mycroft sys_setpriority }, /* 96 = setpriority */
227 1.12 mycroft { 3, s(struct sys_socket_args),
228 1.12 mycroft sys_socket }, /* 97 = socket */
229 1.12 mycroft { 3, s(struct sys_connect_args),
230 1.12 mycroft sys_connect }, /* 98 = connect */
231 1.12 mycroft { 3, s(struct compat_43_sys_accept_args),
232 1.12 mycroft compat_43_sys_accept }, /* 99 = accept */
233 1.12 mycroft { 2, s(struct sys_getpriority_args),
234 1.12 mycroft sys_getpriority }, /* 100 = getpriority */
235 1.12 mycroft { 4, s(struct compat_43_sys_send_args),
236 1.12 mycroft compat_43_sys_send }, /* 101 = send */
237 1.12 mycroft { 4, s(struct compat_43_sys_recv_args),
238 1.12 mycroft compat_43_sys_recv }, /* 102 = recv */
239 1.12 mycroft { 1, s(struct sys_sigreturn_args),
240 1.12 mycroft sys_sigreturn }, /* 103 = sigreturn */
241 1.12 mycroft { 3, s(struct sys_bind_args),
242 1.12 mycroft sys_bind }, /* 104 = bind */
243 1.12 mycroft { 5, s(struct ultrix_sys_setsockopt_args),
244 1.12 mycroft ultrix_sys_setsockopt }, /* 105 = setsockopt */
245 1.12 mycroft { 2, s(struct sys_listen_args),
246 1.12 mycroft sys_listen }, /* 106 = listen */
247 1.12 mycroft { 0, 0,
248 1.12 mycroft sys_nosys }, /* 107 = unimplemented vtimes */
249 1.12 mycroft { 3, s(struct compat_43_sys_sigvec_args),
250 1.12 mycroft compat_43_sys_sigvec }, /* 108 = sigvec */
251 1.12 mycroft { 1, s(struct compat_43_sys_sigblock_args),
252 1.12 mycroft compat_43_sys_sigblock }, /* 109 = sigblock */
253 1.12 mycroft { 1, s(struct compat_43_sys_sigsetmask_args),
254 1.12 mycroft compat_43_sys_sigsetmask }, /* 110 = sigsetmask */
255 1.12 mycroft { 1, s(struct sys_sigsuspend_args),
256 1.12 mycroft sys_sigsuspend }, /* 111 = sigsuspend */
257 1.12 mycroft { 2, s(struct compat_43_sys_sigstack_args),
258 1.12 mycroft compat_43_sys_sigstack }, /* 112 = sigstack */
259 1.12 mycroft { 3, s(struct compat_43_sys_recvmsg_args),
260 1.12 mycroft compat_43_sys_recvmsg }, /* 113 = recvmsg */
261 1.12 mycroft { 3, s(struct compat_43_sys_sendmsg_args),
262 1.12 mycroft compat_43_sys_sendmsg }, /* 114 = sendmsg */
263 1.12 mycroft { 0, 0,
264 1.12 mycroft sys_nosys }, /* 115 = obsolete vtrace */
265 1.12 mycroft { 2, s(struct sys_gettimeofday_args),
266 1.12 mycroft sys_gettimeofday }, /* 116 = gettimeofday */
267 1.12 mycroft { 2, s(struct sys_getrusage_args),
268 1.12 mycroft sys_getrusage }, /* 117 = getrusage */
269 1.12 mycroft { 5, s(struct sys_getsockopt_args),
270 1.12 mycroft sys_getsockopt }, /* 118 = getsockopt */
271 1.12 mycroft { 0, 0,
272 1.12 mycroft sys_nosys }, /* 119 = unimplemented resuba */
273 1.12 mycroft { 3, s(struct sys_readv_args),
274 1.12 mycroft sys_readv }, /* 120 = readv */
275 1.12 mycroft { 3, s(struct sys_writev_args),
276 1.12 mycroft sys_writev }, /* 121 = writev */
277 1.12 mycroft { 2, s(struct sys_settimeofday_args),
278 1.12 mycroft sys_settimeofday }, /* 122 = settimeofday */
279 1.27 kleink { 3, s(struct sys___posix_fchown_args),
280 1.27 kleink sys___posix_fchown }, /* 123 = __posix_fchown */
281 1.12 mycroft { 2, s(struct sys_fchmod_args),
282 1.12 mycroft sys_fchmod }, /* 124 = fchmod */
283 1.12 mycroft { 6, s(struct compat_43_sys_recvfrom_args),
284 1.12 mycroft compat_43_sys_recvfrom }, /* 125 = recvfrom */
285 1.16 mycroft { 2, s(struct sys_setreuid_args),
286 1.16 mycroft sys_setreuid }, /* 126 = setreuid */
287 1.16 mycroft { 2, s(struct sys_setregid_args),
288 1.16 mycroft sys_setregid }, /* 127 = setregid */
289 1.12 mycroft { 2, s(struct sys_rename_args),
290 1.12 mycroft sys_rename }, /* 128 = rename */
291 1.12 mycroft { 2, s(struct compat_43_sys_truncate_args),
292 1.12 mycroft compat_43_sys_truncate }, /* 129 = truncate */
293 1.12 mycroft { 2, s(struct compat_43_sys_ftruncate_args),
294 1.12 mycroft compat_43_sys_ftruncate }, /* 130 = ftruncate */
295 1.12 mycroft { 2, s(struct sys_flock_args),
296 1.12 mycroft sys_flock }, /* 131 = flock */
297 1.12 mycroft { 0, 0,
298 1.12 mycroft sys_nosys }, /* 132 = unimplemented */
299 1.12 mycroft { 6, s(struct sys_sendto_args),
300 1.12 mycroft sys_sendto }, /* 133 = sendto */
301 1.12 mycroft { 2, s(struct sys_shutdown_args),
302 1.12 mycroft sys_shutdown }, /* 134 = shutdown */
303 1.12 mycroft { 4, s(struct sys_socketpair_args),
304 1.12 mycroft sys_socketpair }, /* 135 = socketpair */
305 1.12 mycroft { 2, s(struct sys_mkdir_args),
306 1.12 mycroft sys_mkdir }, /* 136 = mkdir */
307 1.12 mycroft { 1, s(struct sys_rmdir_args),
308 1.12 mycroft sys_rmdir }, /* 137 = rmdir */
309 1.12 mycroft { 2, s(struct sys_utimes_args),
310 1.12 mycroft sys_utimes }, /* 138 = utimes */
311 1.12 mycroft { 1, s(struct ultrix_sys_sigcleanup_args),
312 1.12 mycroft ultrix_sys_sigcleanup }, /* 139 = sigcleanup */
313 1.12 mycroft { 2, s(struct sys_adjtime_args),
314 1.12 mycroft sys_adjtime }, /* 140 = adjtime */
315 1.12 mycroft { 3, s(struct compat_43_sys_getpeername_args),
316 1.12 mycroft compat_43_sys_getpeername }, /* 141 = getpeername */
317 1.12 mycroft { 0, 0,
318 1.12 mycroft compat_43_sys_gethostid }, /* 142 = gethostid */
319 1.12 mycroft { 0, 0,
320 1.12 mycroft sys_nosys }, /* 143 = unimplemented old sethostid */
321 1.12 mycroft { 2, s(struct compat_43_sys_getrlimit_args),
322 1.12 mycroft compat_43_sys_getrlimit }, /* 144 = getrlimit */
323 1.12 mycroft { 2, s(struct compat_43_sys_setrlimit_args),
324 1.12 mycroft compat_43_sys_setrlimit }, /* 145 = setrlimit */
325 1.12 mycroft { 2, s(struct compat_43_sys_killpg_args),
326 1.12 mycroft compat_43_sys_killpg }, /* 146 = killpg */
327 1.12 mycroft { 0, 0,
328 1.12 mycroft sys_nosys }, /* 147 = unimplemented */
329 1.12 mycroft { 0, 0,
330 1.12 mycroft sys_nosys }, /* 148 = unimplemented setquota */
331 1.12 mycroft { 0, 0,
332 1.12 mycroft sys_nosys }, /* 149 = unimplemented quota / * needs to be nullop to boot on Ultrix root partition * / */
333 1.12 mycroft { 3, s(struct compat_43_sys_getsockname_args),
334 1.12 mycroft compat_43_sys_getsockname }, /* 150 = getsockname */
335 1.12 mycroft { 0, 0,
336 1.12 mycroft sys_nosys }, /* 151 = unimplemented sysmips / * 4 args * / */
337 1.20 jonathan #ifdef __mips
338 1.20 jonathan { 3, s(struct ultrix_sys_cacheflush_args),
339 1.20 jonathan ultrix_sys_cacheflush }, /* 152 = cacheflush */
340 1.20 jonathan { 3, s(struct ultrix_sys_cachectl_args),
341 1.20 jonathan ultrix_sys_cachectl }, /* 153 = cachectl */
342 1.20 jonathan #else /* !mips */
343 1.12 mycroft { 0, 0,
344 1.20 jonathan sys_nosys }, /* 152 = unimplemented */
345 1.12 mycroft { 0, 0,
346 1.20 jonathan sys_nosys }, /* 153 = unimplemented */
347 1.20 jonathan #endif /* !mips */
348 1.6 dean { 0, 0,
349 1.12 mycroft sys_nosys }, /* 154 = unimplemented */
350 1.6 dean { 0, 0,
351 1.12 mycroft sys_nosys }, /* 155 = unimplemented atomic_op */
352 1.6 dean { 0, 0,
353 1.12 mycroft sys_nosys }, /* 156 = unimplemented */
354 1.6 dean { 0, 0,
355 1.12 mycroft sys_nosys }, /* 157 = unimplemented */
356 1.6 dean #ifdef NFSSERVER
357 1.12 mycroft { 1, s(struct ultrix_sys_nfssvc_args),
358 1.12 mycroft ultrix_sys_nfssvc }, /* 158 = nfssvc */
359 1.6 dean #else
360 1.6 dean { 0, 0,
361 1.12 mycroft sys_nosys }, /* 158 = unimplemented */
362 1.6 dean #endif
363 1.12 mycroft { 4, s(struct compat_43_sys_getdirentries_args),
364 1.12 mycroft compat_43_sys_getdirentries }, /* 159 = getdirentries */
365 1.12 mycroft { 2, s(struct ultrix_sys_statfs_args),
366 1.12 mycroft ultrix_sys_statfs }, /* 160 = statfs */
367 1.12 mycroft { 2, s(struct ultrix_sys_fstatfs_args),
368 1.12 mycroft ultrix_sys_fstatfs }, /* 161 = fstatfs */
369 1.12 mycroft { 0, 0,
370 1.12 mycroft sys_nosys }, /* 162 = unimplemented umount */
371 1.18 thorpej #ifdef NFS
372 1.6 dean { 0, 0,
373 1.6 dean async_daemon }, /* 163 = async_daemon */
374 1.12 mycroft { 2, s(struct sys_getfh_args),
375 1.12 mycroft sys_getfh }, /* 164 = getfh */
376 1.6 dean #else
377 1.6 dean { 0, 0,
378 1.12 mycroft sys_nosys }, /* 163 = unimplemented async_daemon */
379 1.6 dean { 0, 0,
380 1.12 mycroft sys_nosys }, /* 164 = unimplemented getfh */
381 1.6 dean #endif
382 1.12 mycroft { 2, s(struct compat_09_sys_getdomainname_args),
383 1.12 mycroft compat_09_sys_getdomainname }, /* 165 = getdomainname */
384 1.12 mycroft { 2, s(struct compat_09_sys_setdomainname_args),
385 1.12 mycroft compat_09_sys_setdomainname }, /* 166 = setdomainname */
386 1.6 dean { 0, 0,
387 1.12 mycroft sys_nosys }, /* 167 = unimplemented */
388 1.12 mycroft { 4, s(struct ultrix_sys_quotactl_args),
389 1.12 mycroft ultrix_sys_quotactl }, /* 168 = quotactl */
390 1.12 mycroft { 2, s(struct ultrix_sys_exportfs_args),
391 1.12 mycroft ultrix_sys_exportfs }, /* 169 = exportfs */
392 1.6 dean { 0, 0,
393 1.14 jonathan sys_nosys }, /* 170 = unimplemented { int ultrix_sys_mount ( char * special , char * dir , int rdonly , int type , caddr_t data ) ; } */
394 1.6 dean { 0, 0,
395 1.12 mycroft sys_nosys }, /* 171 = unimplemented 4 hdwconf */
396 1.6 dean { 0, 0,
397 1.12 mycroft sys_nosys }, /* 172 = unimplemented msgctl */
398 1.6 dean { 0, 0,
399 1.12 mycroft sys_nosys }, /* 173 = unimplemented msgget */
400 1.6 dean { 0, 0,
401 1.12 mycroft sys_nosys }, /* 174 = unimplemented msgrcv */
402 1.6 dean { 0, 0,
403 1.12 mycroft sys_nosys }, /* 175 = unimplemented msgsnd */
404 1.6 dean { 0, 0,
405 1.12 mycroft sys_nosys }, /* 176 = unimplemented semctl */
406 1.6 dean { 0, 0,
407 1.12 mycroft sys_nosys }, /* 177 = unimplemented semget */
408 1.6 dean { 0, 0,
409 1.12 mycroft sys_nosys }, /* 178 = unimplemented semop */
410 1.12 mycroft { 1, s(struct ultrix_sys_uname_args),
411 1.12 mycroft ultrix_sys_uname }, /* 179 = uname */
412 1.19 jonathan { 4, s(struct ultrix_sys_shmsys_args),
413 1.19 jonathan ultrix_sys_shmsys }, /* 180 = shmsys */
414 1.6 dean { 0, 0,
415 1.12 mycroft sys_nosys }, /* 181 = unimplemented 0 plock */
416 1.6 dean { 0, 0,
417 1.12 mycroft sys_nosys }, /* 182 = unimplemented 0 lockf */
418 1.12 mycroft { 2, s(struct ultrix_sys_ustat_args),
419 1.12 mycroft ultrix_sys_ustat }, /* 183 = ustat */
420 1.13 jonathan { 5, s(struct ultrix_sys_getmnt_args),
421 1.13 jonathan ultrix_sys_getmnt }, /* 184 = getmnt */
422 1.6 dean { 0, 0,
423 1.12 mycroft sys_nosys }, /* 185 = unimplemented notdef */
424 1.6 dean { 0, 0,
425 1.12 mycroft sys_nosys }, /* 186 = unimplemented notdef */
426 1.12 mycroft { 1, s(struct ultrix_sys_sigpending_args),
427 1.12 mycroft ultrix_sys_sigpending }, /* 187 = sigpending */
428 1.6 dean { 0, 0,
429 1.12 mycroft sys_setsid }, /* 188 = setsid */
430 1.12 mycroft { 3, s(struct ultrix_sys_waitpid_args),
431 1.12 mycroft ultrix_sys_waitpid }, /* 189 = waitpid */
432 1.6 dean { 0, 0,
433 1.12 mycroft sys_nosys }, /* 190 = unimplemented */
434 1.6 dean { 0, 0,
435 1.12 mycroft sys_nosys }, /* 191 = unimplemented */
436 1.6 dean { 0, 0,
437 1.12 mycroft sys_nosys }, /* 192 = unimplemented */
438 1.6 dean { 0, 0,
439 1.12 mycroft sys_nosys }, /* 193 = unimplemented */
440 1.6 dean { 0, 0,
441 1.12 mycroft sys_nosys }, /* 194 = unimplemented */
442 1.6 dean { 0, 0,
443 1.12 mycroft sys_nosys }, /* 195 = unimplemented */
444 1.6 dean { 0, 0,
445 1.12 mycroft sys_nosys }, /* 196 = unimplemented */
446 1.6 dean { 0, 0,
447 1.12 mycroft sys_nosys }, /* 197 = unimplemented */
448 1.6 dean { 0, 0,
449 1.12 mycroft sys_nosys }, /* 198 = unimplemented */
450 1.6 dean { 0, 0,
451 1.12 mycroft sys_nosys }, /* 199 = unimplemented */
452 1.6 dean { 0, 0,
453 1.12 mycroft sys_nosys }, /* 200 = unimplemented */
454 1.6 dean { 0, 0,
455 1.12 mycroft sys_nosys }, /* 201 = unimplemented */
456 1.6 dean { 0, 0,
457 1.12 mycroft sys_nosys }, /* 202 = unimplemented */
458 1.6 dean { 0, 0,
459 1.12 mycroft sys_nosys }, /* 203 = unimplemented */
460 1.6 dean { 0, 0,
461 1.12 mycroft sys_nosys }, /* 204 = unimplemented */
462 1.6 dean { 0, 0,
463 1.12 mycroft sys_nosys }, /* 205 = unimplemented */
464 1.6 dean { 0, 0,
465 1.12 mycroft sys_nosys }, /* 206 = unimplemented */
466 1.6 dean { 0, 0,
467 1.12 mycroft sys_nosys }, /* 207 = unimplemented */
468 1.6 dean { 0, 0,
469 1.12 mycroft sys_nosys }, /* 208 = unimplemented */
470 1.6 dean { 0, 0,
471 1.12 mycroft sys_nosys }, /* 209 = unimplemented */
472 1.6 dean { 0, 0,
473 1.12 mycroft sys_nosys }, /* 210 = unimplemented */
474 1.6 dean { 0, 0,
475 1.12 mycroft sys_nosys }, /* 211 = unimplemented */
476 1.6 dean { 0, 0,
477 1.12 mycroft sys_nosys }, /* 212 = unimplemented */
478 1.6 dean { 0, 0,
479 1.12 mycroft sys_nosys }, /* 213 = unimplemented */
480 1.6 dean { 0, 0,
481 1.12 mycroft sys_nosys }, /* 214 = unimplemented */
482 1.6 dean { 0, 0,
483 1.12 mycroft sys_nosys }, /* 215 = unimplemented */
484 1.6 dean { 0, 0,
485 1.12 mycroft sys_nosys }, /* 216 = unimplemented */
486 1.6 dean { 0, 0,
487 1.12 mycroft sys_nosys }, /* 217 = unimplemented */
488 1.6 dean { 0, 0,
489 1.12 mycroft sys_nosys }, /* 218 = unimplemented */
490 1.6 dean { 0, 0,
491 1.12 mycroft sys_nosys }, /* 219 = unimplemented */
492 1.6 dean { 0, 0,
493 1.12 mycroft sys_nosys }, /* 220 = unimplemented */
494 1.6 dean { 0, 0,
495 1.12 mycroft sys_nosys }, /* 221 = unimplemented */
496 1.6 dean { 0, 0,
497 1.12 mycroft sys_nosys }, /* 222 = unimplemented */
498 1.6 dean { 0, 0,
499 1.12 mycroft sys_nosys }, /* 223 = unimplemented */
500 1.6 dean { 0, 0,
501 1.12 mycroft sys_nosys }, /* 224 = unimplemented */
502 1.6 dean { 0, 0,
503 1.12 mycroft sys_nosys }, /* 225 = unimplemented */
504 1.6 dean { 0, 0,
505 1.12 mycroft sys_nosys }, /* 226 = unimplemented */
506 1.6 dean { 0, 0,
507 1.12 mycroft sys_nosys }, /* 227 = unimplemented */
508 1.6 dean { 0, 0,
509 1.12 mycroft sys_nosys }, /* 228 = unimplemented */
510 1.6 dean { 0, 0,
511 1.12 mycroft sys_nosys }, /* 229 = unimplemented */
512 1.6 dean { 0, 0,
513 1.12 mycroft sys_nosys }, /* 230 = unimplemented */
514 1.6 dean { 0, 0,
515 1.12 mycroft sys_nosys }, /* 231 = unimplemented */
516 1.6 dean { 0, 0,
517 1.12 mycroft sys_nosys }, /* 232 = unimplemented */
518 1.6 dean { 0, 0,
519 1.12 mycroft sys_nosys }, /* 233 = unimplemented 1 utc_gettime */
520 1.6 dean { 0, 0,
521 1.12 mycroft sys_nosys }, /* 234 = unimplemented 2 utc_adjtime */
522 1.6 dean { 0, 0,
523 1.12 mycroft sys_nosys }, /* 235 = unimplemented */
524 1.6 dean { 0, 0,
525 1.12 mycroft sys_nosys }, /* 236 = unimplemented */
526 1.6 dean { 0, 0,
527 1.12 mycroft sys_nosys }, /* 237 = unimplemented */
528 1.6 dean { 0, 0,
529 1.12 mycroft sys_nosys }, /* 238 = unimplemented */
530 1.6 dean { 0, 0,
531 1.12 mycroft sys_nosys }, /* 239 = unimplemented */
532 1.6 dean { 0, 0,
533 1.12 mycroft sys_nosys }, /* 240 = unimplemented */
534 1.6 dean { 0, 0,
535 1.12 mycroft sys_nosys }, /* 241 = unimplemented */
536 1.6 dean { 0, 0,
537 1.12 mycroft sys_nosys }, /* 242 = unimplemented */
538 1.6 dean { 0, 0,
539 1.12 mycroft sys_nosys }, /* 243 = unimplemented */
540 1.6 dean { 0, 0,
541 1.12 mycroft sys_nosys }, /* 244 = unimplemented */
542 1.6 dean { 0, 0,
543 1.12 mycroft sys_nosys }, /* 245 = unimplemented */
544 1.6 dean { 0, 0,
545 1.12 mycroft sys_nosys }, /* 246 = unimplemented */
546 1.6 dean { 0, 0,
547 1.12 mycroft sys_nosys }, /* 247 = unimplemented */
548 1.6 dean { 0, 0,
549 1.12 mycroft sys_nosys }, /* 248 = unimplemented */
550 1.6 dean { 0, 0,
551 1.12 mycroft sys_nosys }, /* 249 = unimplemented */
552 1.6 dean { 0, 0,
553 1.12 mycroft sys_nosys }, /* 250 = unimplemented */
554 1.6 dean { 0, 0,
555 1.12 mycroft sys_nosys }, /* 251 = unimplemented */
556 1.6 dean { 0, 0,
557 1.12 mycroft sys_nosys }, /* 252 = unimplemented audctl / * Make no-op for installation on Ultrix rootpartition? * / */
558 1.6 dean { 0, 0,
559 1.12 mycroft sys_nosys }, /* 253 = unimplemented audgen / * Make no-op for installation on Ultrix rootpartition? * / */
560 1.6 dean { 0, 0,
561 1.12 mycroft sys_nosys }, /* 254 = unimplemented startcpu */
562 1.6 dean { 0, 0,
563 1.12 mycroft sys_nosys }, /* 255 = unimplemented stopcpu */
564 1.12 mycroft { 5, s(struct ultrix_sys_getsysinfo_args),
565 1.12 mycroft ultrix_sys_getsysinfo }, /* 256 = getsysinfo */
566 1.12 mycroft { 5, s(struct ultrix_sys_setsysinfo_args),
567 1.12 mycroft ultrix_sys_setsysinfo }, /* 257 = setsysinfo */
568 1.1 glass };
569 1.1 glass
570