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