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