Regen for wait4 update.
[netbsd-mini2440.git] / sys / compat / linux32 / arch / amd64 / linux32_syscalls.c
blobfa0afde8dd8a086c082cf85a2430762aaf9925ab
1 /* $NetBSD$ */
3 /*
4 * System call names.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.48 2009/01/17 22:28:53 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 <machine/netbsd32_machdep.h>
21 #include <compat/netbsd32/netbsd32.h>
22 #include <compat/netbsd32/netbsd32_syscallargs.h>
23 #include <compat/linux32/common/linux32_types.h>
24 #include <compat/linux32/common/linux32_signal.h>
25 #include <compat/linux32/arch/amd64/linux32_missing.h>
26 #include <compat/linux32/linux32_syscallargs.h>
27 #include <compat/linux/common/linux_types.h>
28 #include <compat/linux/common/linux_mmap.h>
29 #include <compat/linux/common/linux_signal.h>
30 #include <compat/linux/common/linux_siginfo.h>
31 #include <compat/linux/common/linux_machdep.h>
32 #include <compat/linux/common/linux_ipc.h>
33 #include <compat/linux/common/linux_sem.h>
34 #include <compat/linux/linux_syscallargs.h>
35 #endif /* _KERNEL_OPT */
37 const char *const linux32_syscallnames[] = {
38 /* 0 */ "syscall",
39 /* 1 */ "netbsd32_exit",
40 /* 2 */ "fork",
41 /* 3 */ "netbsd32_read",
42 /* 4 */ "netbsd32_write",
43 /* 5 */ "open",
44 /* 6 */ "netbsd32_close",
45 /* 7 */ "waitpid",
46 /* 8 */ "creat",
47 /* 9 */ "netbsd32_link",
48 /* 10 */ "unlink",
49 /* 11 */ "netbsd32_execve",
50 /* 12 */ "netbsd32_chdir",
51 /* 13 */ "time",
52 /* 14 */ "mknod",
53 /* 15 */ "netbsd32_chmod",
54 /* 16 */ "lchown16",
55 /* 17 */ "break",
56 /* 18 */ "#18 (obsolete ostat)",
57 /* 19 */ "compat_43_netbsd32_olseek",
58 /* 20 */ "getpid",
59 /* 21 */ "#21 (unimplemented mount)",
60 /* 22 */ "#22 (unimplemented umount)",
61 /* 23 */ "linux_setuid16",
62 /* 24 */ "linux_getuid16",
63 /* 25 */ "stime",
64 /* 26 */ "ptrace",
65 /* 27 */ "alarm",
66 /* 28 */ "#28 (obsolete ofstat)",
67 /* 29 */ "pause",
68 /* 30 */ "utime",
69 /* 31 */ "#31 (obsolete stty)",
70 /* 32 */ "#32 (obsolete gtty)",
71 /* 33 */ "netbsd32_access",
72 /* 34 */ "nice",
73 /* 35 */ "#35 (obsolete ftime)",
74 /* 36 */ "sync",
75 /* 37 */ "kill",
76 /* 38 */ "netbsd32___posix_rename",
77 /* 39 */ "netbsd32_mkdir",
78 /* 40 */ "netbsd32_rmdir",
79 /* 41 */ "netbsd32_dup",
80 /* 42 */ "pipe",
81 /* 43 */ "times",
82 /* 44 */ "#44 (obsolete prof)",
83 /* 45 */ "brk",
84 /* 46 */ "linux_setgid16",
85 /* 47 */ "linux_getgid16",
86 /* 48 */ "signal",
87 /* 49 */ "linux_geteuid16",
88 /* 50 */ "linux_getegid16",
89 /* 51 */ "netbsd32_acct",
90 /* 52 */ "#52 (obsolete phys)",
91 /* 53 */ "#53 (obsolete lock)",
92 /* 54 */ "ioctl",
93 /* 55 */ "fcntl",
94 /* 56 */ "#56 (obsolete mpx)",
95 /* 57 */ "netbsd32_setpgid",
96 /* 58 */ "#58 (obsolete ulimit)",
97 /* 59 */ "oldolduname",
98 /* 60 */ "netbsd32_umask",
99 /* 61 */ "netbsd32_chroot",
100 /* 62 */ "#62 (unimplemented ustat)",
101 /* 63 */ "netbsd32_dup2",
102 /* 64 */ "getppid",
103 /* 65 */ "getpgrp",
104 /* 66 */ "setsid",
105 /* 67 */ "#67 (unimplemented sigaction)",
106 /* 68 */ "#68 (unimplemented siggetmask)",
107 /* 69 */ "#69 (unimplemented sigsetmask)",
108 /* 70 */ "setreuid16",
109 /* 71 */ "setregid16",
110 /* 72 */ "#72 (unimplemented sigsuspend)",
111 /* 73 */ "#73 (unimplemented sigpending)",
112 /* 74 */ "compat_43_netbsd32_osethostname",
113 /* 75 */ "setrlimit",
114 /* 76 */ "getrlimit",
115 /* 77 */ "compat_50_netbsd32_getrusage",
116 /* 78 */ "gettimeofday",
117 /* 79 */ "settimeofday",
118 /* 80 */ "getgroups16",
119 /* 81 */ "setgroups16",
120 /* 82 */ "oldselect",
121 /* 83 */ "netbsd32_symlink",
122 /* 84 */ "compat_43_netbsd32_lstat43",
123 /* 85 */ "netbsd32_readlink",
124 /* 86 */ "#86 (unimplemented uselib)",
125 /* 87 */ "swapon",
126 /* 88 */ "reboot",
127 /* 89 */ "readdir",
128 /* 90 */ "old_mmap",
129 /* 91 */ "netbsd32_munmap",
130 /* 92 */ "compat_43_netbsd32_otruncate",
131 /* 93 */ "compat_43_netbsd32_oftruncate",
132 /* 94 */ "netbsd32_fchmod",
133 /* 95 */ "fchown16",
134 /* 96 */ "getpriority",
135 /* 97 */ "netbsd32_setpriority",
136 /* 98 */ "#98 (unimplemented profil)",
137 /* 99 */ "statfs",
138 /* 100 */ "#100 (unimplemented fstatfs)",
139 /* 101 */ "#101 (unimplemented ioperm)",
140 /* 102 */ "socketcall",
141 /* 103 */ "#103 (unimplemented syslog)",
142 /* 104 */ "compat_50_netbsd32_setitimer",
143 /* 105 */ "compat_50_netbsd32_getitimer",
144 /* 106 */ "#106 (unimplemented stat)",
145 /* 107 */ "#107 (unimplemented lstat)",
146 /* 108 */ "#108 (unimplemented fstat)",
147 /* 109 */ "olduname",
148 /* 110 */ "#110 (unimplemented iopl)",
149 /* 111 */ "#111 (unimplemented vhangup)",
150 /* 112 */ "#112 (unimplemented idle)",
151 /* 113 */ "#113 (unimplemented vm86old)",
152 /* 114 */ "wait4",
153 /* 115 */ "swapoff",
154 /* 116 */ "sysinfo",
155 /* 117 */ "ipc",
156 /* 118 */ "netbsd32_fsync",
157 /* 119 */ "sigreturn",
158 /* 120 */ "clone",
159 /* 121 */ "#121 (unimplemented setdomainname)",
160 /* 122 */ "uname",
161 /* 123 */ "#123 (unimplemented modify_ldt)",
162 /* 124 */ "#124 (unimplemented adjtimex)",
163 /* 125 */ "mprotect",
164 /* 126 */ "#126 (unimplemented sigprocmask)",
165 /* 127 */ "#127 (unimplemented create_module)",
166 /* 128 */ "#128 (unimplemented init_module)",
167 /* 129 */ "#129 (unimplemented delete_module)",
168 /* 130 */ "#130 (unimplemented get_kernel_syms)",
169 /* 131 */ "#131 (unimplemented quotactl)",
170 /* 132 */ "netbsd32_getpgid",
171 /* 133 */ "netbsd32_fchdir",
172 /* 134 */ "#134 (unimplemented bdflush)",
173 /* 135 */ "#135 (unimplemented sysfs)",
174 /* 136 */ "#136 (unimplemented personality)",
175 /* 137 */ "#137 (unimplemented afs_syscall)",
176 /* 138 */ "setfsuid16",
177 /* 139 */ "setfsgid16",
178 /* 140 */ "llseek",
179 /* 141 */ "getdents",
180 /* 142 */ "select",
181 /* 143 */ "netbsd32_flock",
182 /* 144 */ "netbsd32___msync13",
183 /* 145 */ "netbsd32_readv",
184 /* 146 */ "netbsd32_writev",
185 /* 147 */ "netbsd32_getsid",
186 /* 148 */ "fdatasync",
187 /* 149 */ "__sysctl",
188 /* 150 */ "netbsd32_mlock",
189 /* 151 */ "netbsd32_munlock",
190 /* 152 */ "netbsd32_mlockall",
191 /* 153 */ "munlockall",
192 /* 154 */ "#154 (unimplemented sched_setparam)",
193 /* 155 */ "sched_getparam",
194 /* 156 */ "sched_setscheduler",
195 /* 157 */ "sched_getscheduler",
196 /* 158 */ "sched_yield",
197 /* 159 */ "sched_get_priority_max",
198 /* 160 */ "sched_get_priority_min",
199 /* 161 */ "#161 (unimplemented sched_rr_get_interval)",
200 /* 162 */ "nanosleep",
201 /* 163 */ "mremap",
202 /* 164 */ "setresuid16",
203 /* 165 */ "getresuid16",
204 /* 166 */ "#166 (unimplemented vm86)",
205 /* 167 */ "#167 (unimplemented query_module)",
206 /* 168 */ "netbsd32_poll",
207 /* 169 */ "#169 (unimplemented nfsservctl)",
208 /* 170 */ "setresgid16",
209 /* 171 */ "getresgid16",
210 /* 172 */ "#172 (unimplemented prctl)",
211 /* 173 */ "rt_sigreturn",
212 /* 174 */ "rt_sigaction",
213 /* 175 */ "rt_sigprocmask",
214 /* 176 */ "rt_sigpending",
215 /* 177 */ "#177 (unimplemented rt_sigtimedwait)",
216 /* 178 */ "#178 (unimplemented rt_queueinfo)",
217 /* 179 */ "rt_sigsuspend",
218 /* 180 */ "pread",
219 /* 181 */ "pwrite",
220 /* 182 */ "chown16",
221 /* 183 */ "netbsd32___getcwd",
222 /* 184 */ "#184 (unimplemented capget)",
223 /* 185 */ "#185 (unimplemented capset)",
224 /* 186 */ "#186 (unimplemented sigaltstack)",
225 /* 187 */ "#187 (unimplemented sendfile)",
226 /* 188 */ "#188 (unimplemented getpmsg)",
227 /* 189 */ "#189 (unimplemented putpmsg)",
228 /* 190 */ "__vfork14",
229 /* 191 */ "ugetrlimit",
230 /* 192 */ "mmap2",
231 /* 193 */ "#193 (unimplemented truncate64)",
232 /* 194 */ "#194 (unimplemented ftruncate64)",
233 /* 195 */ "stat64",
234 /* 196 */ "lstat64",
235 /* 197 */ "fstat64",
236 /* 198 */ "netbsd32___posix_lchown",
237 /* 199 */ "getuid",
238 /* 200 */ "getgid",
239 /* 201 */ "geteuid",
240 /* 202 */ "getegid",
241 /* 203 */ "netbsd32_setreuid",
242 /* 204 */ "netbsd32_setregid",
243 /* 205 */ "netbsd32_getgroups",
244 /* 206 */ "netbsd32_setgroups",
245 /* 207 */ "netbsd32___posix_fchown",
246 /* 208 */ "setresuid",
247 /* 209 */ "getresuid",
248 /* 210 */ "setresgid",
249 /* 211 */ "getresgid",
250 /* 212 */ "netbsd32___posix_chown",
251 /* 213 */ "netbsd32_setuid",
252 /* 214 */ "netbsd32_setgid",
253 /* 215 */ "setfsuid",
254 /* 216 */ "setfsgid",
255 /* 217 */ "#217 (unimplemented pivot_root)",
256 /* 218 */ "#218 (unimplemented mincore)",
257 /* 219 */ "netbsd32_madvise",
258 /* 220 */ "getdents64",
259 #define linux32_sys_fcntl64 linux32_sys_fcntl
260 #define linux32_sys_fcntl64_args linux32_sys_fcntl_args
261 /* 221 */ "fcntl64",
262 /* 222 */ "#222 (unimplemented / * unused * /)",
263 /* 223 */ "#223 (unimplemented / * unused * /)",
264 /* 224 */ "gettid",
265 /* 225 */ "#225 (unimplemented readahead)",
266 /* 226 */ "#226 (unimplemented setxattr)",
267 /* 227 */ "#227 (unimplemented lsetxattr)",
268 /* 228 */ "#228 (unimplemented fsetxattr)",
269 /* 229 */ "#229 (unimplemented getxattr)",
270 /* 230 */ "#230 (unimplemented lgetxattr)",
271 /* 231 */ "#231 (unimplemented fgetxattr)",
272 /* 232 */ "#232 (unimplemented listxattr)",
273 /* 233 */ "#233 (unimplemented llistxattr)",
274 /* 234 */ "#234 (unimplemented flistxattr)",
275 /* 235 */ "#235 (unimplemented removexattr)",
276 /* 236 */ "#236 (unimplemented lremovexattr)",
277 /* 237 */ "#237 (unimplemented fremovexattr)",
278 /* 238 */ "#238 (unimplemented tkill)",
279 /* 239 */ "#239 (unimplemented sendfile64)",
280 /* 240 */ "#240 (unimplemented futex)",
281 /* 241 */ "#241 (unimplemented sched_setaffinity)",
282 /* 242 */ "#242 (unimplemented sched_getaffinity)",
283 /* 243 */ "#243 (unimplemented set_thread_area)",
284 /* 244 */ "#244 (unimplemented get_thread_area)",
285 /* 245 */ "#245 (unimplemented io_setup)",
286 /* 246 */ "#246 (unimplemented io_destroy)",
287 /* 247 */ "#247 (unimplemented io_getevents)",
288 /* 248 */ "#248 (unimplemented io_submit)",
289 /* 249 */ "#249 (unimplemented io_cancel)",
290 /* 250 */ "#250 (unimplemented fadvise64)",
291 /* 251 */ "#251 (unimplemented / * unused * /)",
292 /* 252 */ "exit_group",
293 /* 253 */ "#253 (unimplemented lookup_dcookie)",
294 /* 254 */ "#254 (unimplemented epoll_create)",
295 /* 255 */ "#255 (unimplemented epoll_ctl)",
296 /* 256 */ "#256 (unimplemented epoll_wait)",
297 /* 257 */ "#257 (unimplemented remap_file_pages)",
298 /* 258 */ "#258 (unimplemented set_tid_address)",
299 /* 259 */ "#259 (unimplemented timer_create)",
300 /* 260 */ "#260 (unimplemented timer_settime)",
301 /* 261 */ "#261 (unimplemented timer_gettime)",
302 /* 262 */ "#262 (unimplemented timer_getoverrun)",
303 /* 263 */ "#263 (unimplemented timer_delete)",
304 /* 264 */ "clock_settime",
305 /* 265 */ "clock_gettime",
306 /* 266 */ "clock_getres",
307 /* 267 */ "clock_nanosleep",
308 /* 268 */ "#268 (unimplemented statfs64)",
309 /* 269 */ "#269 (unimplemented fstatfs64)",
310 /* 270 */ "#270 (unimplemented tgkill)",
311 /* 271 */ "#271 (unimplemented utimes)",
312 /* 272 */ "#272 (unimplemented fadvise64_64)",
313 /* 273 */ "#273 (unimplemented vserver)",
314 /* 274 */ "#274 (unimplemented mbind)",
315 /* 275 */ "#275 (unimplemented get_mempolicy)",
316 /* 276 */ "#276 (unimplemented set_mempolicy)",
317 /* 277 */ "#277 (unimplemented mq_open)",
318 /* 278 */ "#278 (unimplemented mq_unlink)",
319 /* 279 */ "#279 (unimplemented mq_timedsend)",
320 /* 280 */ "#280 (unimplemented mq_timedreceive)",
321 /* 281 */ "#281 (unimplemented mq_notify)",
322 /* 282 */ "#282 (unimplemented mq_getsetattr)",
323 /* 283 */ "#283 (unimplemented kexec_load)",