freebsd_syscalls.c revision 1.68.16.1 1 1.68.16.1 ad /* $NetBSD: freebsd_syscalls.c,v 1.68.16.1 2007/12/26 19:48:55 ad Exp $ */
2 1.16 thorpej
3 1.1 mycroft /*
4 1.1 mycroft * System call names.
5 1.1 mycroft *
6 1.1 mycroft * DO NOT EDIT-- this file is automatically generated.
7 1.68 dsl * created from NetBSD: syscalls.master,v 1.58 2007/07/13 20:48:39 dsl Exp
8 1.1 mycroft */
9 1.19 thorpej
10 1.45 lukem #include <sys/cdefs.h>
11 1.68.16.1 ad __KERNEL_RCSID(0, "$NetBSD: freebsd_syscalls.c,v 1.68.16.1 2007/12/26 19:48:55 ad Exp $");
12 1.45 lukem
13 1.43 mrg #if defined(_KERNEL_OPT)
14 1.43 mrg #if defined(_KERNEL_OPT)
15 1.22 thorpej #include "opt_ktrace.h"
16 1.23 thorpej #include "opt_nfsserver.h"
17 1.34 bjh21 #include "opt_ntp.h"
18 1.25 tron #include "opt_sysv.h"
19 1.26 christos #include "opt_compat_43.h"
20 1.52 jdolecek #include "opt_posix.h"
21 1.19 thorpej #include "fs_lfs.h"
22 1.19 thorpej #include "fs_nfs.h"
23 1.38 mycroft #endif
24 1.19 thorpej #include <sys/param.h>
25 1.19 thorpej #include <sys/systm.h>
26 1.19 thorpej #include <sys/signal.h>
27 1.19 thorpej #include <sys/mount.h>
28 1.19 thorpej #include <sys/syscallargs.h>
29 1.60 christos #include <compat/sys/signal.h>
30 1.19 thorpej #include <compat/freebsd/freebsd_syscallargs.h>
31 1.19 thorpej #include <machine/freebsd_machdep.h>
32 1.43 mrg #endif /* _KERNEL_OPT */
33 1.1 mycroft
34 1.38 mycroft const char *const freebsd_syscallnames[] = {
35 1.68.16.1 ad /* 0 */ "syscall",
36 1.68.16.1 ad /* 1 */ "exit",
37 1.68.16.1 ad /* 2 */ "fork",
38 1.68.16.1 ad /* 3 */ "read",
39 1.68.16.1 ad /* 4 */ "write",
40 1.68.16.1 ad /* 5 */ "open",
41 1.68.16.1 ad /* 6 */ "close",
42 1.68.16.1 ad /* 7 */ "wait4",
43 1.68.16.1 ad /* 8 */ "ocreat",
44 1.68.16.1 ad /* 9 */ "link",
45 1.68.16.1 ad /* 10 */ "unlink",
46 1.68.16.1 ad /* 11 */ "#11 (obsolete execv)",
47 1.68.16.1 ad /* 12 */ "chdir",
48 1.68.16.1 ad /* 13 */ "fchdir",
49 1.68.16.1 ad /* 14 */ "mknod",
50 1.68.16.1 ad /* 15 */ "chmod",
51 1.68.16.1 ad /* 16 */ "chown",
52 1.68.16.1 ad /* 17 */ "break",
53 1.68.16.1 ad /* 18 */ "getfsstat",
54 1.68.16.1 ad /* 19 */ "olseek",
55 1.68.16.1 ad /* 20 */ "getpid_with_ppid",
56 1.68.16.1 ad /* 21 */ "mount",
57 1.68.16.1 ad /* 22 */ "unmount",
58 1.68.16.1 ad /* 23 */ "setuid",
59 1.68.16.1 ad /* 24 */ "getuid_with_euid",
60 1.68.16.1 ad /* 25 */ "geteuid",
61 1.68.16.1 ad /* 26 */ "ptrace",
62 1.68.16.1 ad /* 27 */ "recvmsg",
63 1.68.16.1 ad /* 28 */ "sendmsg",
64 1.68.16.1 ad /* 29 */ "recvfrom",
65 1.68.16.1 ad /* 30 */ "accept",
66 1.68.16.1 ad /* 31 */ "getpeername",
67 1.68.16.1 ad /* 32 */ "getsockname",
68 1.68.16.1 ad /* 33 */ "access",
69 1.68.16.1 ad /* 34 */ "chflags",
70 1.68.16.1 ad /* 35 */ "fchflags",
71 1.68.16.1 ad /* 36 */ "sync",
72 1.68.16.1 ad /* 37 */ "kill",
73 1.68.16.1 ad /* 38 */ "stat43",
74 1.68.16.1 ad /* 39 */ "getppid",
75 1.68.16.1 ad /* 40 */ "lstat43",
76 1.68.16.1 ad /* 41 */ "dup",
77 1.68.16.1 ad /* 42 */ "pipe",
78 1.68.16.1 ad /* 43 */ "getegid",
79 1.68.16.1 ad /* 44 */ "profil",
80 1.1 mycroft #ifdef KTRACE
81 1.68.16.1 ad /* 45 */ "ktrace",
82 1.1 mycroft #else
83 1.68.16.1 ad /* 45 */ "#45 (excluded ktrace)",
84 1.1 mycroft #endif
85 1.68.16.1 ad /* 46 */ "sigaction",
86 1.68.16.1 ad /* 47 */ "getgid_with_egid",
87 1.68.16.1 ad /* 48 */ "sigprocmask",
88 1.68.16.1 ad /* 49 */ "__getlogin",
89 1.68.16.1 ad /* 50 */ "__setlogin",
90 1.68.16.1 ad /* 51 */ "acct",
91 1.68.16.1 ad /* 52 */ "sigpending",
92 1.68.16.1 ad /* 53 */ "sigaltstack",
93 1.68.16.1 ad /* 54 */ "ioctl",
94 1.68.16.1 ad /* 55 */ "oreboot",
95 1.68.16.1 ad /* 56 */ "revoke",
96 1.68.16.1 ad /* 57 */ "symlink",
97 1.68.16.1 ad /* 58 */ "readlink",
98 1.68.16.1 ad /* 59 */ "execve",
99 1.68.16.1 ad /* 60 */ "umask",
100 1.68.16.1 ad /* 61 */ "chroot",
101 1.68.16.1 ad /* 62 */ "fstat43",
102 1.68.16.1 ad /* 63 */ "ogetkerninfo",
103 1.68.16.1 ad /* 64 */ "ogetpagesize",
104 1.68.16.1 ad /* 65 */ "msync",
105 1.68.16.1 ad /* 66 */ "vfork",
106 1.68.16.1 ad /* 67 */ "#67 (obsolete vread)",
107 1.68.16.1 ad /* 68 */ "#68 (obsolete vwrite)",
108 1.68.16.1 ad /* 69 */ "sbrk",
109 1.68.16.1 ad /* 70 */ "sstk",
110 1.68.16.1 ad /* 71 */ "ommap",
111 1.68.16.1 ad /* 72 */ "vadvise",
112 1.68.16.1 ad /* 73 */ "munmap",
113 1.68.16.1 ad /* 74 */ "mprotect",
114 1.68.16.1 ad /* 75 */ "madvise",
115 1.68.16.1 ad /* 76 */ "#76 (obsolete vhangup)",
116 1.68.16.1 ad /* 77 */ "#77 (obsolete vlimit)",
117 1.68.16.1 ad /* 78 */ "mincore",
118 1.68.16.1 ad /* 79 */ "getgroups",
119 1.68.16.1 ad /* 80 */ "setgroups",
120 1.68.16.1 ad /* 81 */ "getpgrp",
121 1.68.16.1 ad /* 82 */ "setpgid",
122 1.68.16.1 ad /* 83 */ "setitimer",
123 1.68.16.1 ad /* 84 */ "owait",
124 1.68.16.1 ad /* 85 */ "swapon",
125 1.68.16.1 ad /* 86 */ "getitimer",
126 1.68.16.1 ad /* 87 */ "ogethostname",
127 1.68.16.1 ad /* 88 */ "osethostname",
128 1.68.16.1 ad /* 89 */ "ogetdtablesize",
129 1.68.16.1 ad /* 90 */ "dup2",
130 1.68.16.1 ad /* 91 */ "#91 (unimplemented getdopt)",
131 1.68.16.1 ad /* 92 */ "fcntl",
132 1.68.16.1 ad /* 93 */ "select",
133 1.68.16.1 ad /* 94 */ "#94 (unimplemented setdopt)",
134 1.68.16.1 ad /* 95 */ "fsync",
135 1.68.16.1 ad /* 96 */ "setpriority",
136 1.68.16.1 ad /* 97 */ "socket",
137 1.68.16.1 ad /* 98 */ "connect",
138 1.68.16.1 ad /* 99 */ "oaccept",
139 1.68.16.1 ad /* 100 */ "getpriority",
140 1.68.16.1 ad /* 101 */ "osend",
141 1.68.16.1 ad /* 102 */ "orecv",
142 1.68.16.1 ad /* 103 */ "sigreturn",
143 1.68.16.1 ad /* 104 */ "bind",
144 1.68.16.1 ad /* 105 */ "setsockopt",
145 1.68.16.1 ad /* 106 */ "listen",
146 1.68.16.1 ad /* 107 */ "#107 (obsolete vtimes)",
147 1.68.16.1 ad /* 108 */ "osigvec",
148 1.68.16.1 ad /* 109 */ "osigblock",
149 1.68.16.1 ad /* 110 */ "osigsetmask",
150 1.68.16.1 ad /* 111 */ "sigsuspend",
151 1.68.16.1 ad /* 112 */ "osigstack",
152 1.68.16.1 ad /* 113 */ "orecvmsg",
153 1.68.16.1 ad /* 114 */ "osendmsg",
154 1.1 mycroft #ifdef TRACE
155 1.68.16.1 ad /* 115 */ "vtrace",
156 1.1 mycroft #else
157 1.68.16.1 ad /* 115 */ "#115 (obsolete vtrace)",
158 1.1 mycroft #endif
159 1.68.16.1 ad /* 116 */ "gettimeofday",
160 1.68.16.1 ad /* 117 */ "getrusage",
161 1.68.16.1 ad /* 118 */ "getsockopt",
162 1.68.16.1 ad /* 119 */ "#119 (obsolete resuba)",
163 1.68.16.1 ad /* 120 */ "readv",
164 1.68.16.1 ad /* 121 */ "writev",
165 1.68.16.1 ad /* 122 */ "settimeofday",
166 1.68.16.1 ad /* 123 */ "fchown",
167 1.68.16.1 ad /* 124 */ "fchmod",
168 1.68.16.1 ad /* 125 */ "orecvfrom",
169 1.68.16.1 ad /* 126 */ "setreuid",
170 1.68.16.1 ad /* 127 */ "setregid",
171 1.68.16.1 ad /* 128 */ "rename",
172 1.68.16.1 ad /* 129 */ "otruncate",
173 1.68.16.1 ad /* 130 */ "oftruncate",
174 1.68.16.1 ad /* 131 */ "flock",
175 1.68.16.1 ad /* 132 */ "mkfifo",
176 1.68.16.1 ad /* 133 */ "sendto",
177 1.68.16.1 ad /* 134 */ "shutdown",
178 1.68.16.1 ad /* 135 */ "socketpair",
179 1.68.16.1 ad /* 136 */ "mkdir",
180 1.68.16.1 ad /* 137 */ "rmdir",
181 1.68.16.1 ad /* 138 */ "utimes",
182 1.68.16.1 ad /* 139 */ "#139 (obsolete 4.2 sigreturn)",
183 1.68.16.1 ad /* 140 */ "adjtime",
184 1.68.16.1 ad /* 141 */ "ogetpeername",
185 1.68.16.1 ad /* 142 */ "ogethostid",
186 1.68.16.1 ad /* 143 */ "osethostid",
187 1.68.16.1 ad /* 144 */ "ogetrlimit",
188 1.68.16.1 ad /* 145 */ "osetrlimit",
189 1.68.16.1 ad /* 146 */ "okillpg",
190 1.68.16.1 ad /* 147 */ "setsid",
191 1.68.16.1 ad /* 148 */ "quotactl",
192 1.68.16.1 ad /* 149 */ "oquota",
193 1.68.16.1 ad /* 150 */ "ogetsockname",
194 1.68.16.1 ad /* 151 */ "#151 (unimplemented sem_lock)",
195 1.68.16.1 ad /* 152 */ "#152 (unimplemented sem_wakeup)",
196 1.68.16.1 ad /* 153 */ "#153 (unimplemented asyncdaemon)",
197 1.68.16.1 ad /* 154 */ "#154 (unimplemented)",
198 1.6 thorpej #if defined(NFS) || defined(NFSSERVER)
199 1.68.16.1 ad /* 155 */ "nfssvc",
200 1.1 mycroft #else
201 1.68.16.1 ad /* 155 */ "#155 (unimplemented nfssvc)",
202 1.1 mycroft #endif
203 1.68.16.1 ad /* 156 */ "ogetdirentries",
204 1.68.16.1 ad /* 157 */ "statfs",
205 1.68.16.1 ad /* 158 */ "fstatfs",
206 1.68.16.1 ad /* 159 */ "#159 (unimplemented)",
207 1.68.16.1 ad /* 160 */ "#160 (unimplemented)",
208 1.6 thorpej #ifdef NFS
209 1.68.16.1 ad /* 161 */ "getfh",
210 1.1 mycroft #else
211 1.68.16.1 ad /* 161 */ "#161 (unimplemented getfh)",
212 1.1 mycroft #endif
213 1.68.16.1 ad /* 162 */ "getdomainname",
214 1.68.16.1 ad /* 163 */ "setdomainname",
215 1.68.16.1 ad /* 164 */ "uname",
216 1.68.16.1 ad /* 165 */ "sysarch",
217 1.68.16.1 ad /* 166 */ "rtprio",
218 1.68.16.1 ad /* 167 */ "#167 (unimplemented)",
219 1.68.16.1 ad /* 168 */ "#168 (unimplemented)",
220 1.46 eeh #if defined(SYSVSEM) && !defined(_LP64)
221 1.68.16.1 ad /* 169 */ "semsys",
222 1.1 mycroft #else
223 1.68.16.1 ad /* 169 */ "#169 (unimplemented 1.0 semsys)",
224 1.1 mycroft #endif
225 1.46 eeh #if defined(SYSVMSG) && !defined(_LP64)
226 1.68.16.1 ad /* 170 */ "msgsys",
227 1.1 mycroft #else
228 1.68.16.1 ad /* 170 */ "#170 (unimplemented 1.0 msgsys)",
229 1.1 mycroft #endif
230 1.46 eeh #if defined(SYSVSHM) && !defined(_LP64)
231 1.68.16.1 ad /* 171 */ "shmsys",
232 1.1 mycroft #else
233 1.68.16.1 ad /* 171 */ "#171 (unimplemented 1.0 shmsys)",
234 1.1 mycroft #endif
235 1.68.16.1 ad /* 172 */ "#172 (unimplemented)",
236 1.68.16.1 ad /* 173 */ "pread",
237 1.68.16.1 ad /* 174 */ "pwrite",
238 1.68.16.1 ad /* 175 */ "#175 (unimplemented)",
239 1.35 itojun #ifdef NTP
240 1.68.16.1 ad /* 176 */ "freebsd_ntp_adjtime",
241 1.34 bjh21 #else
242 1.68.16.1 ad /* 176 */ "#176 (excluded ntp_adjtime)",
243 1.34 bjh21 #endif
244 1.68.16.1 ad /* 177 */ "#177 (unimplemented sfork)",
245 1.68.16.1 ad /* 178 */ "#178 (unimplemented getdescriptor)",
246 1.68.16.1 ad /* 179 */ "#179 (unimplemented setdescriptor)",
247 1.68.16.1 ad /* 180 */ "#180 (unimplemented)",
248 1.68.16.1 ad /* 181 */ "setgid",
249 1.68.16.1 ad /* 182 */ "setegid",
250 1.68.16.1 ad /* 183 */ "seteuid",
251 1.1 mycroft #ifdef LFS
252 1.68.16.1 ad /* 184 */ "lfs_bmapv",
253 1.68.16.1 ad /* 185 */ "lfs_markv",
254 1.68.16.1 ad /* 186 */ "lfs_segclean",
255 1.68.16.1 ad /* 187 */ "lfs_segwait",
256 1.68.16.1 ad #else
257 1.68.16.1 ad /* 184 */ "#184 (unimplemented)",
258 1.68.16.1 ad /* 185 */ "#185 (unimplemented)",
259 1.68.16.1 ad /* 186 */ "#186 (unimplemented)",
260 1.68.16.1 ad /* 187 */ "#187 (unimplemented)",
261 1.68.16.1 ad #endif
262 1.68.16.1 ad /* 188 */ "stat",
263 1.68.16.1 ad /* 189 */ "fstat",
264 1.68.16.1 ad /* 190 */ "lstat",
265 1.68.16.1 ad /* 191 */ "pathconf",
266 1.68.16.1 ad /* 192 */ "fpathconf",
267 1.68.16.1 ad /* 193 */ "#193 (unimplemented)",
268 1.68.16.1 ad /* 194 */ "getrlimit",
269 1.68.16.1 ad /* 195 */ "setrlimit",
270 1.68.16.1 ad /* 196 */ "getdirentries",
271 1.68.16.1 ad /* 197 */ "mmap",
272 1.68.16.1 ad /* 198 */ "__syscall",
273 1.68.16.1 ad /* 199 */ "lseek",
274 1.68.16.1 ad /* 200 */ "truncate",
275 1.68.16.1 ad /* 201 */ "ftruncate",
276 1.68.16.1 ad /* 202 */ "sysctl",
277 1.68.16.1 ad /* 203 */ "mlock",
278 1.68.16.1 ad /* 204 */ "munlock",
279 1.1 mycroft #ifdef FREEBSD_BASED_ON_44LITE_R2
280 1.68.16.1 ad /* 205 */ "undelete",
281 1.1 mycroft #else
282 1.68.16.1 ad /* 205 */ "#205 (unimplemented undelete)",
283 1.1 mycroft #endif
284 1.68.16.1 ad /* 206 */ "futimes",
285 1.68.16.1 ad /* 207 */ "getpgid",
286 1.27 christos #if 0
287 1.68.16.1 ad /* 208 */ "reboot",
288 1.27 christos #else
289 1.68.16.1 ad /* 208 */ "#208 (unimplemented newreboot)",
290 1.27 christos #endif
291 1.68.16.1 ad /* 209 */ "poll",
292 1.68.16.1 ad /* 210 */ "#210 (unimplemented)",
293 1.68.16.1 ad /* 211 */ "#211 (unimplemented)",
294 1.68.16.1 ad /* 212 */ "#212 (unimplemented)",
295 1.68.16.1 ad /* 213 */ "#213 (unimplemented)",
296 1.68.16.1 ad /* 214 */ "#214 (unimplemented)",
297 1.68.16.1 ad /* 215 */ "#215 (unimplemented)",
298 1.68.16.1 ad /* 216 */ "#216 (unimplemented)",
299 1.68.16.1 ad /* 217 */ "#217 (unimplemented)",
300 1.68.16.1 ad /* 218 */ "#218 (unimplemented)",
301 1.68.16.1 ad /* 219 */ "#219 (unimplemented)",
302 1.27 christos #ifdef SYSVSEM
303 1.68.16.1 ad /* 220 */ "__semctl",
304 1.68.16.1 ad /* 221 */ "semget",
305 1.68.16.1 ad /* 222 */ "semop",
306 1.68.16.1 ad /* 223 */ "semconfig",
307 1.68.16.1 ad #else
308 1.68.16.1 ad /* 220 */ "#220 (unimplemented semctl)",
309 1.68.16.1 ad /* 221 */ "#221 (unimplemented semget)",
310 1.68.16.1 ad /* 222 */ "#222 (unimplemented semop)",
311 1.68.16.1 ad /* 223 */ "#223 (unimplemented semconfig)",
312 1.27 christos #endif
313 1.27 christos #ifdef SYSVMSG
314 1.68.16.1 ad /* 224 */ "msgctl",
315 1.68.16.1 ad /* 225 */ "msgget",
316 1.68.16.1 ad /* 226 */ "msgsnd",
317 1.68.16.1 ad /* 227 */ "msgrcv",
318 1.68.16.1 ad #else
319 1.68.16.1 ad /* 224 */ "#224 (unimplemented msgctl)",
320 1.68.16.1 ad /* 225 */ "#225 (unimplemented msgget)",
321 1.68.16.1 ad /* 226 */ "#226 (unimplemented msgsnd)",
322 1.68.16.1 ad /* 227 */ "#227 (unimplemented msgrcv)",
323 1.27 christos #endif
324 1.27 christos #ifdef SYSVSHM
325 1.68.16.1 ad /* 228 */ "shmat",
326 1.68.16.1 ad /* 229 */ "shmctl",
327 1.68.16.1 ad /* 230 */ "shmdt",
328 1.68.16.1 ad /* 231 */ "shmget",
329 1.68.16.1 ad #else
330 1.68.16.1 ad /* 228 */ "#228 (unimplemented shmat)",
331 1.68.16.1 ad /* 229 */ "#229 (unimplemented shmctl)",
332 1.68.16.1 ad /* 230 */ "#230 (unimplemented shmdt)",
333 1.68.16.1 ad /* 231 */ "#231 (unimplemented shmget)",
334 1.68.16.1 ad #endif
335 1.68.16.1 ad /* 232 */ "clock_gettime",
336 1.68.16.1 ad /* 233 */ "clock_settime",
337 1.68.16.1 ad /* 234 */ "clock_getres",
338 1.68.16.1 ad /* 235 */ "#235 (unimplemented timer_create)",
339 1.68.16.1 ad /* 236 */ "#236 (unimplemented timer_delete)",
340 1.68.16.1 ad /* 237 */ "#237 (unimplemented timer_settime)",
341 1.68.16.1 ad /* 238 */ "#238 (unimplemented timer_gettime)",
342 1.68.16.1 ad /* 239 */ "#239 (unimplemented timer_getoverrun)",
343 1.68.16.1 ad /* 240 */ "nanosleep",
344 1.68.16.1 ad /* 241 */ "#241 (unimplemented)",
345 1.68.16.1 ad /* 242 */ "#242 (unimplemented)",
346 1.68.16.1 ad /* 243 */ "#243 (unimplemented)",
347 1.68.16.1 ad /* 244 */ "#244 (unimplemented)",
348 1.68.16.1 ad /* 245 */ "#245 (unimplemented)",
349 1.68.16.1 ad /* 246 */ "#246 (unimplemented)",
350 1.68.16.1 ad /* 247 */ "#247 (unimplemented)",
351 1.68.16.1 ad /* 248 */ "#248 (unimplemented)",
352 1.68.16.1 ad /* 249 */ "#249 (unimplemented)",
353 1.68.16.1 ad /* 250 */ "minherit",
354 1.68.16.1 ad /* 251 */ "rfork",
355 1.68.16.1 ad /* 252 */ "#252 (unimplemented openbsd_poll)",
356 1.68.16.1 ad /* 253 */ "issetugid",
357 1.68.16.1 ad /* 254 */ "lchown",
358 1.68.16.1 ad /* 255 */ "#255 (unimplemented)",
359 1.68.16.1 ad /* 256 */ "#256 (unimplemented)",
360 1.68.16.1 ad /* 257 */ "#257 (unimplemented)",
361 1.68.16.1 ad /* 258 */ "#258 (unimplemented)",
362 1.68.16.1 ad /* 259 */ "#259 (unimplemented)",
363 1.68.16.1 ad /* 260 */ "#260 (unimplemented)",
364 1.68.16.1 ad /* 261 */ "#261 (unimplemented)",
365 1.68.16.1 ad /* 262 */ "#262 (unimplemented)",
366 1.68.16.1 ad /* 263 */ "#263 (unimplemented)",
367 1.68.16.1 ad /* 264 */ "#264 (unimplemented)",
368 1.68.16.1 ad /* 265 */ "#265 (unimplemented)",
369 1.68.16.1 ad /* 266 */ "#266 (unimplemented)",
370 1.68.16.1 ad /* 267 */ "#267 (unimplemented)",
371 1.68.16.1 ad /* 268 */ "#268 (unimplemented)",
372 1.68.16.1 ad /* 269 */ "#269 (unimplemented)",
373 1.68.16.1 ad /* 270 */ "#270 (unimplemented)",
374 1.68.16.1 ad /* 271 */ "#271 (unimplemented)",
375 1.68.16.1 ad /* 272 */ "getdents",
376 1.68.16.1 ad /* 273 */ "#273 (unimplemented)",
377 1.68.16.1 ad /* 274 */ "lchmod",
378 1.68.16.1 ad /* 275 */ "netbsd_lchown",
379 1.68.16.1 ad /* 276 */ "lutimes",
380 1.68.16.1 ad /* 277 */ "__msync13",
381 1.68.16.1 ad /* 278 */ "__stat13",
382 1.68.16.1 ad /* 279 */ "__fstat13",
383 1.68.16.1 ad /* 280 */ "__lstat13",
384 1.68.16.1 ad /* 281 */ "#281 (unimplemented)",
385 1.68.16.1 ad /* 282 */ "#282 (unimplemented)",
386 1.68.16.1 ad /* 283 */ "#283 (unimplemented)",
387 1.68.16.1 ad /* 284 */ "#284 (unimplemented)",
388 1.68.16.1 ad /* 285 */ "#285 (unimplemented)",
389 1.68.16.1 ad /* 286 */ "#286 (unimplemented)",
390 1.68.16.1 ad /* 287 */ "#287 (unimplemented)",
391 1.68.16.1 ad /* 288 */ "#288 (unimplemented)",
392 1.68.16.1 ad /* 289 */ "#289 (unimplemented)",
393 1.68.16.1 ad /* 290 */ "#290 (unimplemented)",
394 1.68.16.1 ad /* 291 */ "#291 (unimplemented)",
395 1.68.16.1 ad /* 292 */ "#292 (unimplemented)",
396 1.68.16.1 ad /* 293 */ "#293 (unimplemented)",
397 1.68.16.1 ad /* 294 */ "#294 (unimplemented)",
398 1.68.16.1 ad /* 295 */ "#295 (unimplemented)",
399 1.68.16.1 ad /* 296 */ "#296 (unimplemented)",
400 1.68.16.1 ad /* 297 */ "fhstatfs",
401 1.68.16.1 ad /* 298 */ "fhopen",
402 1.68.16.1 ad /* 299 */ "fhstat",
403 1.68.16.1 ad /* 300 */ "#300 (unimplemented modnext)",
404 1.68.16.1 ad /* 301 */ "#301 (unimplemented modstat)",
405 1.68.16.1 ad /* 302 */ "#302 (unimplemented modfnext)",
406 1.68.16.1 ad /* 303 */ "#303 (unimplemented modfind)",
407 1.68.16.1 ad /* 304 */ "#304 (unimplemented kldload)",
408 1.68.16.1 ad /* 305 */ "#305 (unimplemented kldunload)",
409 1.68.16.1 ad /* 306 */ "#306 (unimplemented kldfind)",
410 1.68.16.1 ad /* 307 */ "#307 (unimplemented kldnext)",
411 1.68.16.1 ad /* 308 */ "#308 (unimplemented kldstat)",
412 1.68.16.1 ad /* 309 */ "#309 (unimplemented kldfirstmod)",
413 1.68.16.1 ad /* 310 */ "getsid",
414 1.68.16.1 ad /* 311 */ "#311 (unimplemented setresuid)",
415 1.68.16.1 ad /* 312 */ "#312 (unimplemented setresgid)",
416 1.68.16.1 ad /* 313 */ "#313 (unimplemented signanosleep)",
417 1.68.16.1 ad /* 314 */ "#314 (unimplemented aio_return)",
418 1.68.16.1 ad /* 315 */ "#315 (unimplemented aio_suspend)",
419 1.68.16.1 ad /* 316 */ "#316 (unimplemented aio_cancel)",
420 1.68.16.1 ad /* 317 */ "#317 (unimplemented aio_error)",
421 1.68.16.1 ad /* 318 */ "#318 (unimplemented aio_read)",
422 1.68.16.1 ad /* 319 */ "#319 (unimplemented aio_write)",
423 1.68.16.1 ad /* 320 */ "#320 (unimplemented lio_listio)",
424 1.68.16.1 ad /* 321 */ "yield",
425 1.68.16.1 ad /* 322 */ "#322 (unimplemented thr_sleep)",
426 1.68.16.1 ad /* 323 */ "#323 (unimplemented thr_wakeup)",
427 1.68.16.1 ad /* 324 */ "mlockall",
428 1.68.16.1 ad /* 325 */ "munlockall",
429 1.68.16.1 ad /* 326 */ "__getcwd",
430 1.68.16.1 ad /* 327 */ "sched_setparam",
431 1.68.16.1 ad /* 328 */ "sched_getparam",
432 1.68.16.1 ad /* 329 */ "sched_setscheduler",
433 1.68.16.1 ad /* 330 */ "sched_getscheduler",
434 1.68.16.1 ad /* 331 */ "sched_yield",
435 1.68.16.1 ad /* 332 */ "sched_get_priority_max",
436 1.68.16.1 ad /* 333 */ "sched_get_priority_min",
437 1.68.16.1 ad /* 334 */ "#334 (unimplemented sched_rr_get_interval)",
438 1.68.16.1 ad /* 335 */ "utrace",
439 1.68.16.1 ad /* 336 */ "#336 (unimplemented sendfile)",
440 1.68.16.1 ad /* 337 */ "#337 (unimplemented kldsym)",
441 1.68.16.1 ad /* 338 */ "#338 (unimplemented jail)",
442 1.68.16.1 ad /* 339 */ "#339 (unimplemented pioctl)",
443 1.68.16.1 ad /* 340 */ "__sigprocmask14",
444 1.68.16.1 ad /* 341 */ "__sigsuspend14",
445 1.68.16.1 ad /* 342 */ "sigaction4",
446 1.68.16.1 ad /* 343 */ "__sigpending14",
447 1.68.16.1 ad /* 344 */ "#344 (unimplemented 4.0 sigreturn)",
448 1.68.16.1 ad /* 345 */ "#345 (unimplemented sigtimedwait)",
449 1.68.16.1 ad /* 346 */ "#346 (unimplemented sigwaitinfo)",
450 1.68.16.1 ad /* 347 */ "#347 (unimplemented __acl_get_file)",
451 1.68.16.1 ad /* 348 */ "#348 (unimplemented __acl_set_file)",
452 1.68.16.1 ad /* 349 */ "#349 (unimplemented __acl_get_fd)",
453 1.68.16.1 ad /* 350 */ "#350 (unimplemented __acl_set_fd)",
454 1.68.16.1 ad /* 351 */ "#351 (unimplemented __acl_delete_file)",
455 1.68.16.1 ad /* 352 */ "#352 (unimplemented __acl_delete_fd)",
456 1.68.16.1 ad /* 353 */ "#353 (unimplemented __acl_aclcheck_file)",
457 1.68.16.1 ad /* 354 */ "#354 (unimplemented __acl_aclcheck_fd)",
458 1.68.16.1 ad /* 355 */ "#355 (unimplemented extattrctl)",
459 1.68.16.1 ad /* 356 */ "#356 (unimplemented extattr_set_file)",
460 1.68.16.1 ad /* 357 */ "#357 (unimplemented extattr_get_file)",
461 1.68.16.1 ad /* 358 */ "#358 (unimplemented extattr_delete_file)",
462 1.68.16.1 ad /* 359 */ "#359 (unimplemented aio_waitcomplete)",
463 1.68.16.1 ad /* 360 */ "#360 (unimplemented getresuid)",
464 1.68.16.1 ad /* 361 */ "#361 (unimplemented getresgid)",
465 1.68.16.1 ad /* 362 */ "#362 (unimplemented kqueue)",
466 1.68.16.1 ad /* 363 */ "#363 (unimplemented kevent)",
467 1.68.16.1 ad /* 364 */ "#364 (unimplemented __cap_get_proc)",
468 1.68.16.1 ad /* 365 */ "#365 (unimplemented __cap_set_proc)",
469 1.68.16.1 ad /* 366 */ "#366 (unimplemented __cap_get_fd)",
470 1.68.16.1 ad /* 367 */ "#367 (unimplemented __cap_get_file)",
471 1.68.16.1 ad /* 368 */ "#368 (unimplemented __cap_set_fd)",
472 1.68.16.1 ad /* 369 */ "#369 (unimplemented __cap_set_file)",
473 1.68.16.1 ad /* 370 */ "#370 (unimplemented lkmressym)",
474 1.68.16.1 ad /* 371 */ "#371 (unimplemented extattr_set_fd)",
475 1.68.16.1 ad /* 372 */ "#372 (unimplemented extattr_get_fd)",
476 1.68.16.1 ad /* 373 */ "#373 (unimplemented extattr_delete_fd)",
477 1.68.16.1 ad /* 374 */ "#374 (unimplemented __setugid)",
478 1.68.16.1 ad /* 375 */ "#375 (unimplemented nfsclnt)",
479 1.68.16.1 ad /* 376 */ "#376 (unimplemented eaccess)",
480 1.68.16.1 ad /* 377 */ "#377 (unimplemented afs_syscall)",
481 1.68.16.1 ad /* 378 */ "#378 (unimplemented nmount)",
482 1.68.16.1 ad /* 379 */ "#379 (unimplemented kse_exit)",
483 1.68.16.1 ad /* 380 */ "#380 (unimplemented kse_wakeup)",
484 1.68.16.1 ad /* 381 */ "#381 (unimplemented kse_create)",
485 1.68.16.1 ad /* 382 */ "#382 (unimplemented kse_thr_interrupt)",
486 1.68.16.1 ad /* 383 */ "#383 (unimplemented kse_release)",
487 1.68.16.1 ad /* 384 */ "#384 (unimplemented __mac_get_proc)",
488 1.68.16.1 ad /* 385 */ "#385 (unimplemented __mac_set_proc)",
489 1.68.16.1 ad /* 386 */ "#386 (unimplemented __mac_get_fd)",
490 1.68.16.1 ad /* 387 */ "#387 (unimplemented __mac_get_file)",
491 1.68.16.1 ad /* 388 */ "#388 (unimplemented __mac_set_fd)",
492 1.68.16.1 ad /* 389 */ "#389 (unimplemented __mac_set_file)",
493 1.68.16.1 ad /* 390 */ "#390 (unimplemented kenv)",
494 1.68.16.1 ad /* 391 */ "lchflags",
495 1.68.16.1 ad /* 392 */ "uuidgen",
496 1.68.16.1 ad /* 393 */ "#393 (unimplemented sendfile)",
497 1.68.16.1 ad /* 394 */ "#394 (unimplemented mac_syscall)",
498 1.68.16.1 ad /* 395 */ "#395 (unimplemented getfsstat)",
499 1.68.16.1 ad /* 396 */ "#396 (unimplemented statfs)",
500 1.68.16.1 ad /* 397 */ "#397 (unimplemented fsstatfs)",
501 1.68.16.1 ad /* 398 */ "#398 (unimplemented fhstatfs)",
502 1.68.16.1 ad /* 399 */ "#399 (unimplemented nosys)",
503 1.52 jdolecek #if defined(P1003_1B_SEMAPHORE) || !defined(_KERNEL)
504 1.68.16.1 ad /* 400 */ "_ksem_close",
505 1.68.16.1 ad /* 401 */ "_ksem_post",
506 1.68.16.1 ad /* 402 */ "_ksem_wait",
507 1.68.16.1 ad /* 403 */ "_ksem_trywait",
508 1.68.16.1 ad /* 404 */ "#404 (unimplemented ksem_init)",
509 1.68.16.1 ad /* 405 */ "#405 (unimplemented ksem_open)",
510 1.68.16.1 ad /* 406 */ "_ksem_unlink",
511 1.68.16.1 ad /* 407 */ "_ksem_getvalue",
512 1.68.16.1 ad /* 408 */ "_ksem_destroy",
513 1.68.16.1 ad #else
514 1.68.16.1 ad /* 400 */ "#400 (excluded ksem_close)",
515 1.68.16.1 ad /* 401 */ "#401 (excluded ksem_post)",
516 1.68.16.1 ad /* 402 */ "#402 (excluded ksem_wait)",
517 1.68.16.1 ad /* 403 */ "#403 (excluded ksem_trywait)",
518 1.68.16.1 ad /* 404 */ "#404 (excluded ksem_init)",
519 1.68.16.1 ad /* 405 */ "#405 (excluded ksem_open)",
520 1.68.16.1 ad /* 406 */ "#406 (excluded ksem_unlink)",
521 1.68.16.1 ad /* 407 */ "#407 (excluded ksem_getvalue)",
522 1.68.16.1 ad /* 408 */ "#408 (excluded ksem_destroy)",
523 1.68.16.1 ad #endif
524 1.68.16.1 ad /* 409 */ "#409 (unimplemented __mac_get_pid)",
525 1.68.16.1 ad /* 410 */ "#410 (unimplemented __mac_get_link)",
526 1.68.16.1 ad /* 411 */ "#411 (unimplemented __mac_set_link)",
527 1.68.16.1 ad /* 412 */ "#412 (unimplemented extattr_set_link)",
528 1.68.16.1 ad /* 413 */ "#413 (unimplemented extattr_get_link)",
529 1.68.16.1 ad /* 414 */ "#414 (unimplemented extattr_delete_link)",
530 1.68.16.1 ad /* 415 */ "#415 (unimplemented __mac_execve)",
531 1.68.16.1 ad /* 416 */ "#416 (unimplemented sigaction)",
532 1.68.16.1 ad /* 417 */ "#417 (unimplemented sigreturn)",
533 1.68.16.1 ad /* 418 */ "#418 (unimplemented __xstat)",
534 1.68.16.1 ad /* 419 */ "#419 (unimplemented __xfstat)",
535 1.68.16.1 ad /* 420 */ "#420 (unimplemented __xlstat)",
536 1.68.16.1 ad /* 421 */ "#421 (unimplemented getcontext)",
537 1.68.16.1 ad /* 422 */ "#422 (unimplemented setcontext)",
538 1.68.16.1 ad /* 423 */ "#423 (unimplemented swapcontext)",
539 1.68.16.1 ad /* 424 */ "#424 (unimplemented swapoff)",
540 1.68.16.1 ad /* 425 */ "#425 (unimplemented __acl_get_link)",
541 1.68.16.1 ad /* 426 */ "#426 (unimplemented __acl_set_link)",
542 1.68.16.1 ad /* 427 */ "#427 (unimplemented __acl_delete_link)",
543 1.68.16.1 ad /* 428 */ "#428 (unimplemented __acl_aclcheck_link)",
544 1.68.16.1 ad /* 429 */ "#429 (unimplemented sigwait)",
545 1.68.16.1 ad /* 430 */ "#430 (unimplemented thr_create)",
546 1.68.16.1 ad /* 431 */ "#431 (unimplemented thr_exit)",
547 1.68.16.1 ad /* 432 */ "#432 (unimplemented thr_self)",
548 1.68.16.1 ad /* 433 */ "#433 (unimplemented thr_kill)",
549 1.68.16.1 ad /* 434 */ "#434 (unimplemented _umtx_lock)",
550 1.68.16.1 ad /* 435 */ "#435 (unimplemented _umtx_unlock)",
551 1.68.16.1 ad /* 436 */ "#436 (unimplemented jail_attach)",
552 1.68.16.1 ad /* 437 */ "#437 (unimplemented extattr_list_fd)",
553 1.68.16.1 ad /* 438 */ "#438 (unimplemented extattr_list_file)",
554 1.68.16.1 ad /* 439 */ "#439 (unimplemented extattr_list_link)",
555 1.1 mycroft };
556