linux_syscalls.c revision 1.111 1 1.60 njoly /* $NetBSD: linux_syscalls.c,v 1.111 2021/09/20 00:09:34 thorpej Exp $ */
2 1.1 itohy
3 1.1 itohy /*
4 1.1 itohy * System call names.
5 1.1 itohy *
6 1.1 itohy * DO NOT EDIT-- this file is automatically generated.
7 1.111 thorpej * created from NetBSD: syscalls.master,v 1.98 2021/09/20 00:09:01 thorpej Exp
8 1.1 itohy */
9 1.38 lukem
10 1.38 lukem #include <sys/cdefs.h>
11 1.60 njoly __KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.111 2021/09/20 00:09:34 thorpej Exp $");
12 1.1 itohy
13 1.37 mrg #if defined(_KERNEL_OPT)
14 1.37 mrg #if defined(_KERNEL_OPT)
15 1.1 itohy #include "opt_compat_netbsd.h"
16 1.1 itohy #include "opt_compat_43.h"
17 1.22 mycroft #endif
18 1.1 itohy #include <sys/param.h>
19 1.5 tron #include <sys/poll.h>
20 1.1 itohy #include <sys/systm.h>
21 1.1 itohy #include <sys/signal.h>
22 1.1 itohy #include <sys/mount.h>
23 1.67 tsutsui #include <sys/sched.h>
24 1.1 itohy #include <sys/syscallargs.h>
25 1.1 itohy #include <compat/linux/common/linux_types.h>
26 1.1 itohy #include <compat/linux/common/linux_signal.h>
27 1.1 itohy #include <compat/linux/common/linux_siginfo.h>
28 1.1 itohy #include <compat/linux/common/linux_machdep.h>
29 1.47 thorpej #include <compat/linux/common/linux_mmap.h>
30 1.1 itohy #include <compat/linux/linux_syscallargs.h>
31 1.100 martin #else /* _KERNEL_OPT */
32 1.100 martin #include <sys/null.h>
33 1.37 mrg #endif /* _KERNEL_OPT */
34 1.1 itohy
35 1.22 mycroft const char *const linux_syscallnames[] = {
36 1.60 njoly /* 0 */ "syscall",
37 1.60 njoly /* 1 */ "exit",
38 1.60 njoly /* 2 */ "fork",
39 1.60 njoly /* 3 */ "read",
40 1.60 njoly /* 4 */ "write",
41 1.60 njoly /* 5 */ "open",
42 1.60 njoly /* 6 */ "close",
43 1.60 njoly /* 7 */ "waitpid",
44 1.60 njoly /* 8 */ "creat",
45 1.60 njoly /* 9 */ "link",
46 1.60 njoly /* 10 */ "unlink",
47 1.60 njoly /* 11 */ "execve",
48 1.60 njoly /* 12 */ "chdir",
49 1.60 njoly /* 13 */ "time",
50 1.60 njoly /* 14 */ "mknod",
51 1.60 njoly /* 15 */ "chmod",
52 1.60 njoly /* 16 */ "chown16",
53 1.60 njoly /* 17 */ "#17 (obsolete break)",
54 1.60 njoly /* 18 */ "#18 (obsolete ostat)",
55 1.1 itohy #if !defined(_KERNEL) || defined(COMPAT_43)
56 1.60 njoly /* 19 */ "lseek",
57 1.1 itohy #else
58 1.60 njoly /* 19 */ "#19 (unimplemented compat_43_sys_lseek)",
59 1.1 itohy #endif
60 1.60 njoly /* 20 */ "getpid",
61 1.60 njoly /* 21 */ "#21 (unimplemented mount)",
62 1.60 njoly /* 22 */ "#22 (obsolete umount)",
63 1.60 njoly /* 23 */ "linux_setuid16",
64 1.60 njoly /* 24 */ "linux_getuid16",
65 1.60 njoly /* 25 */ "stime",
66 1.60 njoly /* 26 */ "ptrace",
67 1.60 njoly /* 27 */ "alarm",
68 1.60 njoly /* 28 */ "#28 (obsolete ofstat)",
69 1.60 njoly /* 29 */ "pause",
70 1.60 njoly /* 30 */ "utime",
71 1.60 njoly /* 31 */ "#31 (obsolete stty)",
72 1.60 njoly /* 32 */ "#32 (obsolete gtty)",
73 1.60 njoly /* 33 */ "access",
74 1.60 njoly /* 34 */ "nice",
75 1.60 njoly /* 35 */ "#35 (obsolete ftime)",
76 1.60 njoly /* 36 */ "sync",
77 1.60 njoly /* 37 */ "kill",
78 1.60 njoly /* 38 */ "__posix_rename",
79 1.60 njoly /* 39 */ "mkdir",
80 1.60 njoly /* 40 */ "rmdir",
81 1.60 njoly /* 41 */ "dup",
82 1.60 njoly /* 42 */ "pipe",
83 1.60 njoly /* 43 */ "times",
84 1.60 njoly /* 44 */ "#44 (obsolete prof)",
85 1.60 njoly /* 45 */ "brk",
86 1.60 njoly /* 46 */ "linux_setgid16",
87 1.60 njoly /* 47 */ "linux_getgid16",
88 1.60 njoly /* 48 */ "signal",
89 1.60 njoly /* 49 */ "linux_geteuid16",
90 1.60 njoly /* 50 */ "linux_getegid16",
91 1.60 njoly /* 51 */ "acct",
92 1.60 njoly /* 52 */ "#52 (unimplemented umount)",
93 1.60 njoly /* 53 */ "#53 (obsolete lock)",
94 1.60 njoly /* 54 */ "ioctl",
95 1.60 njoly /* 55 */ "fcntl",
96 1.60 njoly /* 56 */ "#56 (obsolete mpx)",
97 1.60 njoly /* 57 */ "setpgid",
98 1.60 njoly /* 58 */ "#58 (obsolete ulimit)",
99 1.60 njoly /* 59 */ "#59 (unimplemented oldolduname)",
100 1.60 njoly /* 60 */ "umask",
101 1.60 njoly /* 61 */ "chroot",
102 1.60 njoly /* 62 */ "#62 (unimplemented ustat)",
103 1.60 njoly /* 63 */ "dup2",
104 1.60 njoly /* 64 */ "getppid",
105 1.60 njoly /* 65 */ "getpgrp",
106 1.60 njoly /* 66 */ "setsid",
107 1.60 njoly /* 67 */ "sigaction",
108 1.60 njoly /* 68 */ "siggetmask",
109 1.60 njoly /* 69 */ "sigsetmask",
110 1.60 njoly /* 70 */ "setreuid16",
111 1.60 njoly /* 71 */ "setregid16",
112 1.60 njoly /* 72 */ "sigsuspend",
113 1.60 njoly /* 73 */ "sigpending",
114 1.1 itohy #if !defined(_KERNEL) || defined(COMPAT_43)
115 1.60 njoly /* 74 */ "sethostname",
116 1.1 itohy #else
117 1.60 njoly /* 74 */ "#74 (unimplemented compat_43_sys_sethostname)",
118 1.1 itohy #endif
119 1.60 njoly /* 75 */ "setrlimit",
120 1.60 njoly /* 76 */ "getrlimit",
121 1.60 njoly /* 77 */ "getrusage",
122 1.60 njoly /* 78 */ "gettimeofday",
123 1.60 njoly /* 79 */ "settimeofday",
124 1.60 njoly /* 80 */ "getgroups16",
125 1.60 njoly /* 81 */ "setgroups16",
126 1.60 njoly /* 82 */ "oldselect",
127 1.60 njoly /* 83 */ "symlink",
128 1.1 itohy #if !defined(_KERNEL) || defined(COMPAT_43)
129 1.60 njoly /* 84 */ "oolstat",
130 1.1 itohy #else
131 1.60 njoly /* 84 */ "#84 (unimplemented compat_43_sys_lstat)",
132 1.1 itohy #endif
133 1.60 njoly /* 85 */ "readlink",
134 1.53 joerg #ifdef EXEC_AOUT
135 1.60 njoly /* 86 */ "uselib",
136 1.53 joerg #else
137 1.60 njoly /* 86 */ "#86 (unimplemented sys_uselib)",
138 1.53 joerg #endif
139 1.60 njoly /* 87 */ "swapon",
140 1.60 njoly /* 88 */ "reboot",
141 1.60 njoly /* 89 */ "readdir",
142 1.60 njoly /* 90 */ "old_mmap",
143 1.60 njoly /* 91 */ "munmap",
144 1.60 njoly /* 92 */ "truncate",
145 1.1 itohy #if !defined(_KERNEL) || defined(COMPAT_43)
146 1.60 njoly /* 93 */ "ftruncate",
147 1.1 itohy #else
148 1.60 njoly /* 93 */ "#93 (unimplemented compat_43_sys_ftruncate)",
149 1.1 itohy #endif
150 1.60 njoly /* 94 */ "fchmod",
151 1.60 njoly /* 95 */ "fchown16",
152 1.60 njoly /* 96 */ "getpriority",
153 1.60 njoly /* 97 */ "setpriority",
154 1.60 njoly /* 98 */ "profil",
155 1.60 njoly /* 99 */ "statfs",
156 1.60 njoly /* 100 */ "fstatfs",
157 1.60 njoly /* 101 */ "#101 (unimplemented ioperm)",
158 1.60 njoly /* 102 */ "socketcall",
159 1.60 njoly /* 103 */ "#103 (unimplemented syslog)",
160 1.60 njoly /* 104 */ "setitimer",
161 1.60 njoly /* 105 */ "getitimer",
162 1.60 njoly /* 106 */ "stat",
163 1.60 njoly /* 107 */ "lstat",
164 1.60 njoly /* 108 */ "fstat",
165 1.60 njoly /* 109 */ "#109 (unimplemented olduname)",
166 1.60 njoly /* 110 */ "#110 (unimplemented iopl)",
167 1.60 njoly /* 111 */ "#111 (unimplemented vhangup)",
168 1.60 njoly /* 112 */ "#112 (unimplemented idle)",
169 1.60 njoly /* 113 */ "#113 (unimplemented vm86old)",
170 1.60 njoly /* 114 */ "wait4",
171 1.60 njoly /* 115 */ "swapoff",
172 1.60 njoly /* 116 */ "sysinfo",
173 1.60 njoly /* 117 */ "ipc",
174 1.60 njoly /* 118 */ "fsync",
175 1.60 njoly /* 119 */ "sigreturn",
176 1.60 njoly /* 120 */ "clone",
177 1.60 njoly /* 121 */ "setdomainname",
178 1.60 njoly /* 122 */ "uname",
179 1.60 njoly /* 123 */ "cacheflush",
180 1.60 njoly /* 124 */ "#124 (unimplemented adjtimex)",
181 1.60 njoly /* 125 */ "mprotect",
182 1.60 njoly /* 126 */ "sigprocmask",
183 1.60 njoly /* 127 */ "#127 (unimplemented create_module)",
184 1.60 njoly /* 128 */ "#128 (unimplemented init_module)",
185 1.60 njoly /* 129 */ "#129 (unimplemented delete_module)",
186 1.60 njoly /* 130 */ "#130 (unimplemented get_kernel_syms)",
187 1.60 njoly /* 131 */ "#131 (unimplemented quotactl)",
188 1.60 njoly /* 132 */ "getpgid",
189 1.60 njoly /* 133 */ "fchdir",
190 1.60 njoly /* 134 */ "#134 (unimplemented bdflush)",
191 1.60 njoly /* 135 */ "#135 (unimplemented sysfs)",
192 1.60 njoly /* 136 */ "personality",
193 1.60 njoly /* 137 */ "#137 (unimplemented afs_syscall)",
194 1.60 njoly /* 138 */ "linux_setfsuid16",
195 1.62 njoly /* 139 */ "linux_setfsgid16",
196 1.60 njoly /* 140 */ "llseek",
197 1.60 njoly /* 141 */ "getdents",
198 1.60 njoly /* 142 */ "select",
199 1.60 njoly /* 143 */ "flock",
200 1.65 njoly /* 144 */ "__msync13",
201 1.60 njoly /* 145 */ "readv",
202 1.60 njoly /* 146 */ "writev",
203 1.60 njoly /* 147 */ "getsid",
204 1.60 njoly /* 148 */ "fdatasync",
205 1.60 njoly /* 149 */ "__sysctl",
206 1.60 njoly /* 150 */ "mlock",
207 1.60 njoly /* 151 */ "munlock",
208 1.60 njoly /* 152 */ "mlockall",
209 1.60 njoly /* 153 */ "munlockall",
210 1.60 njoly /* 154 */ "sched_setparam",
211 1.60 njoly /* 155 */ "sched_getparam",
212 1.60 njoly /* 156 */ "sched_setscheduler",
213 1.60 njoly /* 157 */ "sched_getscheduler",
214 1.60 njoly /* 158 */ "sched_yield",
215 1.60 njoly /* 159 */ "sched_get_priority_max",
216 1.60 njoly /* 160 */ "sched_get_priority_min",
217 1.60 njoly /* 161 */ "#161 (unimplemented sched_rr_get_interval)",
218 1.60 njoly /* 162 */ "nanosleep",
219 1.60 njoly /* 163 */ "mremap",
220 1.60 njoly /* 164 */ "setresuid16",
221 1.64 njoly /* 165 */ "getresuid16",
222 1.60 njoly /* 166 */ "#166 (unimplemented vm86)",
223 1.60 njoly /* 167 */ "#167 (unimplemented query_module)",
224 1.60 njoly /* 168 */ "poll",
225 1.60 njoly /* 169 */ "#169 (unimplemented nfsservctl)",
226 1.60 njoly /* 170 */ "setresgid16",
227 1.64 njoly /* 171 */ "getresgid16",
228 1.60 njoly /* 172 */ "#172 (unimplemented prctl)",
229 1.60 njoly /* 173 */ "rt_sigreturn",
230 1.60 njoly /* 174 */ "rt_sigaction",
231 1.60 njoly /* 175 */ "rt_sigprocmask",
232 1.60 njoly /* 176 */ "rt_sigpending",
233 1.79 christos /* 177 */ "rt_sigtimedwait",
234 1.60 njoly /* 178 */ "rt_queueinfo",
235 1.60 njoly /* 179 */ "rt_sigsuspend",
236 1.60 njoly /* 180 */ "pread",
237 1.60 njoly /* 181 */ "pwrite",
238 1.60 njoly /* 182 */ "lchown16",
239 1.60 njoly /* 183 */ "__getcwd",
240 1.60 njoly /* 184 */ "#184 (unimplemented capget)",
241 1.60 njoly /* 185 */ "#185 (unimplemented capset)",
242 1.60 njoly /* 186 */ "sigaltstack",
243 1.60 njoly /* 187 */ "#187 (unimplemented sendfile)",
244 1.60 njoly /* 188 */ "#188 (unimplemented getpmsg)",
245 1.60 njoly /* 189 */ "#189 (unimplemented putpmsg)",
246 1.60 njoly /* 190 */ "__vfork14",
247 1.60 njoly /* 191 */ "ugetrlimit",
248 1.61 dsl #define linux_sys_mmap2_args linux_sys_mmap_args
249 1.60 njoly /* 192 */ "mmap2",
250 1.60 njoly /* 193 */ "truncate64",
251 1.60 njoly /* 194 */ "ftruncate64",
252 1.60 njoly /* 195 */ "stat64",
253 1.60 njoly /* 196 */ "lstat64",
254 1.60 njoly /* 197 */ "fstat64",
255 1.60 njoly /* 198 */ "__posix_chown",
256 1.60 njoly /* 199 */ "getuid",
257 1.60 njoly /* 200 */ "getgid",
258 1.60 njoly /* 201 */ "geteuid",
259 1.60 njoly /* 202 */ "getegid",
260 1.60 njoly /* 203 */ "setreuid",
261 1.60 njoly /* 204 */ "setregid",
262 1.60 njoly /* 205 */ "getgroups",
263 1.60 njoly /* 206 */ "setgroups",
264 1.60 njoly /* 207 */ "__posix_fchown",
265 1.60 njoly /* 208 */ "setresuid",
266 1.60 njoly /* 209 */ "getresuid",
267 1.60 njoly /* 210 */ "setresgid",
268 1.60 njoly /* 211 */ "getresgid",
269 1.60 njoly /* 212 */ "__posix_lchown",
270 1.60 njoly /* 213 */ "setuid",
271 1.60 njoly /* 214 */ "setgid",
272 1.60 njoly /* 215 */ "setfsuid",
273 1.62 njoly /* 216 */ "setfsgid",
274 1.60 njoly /* 217 */ "#217 (unimplemented / * unused * /)",
275 1.60 njoly /* 218 */ "#218 (unimplemented / * unused * /)",
276 1.60 njoly /* 219 */ "#219 (unimplemented / * unused * /)",
277 1.60 njoly /* 220 */ "getdents64",
278 1.75 chs /* 221 */ "gettid",
279 1.75 chs /* 222 */ "tkill",
280 1.60 njoly /* 223 */ "setxattr",
281 1.60 njoly /* 224 */ "lsetxattr",
282 1.60 njoly /* 225 */ "fsetxattr",
283 1.60 njoly /* 226 */ "getxattr",
284 1.60 njoly /* 227 */ "lgetxattr",
285 1.60 njoly /* 228 */ "fgetxattr",
286 1.60 njoly /* 229 */ "listxattr",
287 1.60 njoly /* 230 */ "llistxattr",
288 1.60 njoly /* 231 */ "flistxattr",
289 1.60 njoly /* 232 */ "removexattr",
290 1.60 njoly /* 233 */ "lremovexattr",
291 1.60 njoly /* 234 */ "fremovexattr",
292 1.75 chs /* 235 */ "futex",
293 1.60 njoly /* 236 */ "#236 (unimplemented sendfile64)",
294 1.87 njoly /* 237 */ "mincore",
295 1.87 njoly /* 238 */ "madvise",
296 1.86 njoly /* 239 */ "fcntl64",
297 1.60 njoly /* 240 */ "#240 (unimplemented readahead)",
298 1.60 njoly /* 241 */ "#241 (unimplemented io_setup)",
299 1.60 njoly /* 242 */ "#242 (unimplemented io_destroy)",
300 1.60 njoly /* 243 */ "#243 (unimplemented io_getevents)",
301 1.60 njoly /* 244 */ "#244 (unimplemented io_submit)",
302 1.60 njoly /* 245 */ "#245 (unimplemented io_cancel)",
303 1.77 alnsn /* 246 */ "fadvise64",
304 1.60 njoly /* 247 */ "#247 (unimplemented exit_group)",
305 1.60 njoly /* 248 */ "#248 (unimplemented lookup_dcookie)",
306 1.60 njoly /* 249 */ "#249 (unimplemented epoll_create)",
307 1.60 njoly /* 250 */ "#250 (unimplemented epoll_ctl)",
308 1.60 njoly /* 251 */ "#251 (unimplemented epoll_wait)",
309 1.60 njoly /* 252 */ "#252 (unimplemented remap_file_pages)",
310 1.75 chs /* 253 */ "set_tid_address",
311 1.109 thorpej /* 254 */ "timer_create",
312 1.109 thorpej /* 255 */ "timer_settime",
313 1.109 thorpej /* 256 */ "timer_gettime",
314 1.109 thorpej /* 257 */ "timer_getoverrun",
315 1.109 thorpej /* 258 */ "timer_delete",
316 1.60 njoly /* 259 */ "clock_settime",
317 1.60 njoly /* 260 */ "clock_gettime",
318 1.60 njoly /* 261 */ "clock_getres",
319 1.60 njoly /* 262 */ "clock_nanosleep",
320 1.75 chs /* 263 */ "statfs64",
321 1.75 chs /* 264 */ "fstatfs64",
322 1.75 chs /* 265 */ "tgkill",
323 1.81 pooka /* 266 */ "utimes",
324 1.77 alnsn /* 267 */ "fadvise64_64",
325 1.75 chs /* 268 */ "#268 (unimplemented mbind)",
326 1.75 chs /* 269 */ "#269 (unimplemented get_mempolicy)",
327 1.75 chs /* 270 */ "#270 (unimplemented set_mempolicy)",
328 1.75 chs /* 271 */ "#271 (unimplemented mq_open)",
329 1.75 chs /* 272 */ "#272 (unimplemented mq_unlink)",
330 1.75 chs /* 273 */ "#273 (unimplemented mq_timedsend)",
331 1.75 chs /* 274 */ "#274 (unimplemented mq_timedreceive)",
332 1.75 chs /* 275 */ "#275 (unimplemented mq_notify)",
333 1.75 chs /* 276 */ "#276 (unimplemented mq_getsetattr)",
334 1.75 chs /* 277 */ "#277 (unimplemented waitid)",
335 1.75 chs /* 278 */ "#278 (unimplemented vserver)",
336 1.75 chs /* 279 */ "#279 (unimplemented add_key)",
337 1.75 chs /* 280 */ "#280 (unimplemented request_key)",
338 1.75 chs /* 281 */ "#281 (unimplemented keyctl)",
339 1.75 chs /* 282 */ "#282 (unimplemented ioprio_set)",
340 1.75 chs /* 283 */ "#283 (unimplemented ioprio_get)",
341 1.75 chs /* 284 */ "#284 (unimplemented inotify_init)",
342 1.75 chs /* 285 */ "#285 (unimplemented inotify_add_watch)",
343 1.75 chs /* 286 */ "#286 (unimplemented inotify_rm_watch)",
344 1.75 chs /* 287 */ "#287 (unimplemented migrate_pages)",
345 1.84 chs /* 288 */ "openat",
346 1.84 chs /* 289 */ "mkdirat",
347 1.84 chs /* 290 */ "mknodat",
348 1.84 chs /* 291 */ "fchownat",
349 1.75 chs /* 292 */ "#292 (unimplemented futimesat)",
350 1.84 chs /* 293 */ "fstatat64",
351 1.84 chs /* 294 */ "unlinkat",
352 1.84 chs /* 295 */ "renameat",
353 1.84 chs /* 296 */ "linkat",
354 1.84 chs /* 297 */ "symlinkat",
355 1.84 chs /* 298 */ "readlinkat",
356 1.84 chs /* 299 */ "fchmodat",
357 1.84 chs /* 300 */ "faccessat",
358 1.99 manu /* 301 */ "pselect6",
359 1.80 pooka /* 302 */ "ppoll",
360 1.75 chs /* 303 */ "#303 (unimplemented unshare)",
361 1.108 thorpej /* 304 */ "__futex_set_robust_list",
362 1.108 thorpej /* 305 */ "__futex_get_robust_list",
363 1.75 chs /* 306 */ "#306 (unimplemented splice)",
364 1.75 chs /* 307 */ "#307 (unimplemented sync_file_range)",
365 1.75 chs /* 308 */ "#308 (unimplemented tee)",
366 1.75 chs /* 309 */ "#309 (unimplemented vmsplice)",
367 1.75 chs /* 310 */ "#310 (unimplemented move_pages)",
368 1.75 chs /* 311 */ "sched_setaffinity",
369 1.75 chs /* 312 */ "sched_getaffinity",
370 1.75 chs /* 313 */ "#313 (unimplemented kexec_load)",
371 1.75 chs /* 314 */ "#314 (unimplemented getcpu)",
372 1.75 chs /* 315 */ "#315 (unimplemented epoll_wait)",
373 1.82 njoly /* 316 */ "utimensat",
374 1.75 chs /* 317 */ "#317 (unimplemented signalfd)",
375 1.110 thorpej /* 318 */ "timerfd_create",
376 1.111 thorpej /* 319 */ "eventfd",
377 1.107 jdolecek /* 320 */ "fallocate",
378 1.110 thorpej /* 321 */ "timerfd_settime",
379 1.110 thorpej /* 322 */ "timerfd_gettime",
380 1.75 chs /* 323 */ "#323 (unimplemented signalfd4)",
381 1.111 thorpej /* 324 */ "eventfd2",
382 1.75 chs /* 325 */ "#325 (unimplemented epoll_create1)",
383 1.76 he /* 326 */ "dup3",
384 1.76 he /* 327 */ "pipe2",
385 1.75 chs /* 328 */ "#328 (unimplemented inotify_init1)",
386 1.75 chs /* 329 */ "#329 (unimplemented preadv)",
387 1.75 chs /* 330 */ "#330 (unimplemented pwritev)",
388 1.75 chs /* 331 */ "#331 (unimplemented rt_tgsigqueueinfo)",
389 1.75 chs /* 332 */ "#332 (unimplemented perf_counter_open)",
390 1.75 chs /* 333 */ "#333 (unimplemented set_thread_area)",
391 1.75 chs /* 334 */ "#334 (unimplemented get_thread_area)",
392 1.75 chs /* 335 */ "#335 (unimplemented atomic_cmpxchg_32)",
393 1.75 chs /* 336 */ "#336 (unimplemented atomic_barrier)",
394 1.104 christos /* 337 */ "#337 (unimplemented fanotify_init)",
395 1.104 christos /* 338 */ "#338 (unimplemented fanotify_mark)",
396 1.104 christos /* 339 */ "#339 (unimplemented prlimit64)",
397 1.104 christos /* 340 */ "#340 (unimplemented name_to_handle_at)",
398 1.104 christos /* 341 */ "#341 (unimplemented open_by_handle_at)",
399 1.104 christos /* 342 */ "#342 (unimplemented clock_adjtime)",
400 1.104 christos /* 343 */ "#343 (unimplemented syncfs)",
401 1.104 christos /* 344 */ "#344 (unimplemented setns)",
402 1.104 christos /* 345 */ "#345 (unimplemented process_vm_readv)",
403 1.104 christos /* 346 */ "#346 (unimplemented process_vm_writev)",
404 1.104 christos /* 347 */ "#347 (unimplemented kcmp)",
405 1.104 christos /* 348 */ "#348 (unimplemented finit_module)",
406 1.104 christos /* 349 */ "#349 (unimplemented sched_setattr)",
407 1.104 christos /* 350 */ "#350 (unimplemented sched_getattr)",
408 1.104 christos /* 351 */ "#351 (unimplemented renameat2)",
409 1.104 christos /* 352 */ "#352 (unimplemented getrandom)",
410 1.104 christos /* 353 */ "#353 (unimplemented memfd_create)",
411 1.104 christos /* 354 */ "#354 (unimplemented bpf)",
412 1.104 christos /* 355 */ "#355 (unimplemented execveat)",
413 1.104 christos /* 356 */ "#356 (unimplemented socket)",
414 1.104 christos /* 357 */ "#357 (unimplemented socketpair)",
415 1.104 christos /* 358 */ "#358 (unimplemented bind)",
416 1.104 christos /* 359 */ "#359 (unimplemented connect)",
417 1.104 christos /* 360 */ "#360 (unimplemented listen)",
418 1.103 martin /* 361 */ "accept4",
419 1.104 christos /* 362 */ "#362 (unimplemented getsockopt)",
420 1.104 christos /* 363 */ "#363 (unimplemented setsockopt)",
421 1.104 christos /* 364 */ "#364 (unimplemented getsockname)",
422 1.104 christos /* 365 */ "#365 (unimplemented getpeername)",
423 1.104 christos /* 366 */ "#366 (unimplemented sendto)",
424 1.104 christos /* 367 */ "#367 (unimplemented sendmsg)",
425 1.104 christos /* 368 */ "#368 (unimplemented recvfrom)",
426 1.104 christos /* 369 */ "#369 (unimplemented recvmsg)",
427 1.104 christos /* 370 */ "#370 (unimplemented shutdown)",
428 1.104 christos /* 371 */ "recvmmsg",
429 1.104 christos /* 372 */ "sendmmsg",
430 1.104 christos /* 373 */ "#373 (unimplemented userfaultfd)",
431 1.104 christos /* 374 */ "#374 (unimplemented membarrier)",
432 1.104 christos /* 375 */ "#375 (unimplemented mlock2)",
433 1.104 christos /* 376 */ "#376 (unimplemented copy_file_range)",
434 1.104 christos /* 377 */ "#377 (unimplemented preadv2)",
435 1.104 christos /* 378 */ "#378 (unimplemented pwritev2)",
436 1.76 he /* 379 */ "# filler",
437 1.76 he /* 380 */ "# filler",
438 1.76 he /* 381 */ "# filler",
439 1.76 he /* 382 */ "# filler",
440 1.76 he /* 383 */ "# filler",
441 1.76 he /* 384 */ "# filler",
442 1.76 he /* 385 */ "# filler",
443 1.76 he /* 386 */ "# filler",
444 1.76 he /* 387 */ "# filler",
445 1.76 he /* 388 */ "# filler",
446 1.76 he /* 389 */ "# filler",
447 1.76 he /* 390 */ "# filler",
448 1.76 he /* 391 */ "# filler",
449 1.76 he /* 392 */ "# filler",
450 1.76 he /* 393 */ "# filler",
451 1.76 he /* 394 */ "# filler",
452 1.76 he /* 395 */ "# filler",
453 1.76 he /* 396 */ "# filler",
454 1.76 he /* 397 */ "# filler",
455 1.76 he /* 398 */ "# filler",
456 1.76 he /* 399 */ "# filler",
457 1.76 he /* 400 */ "# filler",
458 1.76 he /* 401 */ "# filler",
459 1.76 he /* 402 */ "# filler",
460 1.76 he /* 403 */ "# filler",
461 1.76 he /* 404 */ "# filler",
462 1.76 he /* 405 */ "# filler",
463 1.76 he /* 406 */ "# filler",
464 1.76 he /* 407 */ "# filler",
465 1.76 he /* 408 */ "# filler",
466 1.76 he /* 409 */ "# filler",
467 1.76 he /* 410 */ "# filler",
468 1.76 he /* 411 */ "# filler",
469 1.76 he /* 412 */ "# filler",
470 1.76 he /* 413 */ "# filler",
471 1.76 he /* 414 */ "# filler",
472 1.76 he /* 415 */ "# filler",
473 1.76 he /* 416 */ "# filler",
474 1.76 he /* 417 */ "# filler",
475 1.76 he /* 418 */ "# filler",
476 1.76 he /* 419 */ "# filler",
477 1.76 he /* 420 */ "# filler",
478 1.76 he /* 421 */ "# filler",
479 1.76 he /* 422 */ "# filler",
480 1.76 he /* 423 */ "# filler",
481 1.76 he /* 424 */ "# filler",
482 1.76 he /* 425 */ "# filler",
483 1.76 he /* 426 */ "# filler",
484 1.76 he /* 427 */ "# filler",
485 1.76 he /* 428 */ "# filler",
486 1.76 he /* 429 */ "# filler",
487 1.76 he /* 430 */ "# filler",
488 1.76 he /* 431 */ "# filler",
489 1.76 he /* 432 */ "# filler",
490 1.76 he /* 433 */ "# filler",
491 1.76 he /* 434 */ "# filler",
492 1.76 he /* 435 */ "# filler",
493 1.76 he /* 436 */ "# filler",
494 1.76 he /* 437 */ "# filler",
495 1.76 he /* 438 */ "# filler",
496 1.76 he /* 439 */ "# filler",
497 1.76 he /* 440 */ "# filler",
498 1.76 he /* 441 */ "# filler",
499 1.76 he /* 442 */ "# filler",
500 1.76 he /* 443 */ "# filler",
501 1.76 he /* 444 */ "# filler",
502 1.76 he /* 445 */ "# filler",
503 1.76 he /* 446 */ "# filler",
504 1.76 he /* 447 */ "# filler",
505 1.76 he /* 448 */ "# filler",
506 1.76 he /* 449 */ "# filler",
507 1.76 he /* 450 */ "# filler",
508 1.76 he /* 451 */ "# filler",
509 1.76 he /* 452 */ "# filler",
510 1.76 he /* 453 */ "# filler",
511 1.76 he /* 454 */ "# filler",
512 1.76 he /* 455 */ "# filler",
513 1.76 he /* 456 */ "# filler",
514 1.76 he /* 457 */ "# filler",
515 1.76 he /* 458 */ "# filler",
516 1.76 he /* 459 */ "# filler",
517 1.76 he /* 460 */ "# filler",
518 1.76 he /* 461 */ "# filler",
519 1.76 he /* 462 */ "# filler",
520 1.76 he /* 463 */ "# filler",
521 1.76 he /* 464 */ "# filler",
522 1.76 he /* 465 */ "# filler",
523 1.76 he /* 466 */ "# filler",
524 1.76 he /* 467 */ "# filler",
525 1.76 he /* 468 */ "# filler",
526 1.76 he /* 469 */ "# filler",
527 1.76 he /* 470 */ "# filler",
528 1.76 he /* 471 */ "# filler",
529 1.76 he /* 472 */ "# filler",
530 1.76 he /* 473 */ "# filler",
531 1.76 he /* 474 */ "# filler",
532 1.76 he /* 475 */ "# filler",
533 1.76 he /* 476 */ "# filler",
534 1.76 he /* 477 */ "# filler",
535 1.76 he /* 478 */ "# filler",
536 1.76 he /* 479 */ "# filler",
537 1.76 he /* 480 */ "# filler",
538 1.76 he /* 481 */ "# filler",
539 1.76 he /* 482 */ "# filler",
540 1.76 he /* 483 */ "# filler",
541 1.76 he /* 484 */ "# filler",
542 1.76 he /* 485 */ "# filler",
543 1.76 he /* 486 */ "# filler",
544 1.76 he /* 487 */ "# filler",
545 1.76 he /* 488 */ "# filler",
546 1.76 he /* 489 */ "# filler",
547 1.76 he /* 490 */ "# filler",
548 1.76 he /* 491 */ "# filler",
549 1.76 he /* 492 */ "# filler",
550 1.76 he /* 493 */ "# filler",
551 1.76 he /* 494 */ "# filler",
552 1.76 he /* 495 */ "# filler",
553 1.76 he /* 496 */ "# filler",
554 1.76 he /* 497 */ "# filler",
555 1.76 he /* 498 */ "# filler",
556 1.76 he /* 499 */ "# filler",
557 1.76 he /* 500 */ "# filler",
558 1.76 he /* 501 */ "# filler",
559 1.76 he /* 502 */ "# filler",
560 1.76 he /* 503 */ "# filler",
561 1.76 he /* 504 */ "# filler",
562 1.76 he /* 505 */ "# filler",
563 1.76 he /* 506 */ "# filler",
564 1.76 he /* 507 */ "# filler",
565 1.76 he /* 508 */ "# filler",
566 1.76 he /* 509 */ "# filler",
567 1.76 he /* 510 */ "# filler",
568 1.76 he /* 511 */ "# filler",
569 1.1 itohy };
570 1.100 martin
571 1.100 martin
572 1.100 martin /* libc style syscall names */
573 1.100 martin const char *const altlinux_syscallnames[] = {
574 1.100 martin /* 0 */ "nosys",
575 1.100 martin /* 1 */ NULL, /* exit */
576 1.100 martin /* 2 */ NULL, /* fork */
577 1.100 martin /* 3 */ NULL, /* read */
578 1.100 martin /* 4 */ NULL, /* write */
579 1.100 martin /* 5 */ NULL, /* open */
580 1.100 martin /* 6 */ NULL, /* close */
581 1.100 martin /* 7 */ NULL, /* waitpid */
582 1.100 martin /* 8 */ NULL, /* creat */
583 1.100 martin /* 9 */ NULL, /* link */
584 1.100 martin /* 10 */ NULL, /* unlink */
585 1.100 martin /* 11 */ NULL, /* execve */
586 1.100 martin /* 12 */ NULL, /* chdir */
587 1.100 martin /* 13 */ NULL, /* time */
588 1.100 martin /* 14 */ NULL, /* mknod */
589 1.100 martin /* 15 */ NULL, /* chmod */
590 1.100 martin /* 16 */ NULL, /* chown16 */
591 1.100 martin /* 17 */ NULL, /* obsolete break */
592 1.100 martin /* 18 */ NULL, /* obsolete ostat */
593 1.100 martin #if !defined(_KERNEL) || defined(COMPAT_43)
594 1.100 martin /* 19 */ NULL, /* lseek */
595 1.100 martin #else
596 1.100 martin /* 19 */ NULL, /* unimplemented compat_43_sys_lseek */
597 1.100 martin #endif
598 1.100 martin /* 20 */ NULL, /* getpid */
599 1.100 martin /* 21 */ NULL, /* unimplemented mount */
600 1.100 martin /* 22 */ NULL, /* obsolete umount */
601 1.100 martin /* 23 */ "setuid",
602 1.100 martin /* 24 */ "getuid",
603 1.100 martin /* 25 */ NULL, /* stime */
604 1.100 martin /* 26 */ NULL, /* ptrace */
605 1.100 martin /* 27 */ NULL, /* alarm */
606 1.100 martin /* 28 */ NULL, /* obsolete ofstat */
607 1.100 martin /* 29 */ NULL, /* pause */
608 1.100 martin /* 30 */ NULL, /* utime */
609 1.100 martin /* 31 */ NULL, /* obsolete stty */
610 1.100 martin /* 32 */ NULL, /* obsolete gtty */
611 1.100 martin /* 33 */ NULL, /* access */
612 1.100 martin /* 34 */ NULL, /* nice */
613 1.100 martin /* 35 */ NULL, /* obsolete ftime */
614 1.100 martin /* 36 */ NULL, /* sync */
615 1.100 martin /* 37 */ NULL, /* kill */
616 1.100 martin /* 38 */ NULL, /* __posix_rename */
617 1.100 martin /* 39 */ NULL, /* mkdir */
618 1.100 martin /* 40 */ NULL, /* rmdir */
619 1.100 martin /* 41 */ NULL, /* dup */
620 1.100 martin /* 42 */ NULL, /* pipe */
621 1.100 martin /* 43 */ NULL, /* times */
622 1.100 martin /* 44 */ NULL, /* obsolete prof */
623 1.100 martin /* 45 */ NULL, /* brk */
624 1.100 martin /* 46 */ "setgid",
625 1.100 martin /* 47 */ "getgid",
626 1.100 martin /* 48 */ NULL, /* signal */
627 1.100 martin /* 49 */ "geteuid",
628 1.100 martin /* 50 */ "getegid",
629 1.100 martin /* 51 */ NULL, /* acct */
630 1.100 martin /* 52 */ NULL, /* unimplemented umount */
631 1.100 martin /* 53 */ NULL, /* obsolete lock */
632 1.100 martin /* 54 */ NULL, /* ioctl */
633 1.100 martin /* 55 */ NULL, /* fcntl */
634 1.100 martin /* 56 */ NULL, /* obsolete mpx */
635 1.100 martin /* 57 */ NULL, /* setpgid */
636 1.100 martin /* 58 */ NULL, /* obsolete ulimit */
637 1.100 martin /* 59 */ NULL, /* unimplemented oldolduname */
638 1.100 martin /* 60 */ NULL, /* umask */
639 1.100 martin /* 61 */ NULL, /* chroot */
640 1.100 martin /* 62 */ NULL, /* unimplemented ustat */
641 1.100 martin /* 63 */ NULL, /* dup2 */
642 1.100 martin /* 64 */ NULL, /* getppid */
643 1.100 martin /* 65 */ NULL, /* getpgrp */
644 1.100 martin /* 66 */ NULL, /* setsid */
645 1.100 martin /* 67 */ NULL, /* sigaction */
646 1.100 martin /* 68 */ NULL, /* siggetmask */
647 1.100 martin /* 69 */ NULL, /* sigsetmask */
648 1.100 martin /* 70 */ NULL, /* setreuid16 */
649 1.100 martin /* 71 */ NULL, /* setregid16 */
650 1.100 martin /* 72 */ NULL, /* sigsuspend */
651 1.100 martin /* 73 */ NULL, /* sigpending */
652 1.100 martin #if !defined(_KERNEL) || defined(COMPAT_43)
653 1.100 martin /* 74 */ NULL, /* sethostname */
654 1.100 martin #else
655 1.100 martin /* 74 */ NULL, /* unimplemented compat_43_sys_sethostname */
656 1.100 martin #endif
657 1.100 martin /* 75 */ NULL, /* setrlimit */
658 1.100 martin /* 76 */ NULL, /* getrlimit */
659 1.100 martin /* 77 */ NULL, /* getrusage */
660 1.100 martin /* 78 */ NULL, /* gettimeofday */
661 1.100 martin /* 79 */ NULL, /* settimeofday */
662 1.100 martin /* 80 */ NULL, /* getgroups16 */
663 1.100 martin /* 81 */ NULL, /* setgroups16 */
664 1.100 martin /* 82 */ NULL, /* oldselect */
665 1.100 martin /* 83 */ NULL, /* symlink */
666 1.100 martin #if !defined(_KERNEL) || defined(COMPAT_43)
667 1.100 martin /* 84 */ "lstat",
668 1.100 martin #else
669 1.100 martin /* 84 */ NULL, /* unimplemented compat_43_sys_lstat */
670 1.100 martin #endif
671 1.100 martin /* 85 */ NULL, /* readlink */
672 1.100 martin #ifdef EXEC_AOUT
673 1.100 martin /* 86 */ NULL, /* uselib */
674 1.100 martin #else
675 1.100 martin /* 86 */ NULL, /* unimplemented sys_uselib */
676 1.100 martin #endif
677 1.100 martin /* 87 */ NULL, /* swapon */
678 1.100 martin /* 88 */ NULL, /* reboot */
679 1.100 martin /* 89 */ NULL, /* readdir */
680 1.100 martin /* 90 */ NULL, /* old_mmap */
681 1.100 martin /* 91 */ NULL, /* munmap */
682 1.100 martin /* 92 */ NULL, /* truncate */
683 1.100 martin #if !defined(_KERNEL) || defined(COMPAT_43)
684 1.100 martin /* 93 */ NULL, /* ftruncate */
685 1.100 martin #else
686 1.100 martin /* 93 */ NULL, /* unimplemented compat_43_sys_ftruncate */
687 1.100 martin #endif
688 1.100 martin /* 94 */ NULL, /* fchmod */
689 1.100 martin /* 95 */ NULL, /* fchown16 */
690 1.100 martin /* 96 */ NULL, /* getpriority */
691 1.100 martin /* 97 */ NULL, /* setpriority */
692 1.100 martin /* 98 */ NULL, /* profil */
693 1.100 martin /* 99 */ NULL, /* statfs */
694 1.100 martin /* 100 */ NULL, /* fstatfs */
695 1.100 martin /* 101 */ NULL, /* unimplemented ioperm */
696 1.100 martin /* 102 */ NULL, /* socketcall */
697 1.100 martin /* 103 */ NULL, /* unimplemented syslog */
698 1.100 martin /* 104 */ NULL, /* setitimer */
699 1.100 martin /* 105 */ NULL, /* getitimer */
700 1.100 martin /* 106 */ NULL, /* stat */
701 1.100 martin /* 107 */ NULL, /* lstat */
702 1.100 martin /* 108 */ NULL, /* fstat */
703 1.100 martin /* 109 */ NULL, /* unimplemented olduname */
704 1.100 martin /* 110 */ NULL, /* unimplemented iopl */
705 1.100 martin /* 111 */ NULL, /* unimplemented vhangup */
706 1.100 martin /* 112 */ NULL, /* unimplemented idle */
707 1.100 martin /* 113 */ NULL, /* unimplemented vm86old */
708 1.100 martin /* 114 */ NULL, /* wait4 */
709 1.100 martin /* 115 */ NULL, /* swapoff */
710 1.100 martin /* 116 */ NULL, /* sysinfo */
711 1.100 martin /* 117 */ NULL, /* ipc */
712 1.100 martin /* 118 */ NULL, /* fsync */
713 1.100 martin /* 119 */ NULL, /* sigreturn */
714 1.100 martin /* 120 */ NULL, /* clone */
715 1.100 martin /* 121 */ NULL, /* setdomainname */
716 1.100 martin /* 122 */ NULL, /* uname */
717 1.100 martin /* 123 */ NULL, /* cacheflush */
718 1.100 martin /* 124 */ NULL, /* unimplemented adjtimex */
719 1.100 martin /* 125 */ NULL, /* mprotect */
720 1.100 martin /* 126 */ NULL, /* sigprocmask */
721 1.100 martin /* 127 */ NULL, /* unimplemented create_module */
722 1.100 martin /* 128 */ NULL, /* unimplemented init_module */
723 1.100 martin /* 129 */ NULL, /* unimplemented delete_module */
724 1.100 martin /* 130 */ NULL, /* unimplemented get_kernel_syms */
725 1.100 martin /* 131 */ NULL, /* unimplemented quotactl */
726 1.100 martin /* 132 */ NULL, /* getpgid */
727 1.100 martin /* 133 */ NULL, /* fchdir */
728 1.100 martin /* 134 */ NULL, /* unimplemented bdflush */
729 1.100 martin /* 135 */ NULL, /* unimplemented sysfs */
730 1.100 martin /* 136 */ NULL, /* personality */
731 1.100 martin /* 137 */ NULL, /* unimplemented afs_syscall */
732 1.100 martin /* 138 */ "setfsuid",
733 1.100 martin /* 139 */ "setfsgid",
734 1.100 martin /* 140 */ NULL, /* llseek */
735 1.100 martin /* 141 */ NULL, /* getdents */
736 1.100 martin /* 142 */ NULL, /* select */
737 1.100 martin /* 143 */ NULL, /* flock */
738 1.100 martin /* 144 */ "msync",
739 1.100 martin /* 145 */ NULL, /* readv */
740 1.100 martin /* 146 */ NULL, /* writev */
741 1.100 martin /* 147 */ NULL, /* getsid */
742 1.100 martin /* 148 */ NULL, /* fdatasync */
743 1.100 martin /* 149 */ NULL, /* __sysctl */
744 1.100 martin /* 150 */ NULL, /* mlock */
745 1.100 martin /* 151 */ NULL, /* munlock */
746 1.100 martin /* 152 */ NULL, /* mlockall */
747 1.100 martin /* 153 */ NULL, /* munlockall */
748 1.100 martin /* 154 */ NULL, /* sched_setparam */
749 1.100 martin /* 155 */ NULL, /* sched_getparam */
750 1.100 martin /* 156 */ NULL, /* sched_setscheduler */
751 1.100 martin /* 157 */ NULL, /* sched_getscheduler */
752 1.100 martin /* 158 */ NULL, /* sched_yield */
753 1.100 martin /* 159 */ NULL, /* sched_get_priority_max */
754 1.100 martin /* 160 */ NULL, /* sched_get_priority_min */
755 1.100 martin /* 161 */ NULL, /* unimplemented sched_rr_get_interval */
756 1.100 martin /* 162 */ NULL, /* nanosleep */
757 1.100 martin /* 163 */ NULL, /* mremap */
758 1.100 martin /* 164 */ NULL, /* setresuid16 */
759 1.100 martin /* 165 */ NULL, /* getresuid16 */
760 1.100 martin /* 166 */ NULL, /* unimplemented vm86 */
761 1.100 martin /* 167 */ NULL, /* unimplemented query_module */
762 1.100 martin /* 168 */ NULL, /* poll */
763 1.100 martin /* 169 */ NULL, /* unimplemented nfsservctl */
764 1.100 martin /* 170 */ NULL, /* setresgid16 */
765 1.100 martin /* 171 */ NULL, /* getresgid16 */
766 1.100 martin /* 172 */ NULL, /* unimplemented prctl */
767 1.100 martin /* 173 */ NULL, /* rt_sigreturn */
768 1.100 martin /* 174 */ NULL, /* rt_sigaction */
769 1.100 martin /* 175 */ NULL, /* rt_sigprocmask */
770 1.100 martin /* 176 */ NULL, /* rt_sigpending */
771 1.100 martin /* 177 */ NULL, /* rt_sigtimedwait */
772 1.100 martin /* 178 */ NULL, /* rt_queueinfo */
773 1.100 martin /* 179 */ NULL, /* rt_sigsuspend */
774 1.100 martin /* 180 */ NULL, /* pread */
775 1.100 martin /* 181 */ NULL, /* pwrite */
776 1.100 martin /* 182 */ NULL, /* lchown16 */
777 1.100 martin /* 183 */ NULL, /* __getcwd */
778 1.100 martin /* 184 */ NULL, /* unimplemented capget */
779 1.100 martin /* 185 */ NULL, /* unimplemented capset */
780 1.100 martin /* 186 */ NULL, /* sigaltstack */
781 1.100 martin /* 187 */ NULL, /* unimplemented sendfile */
782 1.100 martin /* 188 */ NULL, /* unimplemented getpmsg */
783 1.100 martin /* 189 */ NULL, /* unimplemented putpmsg */
784 1.100 martin /* 190 */ "vfork",
785 1.100 martin /* 191 */ NULL, /* ugetrlimit */
786 1.100 martin #define linux_sys_mmap2_args linux_sys_mmap_args
787 1.100 martin /* 192 */ NULL, /* mmap2 */
788 1.100 martin /* 193 */ NULL, /* truncate64 */
789 1.100 martin /* 194 */ NULL, /* ftruncate64 */
790 1.100 martin /* 195 */ NULL, /* stat64 */
791 1.100 martin /* 196 */ NULL, /* lstat64 */
792 1.100 martin /* 197 */ NULL, /* fstat64 */
793 1.100 martin /* 198 */ NULL, /* __posix_chown */
794 1.100 martin /* 199 */ NULL, /* getuid */
795 1.100 martin /* 200 */ NULL, /* getgid */
796 1.100 martin /* 201 */ NULL, /* geteuid */
797 1.100 martin /* 202 */ NULL, /* getegid */
798 1.100 martin /* 203 */ NULL, /* setreuid */
799 1.100 martin /* 204 */ NULL, /* setregid */
800 1.100 martin /* 205 */ NULL, /* getgroups */
801 1.100 martin /* 206 */ NULL, /* setgroups */
802 1.100 martin /* 207 */ NULL, /* __posix_fchown */
803 1.100 martin /* 208 */ NULL, /* setresuid */
804 1.100 martin /* 209 */ NULL, /* getresuid */
805 1.100 martin /* 210 */ NULL, /* setresgid */
806 1.100 martin /* 211 */ NULL, /* getresgid */
807 1.100 martin /* 212 */ NULL, /* __posix_lchown */
808 1.100 martin /* 213 */ NULL, /* setuid */
809 1.100 martin /* 214 */ NULL, /* setgid */
810 1.100 martin /* 215 */ NULL, /* setfsuid */
811 1.100 martin /* 216 */ NULL, /* setfsgid */
812 1.100 martin /* 217 */ NULL, /* unimplemented / * unused * / */
813 1.100 martin /* 218 */ NULL, /* unimplemented / * unused * / */
814 1.100 martin /* 219 */ NULL, /* unimplemented / * unused * / */
815 1.100 martin /* 220 */ NULL, /* getdents64 */
816 1.100 martin /* 221 */ NULL, /* gettid */
817 1.100 martin /* 222 */ NULL, /* tkill */
818 1.100 martin /* 223 */ NULL, /* setxattr */
819 1.100 martin /* 224 */ NULL, /* lsetxattr */
820 1.100 martin /* 225 */ NULL, /* fsetxattr */
821 1.100 martin /* 226 */ NULL, /* getxattr */
822 1.100 martin /* 227 */ NULL, /* lgetxattr */
823 1.100 martin /* 228 */ NULL, /* fgetxattr */
824 1.100 martin /* 229 */ NULL, /* listxattr */
825 1.100 martin /* 230 */ NULL, /* llistxattr */
826 1.100 martin /* 231 */ NULL, /* flistxattr */
827 1.100 martin /* 232 */ NULL, /* removexattr */
828 1.100 martin /* 233 */ NULL, /* lremovexattr */
829 1.100 martin /* 234 */ NULL, /* fremovexattr */
830 1.100 martin /* 235 */ NULL, /* futex */
831 1.100 martin /* 236 */ NULL, /* unimplemented sendfile64 */
832 1.100 martin /* 237 */ NULL, /* mincore */
833 1.100 martin /* 238 */ NULL, /* madvise */
834 1.100 martin /* 239 */ NULL, /* fcntl64 */
835 1.100 martin /* 240 */ NULL, /* unimplemented readahead */
836 1.100 martin /* 241 */ NULL, /* unimplemented io_setup */
837 1.100 martin /* 242 */ NULL, /* unimplemented io_destroy */
838 1.100 martin /* 243 */ NULL, /* unimplemented io_getevents */
839 1.100 martin /* 244 */ NULL, /* unimplemented io_submit */
840 1.100 martin /* 245 */ NULL, /* unimplemented io_cancel */
841 1.100 martin /* 246 */ NULL, /* fadvise64 */
842 1.100 martin /* 247 */ NULL, /* unimplemented exit_group */
843 1.100 martin /* 248 */ NULL, /* unimplemented lookup_dcookie */
844 1.100 martin /* 249 */ NULL, /* unimplemented epoll_create */
845 1.100 martin /* 250 */ NULL, /* unimplemented epoll_ctl */
846 1.100 martin /* 251 */ NULL, /* unimplemented epoll_wait */
847 1.100 martin /* 252 */ NULL, /* unimplemented remap_file_pages */
848 1.100 martin /* 253 */ NULL, /* set_tid_address */
849 1.109 thorpej /* 254 */ NULL, /* timer_create */
850 1.109 thorpej /* 255 */ NULL, /* timer_settime */
851 1.109 thorpej /* 256 */ NULL, /* timer_gettime */
852 1.109 thorpej /* 257 */ NULL, /* timer_getoverrun */
853 1.109 thorpej /* 258 */ NULL, /* timer_delete */
854 1.100 martin /* 259 */ NULL, /* clock_settime */
855 1.100 martin /* 260 */ NULL, /* clock_gettime */
856 1.100 martin /* 261 */ NULL, /* clock_getres */
857 1.100 martin /* 262 */ NULL, /* clock_nanosleep */
858 1.100 martin /* 263 */ NULL, /* statfs64 */
859 1.100 martin /* 264 */ NULL, /* fstatfs64 */
860 1.100 martin /* 265 */ NULL, /* tgkill */
861 1.100 martin /* 266 */ NULL, /* utimes */
862 1.100 martin /* 267 */ NULL, /* fadvise64_64 */
863 1.100 martin /* 268 */ NULL, /* unimplemented mbind */
864 1.100 martin /* 269 */ NULL, /* unimplemented get_mempolicy */
865 1.100 martin /* 270 */ NULL, /* unimplemented set_mempolicy */
866 1.100 martin /* 271 */ NULL, /* unimplemented mq_open */
867 1.100 martin /* 272 */ NULL, /* unimplemented mq_unlink */
868 1.100 martin /* 273 */ NULL, /* unimplemented mq_timedsend */
869 1.100 martin /* 274 */ NULL, /* unimplemented mq_timedreceive */
870 1.100 martin /* 275 */ NULL, /* unimplemented mq_notify */
871 1.100 martin /* 276 */ NULL, /* unimplemented mq_getsetattr */
872 1.100 martin /* 277 */ NULL, /* unimplemented waitid */
873 1.100 martin /* 278 */ NULL, /* unimplemented vserver */
874 1.100 martin /* 279 */ NULL, /* unimplemented add_key */
875 1.100 martin /* 280 */ NULL, /* unimplemented request_key */
876 1.100 martin /* 281 */ NULL, /* unimplemented keyctl */
877 1.100 martin /* 282 */ NULL, /* unimplemented ioprio_set */
878 1.100 martin /* 283 */ NULL, /* unimplemented ioprio_get */
879 1.100 martin /* 284 */ NULL, /* unimplemented inotify_init */
880 1.100 martin /* 285 */ NULL, /* unimplemented inotify_add_watch */
881 1.100 martin /* 286 */ NULL, /* unimplemented inotify_rm_watch */
882 1.100 martin /* 287 */ NULL, /* unimplemented migrate_pages */
883 1.100 martin /* 288 */ NULL, /* openat */
884 1.100 martin /* 289 */ NULL, /* mkdirat */
885 1.100 martin /* 290 */ NULL, /* mknodat */
886 1.100 martin /* 291 */ NULL, /* fchownat */
887 1.100 martin /* 292 */ NULL, /* unimplemented futimesat */
888 1.100 martin /* 293 */ NULL, /* fstatat64 */
889 1.100 martin /* 294 */ NULL, /* unlinkat */
890 1.100 martin /* 295 */ NULL, /* renameat */
891 1.100 martin /* 296 */ NULL, /* linkat */
892 1.100 martin /* 297 */ NULL, /* symlinkat */
893 1.100 martin /* 298 */ NULL, /* readlinkat */
894 1.100 martin /* 299 */ NULL, /* fchmodat */
895 1.100 martin /* 300 */ NULL, /* faccessat */
896 1.100 martin /* 301 */ NULL, /* pselect6 */
897 1.100 martin /* 302 */ NULL, /* ppoll */
898 1.100 martin /* 303 */ NULL, /* unimplemented unshare */
899 1.108 thorpej /* 304 */ NULL, /* __futex_set_robust_list */
900 1.108 thorpej /* 305 */ NULL, /* __futex_get_robust_list */
901 1.100 martin /* 306 */ NULL, /* unimplemented splice */
902 1.100 martin /* 307 */ NULL, /* unimplemented sync_file_range */
903 1.100 martin /* 308 */ NULL, /* unimplemented tee */
904 1.100 martin /* 309 */ NULL, /* unimplemented vmsplice */
905 1.100 martin /* 310 */ NULL, /* unimplemented move_pages */
906 1.100 martin /* 311 */ NULL, /* sched_setaffinity */
907 1.100 martin /* 312 */ NULL, /* sched_getaffinity */
908 1.100 martin /* 313 */ NULL, /* unimplemented kexec_load */
909 1.100 martin /* 314 */ NULL, /* unimplemented getcpu */
910 1.100 martin /* 315 */ NULL, /* unimplemented epoll_wait */
911 1.100 martin /* 316 */ NULL, /* utimensat */
912 1.100 martin /* 317 */ NULL, /* unimplemented signalfd */
913 1.110 thorpej /* 318 */ NULL, /* timerfd_create */
914 1.111 thorpej /* 319 */ NULL, /* eventfd */
915 1.107 jdolecek /* 320 */ NULL, /* fallocate */
916 1.110 thorpej /* 321 */ NULL, /* timerfd_settime */
917 1.110 thorpej /* 322 */ NULL, /* timerfd_gettime */
918 1.100 martin /* 323 */ NULL, /* unimplemented signalfd4 */
919 1.111 thorpej /* 324 */ NULL, /* eventfd2 */
920 1.100 martin /* 325 */ NULL, /* unimplemented epoll_create1 */
921 1.100 martin /* 326 */ NULL, /* dup3 */
922 1.100 martin /* 327 */ NULL, /* pipe2 */
923 1.100 martin /* 328 */ NULL, /* unimplemented inotify_init1 */
924 1.100 martin /* 329 */ NULL, /* unimplemented preadv */
925 1.100 martin /* 330 */ NULL, /* unimplemented pwritev */
926 1.100 martin /* 331 */ NULL, /* unimplemented rt_tgsigqueueinfo */
927 1.100 martin /* 332 */ NULL, /* unimplemented perf_counter_open */
928 1.100 martin /* 333 */ NULL, /* unimplemented set_thread_area */
929 1.100 martin /* 334 */ NULL, /* unimplemented get_thread_area */
930 1.100 martin /* 335 */ NULL, /* unimplemented atomic_cmpxchg_32 */
931 1.100 martin /* 336 */ NULL, /* unimplemented atomic_barrier */
932 1.104 christos /* 337 */ NULL, /* unimplemented fanotify_init */
933 1.104 christos /* 338 */ NULL, /* unimplemented fanotify_mark */
934 1.104 christos /* 339 */ NULL, /* unimplemented prlimit64 */
935 1.104 christos /* 340 */ NULL, /* unimplemented name_to_handle_at */
936 1.104 christos /* 341 */ NULL, /* unimplemented open_by_handle_at */
937 1.104 christos /* 342 */ NULL, /* unimplemented clock_adjtime */
938 1.104 christos /* 343 */ NULL, /* unimplemented syncfs */
939 1.104 christos /* 344 */ NULL, /* unimplemented setns */
940 1.104 christos /* 345 */ NULL, /* unimplemented process_vm_readv */
941 1.104 christos /* 346 */ NULL, /* unimplemented process_vm_writev */
942 1.104 christos /* 347 */ NULL, /* unimplemented kcmp */
943 1.104 christos /* 348 */ NULL, /* unimplemented finit_module */
944 1.104 christos /* 349 */ NULL, /* unimplemented sched_setattr */
945 1.104 christos /* 350 */ NULL, /* unimplemented sched_getattr */
946 1.104 christos /* 351 */ NULL, /* unimplemented renameat2 */
947 1.104 christos /* 352 */ NULL, /* unimplemented getrandom */
948 1.104 christos /* 353 */ NULL, /* unimplemented memfd_create */
949 1.104 christos /* 354 */ NULL, /* unimplemented bpf */
950 1.104 christos /* 355 */ NULL, /* unimplemented execveat */
951 1.104 christos /* 356 */ NULL, /* unimplemented socket */
952 1.104 christos /* 357 */ NULL, /* unimplemented socketpair */
953 1.104 christos /* 358 */ NULL, /* unimplemented bind */
954 1.104 christos /* 359 */ NULL, /* unimplemented connect */
955 1.104 christos /* 360 */ NULL, /* unimplemented listen */
956 1.103 martin /* 361 */ NULL, /* accept4 */
957 1.104 christos /* 362 */ NULL, /* unimplemented getsockopt */
958 1.104 christos /* 363 */ NULL, /* unimplemented setsockopt */
959 1.104 christos /* 364 */ NULL, /* unimplemented getsockname */
960 1.104 christos /* 365 */ NULL, /* unimplemented getpeername */
961 1.104 christos /* 366 */ NULL, /* unimplemented sendto */
962 1.104 christos /* 367 */ NULL, /* unimplemented sendmsg */
963 1.104 christos /* 368 */ NULL, /* unimplemented recvfrom */
964 1.104 christos /* 369 */ NULL, /* unimplemented recvmsg */
965 1.104 christos /* 370 */ NULL, /* unimplemented shutdown */
966 1.104 christos /* 371 */ NULL, /* recvmmsg */
967 1.104 christos /* 372 */ NULL, /* sendmmsg */
968 1.104 christos /* 373 */ NULL, /* unimplemented userfaultfd */
969 1.104 christos /* 374 */ NULL, /* unimplemented membarrier */
970 1.104 christos /* 375 */ NULL, /* unimplemented mlock2 */
971 1.104 christos /* 376 */ NULL, /* unimplemented copy_file_range */
972 1.104 christos /* 377 */ NULL, /* unimplemented preadv2 */
973 1.104 christos /* 378 */ NULL, /* unimplemented pwritev2 */
974 1.100 martin /* 379 */ NULL, /* filler */
975 1.100 martin /* 380 */ NULL, /* filler */
976 1.100 martin /* 381 */ NULL, /* filler */
977 1.100 martin /* 382 */ NULL, /* filler */
978 1.100 martin /* 383 */ NULL, /* filler */
979 1.100 martin /* 384 */ NULL, /* filler */
980 1.100 martin /* 385 */ NULL, /* filler */
981 1.100 martin /* 386 */ NULL, /* filler */
982 1.100 martin /* 387 */ NULL, /* filler */
983 1.100 martin /* 388 */ NULL, /* filler */
984 1.100 martin /* 389 */ NULL, /* filler */
985 1.100 martin /* 390 */ NULL, /* filler */
986 1.100 martin /* 391 */ NULL, /* filler */
987 1.100 martin /* 392 */ NULL, /* filler */
988 1.100 martin /* 393 */ NULL, /* filler */
989 1.100 martin /* 394 */ NULL, /* filler */
990 1.100 martin /* 395 */ NULL, /* filler */
991 1.100 martin /* 396 */ NULL, /* filler */
992 1.100 martin /* 397 */ NULL, /* filler */
993 1.100 martin /* 398 */ NULL, /* filler */
994 1.100 martin /* 399 */ NULL, /* filler */
995 1.100 martin /* 400 */ NULL, /* filler */
996 1.100 martin /* 401 */ NULL, /* filler */
997 1.100 martin /* 402 */ NULL, /* filler */
998 1.100 martin /* 403 */ NULL, /* filler */
999 1.100 martin /* 404 */ NULL, /* filler */
1000 1.100 martin /* 405 */ NULL, /* filler */
1001 1.100 martin /* 406 */ NULL, /* filler */
1002 1.100 martin /* 407 */ NULL, /* filler */
1003 1.100 martin /* 408 */ NULL, /* filler */
1004 1.100 martin /* 409 */ NULL, /* filler */
1005 1.100 martin /* 410 */ NULL, /* filler */
1006 1.100 martin /* 411 */ NULL, /* filler */
1007 1.100 martin /* 412 */ NULL, /* filler */
1008 1.100 martin /* 413 */ NULL, /* filler */
1009 1.100 martin /* 414 */ NULL, /* filler */
1010 1.100 martin /* 415 */ NULL, /* filler */
1011 1.100 martin /* 416 */ NULL, /* filler */
1012 1.100 martin /* 417 */ NULL, /* filler */
1013 1.100 martin /* 418 */ NULL, /* filler */
1014 1.100 martin /* 419 */ NULL, /* filler */
1015 1.100 martin /* 420 */ NULL, /* filler */
1016 1.100 martin /* 421 */ NULL, /* filler */
1017 1.100 martin /* 422 */ NULL, /* filler */
1018 1.100 martin /* 423 */ NULL, /* filler */
1019 1.100 martin /* 424 */ NULL, /* filler */
1020 1.100 martin /* 425 */ NULL, /* filler */
1021 1.100 martin /* 426 */ NULL, /* filler */
1022 1.100 martin /* 427 */ NULL, /* filler */
1023 1.100 martin /* 428 */ NULL, /* filler */
1024 1.100 martin /* 429 */ NULL, /* filler */
1025 1.100 martin /* 430 */ NULL, /* filler */
1026 1.100 martin /* 431 */ NULL, /* filler */
1027 1.100 martin /* 432 */ NULL, /* filler */
1028 1.100 martin /* 433 */ NULL, /* filler */
1029 1.100 martin /* 434 */ NULL, /* filler */
1030 1.100 martin /* 435 */ NULL, /* filler */
1031 1.100 martin /* 436 */ NULL, /* filler */
1032 1.100 martin /* 437 */ NULL, /* filler */
1033 1.100 martin /* 438 */ NULL, /* filler */
1034 1.100 martin /* 439 */ NULL, /* filler */
1035 1.100 martin /* 440 */ NULL, /* filler */
1036 1.100 martin /* 441 */ NULL, /* filler */
1037 1.100 martin /* 442 */ NULL, /* filler */
1038 1.100 martin /* 443 */ NULL, /* filler */
1039 1.100 martin /* 444 */ NULL, /* filler */
1040 1.100 martin /* 445 */ NULL, /* filler */
1041 1.100 martin /* 446 */ NULL, /* filler */
1042 1.100 martin /* 447 */ NULL, /* filler */
1043 1.100 martin /* 448 */ NULL, /* filler */
1044 1.100 martin /* 449 */ NULL, /* filler */
1045 1.100 martin /* 450 */ NULL, /* filler */
1046 1.100 martin /* 451 */ NULL, /* filler */
1047 1.100 martin /* 452 */ NULL, /* filler */
1048 1.100 martin /* 453 */ NULL, /* filler */
1049 1.100 martin /* 454 */ NULL, /* filler */
1050 1.100 martin /* 455 */ NULL, /* filler */
1051 1.100 martin /* 456 */ NULL, /* filler */
1052 1.100 martin /* 457 */ NULL, /* filler */
1053 1.100 martin /* 458 */ NULL, /* filler */
1054 1.100 martin /* 459 */ NULL, /* filler */
1055 1.100 martin /* 460 */ NULL, /* filler */
1056 1.100 martin /* 461 */ NULL, /* filler */
1057 1.100 martin /* 462 */ NULL, /* filler */
1058 1.100 martin /* 463 */ NULL, /* filler */
1059 1.100 martin /* 464 */ NULL, /* filler */
1060 1.100 martin /* 465 */ NULL, /* filler */
1061 1.100 martin /* 466 */ NULL, /* filler */
1062 1.100 martin /* 467 */ NULL, /* filler */
1063 1.100 martin /* 468 */ NULL, /* filler */
1064 1.100 martin /* 469 */ NULL, /* filler */
1065 1.100 martin /* 470 */ NULL, /* filler */
1066 1.100 martin /* 471 */ NULL, /* filler */
1067 1.100 martin /* 472 */ NULL, /* filler */
1068 1.100 martin /* 473 */ NULL, /* filler */
1069 1.100 martin /* 474 */ NULL, /* filler */
1070 1.100 martin /* 475 */ NULL, /* filler */
1071 1.100 martin /* 476 */ NULL, /* filler */
1072 1.100 martin /* 477 */ NULL, /* filler */
1073 1.100 martin /* 478 */ NULL, /* filler */
1074 1.100 martin /* 479 */ NULL, /* filler */
1075 1.100 martin /* 480 */ NULL, /* filler */
1076 1.100 martin /* 481 */ NULL, /* filler */
1077 1.100 martin /* 482 */ NULL, /* filler */
1078 1.100 martin /* 483 */ NULL, /* filler */
1079 1.100 martin /* 484 */ NULL, /* filler */
1080 1.100 martin /* 485 */ NULL, /* filler */
1081 1.100 martin /* 486 */ NULL, /* filler */
1082 1.100 martin /* 487 */ NULL, /* filler */
1083 1.100 martin /* 488 */ NULL, /* filler */
1084 1.100 martin /* 489 */ NULL, /* filler */
1085 1.100 martin /* 490 */ NULL, /* filler */
1086 1.100 martin /* 491 */ NULL, /* filler */
1087 1.100 martin /* 492 */ NULL, /* filler */
1088 1.100 martin /* 493 */ NULL, /* filler */
1089 1.100 martin /* 494 */ NULL, /* filler */
1090 1.100 martin /* 495 */ NULL, /* filler */
1091 1.100 martin /* 496 */ NULL, /* filler */
1092 1.100 martin /* 497 */ NULL, /* filler */
1093 1.100 martin /* 498 */ NULL, /* filler */
1094 1.100 martin /* 499 */ NULL, /* filler */
1095 1.100 martin /* 500 */ NULL, /* filler */
1096 1.100 martin /* 501 */ NULL, /* filler */
1097 1.100 martin /* 502 */ NULL, /* filler */
1098 1.100 martin /* 503 */ NULL, /* filler */
1099 1.100 martin /* 504 */ NULL, /* filler */
1100 1.100 martin /* 505 */ NULL, /* filler */
1101 1.100 martin /* 506 */ NULL, /* filler */
1102 1.100 martin /* 507 */ NULL, /* filler */
1103 1.100 martin /* 508 */ NULL, /* filler */
1104 1.100 martin /* 509 */ NULL, /* filler */
1105 1.100 martin /* 510 */ NULL, /* filler */
1106 1.100 martin /* 511 */ NULL, /* filler */
1107 1.100 martin };
1108