6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.33 2009/01/13 22:27:43 pooka Exp
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD$");
13 #if defined(_KERNEL_OPT)
14 #if defined(_KERNEL_OPT)
15 #include "opt_ktrace.h"
16 #include "opt_nfsserver.h"
18 #include "opt_compat_netbsd.h"
20 #include "opt_compat_43.h"
24 #include <sys/param.h>
25 #include <sys/systm.h>
26 #include <sys/signal.h>
27 #include <sys/mount.h>
28 #include <sys/sched.h>
29 #include <sys/syscallargs.h>
30 #include <compat/aoutm68k/aoutm68k_syscallargs.h>
31 #endif /* _KERNEL_OPT */
33 const char *const aoutm68k_syscallnames
[] = {
42 #if defined(COMPAT_43) || !defined(_KERNEL)
45 /* 8 */ "#8 (excluded compat_43_sys_creat)",
49 /* 11 */ "#11 (obsolete execv)",
56 #if defined(COMPAT_20) || !defined(_KERNEL)
59 /* 18 */ "#18 (excluded compat_20_sys_getfsstat)",
61 #if defined(COMPAT_43) || !defined(_KERNEL)
64 /* 19 */ "#19 (excluded compat_43_sys_lseek)",
77 /* 31 */ "getpeername",
78 /* 32 */ "getsockname",
84 #if defined(COMPAT_43) || !defined(_KERNEL)
87 /* 38 */ "#38 (excluded aoutm68k_compat_43_sys_stat)",
90 #if defined(COMPAT_43) || !defined(_KERNEL)
93 /* 40 */ "#40 (excluded aoutm68k_compat_43_sys_lstat)",
99 #if defined(KTRACE) || !defined(_KERNEL)
102 /* 45 */ "#45 (excluded ktrace)",
104 #if defined(COMPAT_13) || !defined(_KERNEL)
105 /* 46 */ "sigaction13",
107 /* 46 */ "#46 (excluded compat_13_sys_sigaction)",
110 #if defined(COMPAT_13) || !defined(_KERNEL)
111 /* 48 */ "sigprocmask13",
113 /* 48 */ "#48 (excluded compat_13_sys_sigprocmask)",
115 /* 49 */ "__getlogin",
116 /* 50 */ "__setlogin",
118 #if defined(COMPAT_13) || !defined(_KERNEL)
119 /* 52 */ "sigpending13",
120 /* 53 */ "sigaltstack13",
122 /* 52 */ "#52 (excluded compat_13_sys_sigpending)",
123 /* 53 */ "#53 (excluded compat_13_sys_sigaltstack)",
126 #if defined(COMPAT_12) || !defined(_KERNEL)
129 /* 55 */ "#55 (excluded compat_12_sys_reboot)",
137 #if defined(COMPAT_43) || !defined(_KERNEL)
139 /* 63 */ "ogetkerninfo",
140 /* 64 */ "ogetpagesize",
142 /* 62 */ "#62 (excluded aoutm68k_compat_43_sys_fstat)",
143 /* 63 */ "#63 (excluded compat_43_sys_getkerninfo)",
144 /* 64 */ "#64 (excluded compat_43_sys_getpagesize)",
146 #if defined(COMPAT_12) || !defined(_KERNEL)
149 /* 65 */ "#65 (excluded compat_12_sys_msync)",
152 /* 67 */ "#67 (obsolete vread)",
153 /* 68 */ "#68 (obsolete vwrite)",
156 #if defined(COMPAT_43) || !defined(_KERNEL)
159 /* 71 */ "#71 (excluded compat_43_sys_mmap)",
165 /* 76 */ "#76 (obsolete vhangup)",
166 /* 77 */ "#77 (obsolete vlimit)",
168 /* 79 */ "getgroups",
169 /* 80 */ "setgroups",
172 /* 83 */ "setitimer",
173 #if defined(COMPAT_43) || !defined(_KERNEL)
176 /* 84 */ "#84 (excluded compat_43_sys_wait)",
178 #if defined(COMPAT_12) || !defined(_KERNEL)
181 /* 85 */ "#85 (excluded compat_12_sys_swapon)",
183 /* 86 */ "getitimer",
184 #if defined(COMPAT_43) || !defined(_KERNEL)
185 /* 87 */ "ogethostname",
186 /* 88 */ "osethostname",
187 /* 89 */ "ogetdtablesize",
189 /* 87 */ "#87 (excluded compat_43_sys_gethostname)",
190 /* 88 */ "#88 (excluded compat_43_sys_sethostname)",
191 /* 89 */ "#89 (excluded compat_43_sys_getdtablesize)",
194 /* 91 */ "#91 (unimplemented getdopt)",
197 /* 94 */ "#94 (unimplemented setdopt)",
199 /* 96 */ "setpriority",
202 #if defined(COMPAT_43) || !defined(_KERNEL)
205 /* 99 */ "#99 (excluded compat_43_sys_accept)",
207 /* 100 */ "getpriority",
208 #if defined(COMPAT_43) || !defined(_KERNEL)
212 /* 101 */ "#101 (excluded compat_43_sys_send)",
213 /* 102 */ "#102 (excluded compat_43_sys_recv)",
215 #if defined(COMPAT_13) || !defined(_KERNEL)
216 /* 103 */ "sigreturn13",
218 /* 103 */ "#103 (excluded compat_13_sys_sigreturn)",
221 /* 105 */ "setsockopt",
223 /* 107 */ "#107 (obsolete vtimes)",
224 #if defined(COMPAT_43) || !defined(_KERNEL)
226 /* 109 */ "osigblock",
227 /* 110 */ "osigsetmask",
229 /* 108 */ "#108 (excluded compat_43_sys_sigvec)",
230 /* 109 */ "#109 (excluded compat_43_sys_sigblock)",
231 /* 110 */ "#110 (excluded compat_43_sys_sigsetmask)",
233 #if defined(COMPAT_13) || !defined(_KERNEL)
234 /* 111 */ "sigsuspend13",
236 /* 111 */ "#111 (excluded compat_13_sys_sigsuspend)",
238 #if defined(COMPAT_43) || !defined(_KERNEL)
239 /* 112 */ "osigstack",
240 /* 113 */ "orecvmsg",
241 /* 114 */ "osendmsg",
243 /* 112 */ "#112 (excluded compat_43_sys_sigstack)",
244 /* 113 */ "#113 (excluded compat_43_sys_recvmesg)",
245 /* 114 */ "#114 (excluded compat_43_sys_sendmesg)",
247 /* 115 */ "#115 (obsolete vtrace)",
248 /* 116 */ "gettimeofday",
249 /* 117 */ "getrusage",
250 /* 118 */ "getsockopt",
251 /* 119 */ "#119 (obsolete resuba)",
254 /* 122 */ "settimeofday",
257 #if defined(COMPAT_43) || !defined(_KERNEL)
258 /* 125 */ "orecvfrom",
260 /* 125 */ "#125 (excluded compat_43_sys_recvfrom)",
262 /* 126 */ "setreuid",
263 /* 127 */ "setregid",
265 #if defined(COMPAT_43) || !defined(_KERNEL)
266 /* 129 */ "otruncate",
267 /* 130 */ "oftruncate",
269 /* 129 */ "#129 (excluded compat_43_sys_truncate)",
270 /* 130 */ "#130 (excluded compat_43_sys_ftruncate)",
275 /* 134 */ "shutdown",
276 /* 135 */ "socketpair",
280 /* 139 */ "#139 (obsolete 4.2 sigreturn)",
282 #if defined(COMPAT_43) || !defined(_KERNEL)
283 /* 141 */ "ogetpeername",
284 /* 142 */ "ogethostid",
285 /* 143 */ "osethostid",
286 /* 144 */ "ogetrlimit",
287 /* 145 */ "osetrlimit",
290 /* 141 */ "#141 (excluded compat_43_sys_getpeername)",
291 /* 142 */ "#142 (excluded compat_43_sys_gethostid)",
292 /* 143 */ "#143 (excluded compat_43_sys_sethostid)",
293 /* 144 */ "#144 (excluded compat_43_sys_getrlimit)",
294 /* 145 */ "#145 (excluded compat_43_sys_setrlimit)",
295 /* 146 */ "#146 (excluded compat_43_sys_killpg)",
298 /* 148 */ "quotactl",
299 #if defined(COMPAT_43) || !defined(_KERNEL)
301 /* 150 */ "ogetsockname",
303 /* 149 */ "#149 (excluded compat_43_sys_quota)",
304 /* 150 */ "#150 (excluded compat_43_sys_getsockname)",
306 /* 151 */ "#151 (unimplemented)",
307 /* 152 */ "#152 (unimplemented)",
308 /* 153 */ "#153 (unimplemented)",
309 /* 154 */ "#154 (unimplemented)",
310 #if defined(NFSSERVER) || !defined(_KERNEL)
313 /* 155 */ "#155 (excluded nfssvc)",
315 #if defined(COMPAT_43) || !defined(_KERNEL)
316 /* 156 */ "ogetdirentries",
318 /* 156 */ "#156 (excluded compat_43_sys_getdirentries)",
320 #if defined(COMPAT_20) || !defined(_KERNEL)
323 /* 157 */ "#157 (excluded compat_20_sys_statfs)",
325 #if defined(COMPAT_20) || !defined(_KERNEL)
328 /* 158 */ "#158 (excluded compat_20_sys_statfs)",
330 /* 159 */ "#159 (unimplemented)",
331 /* 160 */ "#160 (unimplemented)",
333 #if defined(COMPAT_09) || !defined(_KERNEL)
334 /* 162 */ "ogetdomainname",
335 /* 163 */ "osetdomainname",
338 /* 162 */ "#162 (excluded compat_09_sys_getdomainname)",
339 /* 163 */ "#163 (excluded compat_09_sys_setdomainname)",
340 /* 164 */ "#164 (excluded compat_09_sys_uname)",
343 /* 166 */ "#166 (unimplemented)",
344 /* 167 */ "#167 (unimplemented)",
345 /* 168 */ "#168 (unimplemented)",
346 #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
349 /* 169 */ "#169 (excluded 1.0 semsys)",
351 #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
354 /* 170 */ "#170 (excluded 1.0 msgsys)",
356 #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
359 /* 171 */ "#171 (excluded 1.0 shmsys)",
361 /* 172 */ "#172 (unimplemented)",
364 /* 175 */ "#175 (unimplemented sys_ntp_gettime)",
365 #if defined(NTP) || !defined(_KERNEL)
366 /* 176 */ "ntp_adjtime",
368 /* 176 */ "#176 (excluded ntp_adjtime)",
370 /* 177 */ "#177 (unimplemented)",
371 /* 178 */ "#178 (unimplemented)",
372 /* 179 */ "#179 (unimplemented)",
373 /* 180 */ "#180 (unimplemented)",
377 #if defined(LFS) || !defined(_KERNEL)
378 /* 184 */ "lfs_bmapv",
379 /* 185 */ "lfs_markv",
380 /* 186 */ "lfs_segclean",
381 /* 187 */ "lfs_segwait",
383 /* 184 */ "#184 (excluded lfs_bmapv)",
384 /* 185 */ "#185 (excluded lfs_markv)",
385 /* 186 */ "#186 (excluded lfs_segclean)",
386 /* 187 */ "#187 (excluded lfs_segwait)",
388 #if defined(COMPAT_12) || !defined(_KERNEL)
393 /* 188 */ "#188 (excluded aoutm68k_compat_12_sys_stat)",
394 /* 189 */ "#189 (excluded aoutm68k_compat_12_sys_fstat)",
395 /* 190 */ "#190 (excluded aoutm68k_compat_12_sys_lstat)",
397 /* 191 */ "pathconf",
398 /* 192 */ "fpathconf",
399 /* 193 */ "#193 (unimplemented)",
400 /* 194 */ "getrlimit",
401 /* 195 */ "setrlimit",
402 #if defined(COMPAT_12) || !defined(_KERNEL)
403 /* 196 */ "getdirentries",
405 /* 196 */ "#196 (excluded compat_12_sys_getdirentries)",
408 /* 198 */ "__syscall",
410 /* 200 */ "truncate",
411 /* 201 */ "ftruncate",
412 /* 202 */ "__sysctl",
415 /* 205 */ "undelete",
420 /* 210 */ "#210 (unimplemented)",
421 /* 211 */ "#211 (unimplemented)",
422 /* 212 */ "#212 (unimplemented)",
423 /* 213 */ "#213 (unimplemented)",
424 /* 214 */ "#214 (unimplemented)",
425 /* 215 */ "#215 (unimplemented)",
426 /* 216 */ "#216 (unimplemented)",
427 /* 217 */ "#217 (unimplemented)",
428 /* 218 */ "#218 (unimplemented)",
429 /* 219 */ "#219 (unimplemented)",
430 #if defined(SYSVSEM) || !defined(_KERNEL)
431 #if defined(COMPAT_14) || !defined(_KERNEL)
432 /* 220 */ "__semctl",
434 /* 220 */ "#220 (excluded compat_14_semctl)",
438 /* 223 */ "semconfig",
440 /* 220 */ "#220 (excluded compat_14_semctl)",
441 /* 221 */ "#221 (excluded semget)",
442 /* 222 */ "#222 (excluded semop)",
443 /* 223 */ "#223 (excluded semconfig)",
445 #if defined(SYSVMSG) || !defined(_KERNEL)
446 #if defined(COMPAT_14) || !defined(_KERNEL)
449 /* 224 */ "#224 (excluded compat_14_sys_msgctl)",
455 /* 224 */ "#224 (excluded compat_14_msgctl)",
456 /* 225 */ "#225 (excluded msgget)",
457 /* 226 */ "#226 (excluded msgsnd)",
458 /* 227 */ "#227 (excluded msgrcv)",
460 #if defined(SYSVSHM) || !defined(_KERNEL)
462 #if defined(COMPAT_14) || !defined(_KERNEL)
465 /* 229 */ "#229 (excluded compat_14_sys_shmctl)",
470 /* 228 */ "#228 (excluded shmat)",
471 /* 229 */ "#229 (excluded compat_14_shmctl)",
472 /* 230 */ "#230 (excluded shmdt)",
473 /* 231 */ "#231 (excluded shmget)",
475 /* 232 */ "clock_gettime",
476 /* 233 */ "clock_settime",
477 /* 234 */ "clock_getres",
478 /* 235 */ "#235 (unimplemented timer_create)",
479 /* 236 */ "#236 (unimplemented timer_delete)",
480 /* 237 */ "#237 (unimplemented timer_settime)",
481 /* 238 */ "#238 (unimplemented timer_gettime)",
482 /* 239 */ "#239 (unimplemented timer_getoverrun)",
483 /* 240 */ "nanosleep",
484 /* 241 */ "fdatasync",
485 /* 242 */ "mlockall",
486 /* 243 */ "munlockall",
487 /* 244 */ "#244 (unimplemented)",
488 /* 245 */ "#245 (unimplemented)",
489 /* 246 */ "#246 (unimplemented)",
490 /* 247 */ "#247 (unimplemented)",
491 /* 248 */ "#248 (unimplemented)",
492 /* 249 */ "#249 (unimplemented)",
493 /* 250 */ "#250 (unimplemented)",
494 /* 251 */ "#251 (unimplemented)",
495 /* 252 */ "#252 (unimplemented)",
496 /* 253 */ "#253 (unimplemented)",
497 /* 254 */ "#254 (unimplemented)",
498 /* 255 */ "#255 (unimplemented)",
499 /* 256 */ "#256 (unimplemented)",
500 /* 257 */ "#257 (unimplemented)",
501 /* 258 */ "#258 (unimplemented)",
502 /* 259 */ "#259 (unimplemented)",
503 /* 260 */ "#260 (unimplemented)",
504 /* 261 */ "#261 (unimplemented)",
505 /* 262 */ "#262 (unimplemented)",
506 /* 263 */ "#263 (unimplemented)",
507 /* 264 */ "#264 (unimplemented)",
508 /* 265 */ "#265 (unimplemented)",
509 /* 266 */ "#266 (unimplemented)",
510 /* 267 */ "#267 (unimplemented)",
511 /* 268 */ "#268 (unimplemented)",
512 /* 269 */ "#269 (unimplemented)",
513 /* 270 */ "__posix_rename",
515 #if defined(COMPAT_30) || !defined(_KERNEL)
516 /* 272 */ "getdents",
518 /* 272 */ "#272 (excluded compat_30_sys_getdents)",
520 /* 273 */ "minherit",
524 /* 277 */ "__msync13",
525 /* 278 */ "__stat13",
526 /* 279 */ "__fstat13",
527 /* 280 */ "__lstat13",
528 /* 281 */ "__sigaltstack14",
529 /* 282 */ "__vfork14",
530 /* 283 */ "__posix_chown",
531 /* 284 */ "__posix_fchown",
532 /* 285 */ "__posix_lchown",
534 /* 287 */ "#287 (unimplemented)",
535 #if defined(KTRACE) || !defined(_KERNEL)
538 /* 288 */ "#288 (excluded ktrace)",
542 #if defined(COMPAT_16) || !defined(_KERNEL)
543 /* 291 */ "__sigaction14",
545 /* 291 */ "#291 (excluded compat_16_sys___sigaction14)",
547 /* 292 */ "__sigpending14",
548 /* 293 */ "__sigprocmask14",
549 /* 294 */ "__sigsuspend14",
550 #if defined(COMPAT_16) || !defined(_KERNEL)
551 /* 295 */ "__sigreturn14",
553 /* 295 */ "#295 (excluded compat_16_sys___sigreturn14)",
555 /* 296 */ "__getcwd",
559 #if defined(COMPAT_20) || !defined(_KERNEL)
560 /* 300 */ "fhstatfs",
562 /* 300 */ "#300 (excluded compat_20_sys_fhstatfs)",
564 #if defined(SYSVSEM) || !defined(_KERNEL)
565 /* 301 */ "____semctl13",
567 /* 301 */ "#301 (excluded ____semctl13)",
569 #if defined(SYSVMSG) || !defined(_KERNEL)
570 /* 302 */ "__msgctl13",
572 /* 302 */ "#302 (excluded __msgctl13)",
574 #if defined(SYSVSHM) || !defined(_KERNEL)
575 /* 303 */ "__shmctl13",
577 /* 303 */ "#303 (excluded __shmctl13)",
579 /* 304 */ "lchflags",
580 /* 305 */ "issetugid",
581 /* 306 */ "getcontext",
582 /* 307 */ "setcontext",