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