Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / compat / linux / arch / alpha / linux_syscalls.c
blob4e6ea96208782b4ea6c08ae3d8590b7eacb22f8e
1 /* $NetBSD$ */
3 /*
4 * System call names.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.71 2009/11/24 10:42:43 njoly Exp
8 */
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD$");
13 #if defined(_KERNEL_OPT)
14 #if defined(_KERNEL_OPT)
15 #include "opt_sysv.h"
16 #endif
17 #include <sys/param.h>
18 #include <sys/poll.h>
19 #include <sys/systm.h>
20 #include <sys/signal.h>
21 #include <sys/mount.h>
22 #include <sys/syscallargs.h>
23 #include <compat/linux/common/linux_types.h>
24 #include <compat/linux/common/linux_signal.h>
25 #include <compat/linux/common/linux_siginfo.h>
26 #include <compat/linux/common/linux_ipc.h>
27 #include <compat/linux/common/linux_msg.h>
28 #include <compat/linux/common/linux_sem.h>
29 #include <compat/linux/common/linux_shm.h>
30 #include <compat/linux/common/linux_mmap.h>
31 #include <compat/linux/linux_syscallargs.h>
32 #endif /* _KERNEL_OPT */
34 const char *const linux_syscallnames[] = {
35 /* 0 */ "syscall",
36 /* 1 */ "exit",
37 /* 2 */ "fork",
38 /* 3 */ "read",
39 /* 4 */ "write",
40 /* 5 */ "#5 (unimplemented)",
41 /* 6 */ "close",
42 /* 7 */ "wait4",
43 /* 8 */ "creat",
44 /* 9 */ "link",
45 /* 10 */ "unlink",
46 /* 11 */ "#11 (unimplemented)",
47 /* 12 */ "chdir",
48 /* 13 */ "fchdir",
49 /* 14 */ "mknod",
50 /* 15 */ "chmod",
51 /* 16 */ "__posix_chown",
52 /* 17 */ "brk",
53 /* 18 */ "#18 (unimplemented)",
54 /* 19 */ "lseek",
55 /* 20 */ "getpid_with_ppid",
56 /* 21 */ "mount",
57 /* 22 */ "#22 (unimplemented umount)",
58 /* 23 */ "setuid",
59 /* 24 */ "getuid_with_euid",
60 /* 25 */ "#25 (unimplemented)",
61 /* 26 */ "ptrace",
62 /* 27 */ "#27 (unimplemented)",
63 /* 28 */ "#28 (unimplemented)",
64 /* 29 */ "#29 (unimplemented)",
65 /* 30 */ "#30 (unimplemented)",
66 /* 31 */ "#31 (unimplemented)",
67 /* 32 */ "#32 (unimplemented)",
68 /* 33 */ "access",
69 /* 34 */ "#34 (unimplemented)",
70 /* 35 */ "#35 (unimplemented)",
71 /* 36 */ "sync",
72 /* 37 */ "kill",
73 /* 38 */ "#38 (unimplemented)",
74 /* 39 */ "setpgid",
75 /* 40 */ "#40 (unimplemented)",
76 /* 41 */ "dup",
77 /* 42 */ "pipe",
78 /* 43 */ "set_program_attributes",
79 /* 44 */ "#44 (unimplemented)",
80 /* 45 */ "open",
81 /* 46 */ "#46 (unimplemented)",
82 /* 47 */ "getgid_with_egid",
83 /* 48 */ "sigprocmask",
84 /* 49 */ "#49 (unimplemented)",
85 /* 50 */ "#50 (unimplemented)",
86 /* 51 */ "acct",
87 /* 52 */ "sigpending",
88 /* 53 */ "#53 (unimplemented)",
89 /* 54 */ "ioctl",
90 /* 55 */ "#55 (unimplemented)",
91 /* 56 */ "#56 (unimplemented)",
92 /* 57 */ "symlink",
93 /* 58 */ "readlink",
94 /* 59 */ "execve",
95 /* 60 */ "umask",
96 /* 61 */ "chroot",
97 /* 62 */ "#62 (unimplemented)",
98 /* 63 */ "getpgrp",
99 /* 64 */ "getpagesize",
100 /* 65 */ "#65 (unimplemented)",
101 /* 66 */ "__vfork14",
102 /* 67 */ "stat",
103 /* 68 */ "lstat",
104 /* 69 */ "#69 (unimplemented)",
105 /* 70 */ "#70 (unimplemented)",
106 /* 71 */ "mmap",
107 /* 72 */ "#72 (unimplemented)",
108 /* 73 */ "munmap",
109 /* 74 */ "mprotect",
110 /* 75 */ "madvise",
111 /* 76 */ "#76 (unimplemented vhangup)",
112 /* 77 */ "#77 (unimplemented)",
113 /* 78 */ "#78 (unimplemented)",
114 /* 79 */ "getgroups",
115 /* 80 */ "setgroups",
116 /* 81 */ "#81 (unimplemented)",
117 /* 82 */ "#82 (unimplemented setpgrp)",
118 /* 83 */ "setitimer",
119 /* 84 */ "#84 (unimplemented)",
120 /* 85 */ "#85 (unimplemented)",
121 /* 86 */ "#86 (unimplemented osf1_sys_getitimer)",
122 /* 87 */ "gethostname",
123 /* 88 */ "sethostname",
124 /* 89 */ "#89 (unimplemented getdtablesize)",
125 /* 90 */ "dup2",
126 /* 91 */ "fstat",
127 /* 92 */ "fcntl",
128 /* 93 */ "select",
129 /* 94 */ "poll",
130 /* 95 */ "fsync",
131 /* 96 */ "setpriority",
132 /* 97 */ "socket",
133 /* 98 */ "connect",
134 /* 99 */ "accept",
135 /* 100 */ "getpriority",
136 /* 101 */ "send",
137 /* 102 */ "recv",
138 /* 103 */ "sigreturn",
139 /* 104 */ "bind",
140 /* 105 */ "setsockopt",
141 /* 106 */ "listen",
142 /* 107 */ "#107 (unimplemented)",
143 /* 108 */ "#108 (unimplemented)",
144 /* 109 */ "#109 (unimplemented)",
145 /* 110 */ "#110 (unimplemented)",
146 /* 111 */ "sigsuspend",
147 /* 112 */ "sigstack",
148 /* 113 */ "recvmsg",
149 /* 114 */ "sendmsg",
150 /* 115 */ "#115 (unimplemented)",
151 /* 116 */ "gettimeofday",
152 /* 117 */ "getrusage",
153 /* 118 */ "getsockopt",
154 /* 119 */ "#119 (unimplemented)",
155 /* 120 */ "readv",
156 /* 121 */ "writev",
157 /* 122 */ "settimeofday",
158 /* 123 */ "__posix_fchown",
159 /* 124 */ "fchmod",
160 /* 125 */ "recvfrom",
161 /* 126 */ "setreuid",
162 /* 127 */ "setregid",
163 /* 128 */ "__posix_rename",
164 /* 129 */ "truncate",
165 /* 130 */ "ftruncate",
166 /* 131 */ "flock",
167 /* 132 */ "setgid",
168 /* 133 */ "sendto",
169 /* 134 */ "shutdown",
170 /* 135 */ "socketpair",
171 /* 136 */ "mkdir",
172 /* 137 */ "rmdir",
173 /* 138 */ "utimes",
174 /* 139 */ "#139 (unimplemented)",
175 /* 140 */ "#140 (unimplemented)",
176 /* 141 */ "getpeername",
177 /* 142 */ "#142 (unimplemented)",
178 /* 143 */ "#143 (unimplemented)",
179 /* 144 */ "getrlimit",
180 /* 145 */ "setrlimit",
181 /* 146 */ "#146 (unimplemented)",
182 /* 147 */ "setsid",
183 /* 148 */ "#148 (unimplemented quotactl)",
184 /* 149 */ "#149 (unimplemented)",
185 /* 150 */ "getsockname",
186 /* 151 */ "#151 (unimplemented)",
187 /* 152 */ "#152 (unimplemented)",
188 /* 153 */ "#153 (unimplemented)",
189 /* 154 */ "#154 (unimplemented)",
190 /* 155 */ "#155 (unimplemented)",
191 /* 156 */ "sigaction",
192 /* 157 */ "#157 (unimplemented)",
193 /* 158 */ "#158 (unimplemented)",
194 /* 159 */ "getdirentries",
195 /* 160 */ "statfs",
196 /* 161 */ "fstatfs",
197 /* 162 */ "#162 (unimplemented)",
198 /* 163 */ "#163 (unimplemented)",
199 /* 164 */ "#164 (unimplemented)",
200 /* 165 */ "getdomainname",
201 /* 166 */ "setdomainname",
202 /* 167 */ "#167 (unimplemented)",
203 /* 168 */ "#168 (unimplemented)",
204 /* 169 */ "#169 (unimplemented)",
205 /* 170 */ "#170 (unimplemented)",
206 /* 171 */ "#171 (unimplemented)",
207 /* 172 */ "#172 (unimplemented)",
208 /* 173 */ "#173 (unimplemented)",
209 /* 174 */ "#174 (unimplemented)",
210 /* 175 */ "#175 (unimplemented)",
211 /* 176 */ "#176 (unimplemented)",
212 /* 177 */ "#177 (unimplemented)",
213 /* 178 */ "#178 (unimplemented)",
214 /* 179 */ "#179 (unimplemented)",
215 /* 180 */ "#180 (unimplemented)",
216 /* 181 */ "#181 (unimplemented)",
217 /* 182 */ "#182 (unimplemented)",
218 /* 183 */ "#183 (unimplemented)",
219 /* 184 */ "#184 (unimplemented)",
220 /* 185 */ "#185 (unimplemented)",
221 /* 186 */ "#186 (unimplemented)",
222 /* 187 */ "#187 (unimplemented)",
223 /* 188 */ "#188 (unimplemented)",
224 /* 189 */ "#189 (unimplemented)",
225 /* 190 */ "#190 (unimplemented)",
226 /* 191 */ "ugetrlimit",
227 /* 192 */ "#192 (unimplemented mmap2)",
228 /* 193 */ "#193 (unimplemented)",
229 /* 194 */ "#194 (unimplemented)",
230 /* 195 */ "#195 (unimplemented)",
231 /* 196 */ "#196 (unimplemented)",
232 /* 197 */ "#197 (unimplemented)",
233 /* 198 */ "#198 (unimplemented)",
234 /* 199 */ "#199 (unimplemented osf1_sys_swapon)",
235 #ifdef SYSVMSG
236 /* 200 */ "msgctl",
237 /* 201 */ "msgget",
238 /* 202 */ "msgrcv",
239 /* 203 */ "msgsnd",
240 #else
241 /* 200 */ "#200 (unimplemented msgctl)",
242 /* 201 */ "#201 (unimplemented msgget)",
243 /* 202 */ "#202 (unimplemented msgrcv)",
244 /* 203 */ "#203 (unimplemented msgsnd)",
245 #endif
246 #ifdef SYSVSEM
247 /* 204 */ "semctl",
248 /* 205 */ "semget",
249 /* 206 */ "semop",
250 #else
251 /* 204 */ "#204 (unimplemented semctl)",
252 /* 205 */ "#205 (unimplemented semget)",
253 /* 206 */ "#206 (unimplemented semop)",
254 #endif
255 /* 207 */ "olduname",
256 /* 208 */ "__posix_lchown",
257 #ifdef SYSVSHM
258 /* 209 */ "shmat",
259 /* 210 */ "shmctl",
260 /* 211 */ "shmdt",
261 /* 212 */ "shmget",
262 #else
263 /* 209 */ "#209 (unimplemented shmat)",
264 /* 210 */ "#210 (unimplemented shmctl)",
265 /* 211 */ "#211 (unimplemented shmdt)",
266 /* 212 */ "#212 (unimplemented shmget)",
267 #endif
268 /* 213 */ "#213 (unimplemented)",
269 /* 214 */ "#214 (unimplemented)",
270 /* 215 */ "#215 (unimplemented)",
271 /* 216 */ "#216 (unimplemented)",
272 /* 217 */ "__msync13",
273 /* 218 */ "#218 (unimplemented)",
274 /* 219 */ "#219 (unimplemented)",
275 /* 220 */ "#220 (unimplemented)",
276 /* 221 */ "#221 (unimplemented)",
277 /* 222 */ "#222 (unimplemented)",
278 /* 223 */ "#223 (unimplemented)",
279 /* 224 */ "#224 (unimplemented)",
280 /* 225 */ "#225 (unimplemented)",
281 /* 226 */ "#226 (unimplemented)",
282 /* 227 */ "#227 (unimplemented)",
283 /* 228 */ "#228 (unimplemented)",
284 /* 229 */ "#229 (unimplemented)",
285 /* 230 */ "#230 (unimplemented)",
286 /* 231 */ "#231 (unimplemented)",
287 /* 232 */ "#232 (unimplemented)",
288 /* 233 */ "getpgid",
289 /* 234 */ "getsid",
290 /* 235 */ "#235 (unimplemented sigaltstack)",
291 /* 236 */ "#236 (unimplemented)",
292 /* 237 */ "#237 (unimplemented)",
293 /* 238 */ "#238 (unimplemented)",
294 /* 239 */ "#239 (unimplemented)",
295 /* 240 */ "#240 (unimplemented)",
296 /* 241 */ "sysinfo",
297 /* 242 */ "#242 (unimplemented)",
298 /* 243 */ "#243 (unimplemented)",
299 /* 244 */ "#244 (unimplemented osf1_sys_proplist_syscall)",
300 /* 245 */ "#245 (unimplemented)",
301 /* 246 */ "#246 (unimplemented)",
302 /* 247 */ "#247 (unimplemented)",
303 /* 248 */ "#248 (unimplemented)",
304 /* 249 */ "#249 (unimplemented)",
305 /* 250 */ "#250 (unimplemented)",
306 /* 251 */ "usleep_thread",
307 /* 252 */ "#252 (unimplemented)",
308 /* 253 */ "#253 (unimplemented)",
309 /* 254 */ "#254 (unimplemented)",
310 /* 255 */ "#255 (unimplemented sysfs)",
311 /* 256 */ "getsysinfo",
312 /* 257 */ "setsysinfo",
313 /* 258 */ "#258 (unimplemented)",
314 /* 259 */ "#259 (unimplemented)",
315 /* 260 */ "#260 (unimplemented)",
316 /* 261 */ "fdatasync",
317 /* 262 */ "#262 (unimplemented)",
318 /* 263 */ "#263 (unimplemented)",
319 /* 264 */ "#264 (unimplemented)",
320 /* 265 */ "#265 (unimplemented)",
321 /* 266 */ "#266 (unimplemented)",
322 /* 267 */ "#267 (unimplemented)",
323 /* 268 */ "#268 (unimplemented)",
324 /* 269 */ "#269 (unimplemented)",
325 /* 270 */ "#270 (unimplemented)",
326 /* 271 */ "#271 (unimplemented)",
327 /* 272 */ "#272 (unimplemented)",
328 /* 273 */ "#273 (unimplemented)",
329 /* 274 */ "#274 (unimplemented)",
330 /* 275 */ "#275 (unimplemented)",
331 /* 276 */ "#276 (unimplemented)",
332 /* 277 */ "#277 (unimplemented)",
333 /* 278 */ "#278 (unimplemented)",
334 /* 279 */ "#279 (unimplemented)",
335 /* 280 */ "#280 (unimplemented)",
336 /* 281 */ "#281 (unimplemented)",
337 /* 282 */ "#282 (unimplemented)",
338 /* 283 */ "#283 (unimplemented)",
339 /* 284 */ "#284 (unimplemented)",
340 /* 285 */ "#285 (unimplemented)",
341 /* 286 */ "#286 (unimplemented)",
342 /* 287 */ "#287 (unimplemented)",
343 /* 288 */ "#288 (unimplemented)",
344 /* 289 */ "#289 (unimplemented)",
345 /* 290 */ "#290 (unimplemented)",
346 /* 291 */ "#291 (unimplemented)",
347 /* 292 */ "#292 (unimplemented)",
348 /* 293 */ "#293 (unimplemented)",
349 /* 294 */ "#294 (unimplemented)",
350 /* 295 */ "#295 (unimplemented)",
351 /* 296 */ "#296 (unimplemented)",
352 /* 297 */ "#297 (unimplemented)",
353 /* 298 */ "#298 (unimplemented)",
354 /* 299 */ "#299 (unimplemented)",
355 /* 300 */ "#300 (unimplemented bdflush)",
356 /* 301 */ "#301 (unimplemented sethae)",
357 /* 302 */ "#302 (unimplemented mount)",
358 /* 303 */ "#303 (unimplemented old_adjtimex)",
359 /* 304 */ "swapoff",
360 /* 305 */ "getdents",
361 /* 306 */ "#306 (unimplemented alpha_create_module)",
362 /* 307 */ "#307 (unimplemented init_module)",
363 /* 308 */ "#308 (unimplemented delete_module)",
364 /* 309 */ "#309 (unimplemented get_kernel_syms)",
365 /* 310 */ "#310 (unimplemented syslog)",
366 /* 311 */ "reboot",
367 /* 312 */ "clone",
368 #ifdef EXEC_AOUT
369 /* 313 */ "uselib",
370 #else
371 /* 313 */ "#313 (unimplemented sys_uselib)",
372 #endif
373 /* 314 */ "mlock",
374 /* 315 */ "munlock",
375 /* 316 */ "mlockall",
376 /* 317 */ "munlockall",
377 /* 318 */ "sysinfo",
378 /* 319 */ "__sysctl",
379 /* 320 */ "#320 (unimplemented idle)",
380 /* 321 */ "#321 (unimplemented oldumount)",
381 /* 322 */ "swapon",
382 /* 323 */ "times",
383 /* 324 */ "personality",
384 /* 325 */ "setfsuid",
385 /* 326 */ "setfsgid",
386 /* 327 */ "#327 (unimplemented ustat)",
387 /* 328 */ "statfs",
388 /* 329 */ "fstatfs",
389 /* 330 */ "sched_setparam",
390 /* 331 */ "sched_getparam",
391 /* 332 */ "sched_setscheduler",
392 /* 333 */ "sched_getscheduler",
393 /* 334 */ "sched_yield",
394 /* 335 */ "sched_get_priority_max",
395 /* 336 */ "sched_get_priority_min",
396 /* 337 */ "#337 (unimplemented sched_rr_get_interval)",
397 /* 338 */ "#338 (unimplemented afs_syscall)",
398 /* 339 */ "uname",
399 /* 340 */ "nanosleep",
400 /* 341 */ "mremap",
401 /* 342 */ "#342 (unimplemented nfsservctl)",
402 /* 343 */ "setresuid",
403 /* 344 */ "getresuid",
404 /* 345 */ "#345 (unimplemented pciconfig_read)",
405 /* 346 */ "#346 (unimplemented pciconfig_write)",
406 /* 347 */ "#347 (unimplemented query_module)",
407 /* 348 */ "#348 (unimplemented prctl)",
408 /* 349 */ "pread",
409 /* 350 */ "pwrite",
410 /* 351 */ "rt_sigreturn",
411 /* 352 */ "rt_sigaction",
412 /* 353 */ "rt_sigprocmask",
413 /* 354 */ "rt_sigpending",
414 /* 355 */ "#355 (unimplemented rt_sigtimedwait)",
415 /* 356 */ "rt_queueinfo",
416 /* 357 */ "rt_sigsuspend",
417 /* 358 */ "select",
418 /* 359 */ "gettimeofday",
419 /* 360 */ "settimeofday",
420 /* 361 */ "getitimer",
421 /* 362 */ "setitimer",
422 /* 363 */ "utimes",
423 /* 364 */ "getrusage",
424 /* 365 */ "wait4",
425 /* 366 */ "#366 (unimplemented adjtimex)",
426 /* 367 */ "__getcwd",
427 /* 368 */ "#368 (unimplemented capget)",
428 /* 369 */ "#369 (unimplemented capset)",
429 /* 370 */ "#370 (unimplemented sendfile)",
430 /* 371 */ "#371 (unimplemented setresgid)",
431 /* 372 */ "#372 (unimplemented getresgid)",
432 /* 373 */ "#373 (unimplemented sys_dipc)",
433 /* 374 */ "#374 (unimplemented pivot_root)",
434 /* 375 */ "mincore",
435 /* 376 */ "#376 (unimplemented pciconfig_iobase)",
436 /* 377 */ "getdents64",
437 /* 378 */ "#378 (unimplemented gettid)",
438 /* 379 */ "#379 (unimplemented readahead)",
439 /* 380 */ "#380 (unimplemented / * unused * /)",
440 /* 381 */ "#381 (unimplemented tkill)",
441 /* 382 */ "setxattr",
442 /* 383 */ "lsetxattr",
443 /* 384 */ "fsetxattr",
444 /* 385 */ "getxattr",
445 /* 386 */ "lgetxattr",
446 /* 387 */ "fgetxattr",
447 /* 388 */ "listxattr",
448 /* 389 */ "llistxattr",
449 /* 390 */ "flistxattr",
450 /* 391 */ "removexattr",
451 /* 392 */ "lremovexattr",
452 /* 393 */ "fremovexattr",
453 /* 394 */ "#394 (unimplemented futex)",
454 /* 395 */ "#395 (unimplemented sched_setaffinity)",
455 /* 396 */ "#396 (unimplemented sched_getaffinity)",
456 /* 397 */ "#397 (unimplemented tuxcall)",
457 /* 398 */ "#398 (unimplemented io_setup)",
458 /* 399 */ "#399 (unimplemented io_destroy)",
459 /* 400 */ "#400 (unimplemented io_getevents)",
460 /* 401 */ "#401 (unimplemented io_submit)",
461 /* 402 */ "#402 (unimplemented io_cancel)",
462 /* 403 */ "#403 (unimplemented / * unused * /)",
463 /* 404 */ "#404 (unimplemented / * unused * /)",
464 /* 405 */ "exit_group",
465 /* 406 */ "#406 (unimplemented lookup_dcookie)",
466 /* 407 */ "#407 (unimplemented sys_epoll_create)",
467 /* 408 */ "#408 (unimplemented sys_epoll_ctl)",
468 /* 409 */ "#409 (unimplemented sys_epoll_wait)",
469 /* 410 */ "#410 (unimplemented remap_file_pages)",
470 /* 411 */ "#411 (unimplemented set_tid_address)",
471 /* 412 */ "#412 (unimplemented restart_syscall)",
472 /* 413 */ "#413 (unimplemented fadvise64)",
473 /* 414 */ "#414 (unimplemented timer_create)",
474 /* 415 */ "#415 (unimplemented timer_settime)",
475 /* 416 */ "#416 (unimplemented timer_gettime)",
476 /* 417 */ "#417 (unimplemented timer_getoverrun)",
477 /* 418 */ "#418 (unimplemented timer_delete)",
478 /* 419 */ "clock_settime",
479 /* 420 */ "clock_gettime",
480 /* 421 */ "clock_getres",
481 /* 422 */ "clock_nanosleep",
482 /* 423 */ "#423 (unimplemented semtimedop)",
483 /* 424 */ "#424 (unimplemented tgkill)",
484 /* 425 */ "#425 (unimplemented stat64)",
485 /* 426 */ "#426 (unimplemented lstat64)",
486 /* 427 */ "#427 (unimplemented fstat64)",
487 /* 428 */ "#428 (unimplemented vserver)",
488 /* 429 */ "#429 (unimplemented mbind)",
489 /* 430 */ "#430 (unimplemented get_mempolicy)",
490 /* 431 */ "#431 (unimplemented set_mempolicy)",
491 /* 432 */ "#432 (unimplemented mq_open)",
492 /* 433 */ "#433 (unimplemented mq_unlink)",
493 /* 434 */ "#434 (unimplemented mq_timedsend)",
494 /* 435 */ "#435 (unimplemented mq_timedreceive)",
495 /* 436 */ "#436 (unimplemented mq_notify)",
496 /* 437 */ "#437 (unimplemented mq_getsetattr)",