syscalls.c revision 1.119.2.3 1 1.119.2.3 nathanw /* $NetBSD: syscalls.c,v 1.119.2.3 2001/08/24 00:11:39 nathanw Exp $ */
2 1.72 thorpej
3 1.1 cgd /*
4 1.1 cgd * System call names.
5 1.1 cgd *
6 1.1 cgd * DO NOT EDIT-- this file is automatically generated.
7 1.119.2.3 nathanw * created from NetBSD: syscalls.master,v 1.108.2.2 2001/06/21 20:07:05 nathanw Exp
8 1.1 cgd */
9 1.75 thorpej
10 1.119.2.2 nathanw #if defined(_KERNEL_OPT)
11 1.84 thorpej #include "opt_ktrace.h"
12 1.85 thorpej #include "opt_nfsserver.h"
13 1.110 bjh21 #include "opt_ntp.h"
14 1.88 jonathan #include "opt_compat_netbsd.h"
15 1.93 tron #include "opt_sysv.h"
16 1.95 christos #include "opt_compat_43.h"
17 1.75 thorpej #include "fs_lfs.h"
18 1.75 thorpej #include "fs_nfs.h"
19 1.75 thorpej #include <sys/param.h>
20 1.75 thorpej #include <sys/systm.h>
21 1.75 thorpej #include <sys/signal.h>
22 1.75 thorpej #include <sys/mount.h>
23 1.75 thorpej #include <sys/syscallargs.h>
24 1.119.2.2 nathanw #endif /* _KERNEL_OPT */
25 1.1 cgd
26 1.113 mycroft const char *const syscallnames[] = {
27 1.12 deraadt "syscall", /* 0 = syscall */
28 1.1 cgd "exit", /* 1 = exit */
29 1.1 cgd "fork", /* 2 = fork */
30 1.1 cgd "read", /* 3 = read */
31 1.1 cgd "write", /* 4 = write */
32 1.1 cgd "open", /* 5 = open */
33 1.1 cgd "close", /* 6 = close */
34 1.1 cgd "wait4", /* 7 = wait4 */
35 1.33 mycroft "compat_43_ocreat", /* 8 = compat_43 ocreat */
36 1.1 cgd "link", /* 9 = link */
37 1.1 cgd "unlink", /* 10 = unlink */
38 1.25 cgd "#11 (obsolete execv)", /* 11 = obsolete execv */
39 1.1 cgd "chdir", /* 12 = chdir */
40 1.1 cgd "fchdir", /* 13 = fchdir */
41 1.1 cgd "mknod", /* 14 = mknod */
42 1.1 cgd "chmod", /* 15 = chmod */
43 1.1 cgd "chown", /* 16 = chown */
44 1.1 cgd "break", /* 17 = break */
45 1.1 cgd "getfsstat", /* 18 = getfsstat */
46 1.33 mycroft "compat_43_olseek", /* 19 = compat_43 olseek */
47 1.115 mycroft #ifdef COMPAT_43
48 1.1 cgd "getpid", /* 20 = getpid */
49 1.115 mycroft #else
50 1.115 mycroft "getpid", /* 20 = getpid */
51 1.115 mycroft #endif
52 1.1 cgd "mount", /* 21 = mount */
53 1.1 cgd "unmount", /* 22 = unmount */
54 1.1 cgd "setuid", /* 23 = setuid */
55 1.115 mycroft #ifdef COMPAT_43
56 1.115 mycroft "getuid", /* 24 = getuid */
57 1.115 mycroft #else
58 1.1 cgd "getuid", /* 24 = getuid */
59 1.115 mycroft #endif
60 1.1 cgd "geteuid", /* 25 = geteuid */
61 1.1 cgd "ptrace", /* 26 = ptrace */
62 1.1 cgd "recvmsg", /* 27 = recvmsg */
63 1.1 cgd "sendmsg", /* 28 = sendmsg */
64 1.1 cgd "recvfrom", /* 29 = recvfrom */
65 1.1 cgd "accept", /* 30 = accept */
66 1.1 cgd "getpeername", /* 31 = getpeername */
67 1.1 cgd "getsockname", /* 32 = getsockname */
68 1.1 cgd "access", /* 33 = access */
69 1.1 cgd "chflags", /* 34 = chflags */
70 1.1 cgd "fchflags", /* 35 = fchflags */
71 1.1 cgd "sync", /* 36 = sync */
72 1.1 cgd "kill", /* 37 = kill */
73 1.61 christos "compat_43_stat43", /* 38 = compat_43 stat43 */
74 1.1 cgd "getppid", /* 39 = getppid */
75 1.61 christos "compat_43_lstat43", /* 40 = compat_43 lstat43 */
76 1.1 cgd "dup", /* 41 = dup */
77 1.1 cgd "pipe", /* 42 = pipe */
78 1.1 cgd "getegid", /* 43 = getegid */
79 1.1 cgd "profil", /* 44 = profil */
80 1.100 christos #if defined(KTRACE) || !defined(_KERNEL)
81 1.1 cgd "ktrace", /* 45 = ktrace */
82 1.1 cgd #else
83 1.100 christos "#45 (excluded ktrace)", /* 45 = excluded ktrace */
84 1.1 cgd #endif
85 1.89 thorpej "compat_13_sigaction13", /* 46 = compat_13 sigaction13 */
86 1.115 mycroft #ifdef COMPAT_43
87 1.115 mycroft "getgid", /* 47 = getgid */
88 1.115 mycroft #else
89 1.1 cgd "getgid", /* 47 = getgid */
90 1.115 mycroft #endif
91 1.89 thorpej "compat_13_sigprocmask13", /* 48 = compat_13 sigprocmask13 */
92 1.41 jtc "__getlogin", /* 49 = __getlogin */
93 1.1 cgd "setlogin", /* 50 = setlogin */
94 1.1 cgd "acct", /* 51 = acct */
95 1.89 thorpej "compat_13_sigpending13", /* 52 = compat_13 sigpending13 */
96 1.66 kleink "compat_13_sigaltstack13", /* 53 = compat_13 sigaltstack13 */
97 1.1 cgd "ioctl", /* 54 = ioctl */
98 1.38 mrg "compat_12_oreboot", /* 55 = compat_12 oreboot */
99 1.1 cgd "revoke", /* 56 = revoke */
100 1.1 cgd "symlink", /* 57 = symlink */
101 1.1 cgd "readlink", /* 58 = readlink */
102 1.1 cgd "execve", /* 59 = execve */
103 1.1 cgd "umask", /* 60 = umask */
104 1.1 cgd "chroot", /* 61 = chroot */
105 1.61 christos "compat_43_fstat43", /* 62 = compat_43 fstat43 */
106 1.33 mycroft "compat_43_ogetkerninfo", /* 63 = compat_43 ogetkerninfo */
107 1.33 mycroft "compat_43_ogetpagesize", /* 64 = compat_43 ogetpagesize */
108 1.61 christos "compat_12_msync", /* 65 = compat_12 msync */
109 1.1 cgd "vfork", /* 66 = vfork */
110 1.25 cgd "#67 (obsolete vread)", /* 67 = obsolete vread */
111 1.25 cgd "#68 (obsolete vwrite)", /* 68 = obsolete vwrite */
112 1.1 cgd "sbrk", /* 69 = sbrk */
113 1.1 cgd "sstk", /* 70 = sstk */
114 1.33 mycroft "compat_43_ommap", /* 71 = compat_43 ommap */
115 1.1 cgd "vadvise", /* 72 = vadvise */
116 1.1 cgd "munmap", /* 73 = munmap */
117 1.1 cgd "mprotect", /* 74 = mprotect */
118 1.1 cgd "madvise", /* 75 = madvise */
119 1.25 cgd "#76 (obsolete vhangup)", /* 76 = obsolete vhangup */
120 1.25 cgd "#77 (obsolete vlimit)", /* 77 = obsolete vlimit */
121 1.1 cgd "mincore", /* 78 = mincore */
122 1.1 cgd "getgroups", /* 79 = getgroups */
123 1.1 cgd "setgroups", /* 80 = setgroups */
124 1.1 cgd "getpgrp", /* 81 = getpgrp */
125 1.1 cgd "setpgid", /* 82 = setpgid */
126 1.1 cgd "setitimer", /* 83 = setitimer */
127 1.33 mycroft "compat_43_owait", /* 84 = compat_43 owait */
128 1.53 mrg "compat_12_oswapon", /* 85 = compat_12 oswapon */
129 1.1 cgd "getitimer", /* 86 = getitimer */
130 1.33 mycroft "compat_43_ogethostname", /* 87 = compat_43 ogethostname */
131 1.33 mycroft "compat_43_osethostname", /* 88 = compat_43 osethostname */
132 1.33 mycroft "compat_43_ogetdtablesize", /* 89 = compat_43 ogetdtablesize */
133 1.1 cgd "dup2", /* 90 = dup2 */
134 1.25 cgd "#91 (unimplemented getdopt)", /* 91 = unimplemented getdopt */
135 1.1 cgd "fcntl", /* 92 = fcntl */
136 1.1 cgd "select", /* 93 = select */
137 1.25 cgd "#94 (unimplemented setdopt)", /* 94 = unimplemented setdopt */
138 1.1 cgd "fsync", /* 95 = fsync */
139 1.1 cgd "setpriority", /* 96 = setpriority */
140 1.1 cgd "socket", /* 97 = socket */
141 1.1 cgd "connect", /* 98 = connect */
142 1.33 mycroft "compat_43_oaccept", /* 99 = compat_43 oaccept */
143 1.1 cgd "getpriority", /* 100 = getpriority */
144 1.33 mycroft "compat_43_osend", /* 101 = compat_43 osend */
145 1.33 mycroft "compat_43_orecv", /* 102 = compat_43 orecv */
146 1.90 mycroft "compat_13_sigreturn13", /* 103 = compat_13 sigreturn13 */
147 1.1 cgd "bind", /* 104 = bind */
148 1.1 cgd "setsockopt", /* 105 = setsockopt */
149 1.1 cgd "listen", /* 106 = listen */
150 1.25 cgd "#107 (obsolete vtimes)", /* 107 = obsolete vtimes */
151 1.33 mycroft "compat_43_osigvec", /* 108 = compat_43 osigvec */
152 1.33 mycroft "compat_43_osigblock", /* 109 = compat_43 osigblock */
153 1.33 mycroft "compat_43_osigsetmask", /* 110 = compat_43 osigsetmask */
154 1.89 thorpej "compat_13_sigsuspend13", /* 111 = compat_13 sigsuspend13 */
155 1.33 mycroft "compat_43_osigstack", /* 112 = compat_43 osigstack */
156 1.33 mycroft "compat_43_orecvmsg", /* 113 = compat_43 orecvmsg */
157 1.33 mycroft "compat_43_osendmsg", /* 114 = compat_43 osendmsg */
158 1.25 cgd "#115 (obsolete vtrace)", /* 115 = obsolete vtrace */
159 1.1 cgd "gettimeofday", /* 116 = gettimeofday */
160 1.1 cgd "getrusage", /* 117 = getrusage */
161 1.1 cgd "getsockopt", /* 118 = getsockopt */
162 1.30 cgd "#119 (obsolete resuba)", /* 119 = obsolete resuba */
163 1.1 cgd "readv", /* 120 = readv */
164 1.1 cgd "writev", /* 121 = writev */
165 1.1 cgd "settimeofday", /* 122 = settimeofday */
166 1.1 cgd "fchown", /* 123 = fchown */
167 1.1 cgd "fchmod", /* 124 = fchmod */
168 1.33 mycroft "compat_43_orecvfrom", /* 125 = compat_43 orecvfrom */
169 1.37 mycroft "setreuid", /* 126 = setreuid */
170 1.37 mycroft "setregid", /* 127 = setregid */
171 1.1 cgd "rename", /* 128 = rename */
172 1.33 mycroft "compat_43_otruncate", /* 129 = compat_43 otruncate */
173 1.33 mycroft "compat_43_oftruncate", /* 130 = compat_43 oftruncate */
174 1.1 cgd "flock", /* 131 = flock */
175 1.1 cgd "mkfifo", /* 132 = mkfifo */
176 1.1 cgd "sendto", /* 133 = sendto */
177 1.1 cgd "shutdown", /* 134 = shutdown */
178 1.1 cgd "socketpair", /* 135 = socketpair */
179 1.1 cgd "mkdir", /* 136 = mkdir */
180 1.1 cgd "rmdir", /* 137 = rmdir */
181 1.1 cgd "utimes", /* 138 = utimes */
182 1.25 cgd "#139 (obsolete 4.2 sigreturn)", /* 139 = obsolete 4.2 sigreturn */
183 1.1 cgd "adjtime", /* 140 = adjtime */
184 1.33 mycroft "compat_43_ogetpeername", /* 141 = compat_43 ogetpeername */
185 1.33 mycroft "compat_43_ogethostid", /* 142 = compat_43 ogethostid */
186 1.33 mycroft "compat_43_osethostid", /* 143 = compat_43 osethostid */
187 1.33 mycroft "compat_43_ogetrlimit", /* 144 = compat_43 ogetrlimit */
188 1.33 mycroft "compat_43_osetrlimit", /* 145 = compat_43 osetrlimit */
189 1.33 mycroft "compat_43_okillpg", /* 146 = compat_43 okillpg */
190 1.1 cgd "setsid", /* 147 = setsid */
191 1.1 cgd "quotactl", /* 148 = quotactl */
192 1.33 mycroft "compat_43_oquota", /* 149 = compat_43 oquota */
193 1.33 mycroft "compat_43_ogetsockname", /* 150 = compat_43 ogetsockname */
194 1.25 cgd "#151 (unimplemented)", /* 151 = unimplemented */
195 1.25 cgd "#152 (unimplemented)", /* 152 = unimplemented */
196 1.25 cgd "#153 (unimplemented)", /* 153 = unimplemented */
197 1.25 cgd "#154 (unimplemented)", /* 154 = unimplemented */
198 1.100 christos #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
199 1.1 cgd "nfssvc", /* 155 = nfssvc */
200 1.1 cgd #else
201 1.100 christos "#155 (excluded nfssvc)", /* 155 = excluded nfssvc */
202 1.1 cgd #endif
203 1.33 mycroft "compat_43_ogetdirentries", /* 156 = compat_43 ogetdirentries */
204 1.1 cgd "statfs", /* 157 = statfs */
205 1.1 cgd "fstatfs", /* 158 = fstatfs */
206 1.25 cgd "#159 (unimplemented)", /* 159 = unimplemented */
207 1.25 cgd "#160 (unimplemented)", /* 160 = unimplemented */
208 1.1 cgd "getfh", /* 161 = getfh */
209 1.33 mycroft "compat_09_ogetdomainname", /* 162 = compat_09 ogetdomainname */
210 1.33 mycroft "compat_09_osetdomainname", /* 163 = compat_09 osetdomainname */
211 1.33 mycroft "compat_09_ouname", /* 164 = compat_09 ouname */
212 1.9 brezak "sysarch", /* 165 = sysarch */
213 1.25 cgd "#166 (unimplemented)", /* 166 = unimplemented */
214 1.25 cgd "#167 (unimplemented)", /* 167 = unimplemented */
215 1.25 cgd "#168 (unimplemented)", /* 168 = unimplemented */
216 1.100 christos #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(alpha)
217 1.33 mycroft "compat_10_osemsys", /* 169 = compat_10 osemsys */
218 1.11 cgd #else
219 1.100 christos "#169 (excluded 1.0 semsys)", /* 169 = excluded 1.0 semsys */
220 1.11 cgd #endif
221 1.100 christos #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(alpha)
222 1.33 mycroft "compat_10_omsgsys", /* 170 = compat_10 omsgsys */
223 1.11 cgd #else
224 1.100 christos "#170 (excluded 1.0 msgsys)", /* 170 = excluded 1.0 msgsys */
225 1.11 cgd #endif
226 1.100 christos #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(alpha)
227 1.33 mycroft "compat_10_oshmsys", /* 171 = compat_10 oshmsys */
228 1.1 cgd #else
229 1.100 christos "#171 (excluded 1.0 shmsys)", /* 171 = excluded 1.0 shmsys */
230 1.1 cgd #endif
231 1.25 cgd "#172 (unimplemented)", /* 172 = unimplemented */
232 1.86 thorpej "pread", /* 173 = pread */
233 1.86 thorpej "pwrite", /* 174 = pwrite */
234 1.35 mycroft "ntp_gettime", /* 175 = ntp_gettime */
235 1.110 bjh21 #if defined(NTP) || !defined(_KERNEL)
236 1.35 mycroft "ntp_adjtime", /* 176 = ntp_adjtime */
237 1.110 bjh21 #else
238 1.110 bjh21 "#176 (excluded ntp_adjtime)", /* 176 = excluded ntp_adjtime */
239 1.110 bjh21 #endif
240 1.25 cgd "#177 (unimplemented)", /* 177 = unimplemented */
241 1.25 cgd "#178 (unimplemented)", /* 178 = unimplemented */
242 1.25 cgd "#179 (unimplemented)", /* 179 = unimplemented */
243 1.25 cgd "#180 (unimplemented)", /* 180 = unimplemented */
244 1.1 cgd "setgid", /* 181 = setgid */
245 1.1 cgd "setegid", /* 182 = setegid */
246 1.1 cgd "seteuid", /* 183 = seteuid */
247 1.100 christos #if defined(LFS) || !defined(_KERNEL)
248 1.19 cgd "lfs_bmapv", /* 184 = lfs_bmapv */
249 1.19 cgd "lfs_markv", /* 185 = lfs_markv */
250 1.19 cgd "lfs_segclean", /* 186 = lfs_segclean */
251 1.19 cgd "lfs_segwait", /* 187 = lfs_segwait */
252 1.19 cgd #else
253 1.100 christos "#184 (excluded lfs_bmapv)", /* 184 = excluded lfs_bmapv */
254 1.100 christos "#185 (excluded lfs_markv)", /* 185 = excluded lfs_markv */
255 1.100 christos "#186 (excluded lfs_segclean)", /* 186 = excluded lfs_segclean */
256 1.100 christos "#187 (excluded lfs_segwait)", /* 187 = excluded lfs_segwait */
257 1.19 cgd #endif
258 1.61 christos "compat_12_stat12", /* 188 = compat_12 stat12 */
259 1.61 christos "compat_12_fstat12", /* 189 = compat_12 fstat12 */
260 1.61 christos "compat_12_lstat12", /* 190 = compat_12 lstat12 */
261 1.20 cgd "pathconf", /* 191 = pathconf */
262 1.20 cgd "fpathconf", /* 192 = fpathconf */
263 1.25 cgd "#193 (unimplemented)", /* 193 = unimplemented */
264 1.19 cgd "getrlimit", /* 194 = getrlimit */
265 1.19 cgd "setrlimit", /* 195 = setrlimit */
266 1.58 fvdl "compat_12_getdirentries", /* 196 = compat_12 getdirentries */
267 1.17 cgd "mmap", /* 197 = mmap */
268 1.15 cgd "__syscall", /* 198 = __syscall */
269 1.17 cgd "lseek", /* 199 = lseek */
270 1.17 cgd "truncate", /* 200 = truncate */
271 1.17 cgd "ftruncate", /* 201 = ftruncate */
272 1.20 cgd "__sysctl", /* 202 = __sysctl */
273 1.20 cgd "mlock", /* 203 = mlock */
274 1.20 cgd "munlock", /* 204 = munlock */
275 1.28 mycroft "undelete", /* 205 = undelete */
276 1.36 mycroft "futimes", /* 206 = futimes */
277 1.38 mrg "getpgid", /* 207 = getpgid */
278 1.38 mrg "reboot", /* 208 = reboot */
279 1.39 mycroft "poll", /* 209 = poll */
280 1.100 christos #if defined(LKM) || !defined(_KERNEL)
281 1.13 cgd "lkmnosys", /* 210 = lkmnosys */
282 1.13 cgd "lkmnosys", /* 211 = lkmnosys */
283 1.13 cgd "lkmnosys", /* 212 = lkmnosys */
284 1.13 cgd "lkmnosys", /* 213 = lkmnosys */
285 1.13 cgd "lkmnosys", /* 214 = lkmnosys */
286 1.13 cgd "lkmnosys", /* 215 = lkmnosys */
287 1.13 cgd "lkmnosys", /* 216 = lkmnosys */
288 1.13 cgd "lkmnosys", /* 217 = lkmnosys */
289 1.13 cgd "lkmnosys", /* 218 = lkmnosys */
290 1.13 cgd "lkmnosys", /* 219 = lkmnosys */
291 1.13 cgd #else /* !LKM */
292 1.100 christos "#210 (excluded lkmnosys)", /* 210 = excluded lkmnosys */
293 1.100 christos "#211 (excluded lkmnosys)", /* 211 = excluded lkmnosys */
294 1.100 christos "#212 (excluded lkmnosys)", /* 212 = excluded lkmnosys */
295 1.100 christos "#213 (excluded lkmnosys)", /* 213 = excluded lkmnosys */
296 1.100 christos "#214 (excluded lkmnosys)", /* 214 = excluded lkmnosys */
297 1.100 christos "#215 (excluded lkmnosys)", /* 215 = excluded lkmnosys */
298 1.100 christos "#216 (excluded lkmnosys)", /* 216 = excluded lkmnosys */
299 1.100 christos "#217 (excluded lkmnosys)", /* 217 = excluded lkmnosys */
300 1.100 christos "#218 (excluded lkmnosys)", /* 218 = excluded lkmnosys */
301 1.100 christos "#219 (excluded lkmnosys)", /* 219 = excluded lkmnosys */
302 1.9 brezak #endif /* !LKM */
303 1.100 christos #if defined(SYSVSEM) || !defined(_KERNEL)
304 1.105 thorpej "compat_14___semctl", /* 220 = compat_14 __semctl */
305 1.25 cgd "semget", /* 221 = semget */
306 1.25 cgd "semop", /* 222 = semop */
307 1.25 cgd "semconfig", /* 223 = semconfig */
308 1.25 cgd #else
309 1.105 thorpej "#220 (excluded compat_14_semctl)", /* 220 = excluded compat_14_semctl */
310 1.100 christos "#221 (excluded semget)", /* 221 = excluded semget */
311 1.100 christos "#222 (excluded semop)", /* 222 = excluded semop */
312 1.100 christos "#223 (excluded semconfig)", /* 223 = excluded semconfig */
313 1.25 cgd #endif
314 1.100 christos #if defined(SYSVMSG) || !defined(_KERNEL)
315 1.105 thorpej "compat_14_msgctl", /* 224 = compat_14 msgctl */
316 1.25 cgd "msgget", /* 225 = msgget */
317 1.25 cgd "msgsnd", /* 226 = msgsnd */
318 1.25 cgd "msgrcv", /* 227 = msgrcv */
319 1.25 cgd #else
320 1.105 thorpej "#224 (excluded compat_14_msgctl)", /* 224 = excluded compat_14_msgctl */
321 1.100 christos "#225 (excluded msgget)", /* 225 = excluded msgget */
322 1.100 christos "#226 (excluded msgsnd)", /* 226 = excluded msgsnd */
323 1.100 christos "#227 (excluded msgrcv)", /* 227 = excluded msgrcv */
324 1.25 cgd #endif
325 1.100 christos #if defined(SYSVSHM) || !defined(_KERNEL)
326 1.25 cgd "shmat", /* 228 = shmat */
327 1.105 thorpej "compat_14_shmctl", /* 229 = compat_14 shmctl */
328 1.25 cgd "shmdt", /* 230 = shmdt */
329 1.25 cgd "shmget", /* 231 = shmget */
330 1.25 cgd #else
331 1.100 christos "#228 (excluded shmat)", /* 228 = excluded shmat */
332 1.105 thorpej "#229 (excluded compat_14_shmctl)", /* 229 = excluded compat_14_shmctl */
333 1.100 christos "#230 (excluded shmdt)", /* 230 = excluded shmdt */
334 1.100 christos "#231 (excluded shmget)", /* 231 = excluded shmget */
335 1.25 cgd #endif
336 1.43 jtc "clock_gettime", /* 232 = clock_gettime */
337 1.43 jtc "clock_settime", /* 233 = clock_settime */
338 1.43 jtc "clock_getres", /* 234 = clock_getres */
339 1.43 jtc "#235 (unimplemented timer_create)", /* 235 = unimplemented timer_create */
340 1.43 jtc "#236 (unimplemented timer_delete)", /* 236 = unimplemented timer_delete */
341 1.43 jtc "#237 (unimplemented timer_settime)", /* 237 = unimplemented timer_settime */
342 1.43 jtc "#238 (unimplemented timer_gettime)", /* 238 = unimplemented timer_gettime */
343 1.43 jtc "#239 (unimplemented timer_getoverrun)", /* 239 = unimplemented timer_getoverrun */
344 1.49 jtc "nanosleep", /* 240 = nanosleep */
345 1.83 kleink "fdatasync", /* 241 = fdatasync */
346 1.101 thorpej "mlockall", /* 242 = mlockall */
347 1.101 thorpej "munlockall", /* 243 = munlockall */
348 1.50 kleink "#244 (unimplemented)", /* 244 = unimplemented */
349 1.50 kleink "#245 (unimplemented)", /* 245 = unimplemented */
350 1.50 kleink "#246 (unimplemented)", /* 246 = unimplemented */
351 1.50 kleink "#247 (unimplemented)", /* 247 = unimplemented */
352 1.50 kleink "#248 (unimplemented)", /* 248 = unimplemented */
353 1.50 kleink "#249 (unimplemented)", /* 249 = unimplemented */
354 1.55 veego "#250 (unimplemented)", /* 250 = unimplemented */
355 1.50 kleink "#251 (unimplemented)", /* 251 = unimplemented */
356 1.50 kleink "#252 (unimplemented)", /* 252 = unimplemented */
357 1.50 kleink "#253 (unimplemented)", /* 253 = unimplemented */
358 1.50 kleink "#254 (unimplemented)", /* 254 = unimplemented */
359 1.50 kleink "#255 (unimplemented)", /* 255 = unimplemented */
360 1.50 kleink "#256 (unimplemented)", /* 256 = unimplemented */
361 1.50 kleink "#257 (unimplemented)", /* 257 = unimplemented */
362 1.50 kleink "#258 (unimplemented)", /* 258 = unimplemented */
363 1.50 kleink "#259 (unimplemented)", /* 259 = unimplemented */
364 1.50 kleink "#260 (unimplemented)", /* 260 = unimplemented */
365 1.50 kleink "#261 (unimplemented)", /* 261 = unimplemented */
366 1.50 kleink "#262 (unimplemented)", /* 262 = unimplemented */
367 1.50 kleink "#263 (unimplemented)", /* 263 = unimplemented */
368 1.50 kleink "#264 (unimplemented)", /* 264 = unimplemented */
369 1.50 kleink "#265 (unimplemented)", /* 265 = unimplemented */
370 1.50 kleink "#266 (unimplemented)", /* 266 = unimplemented */
371 1.50 kleink "#267 (unimplemented)", /* 267 = unimplemented */
372 1.50 kleink "#268 (unimplemented)", /* 268 = unimplemented */
373 1.50 kleink "#269 (unimplemented)", /* 269 = unimplemented */
374 1.74 kleink "__posix_rename", /* 270 = __posix_rename */
375 1.51 mrg "swapctl", /* 271 = swapctl */
376 1.58 fvdl "getdents", /* 272 = getdents */
377 1.55 veego "minherit", /* 273 = minherit */
378 1.56 enami "lchmod", /* 274 = lchmod */
379 1.56 enami "lchown", /* 275 = lchown */
380 1.56 enami "lutimes", /* 276 = lutimes */
381 1.64 thorpej "__msync13", /* 277 = __msync13 */
382 1.64 thorpej "__stat13", /* 278 = __stat13 */
383 1.64 thorpej "__fstat13", /* 279 = __fstat13 */
384 1.64 thorpej "__lstat13", /* 280 = __lstat13 */
385 1.68 kleink "__sigaltstack14", /* 281 = __sigaltstack14 */
386 1.69 thorpej "__vfork14", /* 282 = __vfork14 */
387 1.74 kleink "__posix_chown", /* 283 = __posix_chown */
388 1.74 kleink "__posix_fchown", /* 284 = __posix_fchown */
389 1.74 kleink "__posix_lchown", /* 285 = __posix_lchown */
390 1.73 thorpej "getsid", /* 286 = getsid */
391 1.119.2.3 nathanw "__clone", /* 287 = __clone */
392 1.100 christos #if defined(KTRACE) || !defined(_KERNEL)
393 1.79 christos "fktrace", /* 288 = fktrace */
394 1.79 christos #else
395 1.100 christos "#288 (excluded ktrace)", /* 288 = excluded ktrace */
396 1.79 christos #endif
397 1.86 thorpej "preadv", /* 289 = preadv */
398 1.86 thorpej "pwritev", /* 290 = pwritev */
399 1.89 thorpej "__sigaction14", /* 291 = __sigaction14 */
400 1.89 thorpej "__sigpending14", /* 292 = __sigpending14 */
401 1.89 thorpej "__sigprocmask14", /* 293 = __sigprocmask14 */
402 1.89 thorpej "__sigsuspend14", /* 294 = __sigsuspend14 */
403 1.90 mycroft "__sigreturn14", /* 295 = __sigreturn14 */
404 1.97 sommerfe "__getcwd", /* 296 = __getcwd */
405 1.97 sommerfe "fchroot", /* 297 = fchroot */
406 1.102 wrstuden "fhopen", /* 298 = fhopen */
407 1.102 wrstuden "fhstat", /* 299 = fhstat */
408 1.102 wrstuden "fhstatfs", /* 300 = fhstatfs */
409 1.105 thorpej #if defined(SYSVSEM) || !defined(_KERNEL)
410 1.107 christos "____semctl13", /* 301 = ____semctl13 */
411 1.105 thorpej #else
412 1.107 christos "#301 (excluded ____semctl13)", /* 301 = excluded ____semctl13 */
413 1.105 thorpej #endif
414 1.105 thorpej #if defined(SYSVMSG) || !defined(_KERNEL)
415 1.105 thorpej "__msgctl13", /* 302 = __msgctl13 */
416 1.105 thorpej #else
417 1.105 thorpej "#302 (excluded __msgctl13)", /* 302 = excluded __msgctl13 */
418 1.105 thorpej #endif
419 1.105 thorpej #if defined(SYSVSHM) || !defined(_KERNEL)
420 1.105 thorpej "__shmctl13", /* 303 = __shmctl13 */
421 1.105 thorpej #else
422 1.105 thorpej "#303 (excluded __shmctl13)", /* 303 = excluded __shmctl13 */
423 1.105 thorpej #endif
424 1.108 mrg "lchflags", /* 304 = lchflags */
425 1.109 minoura "issetugid", /* 305 = issetugid */
426 1.116 jdolecek "utrace", /* 306 = utrace */
427 1.119.2.1 nathanw "getcontext", /* 307 = getcontext */
428 1.119.2.1 nathanw "setcontext", /* 308 = setcontext */
429 1.119.2.1 nathanw "_lwp_create", /* 309 = _lwp_create */
430 1.119.2.1 nathanw "_lwp_exit", /* 310 = _lwp_exit */
431 1.119.2.1 nathanw "_lwp_self", /* 311 = _lwp_self */
432 1.119.2.1 nathanw "_lwp_wait", /* 312 = _lwp_wait */
433 1.119.2.1 nathanw "_lwp_suspend", /* 313 = _lwp_suspend */
434 1.119.2.1 nathanw "_lwp_continue", /* 314 = _lwp_continue */
435 1.118 thorpej "#315 (unimplemented)", /* 315 = unimplemented */
436 1.118 thorpej "#316 (unimplemented)", /* 316 = unimplemented */
437 1.118 thorpej "#317 (unimplemented)", /* 317 = unimplemented */
438 1.118 thorpej "#318 (unimplemented)", /* 318 = unimplemented */
439 1.118 thorpej "#319 (unimplemented)", /* 319 = unimplemented */
440 1.118 thorpej "#320 (unimplemented)", /* 320 = unimplemented */
441 1.118 thorpej "#321 (unimplemented)", /* 321 = unimplemented */
442 1.118 thorpej "#322 (unimplemented)", /* 322 = unimplemented */
443 1.118 thorpej "#323 (unimplemented)", /* 323 = unimplemented */
444 1.118 thorpej "#324 (unimplemented)", /* 324 = unimplemented */
445 1.118 thorpej "#325 (unimplemented)", /* 325 = unimplemented */
446 1.118 thorpej "#326 (unimplemented)", /* 326 = unimplemented */
447 1.118 thorpej "#327 (unimplemented)", /* 327 = unimplemented */
448 1.118 thorpej "#328 (unimplemented)", /* 328 = unimplemented */
449 1.118 thorpej "#329 (unimplemented)", /* 329 = unimplemented */
450 1.119.2.1 nathanw "sa_register", /* 330 = sa_register */
451 1.119.2.1 nathanw "sa_stacks", /* 331 = sa_stacks */
452 1.119.2.1 nathanw "sa_enable", /* 332 = sa_enable */
453 1.119.2.1 nathanw "sa_setconcurrency", /* 333 = sa_setconcurrency */
454 1.119.2.1 nathanw "sa_yield", /* 334 = sa_yield */
455 1.119.2.1 nathanw "sa_preempt", /* 335 = sa_preempt */
456 1.118 thorpej "#336 (unimplemented)", /* 336 = unimplemented */
457 1.118 thorpej "#337 (unimplemented)", /* 337 = unimplemented */
458 1.118 thorpej "#338 (unimplemented)", /* 338 = unimplemented */
459 1.118 thorpej "#339 (unimplemented)", /* 339 = unimplemented */
460 1.1 cgd };
461