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