1 /*
2  * Geario - A cross-platform abstraction library with asynchronous I/O.
3  *
4  * Copyright (C) 2021-2022 Kerisy.com
5  *
6  * Website: https://www.kerisy.com
7  *
8  * Licensed under the Apache-2.0 License.
9  *
10  */
11 
12 module geario.system.syscall.os.Linux;
13 
14 version(linux):
15 
16 version (X86_64)
17 {
18     enum __NR_read = 0;
19     enum __NR_write = 1;
20     enum __NR_open = 2;
21     enum __NR_close = 3;
22     enum __NR_stat = 4;
23     enum __NR_fstat = 5;
24     enum __NR_lstat = 6;
25     enum __NR_poll = 7;
26     enum __NR_lseek = 8;
27     enum __NR_mmap = 9;
28     enum __NR_mprotect = 10;
29     enum __NR_munmap = 11;
30     enum __NR_brk = 12;
31     enum __NR_rt_sigaction = 13;
32     enum __NR_rt_sigprocmask = 14;
33     enum __NR_rt_sigreturn = 15;
34     enum __NR_ioctl = 16;
35     enum __NR_pread64 = 17;
36     enum __NR_pwrite64 = 18;
37     enum __NR_readv = 19;
38     enum __NR_writev = 20;
39     enum __NR_access = 21;
40     enum __NR_pipe = 22;
41     enum __NR_select = 23;
42     enum __NR_sched_yield = 24;
43     enum __NR_mremap = 25;
44     enum __NR_msync = 26;
45     enum __NR_mincore = 27;
46     enum __NR_madvise = 28;
47     enum __NR_shmget = 29;
48     enum __NR_shmat = 30;
49     enum __NR_shmctl = 31;
50     enum __NR_dup = 32;
51     enum __NR_dup2 = 33;
52     enum __NR_pause = 34;
53     enum __NR_nanosleep = 35;
54     enum __NR_getitimer = 36;
55     enum __NR_alarm = 37;
56     enum __NR_setitimer = 38;
57     enum __NR_getpid = 39;
58     enum __NR_sendfile = 40;
59     enum __NR_socket = 41;
60     enum __NR_connect = 42;
61     enum __NR_accept = 43;
62     enum __NR_sendto = 44;
63     enum __NR_recvfrom = 45;
64     enum __NR_sendmsg = 46;
65     enum __NR_recvmsg = 47;
66     enum __NR_shutdown = 48;
67     enum __NR_bind = 49;
68     enum __NR_listen = 50;
69     enum __NR_getsockname = 51;
70     enum __NR_getpeername = 52;
71     enum __NR_socketpair = 53;
72     enum __NR_setsockopt = 54;
73     enum __NR_getsockopt = 55;
74     enum __NR_clone = 56;
75     enum __NR_fork = 57;
76     enum __NR_vfork = 58;
77     enum __NR_execve = 59;
78     enum __NR_exit = 60;
79     enum __NR_wait4 = 61;
80     enum __NR_kill = 62;
81     enum __NR_uname = 63;
82     enum __NR_semget = 64;
83     enum __NR_semop = 65;
84     enum __NR_semctl = 66;
85     enum __NR_shmdt = 67;
86     enum __NR_msgget = 68;
87     enum __NR_msgsnd = 69;
88     enum __NR_msgrcv = 70;
89     enum __NR_msgctl = 71;
90     enum __NR_fcntl = 72;
91     enum __NR_flock = 73;
92     enum __NR_fsync = 74;
93     enum __NR_fdatasync = 75;
94     enum __NR_truncate = 76;
95     enum __NR_ftruncate = 77;
96     enum __NR_getdents = 78;
97     enum __NR_getcwd = 79;
98     enum __NR_chdir = 80;
99     enum __NR_fchdir = 81;
100     enum __NR_rename = 82;
101     enum __NR_mkdir = 83;
102     enum __NR_rmdir = 84;
103     enum __NR_creat = 85;
104     enum __NR_link = 86;
105     enum __NR_unlink = 87;
106     enum __NR_symlink = 88;
107     enum __NR_readlink = 89;
108     enum __NR_chmod = 90;
109     enum __NR_fchmod = 91;
110     enum __NR_chown = 92;
111     enum __NR_fchown = 93;
112     enum __NR_lchown = 94;
113     enum __NR_umask = 95;
114     enum __NR_gettimeofday = 96;
115     enum __NR_getrlimit = 97;
116     enum __NR_getrusage = 98;
117     enum __NR_sysinfo = 99;
118     enum __NR_times = 100;
119     enum __NR_ptrace = 101;
120     enum __NR_getuid = 102;
121     enum __NR_syslog = 103;
122     enum __NR_getgid = 104;
123     enum __NR_setuid = 105;
124     enum __NR_setgid = 106;
125     enum __NR_geteuid = 107;
126     enum __NR_getegid = 108;
127     enum __NR_setpgid = 109;
128     enum __NR_getppid = 110;
129     enum __NR_getpgrp = 111;
130     enum __NR_setsid = 112;
131     enum __NR_setreuid = 113;
132     enum __NR_setregid = 114;
133     enum __NR_getgroups = 115;
134     enum __NR_setgroups = 116;
135     enum __NR_setresuid = 117;
136     enum __NR_getresuid = 118;
137     enum __NR_setresgid = 119;
138     enum __NR_getresgid = 120;
139     enum __NR_getpgid = 121;
140     enum __NR_setfsuid = 122;
141     enum __NR_setfsgid = 123;
142     enum __NR_getsid = 124;
143     enum __NR_capget = 125;
144     enum __NR_capset = 126;
145     enum __NR_rt_sigpending = 127;
146     enum __NR_rt_sigtimedwait = 128;
147     enum __NR_rt_sigqueueinfo = 129;
148     enum __NR_rt_sigsuspend = 130;
149     enum __NR_sigaltstack = 131;
150     enum __NR_utime = 132;
151     enum __NR_mknod = 133;
152     enum __NR_uselib = 134;
153     enum __NR_personality = 135;
154     enum __NR_ustat = 136;
155     enum __NR_statfs = 137;
156     enum __NR_fstatfs = 138;
157     enum __NR_sysfs = 139;
158     enum __NR_getpriority = 140;
159     enum __NR_setpriority = 141;
160     enum __NR_sched_setparam = 142;
161     enum __NR_sched_getparam = 143;
162     enum __NR_sched_setscheduler = 144;
163     enum __NR_sched_getscheduler = 145;
164     enum __NR_sched_get_priority_max = 146;
165     enum __NR_sched_get_priority_min = 147;
166     enum __NR_sched_rr_get_interval = 148;
167     enum __NR_mlock = 149;
168     enum __NR_munlock = 150;
169     enum __NR_mlockall = 151;
170     enum __NR_munlockall = 152;
171     enum __NR_vhangup = 153;
172     enum __NR_modify_ldt = 154;
173     enum __NR_pivot_root = 155;
174     enum __NR__sysctl = 156;
175     enum __NR_prctl = 157;
176     enum __NR_arch_prctl = 158;
177     enum __NR_adjtimex = 159;
178     enum __NR_setrlimit = 160;
179     enum __NR_chroot = 161;
180     enum __NR_sync = 162;
181     enum __NR_acct = 163;
182     enum __NR_settimeofday = 164;
183     enum __NR_mount = 165;
184     enum __NR_umount2 = 166;
185     enum __NR_swapon = 167;
186     enum __NR_swapoff = 168;
187     enum __NR_reboot = 169;
188     enum __NR_sethostname = 170;
189     enum __NR_setdomainname = 171;
190     enum __NR_iopl = 172;
191     enum __NR_ioperm = 173;
192     enum __NR_create_module = 174;
193     enum __NR_init_module = 175;
194     enum __NR_delete_module = 176;
195     enum __NR_get_kernel_syms = 177;
196     enum __NR_query_module = 178;
197     enum __NR_quotactl = 179;
198     enum __NR_nfsservctl = 180;
199     enum __NR_getpmsg = 181;
200     enum __NR_putpmsg = 182;
201     enum __NR_afs_syscall = 183;
202     enum __NR_tuxcall = 184;
203     enum __NR_security = 185;
204     enum __NR_gettid = 186;
205     enum __NR_readahead = 187;
206     enum __NR_setxattr = 188;
207     enum __NR_lsetxattr = 189;
208     enum __NR_fsetxattr = 190;
209     enum __NR_getxattr = 191;
210     enum __NR_lgetxattr = 192;
211     enum __NR_fgetxattr = 193;
212     enum __NR_listxattr = 194;
213     enum __NR_llistxattr = 195;
214     enum __NR_flistxattr = 196;
215     enum __NR_removexattr = 197;
216     enum __NR_lremovexattr = 198;
217     enum __NR_fremovexattr = 199;
218     enum __NR_tkill = 200;
219     enum __NR_time = 201;
220     enum __NR_futex = 202;
221     enum __NR_sched_setaffinity = 203;
222     enum __NR_sched_getaffinity = 204;
223     enum __NR_set_thread_area = 205;
224     enum __NR_io_setup = 206;
225     enum __NR_io_destroy = 207;
226     enum __NR_io_getevents = 208;
227     enum __NR_io_submit = 209;
228     enum __NR_io_cancel = 210;
229     enum __NR_get_thread_area = 211;
230     enum __NR_lookup_dcookie = 212;
231     enum __NR_epoll_create = 213;
232     enum __NR_epoll_ctl_old = 214;
233     enum __NR_epoll_wait_old = 215;
234     enum __NR_remap_file_pages = 216;
235     enum __NR_getdents64 = 217;
236     enum __NR_set_tid_address = 218;
237     enum __NR_restart_syscall = 219;
238     enum __NR_semtimedop = 220;
239     enum __NR_fadvise64 = 221;
240     enum __NR_timer_create = 222;
241     enum __NR_timer_settime = 223;
242     enum __NR_timer_gettime = 224;
243     enum __NR_timer_getoverrun = 225;
244     enum __NR_timer_delete = 226;
245     enum __NR_clock_settime = 227;
246     enum __NR_clock_gettime = 228;
247     enum __NR_clock_getres = 229;
248     enum __NR_clock_nanosleep = 230;
249     enum __NR_exit_group = 231;
250     enum __NR_epoll_wait = 232;
251     enum __NR_epoll_ctl = 233;
252     enum __NR_tgkill = 234;
253     enum __NR_utimes = 235;
254     enum __NR_vserver = 236;
255     enum __NR_mbind = 237;
256     enum __NR_set_mempolicy = 238;
257     enum __NR_get_mempolicy = 239;
258     enum __NR_mq_open = 240;
259     enum __NR_mq_unlink = 241;
260     enum __NR_mq_timedsend = 242;
261     enum __NR_mq_timedreceive = 243;
262     enum __NR_mq_notify = 244;
263     enum __NR_mq_getsetattr = 245;
264     enum __NR_kexec_load = 246;
265     enum __NR_waitid = 247;
266     enum __NR_add_key = 248;
267     enum __NR_request_key = 249;
268     enum __NR_keyctl = 250;
269     enum __NR_ioprio_set = 251;
270     enum __NR_ioprio_get = 252;
271     enum __NR_inotify_init = 253;
272     enum __NR_inotify_add_watch = 254;
273     enum __NR_inotify_rm_watch = 255;
274     enum __NR_migrate_pages = 256;
275     enum __NR_openat = 257;
276     enum __NR_mkdirat = 258;
277     enum __NR_mknodat = 259;
278     enum __NR_fchownat = 260;
279     enum __NR_futimesat = 261;
280     enum __NR_newfstatat = 262;
281     enum __NR_unlinkat = 263;
282     enum __NR_renameat = 264;
283     enum __NR_linkat = 265;
284     enum __NR_symlinkat = 266;
285     enum __NR_readlinkat = 267;
286     enum __NR_fchmodat = 268;
287     enum __NR_faccessat = 269;
288     enum __NR_pselect6 = 270;
289     enum __NR_ppoll = 271;
290     enum __NR_unshare = 272;
291     enum __NR_set_robust_list = 273;
292     enum __NR_get_robust_list = 274;
293     enum __NR_splice = 275;
294     enum __NR_tee = 276;
295     enum __NR_sync_file_range = 277;
296     enum __NR_vmsplice = 278;
297     enum __NR_move_pages = 279;
298     enum __NR_utimensat = 280;
299     enum __NR_epoll_pwait = 281;
300     enum __NR_signalfd = 282;
301     enum __NR_timerfd_create = 283;
302     enum __NR_eventfd = 284;
303     enum __NR_fallocate = 285;
304     enum __NR_timerfd_settime = 286;
305     enum __NR_timerfd_gettime = 287;
306     enum __NR_accept4 = 288;
307     enum __NR_signalfd4 = 289;
308     enum __NR_eventfd2 = 290;
309     enum __NR_epoll_create1 = 291;
310     enum __NR_dup3 = 292;
311     enum __NR_pipe2 = 293;
312     enum __NR_inotify_init1 = 294;
313     enum __NR_preadv = 295;
314     enum __NR_pwritev = 296;
315     enum __NR_rt_tgsigqueueinfo = 297;
316     enum __NR_perf_event_open = 298;
317     enum __NR_recvmmsg = 299;
318     enum __NR_fanotify_init = 300;
319     enum __NR_fanotify_mark = 301;
320     enum __NR_prlimit64 = 302;
321     enum __NR_name_to_handle_at = 303;
322     enum __NR_open_by_handle_at = 304;
323     enum __NR_clock_adjtime = 305;
324     enum __NR_syncfs = 306;
325     enum __NR_sendmmsg = 307;
326     enum __NR_setns = 308;
327     enum __NR_getcpu = 309;
328     enum __NR_process_vm_readv = 310;
329     enum __NR_process_vm_writev = 311;
330     enum __NR_kcmp = 312;
331     enum __NR_finit_module = 313;
332     enum __NR_sched_setattr = 314;
333     enum __NR_sched_getattr = 315;
334     enum __NR_renameat2 = 316;
335     enum __NR_seccomp = 317;
336     enum __NR_getrandom = 318;
337     enum __NR_memfd_create = 319;
338     enum __NR_kexec_file_load = 320;
339     enum __NR_bpf = 321;
340     enum __NR_execveat = 322;
341     enum __NR_userfaultfd = 323;
342     enum __NR_membarrier = 324;
343     enum __NR_mlock2 = 325;
344     enum __NR_copy_file_range = 326;
345     enum __NR_preadv2 = 327;
346     enum __NR_pwritev2 = 328;
347     enum __NR_pkey_mprotect = 329;
348     enum __NR_pkey_alloc = 330;
349     enum __NR_pkey_free = 331;
350     enum __NR_statx = 332;
351 }
352 else version (AArch64)
353 {
354     enum __NR_io_setup = 0;
355     enum __NR_io_destroy = 1;
356     enum __NR_io_submit = 2;
357     enum __NR_io_cancel = 3;
358     enum __NR_io_getevents = 4;
359     enum __NR_setxattr = 5;
360     enum __NR_lsetxattr = 6;
361     enum __NR_fsetxattr = 7;
362     enum __NR_getxattr = 8;
363     enum __NR_lgetxattr = 9;
364     enum __NR_fgetxattr = 10;
365     enum __NR_listxattr = 11;
366     enum __NR_llistxattr = 12;
367     enum __NR_flistxattr = 13;
368     enum __NR_removexattr = 14;
369     enum __NR_lremovexattr = 15;
370     enum __NR_fremovexattr = 16;
371     enum __NR_getcwd = 17;
372     enum __NR_lookup_dcookie = 18;
373     enum __NR_eventfd2 = 19;
374     enum __NR_epoll_create1 = 20;
375     enum __NR_epoll_ctl = 21;
376     enum __NR_epoll_pwait = 22;
377     enum __NR_dup = 23;
378     enum __NR_dup3 = 24;
379     enum __NR3264_fcntl = 25;
380     enum __NR_inotify_init1 = 26;
381     enum __NR_inotify_add_watch = 27;
382     enum __NR_inotify_rm_watch = 28;
383     enum __NR_ioctl = 29;
384     enum __NR_ioprio_set = 30;
385     enum __NR_ioprio_get = 31;
386     enum __NR_flock = 32;
387     enum __NR_mknodat = 33;
388     enum __NR_mkdirat = 34;
389     enum __NR_unlinkat = 35;
390     enum __NR_symlinkat = 36;
391     enum __NR_linkat = 37;
392     enum __NR_renameat = 38;
393     enum __NR_umount2 = 39;
394     enum __NR_mount = 40;
395     enum __NR_pivot_root = 41;
396     enum __NR_nfsservctl = 42;
397     enum __NR3264_statfs = 43;
398     enum __NR3264_fstatfs = 44;
399     enum __NR3264_truncate = 45;
400     enum __NR3264_ftruncate = 46;
401     enum __NR_fallocate = 47;
402     enum __NR_faccessat = 48;
403     enum __NR_chdir = 49;
404     enum __NR_fchdir = 50;
405     enum __NR_chroot = 51;
406     enum __NR_fchmod = 52;
407     enum __NR_fchmodat = 53;
408     enum __NR_fchownat = 54;
409     enum __NR_fchown = 55;
410     enum __NR_openat = 56;
411     enum __NR_close = 57;
412     enum __NR_vhangup = 58;
413     enum __NR_pipe2 = 59;
414     enum __NR_quotactl = 60;
415     enum __NR_getdents64 = 61;
416     enum __NR3264_lseek = 62;
417     enum __NR_read = 63;
418     enum __NR_write = 64;
419     enum __NR_readv = 65;
420     enum __NR_writev = 66;
421     enum __NR_pread64 = 67;
422     enum __NR_pwrite64 = 68;
423     enum __NR_preadv = 69;
424     enum __NR_pwritev = 70;
425     enum __NR3264_sendfile = 71;
426     enum __NR_pselect6 = 72;
427     enum __NR_ppoll = 73;
428     enum __NR_signalfd4 = 74;
429     enum __NR_vmsplice = 75;
430     enum __NR_splice = 76;
431     enum __NR_tee = 77;
432     enum __NR_readlinkat = 78;
433     enum __NR3264_fstatat = 79;
434     enum __NR3264_fstat = 80;
435     enum __NR_sync = 81;
436     enum __NR_fsync = 82;
437     enum __NR_fdatasync = 83;
438     enum __NR_sync_file_range = 84;
439     enum __NR_timerfd_create = 85;
440     enum __NR_timerfd_settime = 86;
441     enum __NR_timerfd_gettime = 87;
442     enum __NR_utimensat = 88;
443     enum __NR_acct = 89;
444     enum __NR_capget = 90;
445     enum __NR_capset = 91;
446     enum __NR_personality = 92;
447     enum __NR_exit = 93;
448     enum __NR_exit_group = 94;
449     enum __NR_waitid = 95;
450     enum __NR_set_tid_address = 96;
451     enum __NR_unshare = 97;
452     enum __NR_futex = 98;
453     enum __NR_set_robust_list = 99;
454     enum __NR_get_robust_list = 100;
455     enum __NR_nanosleep = 101;
456     enum __NR_getitimer = 102;
457     enum __NR_setitimer = 103;
458     enum __NR_kexec_load = 104;
459     enum __NR_init_module = 105;
460     enum __NR_delete_module = 106;
461     enum __NR_timer_create = 107;
462     enum __NR_timer_gettime = 108;
463     enum __NR_timer_getoverrun = 109;
464     enum __NR_timer_settime = 110;
465     enum __NR_timer_delete = 111;
466     enum __NR_clock_settime = 112;
467     enum __NR_clock_gettime = 113;
468     enum __NR_clock_getres = 114;
469     enum __NR_clock_nanosleep = 115;
470     enum __NR_syslog = 116;
471     enum __NR_ptrace = 117;
472     enum __NR_sched_setparam = 118;
473     enum __NR_sched_setscheduler = 119;
474     enum __NR_sched_getscheduler = 120;
475     enum __NR_sched_getparam = 121;
476     enum __NR_sched_setaffinity = 122;
477     enum __NR_sched_getaffinity = 123;
478     enum __NR_sched_yield = 124;
479     enum __NR_sched_get_priority_max = 125;
480     enum __NR_sched_get_priority_min = 126;
481     enum __NR_sched_rr_get_interval = 127;
482     enum __NR_restart_syscall = 128;
483     enum __NR_kill = 129;
484     enum __NR_tkill = 130;
485     enum __NR_tgkill = 131;
486     enum __NR_sigaltstack = 132;
487     enum __NR_rt_sigsuspend = 133;
488     enum __NR_rt_sigaction = 134;
489     enum __NR_rt_sigprocmask = 135;
490     enum __NR_rt_sigpending = 136;
491     enum __NR_rt_sigtimedwait = 137;
492     enum __NR_rt_sigqueueinfo = 138;
493     enum __NR_rt_sigreturn = 139;
494     enum __NR_setpriority = 140;
495     enum __NR_getpriority = 141;
496     enum __NR_reboot = 142;
497     enum __NR_setregid = 143;
498     enum __NR_setgid = 144;
499     enum __NR_setreuid = 145;
500     enum __NR_setuid = 146;
501     enum __NR_setresuid = 147;
502     enum __NR_getresuid = 148;
503     enum __NR_setresgid = 149;
504     enum __NR_getresgid = 150;
505     enum __NR_setfsuid = 151;
506     enum __NR_setfsgid = 152;
507     enum __NR_times = 153;
508     enum __NR_setpgid = 154;
509     enum __NR_getpgid = 155;
510     enum __NR_getsid = 156;
511     enum __NR_setsid = 157;
512     enum __NR_getgroups = 158;
513     enum __NR_setgroups = 159;
514     enum __NR_uname = 160;
515     enum __NR_sethostname = 161;
516     enum __NR_setdomainname = 162;
517     enum __NR_getrlimit = 163;
518     enum __NR_setrlimit = 164;
519     enum __NR_getrusage = 165;
520     enum __NR_umask = 166;
521     enum __NR_prctl = 167;
522     enum __NR_getcpu = 168;
523     enum __NR_gettimeofday = 169;
524     enum __NR_settimeofday = 170;
525     enum __NR_adjtimex = 171;
526     enum __NR_getpid = 172;
527     enum __NR_getppid = 173;
528     enum __NR_getuid = 174;
529     enum __NR_geteuid = 175;
530     enum __NR_getgid = 176;
531     enum __NR_getegid = 177;
532     enum __NR_gettid = 178;
533     enum __NR_sysinfo = 179;
534     enum __NR_mq_open = 180;
535     enum __NR_mq_unlink = 181;
536     enum __NR_mq_timedsend = 182;
537     enum __NR_mq_timedreceive = 183;
538     enum __NR_mq_notify = 184;
539     enum __NR_mq_getsetattr = 185;
540     enum __NR_msgget = 186;
541     enum __NR_msgctl = 187;
542     enum __NR_msgrcv = 188;
543     enum __NR_msgsnd = 189;
544     enum __NR_semget = 190;
545     enum __NR_semctl = 191;
546     enum __NR_semtimedop = 192;
547     enum __NR_semop = 193;
548     enum __NR_shmget = 194;
549     enum __NR_shmctl = 195;
550     enum __NR_shmat = 196;
551     enum __NR_shmdt = 197;
552     enum __NR_socket = 198;
553     enum __NR_socketpair = 199;
554     enum __NR_bind = 200;
555     enum __NR_listen = 201;
556     enum __NR_accept = 202;
557     enum __NR_connect = 203;
558     enum __NR_getsockname = 204;
559     enum __NR_getpeername = 205;
560     enum __NR_sendto = 206;
561     enum __NR_recvfrom = 207;
562     enum __NR_setsockopt = 208;
563     enum __NR_getsockopt = 209;
564     enum __NR_shutdown = 210;
565     enum __NR_sendmsg = 211;
566     enum __NR_recvmsg = 212;
567     enum __NR_readahead = 213;
568     enum __NR_brk = 214;
569     enum __NR_munmap = 215;
570     enum __NR_mremap = 216;
571     enum __NR_add_key = 217;
572     enum __NR_request_key = 218;
573     enum __NR_keyctl = 219;
574     enum __NR_clone = 220;
575     enum __NR_execve = 221;
576     enum __NR3264_mmap = 222;
577     enum __NR3264_fadvise64 = 223;
578     enum __NR_swapoff = 225;
579     enum __NR_mprotect = 226;
580     enum __NR_msync = 227;
581     enum __NR_mlock = 228;
582     enum __NR_munlock = 229;
583     enum __NR_mlockall = 230;
584     enum __NR_munlockall = 231;
585     enum __NR_mincore = 232;
586     enum __NR_madvise = 233;
587     enum __NR_remap_file_pages = 234;
588     enum __NR_mbind = 235;
589     enum __NR_get_mempolicy = 236;
590     enum __NR_set_mempolicy = 237;
591     enum __NR_migrate_pages = 238;
592     enum __NR_move_pages = 239;
593     enum __NR_rt_tgsigqueueinfo = 240;
594     enum __NR_perf_event_open = 241;
595     enum __NR_accept4 = 242;
596     enum __NR_recvmmsg = 243;
597     enum __NR_arch_specific_syscall = 244;
598     enum __NR_wait4 = 260;
599     enum __NR_prlimit64 = 261;
600     enum __NR_fanotify_init = 262;
601     enum __NR_fanotify_mark = 263;
602     enum __NR_name_to_handle_at = 264;
603     enum __NR_open_by_handle_at = 265;
604     enum __NR_clock_adjtime = 266;
605     enum __NR_syncfs = 267;
606     enum __NR_setns = 268;
607     enum __NR_sendmmsg = 269;
608     enum __NR_process_vm_readv = 270;
609     enum __NR_process_vm_writev = 271;
610     enum __NR_kcmp = 272;
611     enum __NR_finit_module = 273;
612     enum __NR_sched_setattr = 274;
613     enum __NR_sched_getattr = 275;
614     enum __NR_renameat2 = 276;
615     enum __NR_seccomp = 277;
616     enum __NR_getrandom = 278;
617     enum __NR_memfd_create = 279;
618     enum __NR_bpf = 280;
619     enum __NR_execveat = 281;
620     enum __NR_userfaultfd = 282;
621     enum __NR_membarrier = 283;
622     enum __NR_mlock2 = 284;
623     enum __NR_copy_file_range = 285;
624     enum __NR_preadv2 = 286;
625     enum __NR_pwritev2 = 287;
626     enum __NR_pkey_mprotect = 288;
627     enum __NR_pkey_alloc = 289;
628     enum __NR_pkey_free = 290;
629     enum __NR_statx = 291;
630     enum __NR_open = 1024;
631     enum __NR_link = 1025;
632     enum __NR_unlink = 1026;
633     enum __NR_mknod = 1027;
634     enum __NR_chmod = 1028;
635     enum __NR_chown = 1029;
636     enum __NR_mkdir = 1030;
637     enum __NR_rmdir = 1031;
638     enum __NR_lchown = 1032;
639     enum __NR_access = 1033;
640     enum __NR_rename = 1034;
641     enum __NR_readlink = 1035;
642     enum __NR_symlink = 1036;
643     enum __NR_utimes = 1037;
644     enum __NR3264_stat = 1038;
645     enum __NR3264_lstat = 1039;
646     enum __NR_pipe = 1040;
647     enum __NR_dup2 = 1041;
648     enum __NR_epoll_create = 1042;
649     enum __NR_inotify_init = 1043;
650     enum __NR_eventfd = 1044;
651     enum __NR_signalfd = 1045;
652     enum __NR_alarm = 1059;
653     enum __NR_getpgrp = 1060;
654     enum __NR_pause = 1061;
655     enum __NR_time = 1062;
656     enum __NR_utime = 1063;
657     enum __NR_creat = 1064;
658     enum __NR_getdents = 1065;
659     enum __NR_futimesat = 1066;
660     enum __NR_select = 1067;
661     enum __NR_poll = 1068;
662     enum __NR_epoll_wait = 1069;
663     enum __NR_ustat = 1070;
664     enum __NR_vfork = 1071;
665     enum __NR_oldwait4 = 1072;
666     enum __NR_recv = 1073;
667     enum __NR_send = 1074;
668     enum __NR_bdflush = 1075;
669     enum __NR_umount = 1076;
670     enum __NR_uselib = 1077;
671     enum __NR__sysctl = 1078;
672     enum __NR_fork = 1079;
673     enum __NR_fcntl = __NR3264_fcntl;
674     enum __NR_statfs = __NR3264_statfs;
675     enum __NR_fstatfs = __NR3264_fstatfs;
676     enum __NR_truncate = __NR3264_truncate;
677     enum __NR_ftruncate = __NR3264_ftruncate;
678     enum __NR_lseek = __NR3264_lseek;
679     enum __NR_sendfile = __NR3264_sendfile;
680     enum __NR_newfstatat = __NR3264_fstatat;
681     enum __NR_fstat = __NR3264_fstat;
682     enum __NR_mmap = __NR3264_mmap;
683     enum __NR_fadvise64 = __NR3264_fadvise64;
684     enum __NR_stat = __NR3264_stat;
685     enum __NR_lstat = __NR3264_lstat;
686 }