Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / compat / linux / arch / mips / linux_syscalls.c
blob80da3998fee2031705cdb5c11e6489d2661a961e
1 /* $NetBSD$ */
3 /*
4 * System call names.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.37 2009/11/24 10:42:44 njoly Exp
8 */
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD$");
13 #if defined(_KERNEL_OPT)
14 #include <sys/param.h>
15 #include <sys/poll.h>
16 #include <sys/systm.h>
17 #include <sys/signal.h>
18 #include <sys/mount.h>
19 #include <sys/syscallargs.h>
20 #include <compat/linux/common/linux_types.h>
21 #include <compat/linux/common/linux_signal.h>
22 #include <compat/linux/common/linux_siginfo.h>
23 #include <compat/linux/common/linux_machdep.h>
24 #include <compat/linux/common/linux_mmap.h>
25 #include <compat/linux/common/linux_socketcall.h>
26 #include <compat/linux/linux_syscallargs.h>
27 #define linux_sys_mmap2_args linux_sys_mmap_args
28 #endif /* _KERNEL_OPT */
30 const char *const linux_syscallnames[] = {
31 /* 0 */ "syscall",
32 /* 1 */ "exit",
33 /* 2 */ "fork",
34 /* 3 */ "read",
35 /* 4 */ "write",
36 /* 5 */ "open",
37 /* 6 */ "close",
38 /* 7 */ "waitpid",
39 /* 8 */ "creat",
40 /* 9 */ "link",
41 /* 10 */ "unlink",
42 /* 11 */ "execve",
43 /* 12 */ "chdir",
44 /* 13 */ "time",
45 /* 14 */ "mknod",
46 /* 15 */ "chmod",
47 /* 16 */ "__posix_lchown",
48 /* 17 */ "#17 (unimplemented)",
49 /* 18 */ "#18 (obsolete ostat)",
50 /* 19 */ "lseek",
51 /* 20 */ "getpid",
52 /* 21 */ "#21 (unimplemented mount)",
53 /* 22 */ "#22 (obsolete umount)",
54 /* 23 */ "setuid",
55 /* 24 */ "getuid",
56 /* 25 */ "stime",
57 /* 26 */ "ptrace",
58 /* 27 */ "alarm",
59 /* 28 */ "#28 (obsolete ofstat)",
60 /* 29 */ "pause",
61 /* 30 */ "utime",
62 /* 31 */ "#31 (unimplemented)",
63 /* 32 */ "#32 (unimplemented)",
64 /* 33 */ "access",
65 /* 34 */ "nice",
66 /* 35 */ "#35 (unimplemented)",
67 /* 36 */ "sync",
68 /* 37 */ "kill",
69 /* 38 */ "__posix_rename",
70 /* 39 */ "mkdir",
71 /* 40 */ "rmdir",
72 /* 41 */ "dup",
73 /* 42 */ "pipe",
74 /* 43 */ "times",
75 /* 44 */ "#44 (unimplemented)",
76 /* 45 */ "brk",
77 /* 46 */ "setgid",
78 /* 47 */ "getgid",
79 /* 48 */ "signal",
80 /* 49 */ "geteuid",
81 /* 50 */ "getegid",
82 /* 51 */ "acct",
83 /* 52 */ "#52 (unimplemented umount)",
84 /* 53 */ "#53 (unimplemented)",
85 /* 54 */ "ioctl",
86 /* 55 */ "fcntl",
87 /* 56 */ "#56 (obsolete mpx)",
88 /* 57 */ "setpgid",
89 /* 58 */ "#58 (unimplemented)",
90 /* 59 */ "olduname",
91 /* 60 */ "umask",
92 /* 61 */ "chroot",
93 /* 62 */ "#62 (unimplemented ustat)",
94 /* 63 */ "dup2",
95 /* 64 */ "getppid",
96 /* 65 */ "getpgrp",
97 /* 66 */ "setsid",
98 /* 67 */ "sigaction",
99 /* 68 */ "siggetmask",
100 /* 69 */ "sigsetmask",
101 /* 70 */ "setreuid",
102 /* 71 */ "setregid",
103 /* 72 */ "sigsuspend",
104 /* 73 */ "sigpending",
105 /* 74 */ "sethostname",
106 /* 75 */ "setrlimit",
107 /* 76 */ "getrlimit",
108 /* 77 */ "getrusage",
109 /* 78 */ "gettimeofday",
110 /* 79 */ "settimeofday",
111 /* 80 */ "getgroups",
112 /* 81 */ "setgroups",
113 /* 82 */ "#82 (unimplemented old_select)",
114 /* 83 */ "symlink",
115 /* 84 */ "oolstat",
116 /* 85 */ "readlink",
117 /* 86 */ "#86 (unimplemented uselib)",
118 /* 87 */ "swapon",
119 /* 88 */ "reboot",
120 /* 89 */ "readdir",
121 /* 90 */ "mmap",
122 /* 91 */ "munmap",
123 /* 92 */ "truncate",
124 /* 93 */ "ftruncate",
125 /* 94 */ "fchmod",
126 /* 95 */ "__posix_fchown",
127 /* 96 */ "getpriority",
128 /* 97 */ "setpriority",
129 /* 98 */ "#98 (unimplemented)",
130 /* 99 */ "statfs",
131 /* 100 */ "fstatfs",
132 /* 101 */ "ioperm",
133 /* 102 */ "socketcall",
134 /* 103 */ "#103 (unimplemented syslog)",
135 /* 104 */ "setitimer",
136 /* 105 */ "getitimer",
137 /* 106 */ "stat",
138 /* 107 */ "lstat",
139 /* 108 */ "fstat",
140 /* 109 */ "uname",
141 /* 110 */ "#110 (unimplemented iopl)",
142 /* 111 */ "#111 (unimplemented vhangup)",
143 /* 112 */ "#112 (unimplemented idle)",
144 /* 113 */ "#113 (unimplemented vm86old)",
145 /* 114 */ "wait4",
146 /* 115 */ "swapoff",
147 /* 116 */ "sysinfo",
148 /* 117 */ "ipc",
149 /* 118 */ "fsync",
150 /* 119 */ "sigreturn",
151 /* 120 */ "clone",
152 /* 121 */ "setdomainname",
153 /* 122 */ "new_uname",
154 /* 123 */ "#123 (unimplemented modify_ldt)",
155 /* 124 */ "#124 (unimplemented adjtimex)",
156 /* 125 */ "mprotect",
157 /* 126 */ "sigprocmask",
158 /* 127 */ "#127 (unimplemented create_module)",
159 /* 128 */ "#128 (unimplemented init_module)",
160 /* 129 */ "#129 (unimplemented delete_module)",
161 /* 130 */ "#130 (unimplemented get_kernel_syms)",
162 /* 131 */ "#131 (unimplemented quotactl)",
163 /* 132 */ "getpgid",
164 /* 133 */ "fchdir",
165 /* 134 */ "#134 (unimplemented bdflush)",
166 /* 135 */ "#135 (unimplemented sysfs)",
167 /* 136 */ "personality",
168 /* 137 */ "#137 (unimplemented afs_syscall)",
169 /* 138 */ "setfsuid",
170 /* 139 */ "setfsgid",
171 /* 140 */ "llseek",
172 /* 141 */ "getdents",
173 /* 142 */ "select",
174 /* 143 */ "flock",
175 /* 144 */ "__msync13",
176 /* 145 */ "readv",
177 /* 146 */ "writev",
178 /* 147 */ "cacheflush",
179 /* 148 */ "#148 (unimplemented cachectl)",
180 /* 149 */ "sysmips",
181 /* 150 */ "#150 (unimplemented)",
182 /* 151 */ "getsid",
183 /* 152 */ "fdatasync",
184 /* 153 */ "__sysctl",
185 /* 154 */ "mlock",
186 /* 155 */ "munlock",
187 /* 156 */ "mlockall",
188 /* 157 */ "munlockall",
189 /* 158 */ "sched_setparam",
190 /* 159 */ "sched_getparam",
191 /* 160 */ "sched_setscheduler",
192 /* 161 */ "sched_getscheduler",
193 /* 162 */ "sched_yield",
194 /* 163 */ "sched_get_priority_max",
195 /* 164 */ "sched_get_priority_min",
196 /* 165 */ "#165 (unimplemented sched_rr_get_interval)",
197 /* 166 */ "nanosleep",
198 /* 167 */ "mremap",
199 /* 168 */ "accept",
200 /* 169 */ "bind",
201 /* 170 */ "connect",
202 /* 171 */ "getpeername",
203 /* 172 */ "getsockname",
204 /* 173 */ "getsockopt",
205 /* 174 */ "listen",
206 /* 175 */ "recv",
207 /* 176 */ "recvfrom",
208 /* 177 */ "recvmsg",
209 /* 178 */ "send",
210 /* 179 */ "sendmsg",
211 /* 180 */ "sendto",
212 /* 181 */ "setsockopt",
213 /* 182 */ "#182 (unimplemented shutdown)",
214 /* 183 */ "socket",
215 /* 184 */ "socketpair",
216 /* 185 */ "setresuid",
217 /* 186 */ "getresuid",
218 /* 187 */ "#187 (unimplemented query_module)",
219 /* 188 */ "poll",
220 /* 189 */ "#189 (unimplemented nfsservctl)",
221 /* 190 */ "setresgid",
222 /* 191 */ "getresgid",
223 /* 192 */ "#192 (unimplemented prctl)",
224 /* 193 */ "rt_sigreturn",
225 /* 194 */ "rt_sigaction",
226 /* 195 */ "rt_sigprocmask",
227 /* 196 */ "rt_sigpending",
228 /* 197 */ "#197 (unimplemented rt_sigtimedwait)",
229 /* 198 */ "rt_queueinfo",
230 /* 199 */ "rt_sigsuspend",
231 /* 200 */ "pread",
232 /* 201 */ "pwrite",
233 /* 202 */ "__posix_chown",
234 /* 203 */ "__getcwd",
235 /* 204 */ "#204 (unimplemented capget)",
236 /* 205 */ "#205 (unimplemented capset)",
237 /* 206 */ "sigaltstack",
238 /* 207 */ "#207 (unimplemented sendfile)",
239 /* 208 */ "#208 (unimplemented)",
240 /* 209 */ "#209 (unimplemented)",
241 /* 210 */ "mmap2",
242 /* 211 */ "truncate64",
243 /* 212 */ "ftruncate64",
244 /* 213 */ "stat64",
245 /* 214 */ "lstat64",
246 /* 215 */ "fstat64",
247 /* 216 */ "#216 (unimplemented pivot_root)",
248 /* 217 */ "mincore",
249 /* 218 */ "madvise",
250 /* 219 */ "getdents64",
251 /* 220 */ "fcntl64",
252 /* 221 */ "#221 (unimplemented / * reserved * /)",
253 /* 222 */ "#222 (unimplemented gettid)",
254 /* 223 */ "#223 (unimplemented readahead)",
255 /* 224 */ "setxattr",
256 /* 225 */ "lsetxattr",
257 /* 226 */ "fsetxattr",
258 /* 227 */ "getxattr",
259 /* 228 */ "lgetxattr",
260 /* 229 */ "fgetxattr",
261 /* 230 */ "listxattr",
262 /* 231 */ "llistxattr",
263 /* 232 */ "flistxattr",
264 /* 233 */ "removexattr",
265 /* 234 */ "lremovexattr",
266 /* 235 */ "fremovexattr",
267 /* 236 */ "#236 (unimplemented tkill)",
268 /* 237 */ "#237 (unimplemented sendfile64)",
269 /* 238 */ "#238 (unimplemented futex)",
270 /* 239 */ "#239 (unimplemented sched_setaffinity)",
271 /* 240 */ "#240 (unimplemented sched_getaffinity)",
272 /* 241 */ "#241 (unimplemented io_setup)",
273 /* 242 */ "#242 (unimplemented io_destroy)",
274 /* 243 */ "#243 (unimplemented io_getevents)",
275 /* 244 */ "#244 (unimplemented io_submit)",
276 /* 245 */ "#245 (unimplemented io_cancel)",
277 /* 246 */ "exit_group",
278 /* 247 */ "#247 (unimplemented lookup_dcookie)",
279 /* 248 */ "#248 (unimplemented epoll_create)",
280 /* 249 */ "#249 (unimplemented epoll_ctl)",
281 /* 250 */ "#250 (unimplemented epoll_wait)",
282 /* 251 */ "#251 (unimplemented remap_file_pages)",
283 /* 252 */ "#252 (unimplemented set_tid_address)",
284 /* 253 */ "#253 (unimplemented restart_syscall)",
285 /* 254 */ "#254 (unimplemented fadvise64)",
286 /* 255 */ "statfs64",
287 /* 256 */ "fstatfs64",
288 /* 257 */ "#257 (unimplemented timer_create)",
289 /* 258 */ "#258 (unimplemented timer_settime)",
290 /* 259 */ "#259 (unimplemented timer_gettime)",
291 /* 260 */ "#260 (unimplemented timer_getoverrun)",
292 /* 261 */ "#261 (unimplemented timer_delete)",
293 /* 262 */ "clock_settime",
294 /* 263 */ "clock_gettime",
295 /* 264 */ "clock_getres",
296 /* 265 */ "clock_nanosleep",
297 /* 266 */ "#266 (unimplemented tgkill)",
298 /* 267 */ "#267 (unimplemented utimes)",
299 /* 268 */ "#268 (unimplemented mbind)",
300 /* 269 */ "#269 (unimplemented get_mempolicy)",
301 /* 270 */ "#270 (unimplemented set_mempolicy)",
302 /* 271 */ "#271 (unimplemented mq_open)",
303 /* 272 */ "#272 (unimplemented mq_unlink)",
304 /* 273 */ "#273 (unimplemented mq_timedsend)",
305 /* 274 */ "#274 (unimplemented mq_timedreceive)",
306 /* 275 */ "#275 (unimplemented mq_notify)",
307 /* 276 */ "#276 (unimplemented mq_getsetattr)",