syscalls.c revision 1.190.2.4 1 1.190.2.4 matt /* syscalls.c,v 1.190.2.3 2008/01/09 01:56:23 matt 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.190.2.4 matt * created from NetBSD: syscalls.master,v 1.191 2008/03/11 22:50:10 pooka Exp
8 1.1 cgd */
9 1.75 thorpej
10 1.123 lukem #include <sys/cdefs.h>
11 1.190.2.4 matt __KERNEL_RCSID(0, "syscalls.c,v 1.190.2.3 2008/01/09 01:56:23 matt Exp");
12 1.123 lukem
13 1.121 mrg #if defined(_KERNEL_OPT)
14 1.85 thorpej #include "opt_nfsserver.h"
15 1.110 bjh21 #include "opt_ntp.h"
16 1.88 jonathan #include "opt_compat_netbsd.h"
17 1.93 tron #include "opt_sysv.h"
18 1.95 christos #include "opt_compat_43.h"
19 1.133 christos #include "opt_posix.h"
20 1.75 thorpej #include "fs_lfs.h"
21 1.75 thorpej #include "fs_nfs.h"
22 1.75 thorpej #include <sys/param.h>
23 1.75 thorpej #include <sys/systm.h>
24 1.75 thorpej #include <sys/signal.h>
25 1.75 thorpej #include <sys/mount.h>
26 1.75 thorpej #include <sys/syscallargs.h>
27 1.121 mrg #endif /* _KERNEL_OPT */
28 1.1 cgd
29 1.113 mycroft const char *const syscallnames[] = {
30 1.190.2.3 matt /* 0 */ "syscall",
31 1.190.2.3 matt /* 1 */ "exit",
32 1.190.2.3 matt /* 2 */ "fork",
33 1.190.2.3 matt /* 3 */ "read",
34 1.190.2.3 matt /* 4 */ "write",
35 1.190.2.3 matt /* 5 */ "open",
36 1.190.2.3 matt /* 6 */ "close",
37 1.190.2.3 matt /* 7 */ "wait4",
38 1.190.2.3 matt /* 8 */ "compat_43_ocreat",
39 1.190.2.3 matt /* 9 */ "link",
40 1.190.2.3 matt /* 10 */ "unlink",
41 1.190.2.3 matt /* 11 */ "#11 (obsolete execv)",
42 1.190.2.3 matt /* 12 */ "chdir",
43 1.190.2.3 matt /* 13 */ "fchdir",
44 1.190.2.3 matt /* 14 */ "mknod",
45 1.190.2.3 matt /* 15 */ "chmod",
46 1.190.2.3 matt /* 16 */ "chown",
47 1.190.2.3 matt /* 17 */ "break",
48 1.190.2.3 matt /* 18 */ "compat_20_getfsstat",
49 1.190.2.3 matt /* 19 */ "compat_43_olseek",
50 1.115 mycroft #ifdef COMPAT_43
51 1.190.2.3 matt /* 20 */ "getpid",
52 1.115 mycroft #else
53 1.190.2.3 matt /* 20 */ "getpid",
54 1.115 mycroft #endif
55 1.190.2.3 matt /* 21 */ "compat_40_mount",
56 1.190.2.3 matt /* 22 */ "unmount",
57 1.190.2.3 matt /* 23 */ "setuid",
58 1.115 mycroft #ifdef COMPAT_43
59 1.190.2.3 matt /* 24 */ "getuid",
60 1.115 mycroft #else
61 1.190.2.3 matt /* 24 */ "getuid",
62 1.115 mycroft #endif
63 1.190.2.3 matt /* 25 */ "geteuid",
64 1.190.2.3 matt /* 26 */ "ptrace",
65 1.190.2.3 matt /* 27 */ "recvmsg",
66 1.190.2.3 matt /* 28 */ "sendmsg",
67 1.190.2.3 matt /* 29 */ "recvfrom",
68 1.190.2.3 matt /* 30 */ "accept",
69 1.190.2.3 matt /* 31 */ "getpeername",
70 1.190.2.3 matt /* 32 */ "getsockname",
71 1.190.2.3 matt /* 33 */ "access",
72 1.190.2.3 matt /* 34 */ "chflags",
73 1.190.2.3 matt /* 35 */ "fchflags",
74 1.190.2.3 matt /* 36 */ "sync",
75 1.190.2.3 matt /* 37 */ "kill",
76 1.190.2.3 matt /* 38 */ "compat_43_stat43",
77 1.190.2.3 matt /* 39 */ "getppid",
78 1.190.2.3 matt /* 40 */ "compat_43_lstat43",
79 1.190.2.3 matt /* 41 */ "dup",
80 1.190.2.3 matt /* 42 */ "pipe",
81 1.190.2.3 matt /* 43 */ "getegid",
82 1.190.2.3 matt /* 44 */ "profil",
83 1.190.2.3 matt /* 45 */ "ktrace",
84 1.190.2.3 matt /* 46 */ "compat_13_sigaction13",
85 1.115 mycroft #ifdef COMPAT_43
86 1.190.2.3 matt /* 47 */ "getgid",
87 1.115 mycroft #else
88 1.190.2.3 matt /* 47 */ "getgid",
89 1.115 mycroft #endif
90 1.190.2.3 matt /* 48 */ "compat_13_sigprocmask13",
91 1.190.2.3 matt /* 49 */ "__getlogin",
92 1.190.2.3 matt /* 50 */ "__setlogin",
93 1.190.2.3 matt /* 51 */ "acct",
94 1.190.2.3 matt /* 52 */ "compat_13_sigpending13",
95 1.190.2.3 matt /* 53 */ "compat_13_sigaltstack13",
96 1.190.2.3 matt /* 54 */ "ioctl",
97 1.190.2.3 matt /* 55 */ "compat_12_oreboot",
98 1.190.2.3 matt /* 56 */ "revoke",
99 1.190.2.3 matt /* 57 */ "symlink",
100 1.190.2.3 matt /* 58 */ "readlink",
101 1.190.2.3 matt /* 59 */ "execve",
102 1.190.2.3 matt /* 60 */ "umask",
103 1.190.2.3 matt /* 61 */ "chroot",
104 1.190.2.3 matt /* 62 */ "compat_43_fstat43",
105 1.190.2.3 matt /* 63 */ "compat_43_ogetkerninfo",
106 1.190.2.3 matt /* 64 */ "compat_43_ogetpagesize",
107 1.190.2.3 matt /* 65 */ "compat_12_msync",
108 1.190.2.3 matt /* 66 */ "vfork",
109 1.190.2.3 matt /* 67 */ "#67 (obsolete vread)",
110 1.190.2.3 matt /* 68 */ "#68 (obsolete vwrite)",
111 1.190.2.3 matt /* 69 */ "sbrk",
112 1.190.2.3 matt /* 70 */ "sstk",
113 1.190.2.3 matt /* 71 */ "compat_43_ommap",
114 1.190.2.3 matt /* 72 */ "vadvise",
115 1.190.2.3 matt /* 73 */ "munmap",
116 1.190.2.3 matt /* 74 */ "mprotect",
117 1.190.2.3 matt /* 75 */ "madvise",
118 1.190.2.3 matt /* 76 */ "#76 (obsolete vhangup)",
119 1.190.2.3 matt /* 77 */ "#77 (obsolete vlimit)",
120 1.190.2.3 matt /* 78 */ "mincore",
121 1.190.2.3 matt /* 79 */ "getgroups",
122 1.190.2.3 matt /* 80 */ "setgroups",
123 1.190.2.3 matt /* 81 */ "getpgrp",
124 1.190.2.3 matt /* 82 */ "setpgid",
125 1.190.2.3 matt /* 83 */ "setitimer",
126 1.190.2.3 matt /* 84 */ "compat_43_owait",
127 1.190.2.3 matt /* 85 */ "compat_12_oswapon",
128 1.190.2.3 matt /* 86 */ "getitimer",
129 1.190.2.3 matt /* 87 */ "compat_43_ogethostname",
130 1.190.2.3 matt /* 88 */ "compat_43_osethostname",
131 1.190.2.3 matt /* 89 */ "compat_43_ogetdtablesize",
132 1.190.2.3 matt /* 90 */ "dup2",
133 1.190.2.3 matt /* 91 */ "#91 (unimplemented getdopt)",
134 1.190.2.3 matt /* 92 */ "fcntl",
135 1.190.2.3 matt /* 93 */ "select",
136 1.190.2.3 matt /* 94 */ "#94 (unimplemented setdopt)",
137 1.190.2.3 matt /* 95 */ "fsync",
138 1.190.2.3 matt /* 96 */ "setpriority",
139 1.190.2.3 matt /* 97 */ "compat_30_socket",
140 1.190.2.3 matt /* 98 */ "connect",
141 1.190.2.3 matt /* 99 */ "compat_43_oaccept",
142 1.190.2.3 matt /* 100 */ "getpriority",
143 1.190.2.3 matt /* 101 */ "compat_43_osend",
144 1.190.2.3 matt /* 102 */ "compat_43_orecv",
145 1.190.2.3 matt /* 103 */ "compat_13_sigreturn13",
146 1.190.2.3 matt /* 104 */ "bind",
147 1.190.2.3 matt /* 105 */ "setsockopt",
148 1.190.2.3 matt /* 106 */ "listen",
149 1.190.2.3 matt /* 107 */ "#107 (obsolete vtimes)",
150 1.190.2.3 matt /* 108 */ "compat_43_osigvec",
151 1.190.2.3 matt /* 109 */ "compat_43_osigblock",
152 1.190.2.3 matt /* 110 */ "compat_43_osigsetmask",
153 1.190.2.3 matt /* 111 */ "compat_13_sigsuspend13",
154 1.190.2.3 matt /* 112 */ "compat_43_osigstack",
155 1.190.2.3 matt /* 113 */ "compat_43_orecvmsg",
156 1.190.2.3 matt /* 114 */ "compat_43_osendmsg",
157 1.190.2.3 matt /* 115 */ "#115 (obsolete vtrace)",
158 1.190.2.3 matt /* 116 */ "gettimeofday",
159 1.190.2.3 matt /* 117 */ "getrusage",
160 1.190.2.3 matt /* 118 */ "getsockopt",
161 1.190.2.3 matt /* 119 */ "#119 (obsolete resuba)",
162 1.190.2.3 matt /* 120 */ "readv",
163 1.190.2.3 matt /* 121 */ "writev",
164 1.190.2.3 matt /* 122 */ "settimeofday",
165 1.190.2.3 matt /* 123 */ "fchown",
166 1.190.2.3 matt /* 124 */ "fchmod",
167 1.190.2.3 matt /* 125 */ "compat_43_orecvfrom",
168 1.190.2.3 matt /* 126 */ "setreuid",
169 1.190.2.3 matt /* 127 */ "setregid",
170 1.190.2.3 matt /* 128 */ "rename",
171 1.190.2.3 matt /* 129 */ "compat_43_otruncate",
172 1.190.2.3 matt /* 130 */ "compat_43_oftruncate",
173 1.190.2.3 matt /* 131 */ "flock",
174 1.190.2.3 matt /* 132 */ "mkfifo",
175 1.190.2.3 matt /* 133 */ "sendto",
176 1.190.2.3 matt /* 134 */ "shutdown",
177 1.190.2.3 matt /* 135 */ "socketpair",
178 1.190.2.3 matt /* 136 */ "mkdir",
179 1.190.2.3 matt /* 137 */ "rmdir",
180 1.190.2.3 matt /* 138 */ "utimes",
181 1.190.2.3 matt /* 139 */ "#139 (obsolete 4.2 sigreturn)",
182 1.190.2.3 matt /* 140 */ "adjtime",
183 1.190.2.3 matt /* 141 */ "compat_43_ogetpeername",
184 1.190.2.3 matt /* 142 */ "compat_43_ogethostid",
185 1.190.2.3 matt /* 143 */ "compat_43_osethostid",
186 1.190.2.3 matt /* 144 */ "compat_43_ogetrlimit",
187 1.190.2.3 matt /* 145 */ "compat_43_osetrlimit",
188 1.190.2.3 matt /* 146 */ "compat_43_okillpg",
189 1.190.2.3 matt /* 147 */ "setsid",
190 1.190.2.3 matt /* 148 */ "quotactl",
191 1.190.2.3 matt /* 149 */ "compat_43_oquota",
192 1.190.2.3 matt /* 150 */ "compat_43_ogetsockname",
193 1.190.2.3 matt /* 151 */ "#151 (unimplemented)",
194 1.190.2.3 matt /* 152 */ "#152 (unimplemented)",
195 1.190.2.3 matt /* 153 */ "#153 (unimplemented)",
196 1.190.2.3 matt /* 154 */ "#154 (unimplemented)",
197 1.100 christos #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
198 1.190.2.3 matt /* 155 */ "nfssvc",
199 1.1 cgd #else
200 1.190.2.3 matt /* 155 */ "#155 (excluded nfssvc)",
201 1.1 cgd #endif
202 1.190.2.3 matt /* 156 */ "compat_43_ogetdirentries",
203 1.190.2.3 matt /* 157 */ "compat_20_statfs",
204 1.190.2.3 matt /* 158 */ "compat_20_fstatfs",
205 1.190.2.3 matt /* 159 */ "#159 (unimplemented)",
206 1.190.2.3 matt /* 160 */ "#160 (unimplemented)",
207 1.190.2.3 matt /* 161 */ "compat_30_getfh",
208 1.190.2.3 matt /* 162 */ "compat_09_ogetdomainname",
209 1.190.2.3 matt /* 163 */ "compat_09_osetdomainname",
210 1.190.2.3 matt /* 164 */ "compat_09_ouname",
211 1.190.2.3 matt /* 165 */ "sysarch",
212 1.190.2.3 matt /* 166 */ "#166 (unimplemented)",
213 1.190.2.3 matt /* 167 */ "#167 (unimplemented)",
214 1.190.2.3 matt /* 168 */ "#168 (unimplemented)",
215 1.124 eeh #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64)
216 1.190.2.3 matt /* 169 */ "compat_10_osemsys",
217 1.11 cgd #else
218 1.190.2.3 matt /* 169 */ "#169 (excluded 1.0 semsys)",
219 1.11 cgd #endif
220 1.124 eeh #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64)
221 1.190.2.3 matt /* 170 */ "compat_10_omsgsys",
222 1.11 cgd #else
223 1.190.2.3 matt /* 170 */ "#170 (excluded 1.0 msgsys)",
224 1.11 cgd #endif
225 1.124 eeh #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64)
226 1.190.2.3 matt /* 171 */ "compat_10_oshmsys",
227 1.1 cgd #else
228 1.190.2.3 matt /* 171 */ "#171 (excluded 1.0 shmsys)",
229 1.1 cgd #endif
230 1.190.2.3 matt /* 172 */ "#172 (unimplemented)",
231 1.190.2.3 matt /* 173 */ "pread",
232 1.190.2.3 matt /* 174 */ "pwrite",
233 1.190.2.3 matt /* 175 */ "compat_30_ntp_gettime",
234 1.110 bjh21 #if defined(NTP) || !defined(_KERNEL)
235 1.190.2.3 matt /* 176 */ "ntp_adjtime",
236 1.110 bjh21 #else
237 1.190.2.3 matt /* 176 */ "#176 (excluded ntp_adjtime)",
238 1.110 bjh21 #endif
239 1.190.2.3 matt /* 177 */ "#177 (unimplemented)",
240 1.190.2.3 matt /* 178 */ "#178 (unimplemented)",
241 1.190.2.3 matt /* 179 */ "#179 (unimplemented)",
242 1.190.2.3 matt /* 180 */ "#180 (unimplemented)",
243 1.190.2.3 matt /* 181 */ "setgid",
244 1.190.2.3 matt /* 182 */ "setegid",
245 1.190.2.3 matt /* 183 */ "seteuid",
246 1.100 christos #if defined(LFS) || !defined(_KERNEL)
247 1.190.2.3 matt /* 184 */ "lfs_bmapv",
248 1.190.2.3 matt /* 185 */ "lfs_markv",
249 1.190.2.3 matt /* 186 */ "lfs_segclean",
250 1.190.2.3 matt /* 187 */ "lfs_segwait",
251 1.190.2.3 matt #else
252 1.190.2.3 matt /* 184 */ "#184 (excluded lfs_bmapv)",
253 1.190.2.3 matt /* 185 */ "#185 (excluded lfs_markv)",
254 1.190.2.3 matt /* 186 */ "#186 (excluded lfs_segclean)",
255 1.190.2.3 matt /* 187 */ "#187 (excluded lfs_segwait)",
256 1.190.2.3 matt #endif
257 1.190.2.3 matt /* 188 */ "compat_12_stat12",
258 1.190.2.3 matt /* 189 */ "compat_12_fstat12",
259 1.190.2.3 matt /* 190 */ "compat_12_lstat12",
260 1.190.2.3 matt /* 191 */ "pathconf",
261 1.190.2.3 matt /* 192 */ "fpathconf",
262 1.190.2.3 matt /* 193 */ "#193 (unimplemented)",
263 1.190.2.3 matt /* 194 */ "getrlimit",
264 1.190.2.3 matt /* 195 */ "setrlimit",
265 1.190.2.3 matt /* 196 */ "compat_12_getdirentries",
266 1.190.2.3 matt /* 197 */ "mmap",
267 1.190.2.3 matt /* 198 */ "__syscall",
268 1.190.2.3 matt /* 199 */ "lseek",
269 1.190.2.3 matt /* 200 */ "truncate",
270 1.190.2.3 matt /* 201 */ "ftruncate",
271 1.190.2.3 matt /* 202 */ "__sysctl",
272 1.190.2.3 matt /* 203 */ "mlock",
273 1.190.2.3 matt /* 204 */ "munlock",
274 1.190.2.3 matt /* 205 */ "undelete",
275 1.190.2.3 matt /* 206 */ "futimes",
276 1.190.2.3 matt /* 207 */ "getpgid",
277 1.190.2.3 matt /* 208 */ "reboot",
278 1.190.2.3 matt /* 209 */ "poll",
279 1.100 christos #if defined(LKM) || !defined(_KERNEL)
280 1.190.2.3 matt /* 210 */ "lkmnosys",
281 1.190.2.3 matt /* 211 */ "lkmnosys",
282 1.190.2.3 matt /* 212 */ "lkmnosys",
283 1.190.2.3 matt /* 213 */ "lkmnosys",
284 1.190.2.3 matt /* 214 */ "lkmnosys",
285 1.190.2.3 matt /* 215 */ "lkmnosys",
286 1.190.2.3 matt /* 216 */ "lkmnosys",
287 1.190.2.3 matt /* 217 */ "lkmnosys",
288 1.190.2.3 matt /* 218 */ "lkmnosys",
289 1.190.2.3 matt /* 219 */ "lkmnosys",
290 1.13 cgd #else /* !LKM */
291 1.190.2.3 matt /* 210 */ "#210 (excluded lkmnosys)",
292 1.190.2.3 matt /* 211 */ "#211 (excluded lkmnosys)",
293 1.190.2.3 matt /* 212 */ "#212 (excluded lkmnosys)",
294 1.190.2.3 matt /* 213 */ "#213 (excluded lkmnosys)",
295 1.190.2.3 matt /* 214 */ "#214 (excluded lkmnosys)",
296 1.190.2.3 matt /* 215 */ "#215 (excluded lkmnosys)",
297 1.190.2.3 matt /* 216 */ "#216 (excluded lkmnosys)",
298 1.190.2.3 matt /* 217 */ "#217 (excluded lkmnosys)",
299 1.190.2.3 matt /* 218 */ "#218 (excluded lkmnosys)",
300 1.190.2.3 matt /* 219 */ "#219 (excluded lkmnosys)",
301 1.9 brezak #endif /* !LKM */
302 1.100 christos #if defined(SYSVSEM) || !defined(_KERNEL)
303 1.190.2.3 matt /* 220 */ "compat_14___semctl",
304 1.190.2.3 matt /* 221 */ "semget",
305 1.190.2.3 matt /* 222 */ "semop",
306 1.190.2.3 matt /* 223 */ "semconfig",
307 1.190.2.3 matt #else
308 1.190.2.3 matt /* 220 */ "#220 (excluded compat_14_semctl)",
309 1.190.2.3 matt /* 221 */ "#221 (excluded semget)",
310 1.190.2.3 matt /* 222 */ "#222 (excluded semop)",
311 1.190.2.3 matt /* 223 */ "#223 (excluded semconfig)",
312 1.25 cgd #endif
313 1.100 christos #if defined(SYSVMSG) || !defined(_KERNEL)
314 1.190.2.3 matt /* 224 */ "compat_14_msgctl",
315 1.190.2.3 matt /* 225 */ "msgget",
316 1.190.2.3 matt /* 226 */ "msgsnd",
317 1.190.2.3 matt /* 227 */ "msgrcv",
318 1.190.2.3 matt #else
319 1.190.2.3 matt /* 224 */ "#224 (excluded compat_14_msgctl)",
320 1.190.2.3 matt /* 225 */ "#225 (excluded msgget)",
321 1.190.2.3 matt /* 226 */ "#226 (excluded msgsnd)",
322 1.190.2.3 matt /* 227 */ "#227 (excluded msgrcv)",
323 1.25 cgd #endif
324 1.100 christos #if defined(SYSVSHM) || !defined(_KERNEL)
325 1.190.2.3 matt /* 228 */ "shmat",
326 1.190.2.3 matt /* 229 */ "compat_14_shmctl",
327 1.190.2.3 matt /* 230 */ "shmdt",
328 1.190.2.3 matt /* 231 */ "shmget",
329 1.190.2.3 matt #else
330 1.190.2.3 matt /* 228 */ "#228 (excluded shmat)",
331 1.190.2.3 matt /* 229 */ "#229 (excluded compat_14_shmctl)",
332 1.190.2.3 matt /* 230 */ "#230 (excluded shmdt)",
333 1.190.2.3 matt /* 231 */ "#231 (excluded shmget)",
334 1.190.2.3 matt #endif
335 1.190.2.3 matt /* 232 */ "clock_gettime",
336 1.190.2.3 matt /* 233 */ "clock_settime",
337 1.190.2.3 matt /* 234 */ "clock_getres",
338 1.190.2.3 matt /* 235 */ "timer_create",
339 1.190.2.3 matt /* 236 */ "timer_delete",
340 1.190.2.3 matt /* 237 */ "timer_settime",
341 1.190.2.3 matt /* 238 */ "timer_gettime",
342 1.190.2.3 matt /* 239 */ "timer_getoverrun",
343 1.190.2.3 matt /* 240 */ "nanosleep",
344 1.190.2.3 matt /* 241 */ "fdatasync",
345 1.190.2.3 matt /* 242 */ "mlockall",
346 1.190.2.3 matt /* 243 */ "munlockall",
347 1.190.2.3 matt /* 244 */ "__sigtimedwait",
348 1.190.2.3 matt /* 245 */ "#245 (unimplemented sys_sigqueue)",
349 1.190.2.4 matt /* 246 */ "modctl",
350 1.145 christos #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC))
351 1.190.2.3 matt /* 247 */ "_ksem_init",
352 1.190.2.3 matt /* 248 */ "_ksem_open",
353 1.190.2.3 matt /* 249 */ "_ksem_unlink",
354 1.190.2.3 matt /* 250 */ "_ksem_close",
355 1.190.2.3 matt /* 251 */ "_ksem_post",
356 1.190.2.3 matt /* 252 */ "_ksem_wait",
357 1.190.2.3 matt /* 253 */ "_ksem_trywait",
358 1.190.2.3 matt /* 254 */ "_ksem_getvalue",
359 1.190.2.3 matt /* 255 */ "_ksem_destroy",
360 1.190.2.3 matt /* 256 */ "#256 (unimplemented sys__ksem_timedwait)",
361 1.190.2.3 matt #else
362 1.190.2.3 matt /* 247 */ "#247 (excluded sys__ksem_init)",
363 1.190.2.3 matt /* 248 */ "#248 (excluded sys__ksem_open)",
364 1.190.2.3 matt /* 249 */ "#249 (excluded sys__ksem_unlink)",
365 1.190.2.3 matt /* 250 */ "#250 (excluded sys__ksem_close)",
366 1.190.2.3 matt /* 251 */ "#251 (excluded sys__ksem_post)",
367 1.190.2.3 matt /* 252 */ "#252 (excluded sys__ksem_wait)",
368 1.190.2.3 matt /* 253 */ "#253 (excluded sys__ksem_trywait)",
369 1.190.2.3 matt /* 254 */ "#254 (excluded sys__ksem_getvalue)",
370 1.190.2.3 matt /* 255 */ "#255 (excluded sys__ksem_destroy)",
371 1.190.2.3 matt /* 256 */ "#256 (unimplemented sys__ksem_timedwait)",
372 1.190.2.3 matt #endif
373 1.190.2.3 matt /* 257 */ "mq_open",
374 1.190.2.3 matt /* 258 */ "mq_close",
375 1.190.2.3 matt /* 259 */ "mq_unlink",
376 1.190.2.3 matt /* 260 */ "mq_getattr",
377 1.190.2.3 matt /* 261 */ "mq_setattr",
378 1.190.2.3 matt /* 262 */ "mq_notify",
379 1.190.2.3 matt /* 263 */ "mq_send",
380 1.190.2.3 matt /* 264 */ "mq_receive",
381 1.190.2.3 matt /* 265 */ "mq_timedsend",
382 1.190.2.3 matt /* 266 */ "mq_timedreceive",
383 1.190.2.3 matt /* 267 */ "#267 (unimplemented)",
384 1.190.2.3 matt /* 268 */ "#268 (unimplemented)",
385 1.190.2.3 matt /* 269 */ "#269 (unimplemented)",
386 1.190.2.3 matt /* 270 */ "__posix_rename",
387 1.190.2.3 matt /* 271 */ "swapctl",
388 1.190.2.3 matt /* 272 */ "compat_30_getdents",
389 1.190.2.3 matt /* 273 */ "minherit",
390 1.190.2.3 matt /* 274 */ "lchmod",
391 1.190.2.3 matt /* 275 */ "lchown",
392 1.190.2.3 matt /* 276 */ "lutimes",
393 1.190.2.3 matt /* 277 */ "__msync13",
394 1.190.2.3 matt /* 278 */ "compat_30___stat13",
395 1.190.2.3 matt /* 279 */ "compat_30___fstat13",
396 1.190.2.3 matt /* 280 */ "compat_30___lstat13",
397 1.190.2.3 matt /* 281 */ "__sigaltstack14",
398 1.190.2.3 matt /* 282 */ "__vfork14",
399 1.190.2.3 matt /* 283 */ "__posix_chown",
400 1.190.2.3 matt /* 284 */ "__posix_fchown",
401 1.190.2.3 matt /* 285 */ "__posix_lchown",
402 1.190.2.3 matt /* 286 */ "getsid",
403 1.190.2.3 matt /* 287 */ "__clone",
404 1.190.2.3 matt /* 288 */ "fktrace",
405 1.190.2.3 matt /* 289 */ "preadv",
406 1.190.2.3 matt /* 290 */ "pwritev",
407 1.190.2.3 matt /* 291 */ "compat_16___sigaction14",
408 1.190.2.3 matt /* 292 */ "__sigpending14",
409 1.190.2.3 matt /* 293 */ "__sigprocmask14",
410 1.190.2.3 matt /* 294 */ "__sigsuspend14",
411 1.190.2.3 matt /* 295 */ "compat_16___sigreturn14",
412 1.190.2.3 matt /* 296 */ "__getcwd",
413 1.190.2.3 matt /* 297 */ "fchroot",
414 1.190.2.3 matt /* 298 */ "compat_30_fhopen",
415 1.190.2.3 matt /* 299 */ "compat_30_fhstat",
416 1.190.2.3 matt /* 300 */ "compat_20_fhstatfs",
417 1.105 thorpej #if defined(SYSVSEM) || !defined(_KERNEL)
418 1.190.2.3 matt /* 301 */ "____semctl13",
419 1.105 thorpej #else
420 1.190.2.3 matt /* 301 */ "#301 (excluded ____semctl13)",
421 1.105 thorpej #endif
422 1.105 thorpej #if defined(SYSVMSG) || !defined(_KERNEL)
423 1.190.2.3 matt /* 302 */ "__msgctl13",
424 1.105 thorpej #else
425 1.190.2.3 matt /* 302 */ "#302 (excluded __msgctl13)",
426 1.105 thorpej #endif
427 1.105 thorpej #if defined(SYSVSHM) || !defined(_KERNEL)
428 1.190.2.3 matt /* 303 */ "__shmctl13",
429 1.105 thorpej #else
430 1.190.2.3 matt /* 303 */ "#303 (excluded __shmctl13)",
431 1.105 thorpej #endif
432 1.190.2.3 matt /* 304 */ "lchflags",
433 1.190.2.3 matt /* 305 */ "issetugid",
434 1.190.2.3 matt /* 306 */ "utrace",
435 1.190.2.3 matt /* 307 */ "getcontext",
436 1.190.2.3 matt /* 308 */ "setcontext",
437 1.190.2.3 matt /* 309 */ "_lwp_create",
438 1.190.2.3 matt /* 310 */ "_lwp_exit",
439 1.190.2.3 matt /* 311 */ "_lwp_self",
440 1.190.2.3 matt /* 312 */ "_lwp_wait",
441 1.190.2.3 matt /* 313 */ "_lwp_suspend",
442 1.190.2.3 matt /* 314 */ "_lwp_continue",
443 1.190.2.3 matt /* 315 */ "_lwp_wakeup",
444 1.190.2.3 matt /* 316 */ "_lwp_getprivate",
445 1.190.2.3 matt /* 317 */ "_lwp_setprivate",
446 1.190.2.3 matt /* 318 */ "_lwp_kill",
447 1.190.2.3 matt /* 319 */ "_lwp_detach",
448 1.190.2.3 matt /* 320 */ "_lwp_park",
449 1.190.2.3 matt /* 321 */ "_lwp_unpark",
450 1.190.2.3 matt /* 322 */ "_lwp_unpark_all",
451 1.190.2.3 matt /* 323 */ "_lwp_setname",
452 1.190.2.3 matt /* 324 */ "_lwp_getname",
453 1.190.2.3 matt /* 325 */ "_lwp_ctl",
454 1.190.2.3 matt /* 326 */ "#326 (unimplemented)",
455 1.190.2.3 matt /* 327 */ "#327 (unimplemented)",
456 1.190.2.3 matt /* 328 */ "#328 (unimplemented)",
457 1.190.2.3 matt /* 329 */ "#329 (unimplemented)",
458 1.190.2.3 matt /* 330 */ "sa_register",
459 1.190.2.3 matt /* 331 */ "sa_stacks",
460 1.190.2.3 matt /* 332 */ "sa_enable",
461 1.190.2.3 matt /* 333 */ "sa_setconcurrency",
462 1.190.2.3 matt /* 334 */ "sa_yield",
463 1.190.2.3 matt /* 335 */ "sa_preempt",
464 1.190.2.3 matt /* 336 */ "sa_unblockyield",
465 1.190.2.3 matt /* 337 */ "#337 (unimplemented)",
466 1.190.2.3 matt /* 338 */ "#338 (unimplemented)",
467 1.190.2.3 matt /* 339 */ "#339 (unimplemented)",
468 1.190.2.3 matt /* 340 */ "__sigaction_sigtramp",
469 1.190.2.3 matt /* 341 */ "pmc_get_info",
470 1.190.2.3 matt /* 342 */ "pmc_control",
471 1.190.2.3 matt /* 343 */ "rasctl",
472 1.190.2.3 matt /* 344 */ "kqueue",
473 1.190.2.3 matt /* 345 */ "kevent",
474 1.190.2.4 matt /* 346 */ "_sched_setparam",
475 1.190.2.4 matt /* 347 */ "_sched_getparam",
476 1.190.2.4 matt /* 348 */ "_sched_setaffinity",
477 1.190.2.4 matt /* 349 */ "_sched_getaffinity",
478 1.190.2.3 matt /* 350 */ "sched_yield",
479 1.190.2.4 matt /* 351 */ "#351 (unimplemented)",
480 1.190.2.4 matt /* 352 */ "#352 (unimplemented)",
481 1.190.2.4 matt /* 353 */ "#353 (unimplemented)",
482 1.190.2.3 matt /* 354 */ "fsync_range",
483 1.190.2.3 matt /* 355 */ "uuidgen",
484 1.190.2.3 matt /* 356 */ "getvfsstat",
485 1.190.2.3 matt /* 357 */ "statvfs1",
486 1.190.2.3 matt /* 358 */ "fstatvfs1",
487 1.190.2.3 matt /* 359 */ "compat_30_fhstatvfs1",
488 1.190.2.3 matt /* 360 */ "extattrctl",
489 1.190.2.3 matt /* 361 */ "extattr_set_file",
490 1.190.2.3 matt /* 362 */ "extattr_get_file",
491 1.190.2.3 matt /* 363 */ "extattr_delete_file",
492 1.190.2.3 matt /* 364 */ "extattr_set_fd",
493 1.190.2.3 matt /* 365 */ "extattr_get_fd",
494 1.190.2.3 matt /* 366 */ "extattr_delete_fd",
495 1.190.2.3 matt /* 367 */ "extattr_set_link",
496 1.190.2.3 matt /* 368 */ "extattr_get_link",
497 1.190.2.3 matt /* 369 */ "extattr_delete_link",
498 1.190.2.3 matt /* 370 */ "extattr_list_fd",
499 1.190.2.3 matt /* 371 */ "extattr_list_file",
500 1.190.2.3 matt /* 372 */ "extattr_list_link",
501 1.190.2.3 matt /* 373 */ "pselect",
502 1.190.2.3 matt /* 374 */ "pollts",
503 1.190.2.3 matt /* 375 */ "setxattr",
504 1.190.2.3 matt /* 376 */ "lsetxattr",
505 1.190.2.3 matt /* 377 */ "fsetxattr",
506 1.190.2.3 matt /* 378 */ "getxattr",
507 1.190.2.3 matt /* 379 */ "lgetxattr",
508 1.190.2.3 matt /* 380 */ "fgetxattr",
509 1.190.2.3 matt /* 381 */ "listxattr",
510 1.190.2.3 matt /* 382 */ "llistxattr",
511 1.190.2.3 matt /* 383 */ "flistxattr",
512 1.190.2.3 matt /* 384 */ "removexattr",
513 1.190.2.3 matt /* 385 */ "lremovexattr",
514 1.190.2.3 matt /* 386 */ "fremovexattr",
515 1.190.2.3 matt /* 387 */ "__stat30",
516 1.190.2.3 matt /* 388 */ "__fstat30",
517 1.190.2.3 matt /* 389 */ "__lstat30",
518 1.190.2.3 matt /* 390 */ "__getdents30",
519 1.190.2.4 matt /* 391 */ "#391 (ignored old posix_fadvise)",
520 1.190.2.3 matt /* 392 */ "compat_30___fhstat30",
521 1.190.2.3 matt /* 393 */ "__ntp_gettime30",
522 1.190.2.3 matt /* 394 */ "__socket30",
523 1.190.2.3 matt /* 395 */ "__getfh30",
524 1.190.2.3 matt /* 396 */ "__fhopen40",
525 1.190.2.3 matt /* 397 */ "__fhstatvfs140",
526 1.190.2.3 matt /* 398 */ "__fhstat40",
527 1.190.2.3 matt /* 399 */ "aio_cancel",
528 1.190.2.3 matt /* 400 */ "aio_error",
529 1.190.2.3 matt /* 401 */ "aio_fsync",
530 1.190.2.3 matt /* 402 */ "aio_read",
531 1.190.2.3 matt /* 403 */ "aio_return",
532 1.190.2.3 matt /* 404 */ "aio_suspend",
533 1.190.2.3 matt /* 405 */ "aio_write",
534 1.190.2.3 matt /* 406 */ "lio_listio",
535 1.190.2.3 matt /* 407 */ "#407 (unimplemented)",
536 1.190.2.3 matt /* 408 */ "#408 (unimplemented)",
537 1.190.2.3 matt /* 409 */ "#409 (unimplemented)",
538 1.190.2.3 matt /* 410 */ "__mount50",
539 1.190.2.3 matt /* 411 */ "mremap",
540 1.190.2.4 matt /* 412 */ "pset_create",
541 1.190.2.4 matt /* 413 */ "pset_destroy",
542 1.190.2.4 matt /* 414 */ "pset_assign",
543 1.190.2.4 matt /* 415 */ "_pset_bind",
544 1.190.2.4 matt /* 416 */ "__posix_fadvise50",
545 1.1 cgd };
546