No empty .Rs/.Re
[netbsd-mini2440.git] / sys / compat / darwin / darwin_syscalls.c
blob4d42bc79e9507a8bd86b7350975a4f0641ac8ae5
1 /* $NetBSD$ */
3 /*
4 * System call names.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.38 2009/01/13 22:27:43 pooka Exp
8 */
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD$");
13 #if defined(_KERNEL_OPT)
14 #include "opt_ktrace.h"
15 #include "opt_nfsserver.h"
16 #include "opt_ntp.h"
17 #include "opt_compat_netbsd.h"
18 #include "opt_sysv.h"
19 #include "opt_compat_43.h"
20 #include "fs_lfs.h"
21 #include "fs_nfs.h"
22 #include <sys/param.h>
23 #include <sys/systm.h>
24 #include <sys/signal.h>
25 #include <sys/mount.h>
26 #include <sys/syscallargs.h>
27 #include <compat/sys/signal.h>
28 #include <compat/sys/time.h>
29 #include <compat/mach/mach_types.h>
30 #include <compat/mach/mach_vm.h>
31 #include <compat/darwin/darwin_types.h>
32 #include <compat/darwin/darwin_signal.h>
33 #include <compat/darwin/darwin_audit.h>
34 #include <compat/darwin/darwin_syscallargs.h>
35 #endif /* _KERNEL_OPT */
37 const char *const darwin_syscallnames[] = {
38 /* 0 */ "syscall",
39 /* 1 */ "exit",
40 /* 2 */ "fork",
41 /* 3 */ "read",
42 /* 4 */ "write",
43 /* 5 */ "open",
44 /* 6 */ "close",
45 /* 7 */ "wait4",
46 /* 8 */ "ocreat",
47 /* 9 */ "link",
48 /* 10 */ "unlink",
49 /* 11 */ "#11 (unimplemented execv)",
50 /* 12 */ "chdir",
51 /* 13 */ "fchdir",
52 /* 14 */ "mknod",
53 /* 15 */ "chmod",
54 /* 16 */ "chown",
55 /* 17 */ "break",
56 /* 18 */ "getfsstat",
57 /* 19 */ "olseek",
58 /* 20 */ "getpid",
59 /* 21 */ "mount",
60 /* 22 */ "unmount",
61 /* 23 */ "setuid",
62 #ifdef COMPAT_43
63 /* 24 */ "getuid",
64 #else
65 /* 24 */ "getuid",
66 #endif
67 /* 25 */ "geteuid",
68 /* 26 */ "ptrace",
69 /* 27 */ "recvmsg",
70 /* 28 */ "sendmsg",
71 /* 29 */ "recvfrom",
72 /* 30 */ "accept",
73 /* 31 */ "getpeername",
74 /* 32 */ "getsockname",
75 /* 33 */ "access",
76 /* 34 */ "chflags",
77 /* 35 */ "fchflags",
78 /* 36 */ "sync",
79 /* 37 */ "kill",
80 /* 38 */ "stat43",
81 /* 39 */ "getppid",
82 /* 40 */ "lstat43",
83 /* 41 */ "dup",
84 /* 42 */ "pipe",
85 /* 43 */ "getegid",
86 /* 44 */ "profil",
87 #if defined(KTRACE) || !defined(_KERNEL)
88 /* 45 */ "ktrace",
89 #else
90 /* 45 */ "#45 (excluded ktrace)",
91 #endif
92 /* 46 */ "sigaction",
93 #ifdef COMPAT_43
94 /* 47 */ "getgid",
95 #else
96 /* 47 */ "getgid",
97 #endif
98 /* 48 */ "sigprocmask",
99 /* 49 */ "__getlogin",
100 /* 50 */ "__setlogin",
101 /* 51 */ "acct",
102 /* 52 */ "sigpending13",
103 /* 53 */ "sigaltstack13",
104 /* 54 */ "ioctl",
105 /* 55 */ "oreboot",
106 /* 56 */ "revoke",
107 /* 57 */ "symlink",
108 /* 58 */ "readlink",
109 /* 59 */ "execve",
110 /* 60 */ "umask",
111 /* 61 */ "chroot",
112 /* 62 */ "fstat43",
113 /* 63 */ "#63 (unimplemented)",
114 /* 64 */ "ogetpagesize",
115 /* 65 */ "msync",
116 /* 66 */ "vfork",
117 /* 67 */ "#67 (obsolete vread)",
118 /* 68 */ "#68 (obsolete vwrite)",
119 /* 69 */ "sbrk",
120 /* 70 */ "sstk",
121 /* 71 */ "ommap",
122 /* 72 */ "vadvise",
123 /* 73 */ "munmap",
124 /* 74 */ "mprotect",
125 /* 75 */ "madvise",
126 /* 76 */ "#76 (unimplemented)",
127 /* 77 */ "#77 (unimplemented)",
128 /* 78 */ "mincore",
129 /* 79 */ "getgroups",
130 /* 80 */ "setgroups",
131 /* 81 */ "getpgrp",
132 /* 82 */ "setpgid",
133 /* 83 */ "setitimer",
134 /* 84 */ "owait",
135 /* 85 */ "swapon",
136 /* 86 */ "getitimer",
137 /* 87 */ "ogethostname",
138 /* 88 */ "osethostname",
139 /* 89 */ "ogetdtablesize",
140 /* 90 */ "dup2",
141 /* 91 */ "#91 (unimplemented)",
142 /* 92 */ "fcntl",
143 /* 93 */ "select",
144 /* 94 */ "#94 (unimplemented)",
145 /* 95 */ "fsync",
146 /* 96 */ "setpriority",
147 /* 97 */ "socket",
148 /* 98 */ "connect",
149 /* 99 */ "oaccept",
150 /* 100 */ "getpriority",
151 /* 101 */ "osend",
152 /* 102 */ "orecv",
153 /* 103 */ "sigreturn_x2",
154 /* 104 */ "bind",
155 /* 105 */ "setsockopt",
156 /* 106 */ "listen",
157 /* 107 */ "#107 (unimplemented)",
158 /* 108 */ "osigvec",
159 /* 109 */ "osigblock",
160 /* 110 */ "osigsetmask",
161 /* 111 */ "sigsuspend13",
162 /* 112 */ "osigstack",
163 /* 113 */ "orecvmsg",
164 /* 114 */ "osendmsg",
165 /* 115 */ "#115 (unimplemented)",
166 /* 116 */ "gettimeofday",
167 /* 117 */ "getrusage",
168 /* 118 */ "getsockopt",
169 /* 119 */ "#119 (unimplemented)",
170 /* 120 */ "readv",
171 /* 121 */ "writev",
172 /* 122 */ "settimeofday",
173 /* 123 */ "fchown",
174 /* 124 */ "fchmod",
175 /* 125 */ "orecvfrom",
176 /* 126 */ "setreuid",
177 /* 127 */ "setregid",
178 /* 128 */ "rename",
179 /* 129 */ "otruncate",
180 /* 130 */ "oftruncate",
181 /* 131 */ "flock",
182 /* 132 */ "mkfifo",
183 /* 133 */ "sendto",
184 /* 134 */ "shutdown",
185 /* 135 */ "socketpair",
186 /* 136 */ "mkdir",
187 /* 137 */ "rmdir",
188 /* 138 */ "utimes",
189 /* 139 */ "#139 (unimplemented futimes)",
190 /* 140 */ "adjtime",
191 /* 141 */ "ogetpeername",
192 /* 142 */ "ogethostid",
193 /* 143 */ "#143 (unimplemented)",
194 /* 144 */ "ogetrlimit",
195 /* 145 */ "osetrlimit",
196 /* 146 */ "okillpg",
197 /* 147 */ "setsid",
198 /* 148 */ "#148 (unimplemented)",
199 /* 149 */ "#149 (unimplemented)",
200 /* 150 */ "ogetsockname",
201 /* 151 */ "#151 (unimplemented getpgid)",
202 /* 152 */ "#152 (unimplemented setprivexec)",
203 /* 153 */ "#153 (unimplemented pread)",
204 /* 154 */ "#154 (unimplemented pwrite)",
205 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
206 /* 155 */ "nfssvc",
207 #else
208 /* 155 */ "#155 (excluded nfssvc)",
209 #endif
210 /* 156 */ "ogetdirentries",
211 /* 157 */ "statfs",
212 /* 158 */ "fstatfs",
213 /* 159 */ "#159 (unimplemented unmount)",
214 /* 160 */ "#160 (unimplemented)",
215 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
216 /* 161 */ "getfh",
217 #else
218 /* 161 */ "#161 (excluded getfh)",
219 #endif
220 /* 162 */ "ogetdomainname",
221 /* 163 */ "osetdomainname",
222 /* 164 */ "#164 (unimplemented)",
223 /* 165 */ "#165 (unimplemented quotactl)",
224 /* 166 */ "#166 (unimplemented)",
225 /* 167 */ "#167 (unimplemented mount)",
226 /* 168 */ "#168 (unimplemented)",
227 /* 169 */ "#169 (unimplemented)",
228 /* 170 */ "#170 (unimplemented)",
229 /* 171 */ "#171 (unimplemented wait3)",
230 /* 172 */ "#172 (unimplemented)",
231 /* 173 */ "#173 (unimplemented)",
232 /* 174 */ "#174 (unimplemented)",
233 /* 175 */ "#175 (unimplemented)",
234 /* 176 */ "#176 (unimplemented add_profil)",
235 /* 177 */ "#177 (unimplemented)",
236 /* 178 */ "#178 (unimplemented)",
237 /* 179 */ "#179 (unimplemented)",
238 /* 180 */ "kdebug_trace",
239 /* 181 */ "setgid",
240 /* 182 */ "setegid",
241 /* 183 */ "seteuid",
242 /* 184 */ "sigreturn",
243 /* 185 */ "#185 (unimplemented)",
244 /* 186 */ "#186 (unimplemented)",
245 /* 187 */ "#187 (unimplemented)",
246 /* 188 */ "stat12",
247 /* 189 */ "fstat",
248 /* 190 */ "lstat12",
249 /* 191 */ "pathconf",
250 /* 192 */ "fpathconf",
251 /* 193 */ "#193 (unimplemented getfsstat)",
252 /* 194 */ "getrlimit",
253 /* 195 */ "setrlimit",
254 /* 196 */ "getdirentries",
255 /* 197 */ "mmap",
256 /* 198 */ "#198 (unimplemented)",
257 /* 199 */ "lseek",
258 /* 200 */ "truncate",
259 /* 201 */ "ftruncate",
260 /* 202 */ "__sysctl",
261 /* 203 */ "mlock",
262 /* 204 */ "munlock",
263 /* 205 */ "undelete",
264 /* 206 */ "#206 (unimplemented atsocket)",
265 /* 207 */ "#207 (unimplemented atgetmsg)",
266 /* 208 */ "#208 (unimplemented atputmsg)",
267 /* 209 */ "#209 (unimplemented atpsndreq)",
268 /* 210 */ "#210 (unimplemented atpsndrsp)",
269 /* 211 */ "#211 (unimplemented atpgetreq)",
270 /* 212 */ "#212 (unimplemented atpgetrsp)",
271 /* 213 */ "#213 (unimplemented)",
272 /* 214 */ "#214 (unimplemented)",
273 /* 215 */ "#215 (unimplemented)",
274 /* 216 */ "#216 (unimplemented)",
275 /* 217 */ "#217 (unimplemented)",
276 /* 218 */ "#218 (unimplemented)",
277 /* 219 */ "#219 (unimplemented)",
278 /* 220 */ "getattrlist",
279 /* 221 */ "#221 (unimplemented setattrlist)",
280 /* 222 */ "#222 (unimplemented getdirentriesattr)",
281 /* 223 */ "#223 (unimplemented exchangedata)",
282 /* 224 */ "#224 (unimplemented checkuseraccess)",
283 /* 225 */ "#225 (unimplemented searchfs)",
284 /* 226 */ "#226 (unimplemented delete)",
285 /* 227 */ "#227 (unimplemented copyfile)",
286 /* 228 */ "#228 (unimplemented)",
287 /* 229 */ "#229 (unimplemented)",
288 /* 230 */ "#230 (unimplemented)",
289 /* 231 */ "#231 (unimplemented watchevent)",
290 /* 232 */ "#232 (unimplemented waitevent)",
291 /* 233 */ "#233 (unimplemented modwatch)",
292 /* 234 */ "#234 (unimplemented)",
293 /* 235 */ "#235 (unimplemented)",
294 /* 236 */ "#236 (unimplemented)",
295 /* 237 */ "#237 (unimplemented)",
296 /* 238 */ "#238 (unimplemented)",
297 /* 239 */ "#239 (unimplemented)",
298 /* 240 */ "#240 (unimplemented)",
299 /* 241 */ "#241 (unimplemented)",
300 /* 242 */ "#242 (unimplemented fsctl)",
301 /* 243 */ "#243 (unimplemented)",
302 /* 244 */ "#244 (unimplemented)",
303 /* 245 */ "#245 (unimplemented)",
304 /* 246 */ "#246 (unimplemented)",
305 /* 247 */ "#247 (unimplemented)",
306 /* 248 */ "#248 (unimplemented)",
307 /* 249 */ "#249 (unimplemented)",
308 /* 250 */ "#250 (unimplemented minherit)",
309 /* 251 */ "#251 (unimplemented semsys)",
310 /* 252 */ "#252 (unimplemented msgsys)",
311 /* 253 */ "#253 (unimplemented semop)",
312 /* 254 */ "#254 (unimplemented semctl)",
313 /* 255 */ "#255 (unimplemented semget)",
314 /* 256 */ "#256 (unimplemented semop)",
315 /* 257 */ "#257 (unimplemented semconfig)",
316 /* 258 */ "#258 (unimplemented msgctl)",
317 /* 259 */ "#259 (unimplemented msgget)",
318 /* 260 */ "#260 (unimplemented msgsnd)",
319 /* 261 */ "#261 (unimplemented msgrcv)",
320 /* 262 */ "#262 (unimplemented shmat)",
321 /* 263 */ "#263 (unimplemented shmctl)",
322 /* 264 */ "#264 (unimplemented shmdt)",
323 /* 265 */ "#265 (unimplemented shmget)",
324 /* 266 */ "#266 (unimplemented shm_open)",
325 /* 267 */ "#267 (unimplemented shm_unlink)",
326 /* 268 */ "#268 (unimplemented sem_open)",
327 /* 269 */ "#269 (unimplemented sem_close)",
328 /* 270 */ "#270 (unimplemented sem_unlink)",
329 /* 271 */ "#271 (unimplemented sem_wait)",
330 /* 272 */ "#272 (unimplemented sem_trywait)",
331 /* 273 */ "#273 (unimplemented sem_post)",
332 /* 274 */ "#274 (unimplemented sem_getvalue)",
333 /* 275 */ "#275 (unimplemented sem_init)",
334 /* 276 */ "#276 (unimplemented sem_destroy)",
335 /* 277 */ "#277 (unimplemented)",
336 /* 278 */ "#278 (unimplemented)",
337 /* 279 */ "#279 (unimplemented)",
338 /* 280 */ "#280 (unimplemented)",
339 /* 281 */ "#281 (unimplemented)",
340 /* 282 */ "#282 (unimplemented)",
341 /* 283 */ "#283 (unimplemented)",
342 /* 284 */ "#284 (unimplemented)",
343 /* 285 */ "#285 (unimplemented)",
344 /* 286 */ "#286 (unimplemented)",
345 /* 287 */ "#287 (unimplemented)",
346 /* 288 */ "#288 (unimplemented)",
347 /* 289 */ "#289 (unimplemented)",
348 /* 290 */ "#290 (unimplemented)",
349 /* 291 */ "#291 (unimplemented)",
350 /* 292 */ "#292 (unimplemented)",
351 /* 293 */ "#293 (unimplemented)",
352 /* 294 */ "#294 (unimplemented)",
353 /* 295 */ "#295 (unimplemented)",
354 /* 296 */ "load_shared_file",
355 /* 297 */ "#297 (unimplemented reset_shared_file)",
356 /* 298 */ "#298 (unimplemented new_system_shared_regions)",
357 /* 299 */ "#299 (unimplemented)",
358 /* 300 */ "#300 (unimplemented)",
359 /* 301 */ "#301 (unimplemented)",
360 /* 302 */ "#302 (unimplemented)",
361 /* 303 */ "#303 (unimplemented)",
362 /* 304 */ "#304 (unimplemented)",
363 /* 305 */ "#305 (unimplemented)",
364 /* 306 */ "#306 (unimplemented)",
365 /* 307 */ "#307 (unimplemented)",
366 /* 308 */ "#308 (unimplemented)",
367 /* 309 */ "#309 (unimplemented)",
368 /* 310 */ "#310 (unimplemented getsid)",
369 /* 311 */ "#311 (unimplemented)",
370 /* 312 */ "#312 (unimplemented)",
371 /* 313 */ "#313 (unimplemented)",
372 /* 314 */ "#314 (unimplemented)",
373 /* 315 */ "#315 (unimplemented)",
374 /* 316 */ "#316 (unimplemented)",
375 /* 317 */ "#317 (unimplemented)",
376 /* 318 */ "#318 (unimplemented)",
377 /* 319 */ "#319 (unimplemented)",
378 /* 320 */ "#320 (unimplemented)",
379 /* 321 */ "#321 (unimplemented)",
380 /* 322 */ "#322 (unimplemented)",
381 /* 323 */ "#323 (unimplemented)",
382 /* 324 */ "#324 (unimplemented mlockall)",
383 /* 325 */ "#325 (unimplemented munlockall)",
384 /* 326 */ "#326 (unimplemented)",
385 /* 327 */ "#327 (unimplemented issetugid)",
386 /* 328 */ "#328 (unimplemented __pthread_kill)",
387 /* 329 */ "#329 (unimplemented pthread_sigmask)",
388 /* 330 */ "#330 (unimplemented sigwait)",
389 /* 331 */ "pthread_exit",
390 /* 332 */ "#332 (unimplemented)",
391 /* 333 */ "#333 (unimplemented)",
392 /* 334 */ "#334 (unimplemented)",
393 /* 335 */ "utrace",
394 /* 336 */ "#336 (unimplemented)",
395 /* 337 */ "#337 (unimplemented)",
396 /* 338 */ "#338 (unimplemented)",
397 /* 339 */ "#339 (unimplemented)",
398 /* 340 */ "#340 (unimplemented)",
399 /* 341 */ "#341 (unimplemented)",
400 /* 342 */ "#342 (unimplemented)",
401 /* 343 */ "#343 (unimplemented)",
402 /* 344 */ "#344 (unimplemented)",
403 /* 345 */ "#345 (unimplemented)",
404 /* 346 */ "#346 (unimplemented)",
405 /* 347 */ "#347 (unimplemented)",
406 /* 348 */ "#348 (unimplemented)",
407 /* 349 */ "#349 (unimplemented)",
408 /* 350 */ "audit",
409 /* 351 */ "auditon",
410 /* 352 */ "#352 (unimplemented)",
411 /* 353 */ "getauid",
412 /* 354 */ "setauid",
413 /* 355 */ "getauditinfo",
414 /* 356 */ "setauditinfo",
415 /* 357 */ "getaudit_addr",
416 /* 358 */ "setaudit_addr",
417 /* 359 */ "auditctl",
418 /* 360 */ "#360 (unimplemented)",
419 /* 361 */ "#361 (unimplemented)",
420 /* 362 */ "#362 (unimplemented kqueue)",
421 /* 363 */ "#363 (unimplemented kevent)",