aoutm68k_syscalls.c revision 1.17.6.2 1 1.17.6.2 tron /* $NetBSD: aoutm68k_syscalls.c,v 1.17.6.2 2006/05/24 15:48:26 tron Exp $ */
2 1.17.6.2 tron
3 1.17.6.2 tron /*
4 1.17.6.2 tron * System call names.
5 1.17.6.2 tron *
6 1.17.6.2 tron * DO NOT EDIT-- this file is automatically generated.
7 1.17.6.2 tron * created from NetBSD: syscalls.master,v 1.15 2006/05/07 08:39:22 tsutsui Exp
8 1.17.6.2 tron */
9 1.17.6.2 tron
10 1.17.6.2 tron #include <sys/cdefs.h>
11 1.17.6.2 tron __KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.17.6.2 2006/05/24 15:48:26 tron Exp $");
12 1.17.6.2 tron
13 1.17.6.2 tron #if defined(_KERNEL_OPT)
14 1.17.6.2 tron #if defined(_KERNEL_OPT)
15 1.17.6.2 tron #include "opt_ktrace.h"
16 1.17.6.2 tron #include "opt_nfsserver.h"
17 1.17.6.2 tron #include "opt_ntp.h"
18 1.17.6.2 tron #include "opt_compat_netbsd.h"
19 1.17.6.2 tron #include "opt_sysv.h"
20 1.17.6.2 tron #include "opt_compat_43.h"
21 1.17.6.2 tron #include "fs_lfs.h"
22 1.17.6.2 tron #include "fs_nfs.h"
23 1.17.6.2 tron #endif
24 1.17.6.2 tron #include <sys/param.h>
25 1.17.6.2 tron #include <sys/systm.h>
26 1.17.6.2 tron #include <sys/signal.h>
27 1.17.6.2 tron #include <sys/mount.h>
28 1.17.6.2 tron #include <sys/sa.h>
29 1.17.6.2 tron #include <sys/syscallargs.h>
30 1.17.6.2 tron #include <compat/aoutm68k/aoutm68k_syscallargs.h>
31 1.17.6.2 tron #endif /* _KERNEL_OPT */
32 1.17.6.2 tron
33 1.17.6.2 tron const char *const aoutm68k_syscallnames[] = {
34 1.17.6.2 tron "syscall", /* 0 = syscall */
35 1.17.6.2 tron "exit", /* 1 = exit */
36 1.17.6.2 tron "fork", /* 2 = fork */
37 1.17.6.2 tron "read", /* 3 = read */
38 1.17.6.2 tron "write", /* 4 = write */
39 1.17.6.2 tron "open", /* 5 = open */
40 1.17.6.2 tron "close", /* 6 = close */
41 1.17.6.2 tron "wait4", /* 7 = wait4 */
42 1.17.6.2 tron #if defined(COMPAT_43) || !defined(_KERNEL)
43 1.17.6.2 tron "ocreat", /* 8 = ocreat */
44 1.17.6.2 tron #else
45 1.17.6.2 tron "#8 (excluded compat_43_sys_creat)", /* 8 = excluded compat_43_sys_creat */
46 1.17.6.2 tron #endif
47 1.17.6.2 tron "link", /* 9 = link */
48 1.17.6.2 tron "unlink", /* 10 = unlink */
49 1.17.6.2 tron "#11 (obsolete execv)", /* 11 = obsolete execv */
50 1.17.6.2 tron "chdir", /* 12 = chdir */
51 1.17.6.2 tron "fchdir", /* 13 = fchdir */
52 1.17.6.2 tron "mknod", /* 14 = mknod */
53 1.17.6.2 tron "chmod", /* 15 = chmod */
54 1.17.6.2 tron "chown", /* 16 = chown */
55 1.17.6.2 tron "break", /* 17 = break */
56 1.17.6.2 tron #if defined(COMPAT_20) || !defined(_KERNEL)
57 1.17.6.2 tron "getfsstat", /* 18 = getfsstat */
58 1.17.6.2 tron #else
59 1.17.6.2 tron "#18 (excluded compat_20_sys_getfsstat)", /* 18 = excluded compat_20_sys_getfsstat */
60 1.17.6.2 tron #endif
61 1.17.6.2 tron #if defined(COMPAT_43) || !defined(_KERNEL)
62 1.17.6.2 tron "olseek", /* 19 = olseek */
63 1.17.6.2 tron #else
64 1.17.6.2 tron "#19 (excluded compat_43_sys_lseek)", /* 19 = excluded compat_43_sys_lseek */
65 1.17.6.2 tron #endif
66 1.17.6.2 tron "getpid", /* 20 = getpid */
67 1.17.6.2 tron "mount", /* 21 = mount */
68 1.17.6.2 tron "unmount", /* 22 = unmount */
69 1.17.6.2 tron "setuid", /* 23 = setuid */
70 1.17.6.2 tron "getuid", /* 24 = getuid */
71 1.17.6.2 tron "geteuid", /* 25 = geteuid */
72 1.17.6.2 tron "ptrace", /* 26 = ptrace */
73 1.17.6.2 tron "recvmsg", /* 27 = recvmsg */
74 1.17.6.2 tron "sendmsg", /* 28 = sendmsg */
75 1.17.6.2 tron "recvfrom", /* 29 = recvfrom */
76 1.17.6.2 tron "accept", /* 30 = accept */
77 1.17.6.2 tron "getpeername", /* 31 = getpeername */
78 1.17.6.2 tron "getsockname", /* 32 = getsockname */
79 1.17.6.2 tron "access", /* 33 = access */
80 1.17.6.2 tron "chflags", /* 34 = chflags */
81 1.17.6.2 tron "fchflags", /* 35 = fchflags */
82 1.17.6.2 tron "sync", /* 36 = sync */
83 1.17.6.2 tron "kill", /* 37 = kill */
84 1.17.6.2 tron #if defined(COMPAT_43) || !defined(_KERNEL)
85 1.17.6.2 tron "stat43", /* 38 = stat43 */
86 1.17.6.2 tron #else
87 1.17.6.2 tron "#38 (excluded aoutm68k_compat_43_sys_stat)", /* 38 = excluded aoutm68k_compat_43_sys_stat */
88 1.17.6.2 tron #endif
89 1.17.6.2 tron "getppid", /* 39 = getppid */
90 1.17.6.2 tron #if defined(COMPAT_43) || !defined(_KERNEL)
91 1.17.6.2 tron "lstat43", /* 40 = lstat43 */
92 1.17.6.2 tron #else
93 1.17.6.2 tron "#40 (excluded aoutm68k_compat_43_sys_lstat)", /* 40 = excluded aoutm68k_compat_43_sys_lstat */
94 1.17.6.2 tron #endif
95 1.17.6.2 tron "dup", /* 41 = dup */
96 1.17.6.2 tron "pipe", /* 42 = pipe */
97 1.17.6.2 tron "getegid", /* 43 = getegid */
98 1.17.6.2 tron "profil", /* 44 = profil */
99 1.17.6.2 tron #if defined(KTRACE) || !defined(_KERNEL)
100 1.17.6.2 tron "ktrace", /* 45 = ktrace */
101 1.17.6.2 tron #else
102 1.17.6.2 tron "#45 (excluded ktrace)", /* 45 = excluded ktrace */
103 1.17.6.2 tron #endif
104 1.17.6.2 tron #if defined(COMPAT_13) || !defined(_KERNEL)
105 1.17.6.2 tron "sigaction13", /* 46 = sigaction13 */
106 1.17.6.2 tron #else
107 1.17.6.2 tron "#46 (excluded compat_13_sys_sigaction)", /* 46 = excluded compat_13_sys_sigaction */
108 1.17.6.2 tron #endif
109 1.17.6.2 tron "getgid", /* 47 = getgid */
110 1.17.6.2 tron #if defined(COMPAT_13) || !defined(_KERNEL)
111 1.17.6.2 tron "sigprocmask13", /* 48 = sigprocmask13 */
112 1.17.6.2 tron #else
113 1.17.6.2 tron "#48 (excluded compat_13_sys_sigprocmask)", /* 48 = excluded compat_13_sys_sigprocmask */
114 1.17.6.2 tron #endif
115 1.17.6.2 tron "__getlogin", /* 49 = __getlogin */
116 1.17.6.2 tron "__setlogin", /* 50 = __setlogin */
117 1.17.6.2 tron "acct", /* 51 = acct */
118 1.17.6.2 tron #if defined(COMPAT_13) || !defined(_KERNEL)
119 1.17.6.2 tron "sigpending13", /* 52 = sigpending13 */
120 1.17.6.2 tron "sigaltstack13", /* 53 = sigaltstack13 */
121 1.17.6.2 tron #else
122 1.17.6.2 tron "#52 (excluded compat_13_sys_sigpending)", /* 52 = excluded compat_13_sys_sigpending */
123 1.17.6.2 tron "#53 (excluded compat_13_sys_sigaltstack)", /* 53 = excluded compat_13_sys_sigaltstack */
124 1.17.6.2 tron #endif
125 1.17.6.2 tron "ioctl", /* 54 = ioctl */
126 1.17.6.2 tron #if defined(COMPAT_12) || !defined(_KERNEL)
127 1.17.6.2 tron "oreboot", /* 55 = oreboot */
128 1.17.6.2 tron #else
129 1.17.6.2 tron "#55 (excluded compat_12_sys_reboot)", /* 55 = excluded compat_12_sys_reboot */
130 1.17.6.2 tron #endif
131 1.17.6.2 tron "revoke", /* 56 = revoke */
132 1.17.6.2 tron "symlink", /* 57 = symlink */
133 1.17.6.2 tron "readlink", /* 58 = readlink */
134 1.17.6.2 tron "execve", /* 59 = execve */
135 1.17.6.2 tron "umask", /* 60 = umask */
136 1.17.6.2 tron "chroot", /* 61 = chroot */
137 1.17.6.2 tron #if defined(COMPAT_43) || !defined(_KERNEL)
138 1.17.6.2 tron "fstat43", /* 62 = fstat43 */
139 1.17.6.2 tron "ogetkerninfo", /* 63 = ogetkerninfo */
140 1.17.6.2 tron "ogetpagesize", /* 64 = ogetpagesize */
141 1.17.6.2 tron #else
142 1.17.6.2 tron "#62 (excluded aoutm68k_compat_43_sys_fstat)", /* 62 = excluded aoutm68k_compat_43_sys_fstat */
143 1.17.6.2 tron "#63 (excluded compat_43_sys_getkerninfo)", /* 63 = excluded compat_43_sys_getkerninfo */
144 1.17.6.2 tron "#64 (excluded compat_43_sys_getpagesize)", /* 64 = excluded compat_43_sys_getpagesize */
145 1.17.6.2 tron #endif
146 1.17.6.2 tron #if defined(COMPAT_12) || !defined(_KERNEL)
147 1.17.6.2 tron "msync", /* 65 = msync */
148 1.17.6.2 tron #else
149 1.17.6.2 tron "#65 (excluded compat_12_sys_msync)", /* 65 = excluded compat_12_sys_msync */
150 1.17.6.2 tron #endif
151 1.17.6.2 tron "vfork", /* 66 = vfork */
152 1.17.6.2 tron "#67 (obsolete vread)", /* 67 = obsolete vread */
153 1.17.6.2 tron "#68 (obsolete vwrite)", /* 68 = obsolete vwrite */
154 1.17.6.2 tron "sbrk", /* 69 = sbrk */
155 1.17.6.2 tron "sstk", /* 70 = sstk */
156 1.17.6.2 tron #if defined(COMPAT_43) || !defined(_KERNEL)
157 1.17.6.2 tron "ommap", /* 71 = ommap */
158 1.17.6.2 tron #else
159 1.17.6.2 tron "#71 (excluded compat_43_sys_mmap)", /* 71 = excluded compat_43_sys_mmap */
160 1.17.6.2 tron #endif
161 1.17.6.2 tron "vadvise", /* 72 = vadvise */
162 1.17.6.2 tron "munmap", /* 73 = munmap */
163 1.17.6.2 tron "mprotect", /* 74 = mprotect */
164 1.17.6.2 tron "madvise", /* 75 = madvise */
165 1.17.6.2 tron "#76 (obsolete vhangup)", /* 76 = obsolete vhangup */
166 1.17.6.2 tron "#77 (obsolete vlimit)", /* 77 = obsolete vlimit */
167 1.17.6.2 tron "mincore", /* 78 = mincore */
168 1.17.6.2 tron "getgroups", /* 79 = getgroups */
169 1.17.6.2 tron "setgroups", /* 80 = setgroups */
170 1.17.6.2 tron "getpgrp", /* 81 = getpgrp */
171 1.17.6.2 tron "setpgid", /* 82 = setpgid */
172 1.17.6.2 tron "setitimer", /* 83 = setitimer */
173 1.17.6.2 tron #if defined(COMPAT_43) || !defined(_KERNEL)
174 1.17.6.2 tron "owait", /* 84 = owait */
175 1.17.6.2 tron #else
176 1.17.6.2 tron "#84 (excluded compat_43_sys_wait)", /* 84 = excluded compat_43_sys_wait */
177 1.17.6.2 tron #endif
178 1.17.6.2 tron #if defined(COMPAT_12) || !defined(_KERNEL)
179 1.17.6.2 tron "oswapon", /* 85 = oswapon */
180 1.17.6.2 tron #else
181 1.17.6.2 tron "#85 (excluded compat_12_sys_swapon)", /* 85 = excluded compat_12_sys_swapon */
182 1.17.6.2 tron #endif
183 1.17.6.2 tron "getitimer", /* 86 = getitimer */
184 1.17.6.2 tron #if defined(COMPAT_43) || !defined(_KERNEL)
185 1.17.6.2 tron "ogethostname", /* 87 = ogethostname */
186 1.17.6.2 tron "osethostname", /* 88 = osethostname */
187 1.17.6.2 tron "ogetdtablesize", /* 89 = ogetdtablesize */
188 1.17.6.2 tron #else
189 1.17.6.2 tron "#87 (excluded compat_43_sys_gethostname)", /* 87 = excluded compat_43_sys_gethostname */
190 1.17.6.2 tron "#88 (excluded compat_43_sys_sethostname)", /* 88 = excluded compat_43_sys_sethostname */
191 1.17.6.2 tron "#89 (excluded compat_43_sys_getdtablesize)", /* 89 = excluded compat_43_sys_getdtablesize */
192 1.17.6.2 tron #endif
193 1.17.6.2 tron "dup2", /* 90 = dup2 */
194 1.17.6.2 tron "#91 (unimplemented getdopt)", /* 91 = unimplemented getdopt */
195 1.17.6.2 tron "fcntl", /* 92 = fcntl */
196 1.17.6.2 tron "select", /* 93 = select */
197 1.17.6.2 tron "#94 (unimplemented setdopt)", /* 94 = unimplemented setdopt */
198 1.17.6.2 tron "fsync", /* 95 = fsync */
199 1.17.6.2 tron "setpriority", /* 96 = setpriority */
200 1.17.6.2 tron "socket", /* 97 = socket */
201 1.17.6.2 tron "connect", /* 98 = connect */
202 1.17.6.2 tron #if defined(COMPAT_43) || !defined(_KERNEL)
203 1.17.6.2 tron "oaccept", /* 99 = oaccept */
204 1.17.6.2 tron #else
205 1.17.6.2 tron "#99 (excluded compat_43_sys_accept)", /* 99 = excluded compat_43_sys_accept */
206 1.17.6.2 tron #endif
207 1.17.6.2 tron "getpriority", /* 100 = getpriority */
208 1.17.6.2 tron #if defined(COMPAT_43) || !defined(_KERNEL)
209 1.17.6.2 tron "osend", /* 101 = osend */
210 1.17.6.2 tron "orecv", /* 102 = orecv */
211 1.17.6.2 tron #else
212 1.17.6.2 tron "#101 (excluded compat_43_sys_send)", /* 101 = excluded compat_43_sys_send */
213 1.17.6.2 tron "#102 (excluded compat_43_sys_recv)", /* 102 = excluded compat_43_sys_recv */
214 1.17.6.2 tron #endif
215 1.17.6.2 tron #if defined(COMPAT_13) || !defined(_KERNEL)
216 1.17.6.2 tron "sigreturn13", /* 103 = sigreturn13 */
217 1.17.6.2 tron #else
218 1.17.6.2 tron "#103 (excluded compat_13_sys_sigreturn)", /* 103 = excluded compat_13_sys_sigreturn */
219 1.17.6.2 tron #endif
220 1.17.6.2 tron "bind", /* 104 = bind */
221 1.17.6.2 tron "setsockopt", /* 105 = setsockopt */
222 1.17.6.2 tron "listen", /* 106 = listen */
223 1.17.6.2 tron "#107 (obsolete vtimes)", /* 107 = obsolete vtimes */
224 1.17.6.2 tron #if defined(COMPAT_43) || !defined(_KERNEL)
225 1.17.6.2 tron "osigvec", /* 108 = osigvec */
226 1.17.6.2 tron "osigblock", /* 109 = osigblock */
227 1.17.6.2 tron "osigsetmask", /* 110 = osigsetmask */
228 1.17.6.2 tron #else
229 1.17.6.2 tron "#108 (excluded compat_43_sys_sigvec)", /* 108 = excluded compat_43_sys_sigvec */
230 1.17.6.2 tron "#109 (excluded compat_43_sys_sigblock)", /* 109 = excluded compat_43_sys_sigblock */
231 1.17.6.2 tron "#110 (excluded compat_43_sys_sigsetmask)", /* 110 = excluded compat_43_sys_sigsetmask */
232 1.17.6.2 tron #endif
233 1.17.6.2 tron #if defined(COMPAT_13) || !defined(_KERNEL)
234 1.17.6.2 tron "sigsuspend13", /* 111 = sigsuspend13 */
235 1.17.6.2 tron #else
236 1.17.6.2 tron "#111 (excluded compat_13_sys_sigsuspend)", /* 111 = excluded compat_13_sys_sigsuspend */
237 1.17.6.2 tron #endif
238 1.17.6.2 tron #if defined(COMPAT_43) || !defined(_KERNEL)
239 1.17.6.2 tron "osigstack", /* 112 = osigstack */
240 1.17.6.2 tron "orecvmsg", /* 113 = orecvmsg */
241 1.17.6.2 tron "osendmsg", /* 114 = osendmsg */
242 1.17.6.2 tron #else
243 1.17.6.2 tron "#112 (excluded compat_43_sys_sigstack)", /* 112 = excluded compat_43_sys_sigstack */
244 1.17.6.2 tron "#113 (excluded compat_43_sys_recvmesg)", /* 113 = excluded compat_43_sys_recvmesg */
245 1.17.6.2 tron "#114 (excluded compat_43_sys_sendmesg)", /* 114 = excluded compat_43_sys_sendmesg */
246 1.17.6.2 tron #endif
247 1.17.6.2 tron "#115 (obsolete vtrace)", /* 115 = obsolete vtrace */
248 1.17.6.2 tron "gettimeofday", /* 116 = gettimeofday */
249 1.17.6.2 tron "getrusage", /* 117 = getrusage */
250 1.17.6.2 tron "getsockopt", /* 118 = getsockopt */
251 1.17.6.2 tron "#119 (obsolete resuba)", /* 119 = obsolete resuba */
252 1.17.6.2 tron "readv", /* 120 = readv */
253 1.17.6.2 tron "writev", /* 121 = writev */
254 1.17.6.2 tron "settimeofday", /* 122 = settimeofday */
255 1.17.6.2 tron "fchown", /* 123 = fchown */
256 1.17.6.2 tron "fchmod", /* 124 = fchmod */
257 1.17.6.2 tron #if defined(COMPAT_43) || !defined(_KERNEL)
258 1.17.6.2 tron "orecvfrom", /* 125 = orecvfrom */
259 1.17.6.2 tron #else
260 1.17.6.2 tron "#125 (excluded compat_43_sys_recvfrom)", /* 125 = excluded compat_43_sys_recvfrom */
261 1.17.6.2 tron #endif
262 1.17.6.2 tron "setreuid", /* 126 = setreuid */
263 1.17.6.2 tron "setregid", /* 127 = setregid */
264 1.17.6.2 tron "rename", /* 128 = rename */
265 1.17.6.2 tron #if defined(COMPAT_43) || !defined(_KERNEL)
266 1.17.6.2 tron "otruncate", /* 129 = otruncate */
267 1.17.6.2 tron "oftruncate", /* 130 = oftruncate */
268 1.17.6.2 tron #else
269 1.17.6.2 tron "#129 (excluded compat_43_sys_truncate)", /* 129 = excluded compat_43_sys_truncate */
270 1.17.6.2 tron "#130 (excluded compat_43_sys_ftruncate)", /* 130 = excluded compat_43_sys_ftruncate */
271 1.17.6.2 tron #endif
272 1.17.6.2 tron "flock", /* 131 = flock */
273 1.17.6.2 tron "mkfifo", /* 132 = mkfifo */
274 1.17.6.2 tron "sendto", /* 133 = sendto */
275 1.17.6.2 tron "shutdown", /* 134 = shutdown */
276 1.17.6.2 tron "socketpair", /* 135 = socketpair */
277 1.17.6.2 tron "mkdir", /* 136 = mkdir */
278 1.17.6.2 tron "rmdir", /* 137 = rmdir */
279 1.17.6.2 tron "utimes", /* 138 = utimes */
280 1.17.6.2 tron "#139 (obsolete 4.2 sigreturn)", /* 139 = obsolete 4.2 sigreturn */
281 1.17.6.2 tron "adjtime", /* 140 = adjtime */
282 1.17.6.2 tron #if defined(COMPAT_43) || !defined(_KERNEL)
283 1.17.6.2 tron "ogetpeername", /* 141 = ogetpeername */
284 1.17.6.2 tron "ogethostid", /* 142 = ogethostid */
285 1.17.6.2 tron "osethostid", /* 143 = osethostid */
286 1.17.6.2 tron "ogetrlimit", /* 144 = ogetrlimit */
287 1.17.6.2 tron "osetrlimit", /* 145 = osetrlimit */
288 1.17.6.2 tron "okillpg", /* 146 = okillpg */
289 1.17.6.2 tron #else
290 1.17.6.2 tron "#141 (excluded compat_43_sys_getpeername)", /* 141 = excluded compat_43_sys_getpeername */
291 1.17.6.2 tron "#142 (excluded compat_43_sys_gethostid)", /* 142 = excluded compat_43_sys_gethostid */
292 1.17.6.2 tron "#143 (excluded compat_43_sys_sethostid)", /* 143 = excluded compat_43_sys_sethostid */
293 1.17.6.2 tron "#144 (excluded compat_43_sys_getrlimit)", /* 144 = excluded compat_43_sys_getrlimit */
294 1.17.6.2 tron "#145 (excluded compat_43_sys_setrlimit)", /* 145 = excluded compat_43_sys_setrlimit */
295 1.17.6.2 tron "#146 (excluded compat_43_sys_killpg)", /* 146 = excluded compat_43_sys_killpg */
296 1.17.6.2 tron #endif
297 1.17.6.2 tron "setsid", /* 147 = setsid */
298 1.17.6.2 tron "quotactl", /* 148 = quotactl */
299 1.17.6.2 tron #if defined(COMPAT_43) || !defined(_KERNEL)
300 1.17.6.2 tron "oquota", /* 149 = oquota */
301 1.17.6.2 tron "ogetsockname", /* 150 = ogetsockname */
302 1.17.6.2 tron #else
303 1.17.6.2 tron "#149 (excluded compat_43_sys_quota)", /* 149 = excluded compat_43_sys_quota */
304 1.17.6.2 tron "#150 (excluded compat_43_sys_getsockname)", /* 150 = excluded compat_43_sys_getsockname */
305 1.17.6.2 tron #endif
306 1.17.6.2 tron "#151 (unimplemented)", /* 151 = unimplemented */
307 1.17.6.2 tron "#152 (unimplemented)", /* 152 = unimplemented */
308 1.17.6.2 tron "#153 (unimplemented)", /* 153 = unimplemented */
309 1.17.6.2 tron "#154 (unimplemented)", /* 154 = unimplemented */
310 1.17.6.2 tron #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
311 1.17.6.2 tron "nfssvc", /* 155 = nfssvc */
312 1.17.6.2 tron #else
313 1.17.6.2 tron "#155 (excluded nfssvc)", /* 155 = excluded nfssvc */
314 1.17.6.2 tron #endif
315 1.17.6.2 tron #if defined(COMPAT_43) || !defined(_KERNEL)
316 1.17.6.2 tron "ogetdirentries", /* 156 = ogetdirentries */
317 1.17.6.2 tron #else
318 1.17.6.2 tron "#156 (excluded compat_43_sys_getdirentries)", /* 156 = excluded compat_43_sys_getdirentries */
319 1.17.6.2 tron #endif
320 1.17.6.2 tron #if defined(COMPAT_20) || !defined(_KERNEL)
321 1.17.6.2 tron "statfs", /* 157 = statfs */
322 1.17.6.2 tron #else
323 1.17.6.2 tron "#157 (excluded compat_20_sys_statfs)", /* 157 = excluded compat_20_sys_statfs */
324 1.17.6.2 tron #endif
325 1.17.6.2 tron #if defined(COMPAT_20) || !defined(_KERNEL)
326 1.17.6.2 tron "fstatfs", /* 158 = fstatfs */
327 1.17.6.2 tron #else
328 1.17.6.2 tron "#158 (excluded compat_20_sys_statfs)", /* 158 = excluded compat_20_sys_statfs */
329 1.17.6.2 tron #endif
330 1.17.6.2 tron "#159 (unimplemented)", /* 159 = unimplemented */
331 1.17.6.2 tron "#160 (unimplemented)", /* 160 = unimplemented */
332 1.17.6.2 tron #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
333 1.17.6.2 tron "getfh", /* 161 = getfh */
334 1.17.6.2 tron #else
335 1.17.6.2 tron "#161 (excluded getfh)", /* 161 = excluded getfh */
336 1.17.6.2 tron #endif
337 1.17.6.2 tron #if defined(COMPAT_09) || !defined(_KERNEL)
338 1.17.6.2 tron "ogetdomainname", /* 162 = ogetdomainname */
339 1.17.6.2 tron "osetdomainname", /* 163 = osetdomainname */
340 1.17.6.2 tron "ouname", /* 164 = ouname */
341 1.17.6.2 tron #else
342 1.17.6.2 tron "#162 (excluded compat_09_sys_getdomainname)", /* 162 = excluded compat_09_sys_getdomainname */
343 1.17.6.2 tron "#163 (excluded compat_09_sys_setdomainname)", /* 163 = excluded compat_09_sys_setdomainname */
344 1.17.6.2 tron "#164 (excluded compat_09_sys_uname)", /* 164 = excluded compat_09_sys_uname */
345 1.17.6.2 tron #endif
346 1.17.6.2 tron "sysarch", /* 165 = sysarch */
347 1.17.6.2 tron "#166 (unimplemented)", /* 166 = unimplemented */
348 1.17.6.2 tron "#167 (unimplemented)", /* 167 = unimplemented */
349 1.17.6.2 tron "#168 (unimplemented)", /* 168 = unimplemented */
350 1.17.6.2 tron #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
351 1.17.6.2 tron "osemsys", /* 169 = osemsys */
352 1.17.6.2 tron #else
353 1.17.6.2 tron "#169 (excluded 1.0 semsys)", /* 169 = excluded 1.0 semsys */
354 1.17.6.2 tron #endif
355 1.17.6.2 tron #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
356 1.17.6.2 tron "omsgsys", /* 170 = omsgsys */
357 1.17.6.2 tron #else
358 1.17.6.2 tron "#170 (excluded 1.0 msgsys)", /* 170 = excluded 1.0 msgsys */
359 1.17.6.2 tron #endif
360 1.17.6.2 tron #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
361 1.17.6.2 tron "oshmsys", /* 171 = oshmsys */
362 1.17.6.2 tron #else
363 1.17.6.2 tron "#171 (excluded 1.0 shmsys)", /* 171 = excluded 1.0 shmsys */
364 1.17.6.2 tron #endif
365 1.17.6.2 tron "#172 (unimplemented)", /* 172 = unimplemented */
366 1.17.6.2 tron "pread", /* 173 = pread */
367 1.17.6.2 tron "pwrite", /* 174 = pwrite */
368 1.17.6.2 tron "ntp_gettime", /* 175 = ntp_gettime */
369 1.17.6.2 tron #if defined(NTP) || !defined(_KERNEL)
370 1.17.6.2 tron "ntp_adjtime", /* 176 = ntp_adjtime */
371 1.17.6.2 tron #else
372 1.17.6.2 tron "#176 (excluded ntp_adjtime)", /* 176 = excluded ntp_adjtime */
373 1.17.6.2 tron #endif
374 1.17.6.2 tron "#177 (unimplemented)", /* 177 = unimplemented */
375 1.17.6.2 tron "#178 (unimplemented)", /* 178 = unimplemented */
376 1.17.6.2 tron "#179 (unimplemented)", /* 179 = unimplemented */
377 1.17.6.2 tron "#180 (unimplemented)", /* 180 = unimplemented */
378 1.17.6.2 tron "setgid", /* 181 = setgid */
379 1.17.6.2 tron "setegid", /* 182 = setegid */
380 1.17.6.2 tron "seteuid", /* 183 = seteuid */
381 1.17.6.2 tron #if defined(LFS) || !defined(_KERNEL)
382 1.17.6.2 tron "lfs_bmapv", /* 184 = lfs_bmapv */
383 1.17.6.2 tron "lfs_markv", /* 185 = lfs_markv */
384 1.17.6.2 tron "lfs_segclean", /* 186 = lfs_segclean */
385 1.17.6.2 tron "lfs_segwait", /* 187 = lfs_segwait */
386 1.17.6.2 tron #else
387 1.17.6.2 tron "#184 (excluded lfs_bmapv)", /* 184 = excluded lfs_bmapv */
388 1.17.6.2 tron "#185 (excluded lfs_markv)", /* 185 = excluded lfs_markv */
389 1.17.6.2 tron "#186 (excluded lfs_segclean)", /* 186 = excluded lfs_segclean */
390 1.17.6.2 tron "#187 (excluded lfs_segwait)", /* 187 = excluded lfs_segwait */
391 1.17.6.2 tron #endif
392 1.17.6.2 tron #if defined(COMPAT_12) || !defined(_KERNEL)
393 1.17.6.2 tron "stat12", /* 188 = stat12 */
394 1.17.6.2 tron "fstat12", /* 189 = fstat12 */
395 1.17.6.2 tron "lstat12", /* 190 = lstat12 */
396 1.17.6.2 tron #else
397 1.17.6.2 tron "#188 (excluded aoutm68k_compat_12_sys_stat)", /* 188 = excluded aoutm68k_compat_12_sys_stat */
398 1.17.6.2 tron "#189 (excluded aoutm68k_compat_12_sys_fstat)", /* 189 = excluded aoutm68k_compat_12_sys_fstat */
399 1.17.6.2 tron "#190 (excluded aoutm68k_compat_12_sys_lstat)", /* 190 = excluded aoutm68k_compat_12_sys_lstat */
400 1.17.6.2 tron #endif
401 1.17.6.2 tron "pathconf", /* 191 = pathconf */
402 1.17.6.2 tron "fpathconf", /* 192 = fpathconf */
403 1.17.6.2 tron "#193 (unimplemented)", /* 193 = unimplemented */
404 1.17.6.2 tron "getrlimit", /* 194 = getrlimit */
405 1.17.6.2 tron "setrlimit", /* 195 = setrlimit */
406 1.17.6.2 tron #if defined(COMPAT_12) || !defined(_KERNEL)
407 1.17.6.2 tron "getdirentries", /* 196 = getdirentries */
408 1.17.6.2 tron #else
409 1.17.6.2 tron "#196 (excluded compat_12_sys_getdirentries)", /* 196 = excluded compat_12_sys_getdirentries */
410 1.17.6.2 tron #endif
411 1.17.6.2 tron "mmap", /* 197 = mmap */
412 1.17.6.2 tron "__syscall", /* 198 = __syscall */
413 1.17.6.2 tron "lseek", /* 199 = lseek */
414 1.17.6.2 tron "truncate", /* 200 = truncate */
415 1.17.6.2 tron "ftruncate", /* 201 = ftruncate */
416 1.17.6.2 tron "__sysctl", /* 202 = __sysctl */
417 1.17.6.2 tron "mlock", /* 203 = mlock */
418 1.17.6.2 tron "munlock", /* 204 = munlock */
419 1.17.6.2 tron "undelete", /* 205 = undelete */
420 1.17.6.2 tron "futimes", /* 206 = futimes */
421 1.17.6.2 tron "getpgid", /* 207 = getpgid */
422 1.17.6.2 tron "reboot", /* 208 = reboot */
423 1.17.6.2 tron "poll", /* 209 = poll */
424 1.17.6.2 tron #if defined(LKM) || !defined(_KERNEL)
425 1.17.6.2 tron "lkmnosys", /* 210 = lkmnosys */
426 1.17.6.2 tron "lkmnosys", /* 211 = lkmnosys */
427 1.17.6.2 tron "lkmnosys", /* 212 = lkmnosys */
428 1.17.6.2 tron "lkmnosys", /* 213 = lkmnosys */
429 1.17.6.2 tron "lkmnosys", /* 214 = lkmnosys */
430 1.17.6.2 tron "lkmnosys", /* 215 = lkmnosys */
431 1.17.6.2 tron "lkmnosys", /* 216 = lkmnosys */
432 1.17.6.2 tron "lkmnosys", /* 217 = lkmnosys */
433 1.17.6.2 tron "lkmnosys", /* 218 = lkmnosys */
434 1.17.6.2 tron "lkmnosys", /* 219 = lkmnosys */
435 1.17.6.2 tron #else /* !LKM */
436 1.17.6.2 tron "#210 (excluded lkmnosys)", /* 210 = excluded lkmnosys */
437 1.17.6.2 tron "#211 (excluded lkmnosys)", /* 211 = excluded lkmnosys */
438 1.17.6.2 tron "#212 (excluded lkmnosys)", /* 212 = excluded lkmnosys */
439 1.17.6.2 tron "#213 (excluded lkmnosys)", /* 213 = excluded lkmnosys */
440 1.17.6.2 tron "#214 (excluded lkmnosys)", /* 214 = excluded lkmnosys */
441 1.17.6.2 tron "#215 (excluded lkmnosys)", /* 215 = excluded lkmnosys */
442 1.17.6.2 tron "#216 (excluded lkmnosys)", /* 216 = excluded lkmnosys */
443 1.17.6.2 tron "#217 (excluded lkmnosys)", /* 217 = excluded lkmnosys */
444 1.17.6.2 tron "#218 (excluded lkmnosys)", /* 218 = excluded lkmnosys */
445 1.17.6.2 tron "#219 (excluded lkmnosys)", /* 219 = excluded lkmnosys */
446 1.17.6.2 tron #endif /* !LKM */
447 1.17.6.2 tron #if defined(SYSVSEM) || !defined(_KERNEL)
448 1.17.6.2 tron #if defined(COMPAT_14) || !defined(_KERNEL)
449 1.17.6.2 tron "__semctl", /* 220 = __semctl */
450 1.17.6.2 tron #else
451 1.17.6.2 tron "#220 (excluded compat_14_semctl)", /* 220 = excluded compat_14_semctl */
452 1.17.6.2 tron #endif
453 1.17.6.2 tron "semget", /* 221 = semget */
454 1.17.6.2 tron "semop", /* 222 = semop */
455 1.17.6.2 tron "semconfig", /* 223 = semconfig */
456 1.17.6.2 tron #else
457 1.17.6.2 tron "#220 (excluded compat_14_semctl)", /* 220 = excluded compat_14_semctl */
458 1.17.6.2 tron "#221 (excluded semget)", /* 221 = excluded semget */
459 1.17.6.2 tron "#222 (excluded semop)", /* 222 = excluded semop */
460 1.17.6.2 tron "#223 (excluded semconfig)", /* 223 = excluded semconfig */
461 1.17.6.2 tron #endif
462 1.17.6.2 tron #if defined(SYSVMSG) || !defined(_KERNEL)
463 1.17.6.2 tron #if defined(COMPAT_14) || !defined(_KERNEL)
464 1.17.6.2 tron "msgctl", /* 224 = msgctl */
465 1.17.6.2 tron #else
466 1.17.6.2 tron "#224 (excluded compat_14_sys_msgctl)", /* 224 = excluded compat_14_sys_msgctl */
467 1.17.6.2 tron #endif
468 1.17.6.2 tron "msgget", /* 225 = msgget */
469 1.17.6.2 tron "msgsnd", /* 226 = msgsnd */
470 1.17.6.2 tron "msgrcv", /* 227 = msgrcv */
471 1.17.6.2 tron #else
472 1.17.6.2 tron "#224 (excluded compat_14_msgctl)", /* 224 = excluded compat_14_msgctl */
473 1.17.6.2 tron "#225 (excluded msgget)", /* 225 = excluded msgget */
474 1.17.6.2 tron "#226 (excluded msgsnd)", /* 226 = excluded msgsnd */
475 1.17.6.2 tron "#227 (excluded msgrcv)", /* 227 = excluded msgrcv */
476 1.17.6.2 tron #endif
477 1.17.6.2 tron #if defined(SYSVSHM) || !defined(_KERNEL)
478 1.17.6.2 tron "shmat", /* 228 = shmat */
479 1.17.6.2 tron #if defined(COMPAT_14) || !defined(_KERNEL)
480 1.17.6.2 tron "shmctl", /* 229 = shmctl */
481 1.17.6.2 tron #else
482 1.17.6.2 tron "#229 (excluded compat_14_sys_shmctl)", /* 229 = excluded compat_14_sys_shmctl */
483 1.17.6.2 tron #endif
484 1.17.6.2 tron "shmdt", /* 230 = shmdt */
485 1.17.6.2 tron "shmget", /* 231 = shmget */
486 1.17.6.2 tron #else
487 1.17.6.2 tron "#228 (excluded shmat)", /* 228 = excluded shmat */
488 1.17.6.2 tron "#229 (excluded compat_14_shmctl)", /* 229 = excluded compat_14_shmctl */
489 1.17.6.2 tron "#230 (excluded shmdt)", /* 230 = excluded shmdt */
490 1.17.6.2 tron "#231 (excluded shmget)", /* 231 = excluded shmget */
491 1.17.6.2 tron #endif
492 1.17.6.2 tron "clock_gettime", /* 232 = clock_gettime */
493 1.17.6.2 tron "clock_settime", /* 233 = clock_settime */
494 1.17.6.2 tron "clock_getres", /* 234 = clock_getres */
495 1.17.6.2 tron "#235 (unimplemented timer_create)", /* 235 = unimplemented timer_create */
496 1.17.6.2 tron "#236 (unimplemented timer_delete)", /* 236 = unimplemented timer_delete */
497 1.17.6.2 tron "#237 (unimplemented timer_settime)", /* 237 = unimplemented timer_settime */
498 1.17.6.2 tron "#238 (unimplemented timer_gettime)", /* 238 = unimplemented timer_gettime */
499 1.17.6.2 tron "#239 (unimplemented timer_getoverrun)", /* 239 = unimplemented timer_getoverrun */
500 1.17.6.2 tron "nanosleep", /* 240 = nanosleep */
501 1.17.6.2 tron "fdatasync", /* 241 = fdatasync */
502 1.17.6.2 tron "mlockall", /* 242 = mlockall */
503 1.17.6.2 tron "munlockall", /* 243 = munlockall */
504 1.17.6.2 tron "#244 (unimplemented)", /* 244 = unimplemented */
505 1.17.6.2 tron "#245 (unimplemented)", /* 245 = unimplemented */
506 1.17.6.2 tron "#246 (unimplemented)", /* 246 = unimplemented */
507 1.17.6.2 tron "#247 (unimplemented)", /* 247 = unimplemented */
508 1.17.6.2 tron "#248 (unimplemented)", /* 248 = unimplemented */
509 1.17.6.2 tron "#249 (unimplemented)", /* 249 = unimplemented */
510 1.17.6.2 tron "#250 (unimplemented)", /* 250 = unimplemented */
511 1.17.6.2 tron "#251 (unimplemented)", /* 251 = unimplemented */
512 1.17.6.2 tron "#252 (unimplemented)", /* 252 = unimplemented */
513 1.17.6.2 tron "#253 (unimplemented)", /* 253 = unimplemented */
514 1.17.6.2 tron "#254 (unimplemented)", /* 254 = unimplemented */
515 1.17.6.2 tron "#255 (unimplemented)", /* 255 = unimplemented */
516 1.17.6.2 tron "#256 (unimplemented)", /* 256 = unimplemented */
517 1.17.6.2 tron "#257 (unimplemented)", /* 257 = unimplemented */
518 1.17.6.2 tron "#258 (unimplemented)", /* 258 = unimplemented */
519 1.17.6.2 tron "#259 (unimplemented)", /* 259 = unimplemented */
520 1.17.6.2 tron "#260 (unimplemented)", /* 260 = unimplemented */
521 1.17.6.2 tron "#261 (unimplemented)", /* 261 = unimplemented */
522 1.17.6.2 tron "#262 (unimplemented)", /* 262 = unimplemented */
523 1.17.6.2 tron "#263 (unimplemented)", /* 263 = unimplemented */
524 1.17.6.2 tron "#264 (unimplemented)", /* 264 = unimplemented */
525 1.17.6.2 tron "#265 (unimplemented)", /* 265 = unimplemented */
526 1.17.6.2 tron "#266 (unimplemented)", /* 266 = unimplemented */
527 1.17.6.2 tron "#267 (unimplemented)", /* 267 = unimplemented */
528 1.17.6.2 tron "#268 (unimplemented)", /* 268 = unimplemented */
529 1.17.6.2 tron "#269 (unimplemented)", /* 269 = unimplemented */
530 1.17.6.2 tron "__posix_rename", /* 270 = __posix_rename */
531 1.17.6.2 tron "swapctl", /* 271 = swapctl */
532 1.17.6.2 tron #if defined(COMPAT_30) || !defined(_KERNEL)
533 1.17.6.2 tron "getdents", /* 272 = getdents */
534 1.17.6.2 tron #else
535 1.17.6.2 tron "#272 (excluded compat_30_sys_getdents)", /* 272 = excluded compat_30_sys_getdents */
536 1.17.6.2 tron #endif
537 1.17.6.2 tron "minherit", /* 273 = minherit */
538 1.17.6.2 tron "lchmod", /* 274 = lchmod */
539 1.17.6.2 tron "lchown", /* 275 = lchown */
540 1.17.6.2 tron "lutimes", /* 276 = lutimes */
541 1.17.6.2 tron "__msync13", /* 277 = __msync13 */
542 1.17.6.2 tron "__stat13", /* 278 = __stat13 */
543 1.17.6.2 tron "__fstat13", /* 279 = __fstat13 */
544 1.17.6.2 tron "__lstat13", /* 280 = __lstat13 */
545 1.17.6.2 tron "__sigaltstack14", /* 281 = __sigaltstack14 */
546 1.17.6.2 tron "__vfork14", /* 282 = __vfork14 */
547 1.17.6.2 tron "__posix_chown", /* 283 = __posix_chown */
548 1.17.6.2 tron "__posix_fchown", /* 284 = __posix_fchown */
549 1.17.6.2 tron "__posix_lchown", /* 285 = __posix_lchown */
550 1.17.6.2 tron "getsid", /* 286 = getsid */
551 1.17.6.2 tron "#287 (unimplemented)", /* 287 = unimplemented */
552 1.17.6.2 tron #if defined(KTRACE) || !defined(_KERNEL)
553 1.17.6.2 tron "fktrace", /* 288 = fktrace */
554 1.17.6.2 tron #else
555 1.17.6.2 tron "#288 (excluded ktrace)", /* 288 = excluded ktrace */
556 1.17.6.2 tron #endif
557 1.17.6.2 tron "preadv", /* 289 = preadv */
558 1.17.6.2 tron "pwritev", /* 290 = pwritev */
559 1.17.6.2 tron #if defined(COMPAT_16) || !defined(_KERNEL)
560 1.17.6.2 tron "__sigaction14", /* 291 = __sigaction14 */
561 1.17.6.2 tron #else
562 1.17.6.2 tron "#291 (excluded compat_16_sys___sigaction14)", /* 291 = excluded compat_16_sys___sigaction14 */
563 1.17.6.2 tron #endif
564 1.17.6.2 tron "__sigpending14", /* 292 = __sigpending14 */
565 1.17.6.2 tron "__sigprocmask14", /* 293 = __sigprocmask14 */
566 1.17.6.2 tron "__sigsuspend14", /* 294 = __sigsuspend14 */
567 1.17.6.2 tron #if defined(COMPAT_16) || !defined(_KERNEL)
568 1.17.6.2 tron "__sigreturn14", /* 295 = __sigreturn14 */
569 1.17.6.2 tron #else
570 1.17.6.2 tron "#295 (excluded compat_16_sys___sigreturn14)", /* 295 = excluded compat_16_sys___sigreturn14 */
571 1.17.6.2 tron #endif
572 1.17.6.2 tron "__getcwd", /* 296 = __getcwd */
573 1.17.6.2 tron "fchroot", /* 297 = fchroot */
574 1.17.6.2 tron "fhopen", /* 298 = fhopen */
575 1.17.6.2 tron "fhstat", /* 299 = fhstat */
576 1.17.6.2 tron #if defined(COMPAT_20) || !defined(_KERNEL)
577 1.17.6.2 tron "fhstatfs", /* 300 = fhstatfs */
578 1.17.6.2 tron #else
579 1.17.6.2 tron "#300 (excluded compat_20_sys_fhstatfs)", /* 300 = excluded compat_20_sys_fhstatfs */
580 1.17.6.2 tron #endif
581 1.17.6.2 tron #if defined(SYSVSEM) || !defined(_KERNEL)
582 1.17.6.2 tron "____semctl13", /* 301 = ____semctl13 */
583 1.17.6.2 tron #else
584 1.17.6.2 tron "#301 (excluded ____semctl13)", /* 301 = excluded ____semctl13 */
585 1.17.6.2 tron #endif
586 1.17.6.2 tron #if defined(SYSVMSG) || !defined(_KERNEL)
587 1.17.6.2 tron "__msgctl13", /* 302 = __msgctl13 */
588 1.17.6.2 tron #else
589 1.17.6.2 tron "#302 (excluded __msgctl13)", /* 302 = excluded __msgctl13 */
590 1.17.6.2 tron #endif
591 1.17.6.2 tron #if defined(SYSVSHM) || !defined(_KERNEL)
592 1.17.6.2 tron "__shmctl13", /* 303 = __shmctl13 */
593 1.17.6.2 tron #else
594 1.17.6.2 tron "#303 (excluded __shmctl13)", /* 303 = excluded __shmctl13 */
595 1.17.6.2 tron #endif
596 1.17.6.2 tron "lchflags", /* 304 = lchflags */
597 1.17.6.2 tron "issetugid", /* 305 = issetugid */
598 1.17.6.2 tron "getcontext", /* 306 = getcontext */
599 1.17.6.2 tron "setcontext", /* 307 = setcontext */
600 1.17.6.2 tron };
601