1#![allow(non_upper_case_globals)]
2
3use core::ffi::c_long;
4
5#[must_use]
7pub fn is_valid_sys_call_number(number: c_long) -> bool {
8 crate::is_valid_sys_call_number(SYS_CALL_NAME, SYS_CALL_BASE_INDEX, number)
9}
10
11#[must_use]
13pub fn sys_call_name(number: c_long) -> Option<&'static str> {
14 crate::sys_call_name(SYS_CALL_NAME, SYS_CALL_BASE_INDEX, number)
15}
16
17pub const SYS_read: c_long = 0x1770;
18pub const SYS_write: c_long = 0x1771;
19pub const SYS_open: c_long = 0x1772;
20pub const SYS_close: c_long = 0x1773;
21pub const SYS_stat: c_long = 0x1774;
22pub const SYS_fstat: c_long = 0x1775;
23pub const SYS_lstat: c_long = 0x1776;
24pub const SYS_poll: c_long = 0x1777;
25pub const SYS_lseek: c_long = 0x1778;
26pub const SYS_mmap: c_long = 0x1779;
27pub const SYS_mprotect: c_long = 0x177a;
28pub const SYS_munmap: c_long = 0x177b;
29pub const SYS_brk: c_long = 0x177c;
30pub const SYS_rt_sigaction: c_long = 0x177d;
31pub const SYS_rt_sigprocmask: c_long = 0x177e;
32pub const SYS_ioctl: c_long = 0x177f;
33pub const SYS_pread64: c_long = 0x1780;
34pub const SYS_pwrite64: c_long = 0x1781;
35pub const SYS_readv: c_long = 0x1782;
36pub const SYS_writev: c_long = 0x1783;
37pub const SYS_access: c_long = 0x1784;
38pub const SYS_pipe: c_long = 0x1785;
39pub const SYS__newselect: c_long = 0x1786;
40pub const SYS_sched_yield: c_long = 0x1787;
41pub const SYS_mremap: c_long = 0x1788;
42pub const SYS_msync: c_long = 0x1789;
43pub const SYS_mincore: c_long = 0x178a;
44pub const SYS_madvise: c_long = 0x178b;
45pub const SYS_shmget: c_long = 0x178c;
46pub const SYS_shmat: c_long = 0x178d;
47pub const SYS_shmctl: c_long = 0x178e;
48pub const SYS_dup: c_long = 0x178f;
49pub const SYS_dup2: c_long = 0x1790;
50pub const SYS_pause: c_long = 0x1791;
51pub const SYS_nanosleep: c_long = 0x1792;
52pub const SYS_getitimer: c_long = 0x1793;
53pub const SYS_setitimer: c_long = 0x1794;
54pub const SYS_alarm: c_long = 0x1795;
55pub const SYS_getpid: c_long = 0x1796;
56pub const SYS_sendfile: c_long = 0x1797;
57pub const SYS_socket: c_long = 0x1798;
58pub const SYS_connect: c_long = 0x1799;
59pub const SYS_accept: c_long = 0x179a;
60pub const SYS_sendto: c_long = 0x179b;
61pub const SYS_recvfrom: c_long = 0x179c;
62pub const SYS_sendmsg: c_long = 0x179d;
63pub const SYS_recvmsg: c_long = 0x179e;
64pub const SYS_shutdown: c_long = 0x179f;
65pub const SYS_bind: c_long = 0x17a0;
66pub const SYS_listen: c_long = 0x17a1;
67pub const SYS_getsockname: c_long = 0x17a2;
68pub const SYS_getpeername: c_long = 0x17a3;
69pub const SYS_socketpair: c_long = 0x17a4;
70pub const SYS_setsockopt: c_long = 0x17a5;
71pub const SYS_getsockopt: c_long = 0x17a6;
72pub const SYS_clone: c_long = 0x17a7;
73pub const SYS_fork: c_long = 0x17a8;
74pub const SYS_execve: c_long = 0x17a9;
75pub const SYS_exit: c_long = 0x17aa;
76pub const SYS_wait4: c_long = 0x17ab;
77pub const SYS_kill: c_long = 0x17ac;
78pub const SYS_uname: c_long = 0x17ad;
79pub const SYS_semget: c_long = 0x17ae;
80pub const SYS_semop: c_long = 0x17af;
81pub const SYS_semctl: c_long = 0x17b0;
82pub const SYS_shmdt: c_long = 0x17b1;
83pub const SYS_msgget: c_long = 0x17b2;
84pub const SYS_msgsnd: c_long = 0x17b3;
85pub const SYS_msgrcv: c_long = 0x17b4;
86pub const SYS_msgctl: c_long = 0x17b5;
87pub const SYS_fcntl: c_long = 0x17b6;
88pub const SYS_flock: c_long = 0x17b7;
89pub const SYS_fsync: c_long = 0x17b8;
90pub const SYS_fdatasync: c_long = 0x17b9;
91pub const SYS_truncate: c_long = 0x17ba;
92pub const SYS_ftruncate: c_long = 0x17bb;
93pub const SYS_getdents: c_long = 0x17bc;
94pub const SYS_getcwd: c_long = 0x17bd;
95pub const SYS_chdir: c_long = 0x17be;
96pub const SYS_fchdir: c_long = 0x17bf;
97pub const SYS_rename: c_long = 0x17c0;
98pub const SYS_mkdir: c_long = 0x17c1;
99pub const SYS_rmdir: c_long = 0x17c2;
100pub const SYS_creat: c_long = 0x17c3;
101pub const SYS_link: c_long = 0x17c4;
102pub const SYS_unlink: c_long = 0x17c5;
103pub const SYS_symlink: c_long = 0x17c6;
104pub const SYS_readlink: c_long = 0x17c7;
105pub const SYS_chmod: c_long = 0x17c8;
106pub const SYS_fchmod: c_long = 0x17c9;
107pub const SYS_chown: c_long = 0x17ca;
108pub const SYS_fchown: c_long = 0x17cb;
109pub const SYS_lchown: c_long = 0x17cc;
110pub const SYS_umask: c_long = 0x17cd;
111pub const SYS_gettimeofday_time32: c_long = 0x17ce;
112pub const SYS_getrlimit: c_long = 0x17cf;
113pub const SYS_getrusage: c_long = 0x17d0;
114pub const SYS_sysinfo: c_long = 0x17d1;
115pub const SYS_times: c_long = 0x17d2;
116pub const SYS_ptrace: c_long = 0x17d3;
117pub const SYS_getuid: c_long = 0x17d4;
118pub const SYS_syslog: c_long = 0x17d5;
119pub const SYS_getgid: c_long = 0x17d6;
120pub const SYS_setuid: c_long = 0x17d7;
121pub const SYS_setgid: c_long = 0x17d8;
122pub const SYS_geteuid: c_long = 0x17d9;
123pub const SYS_getegid: c_long = 0x17da;
124pub const SYS_setpgid: c_long = 0x17db;
125pub const SYS_getppid: c_long = 0x17dc;
126pub const SYS_getpgrp: c_long = 0x17dd;
127pub const SYS_setsid: c_long = 0x17de;
128pub const SYS_setreuid: c_long = 0x17df;
129pub const SYS_setregid: c_long = 0x17e0;
130pub const SYS_getgroups: c_long = 0x17e1;
131pub const SYS_setgroups: c_long = 0x17e2;
132pub const SYS_setresuid: c_long = 0x17e3;
133pub const SYS_getresuid: c_long = 0x17e4;
134pub const SYS_setresgid: c_long = 0x17e5;
135pub const SYS_getresgid: c_long = 0x17e6;
136pub const SYS_getpgid: c_long = 0x17e7;
137pub const SYS_setfsuid: c_long = 0x17e8;
138pub const SYS_setfsgid: c_long = 0x17e9;
139pub const SYS_getsid: c_long = 0x17ea;
140pub const SYS_capget: c_long = 0x17eb;
141pub const SYS_capset: c_long = 0x17ec;
142pub const SYS_rt_sigpending: c_long = 0x17ed;
143pub const SYS_rt_sigtimedwait: c_long = 0x17ee;
144pub const SYS_rt_sigqueueinfo: c_long = 0x17ef;
145pub const SYS_rt_sigsuspend: c_long = 0x17f0;
146pub const SYS_sigaltstack: c_long = 0x17f1;
147pub const SYS_utime: c_long = 0x17f2;
148pub const SYS_mknod: c_long = 0x17f3;
149pub const SYS_personality: c_long = 0x17f4;
150pub const SYS_ustat: c_long = 0x17f5;
151pub const SYS_statfs: c_long = 0x17f6;
152pub const SYS_fstatfs: c_long = 0x17f7;
153pub const SYS_sysfs: c_long = 0x17f8;
154pub const SYS_getpriority: c_long = 0x17f9;
155pub const SYS_setpriority: c_long = 0x17fa;
156pub const SYS_sched_setparam: c_long = 0x17fb;
157pub const SYS_sched_getparam: c_long = 0x17fc;
158pub const SYS_sched_setscheduler: c_long = 0x17fd;
159pub const SYS_sched_getscheduler: c_long = 0x17fe;
160pub const SYS_sched_get_priority_max: c_long = 0x17ff;
161pub const SYS_sched_get_priority_min: c_long = 0x1800;
162pub const SYS_sched_rr_get_interval: c_long = 0x1801;
163pub const SYS_mlock: c_long = 0x1802;
164pub const SYS_munlock: c_long = 0x1803;
165pub const SYS_mlockall: c_long = 0x1804;
166pub const SYS_munlockall: c_long = 0x1805;
167pub const SYS_vhangup: c_long = 0x1806;
168pub const SYS_pivot_root: c_long = 0x1807;
169pub const SYS__sysctl: c_long = 0x1808;
170pub const SYS_prctl: c_long = 0x1809;
171pub const SYS_adjtimex: c_long = 0x180a;
172pub const SYS_setrlimit: c_long = 0x180b;
173pub const SYS_chroot: c_long = 0x180c;
174pub const SYS_sync: c_long = 0x180d;
175pub const SYS_acct: c_long = 0x180e;
176pub const SYS_settimeofday_time32: c_long = 0x180f;
177pub const SYS_mount: c_long = 0x1810;
178pub const SYS_umount2: c_long = 0x1811;
179pub const SYS_swapon: c_long = 0x1812;
180pub const SYS_swapoff: c_long = 0x1813;
181pub const SYS_reboot: c_long = 0x1814;
182pub const SYS_sethostname: c_long = 0x1815;
183pub const SYS_setdomainname: c_long = 0x1816;
184pub const SYS_create_module: c_long = 0x1817;
185pub const SYS_init_module: c_long = 0x1818;
186pub const SYS_delete_module: c_long = 0x1819;
187pub const SYS_get_kernel_syms: c_long = 0x181a;
188pub const SYS_query_module: c_long = 0x181b;
189pub const SYS_quotactl: c_long = 0x181c;
190pub const SYS_nfsservctl: c_long = 0x181d;
191pub const SYS_getpmsg: c_long = 0x181e;
192pub const SYS_putpmsg: c_long = 0x181f;
193pub const SYS_afs_syscall: c_long = 0x1820;
194pub const SYS_reserved177: c_long = 0x1821;
195pub const SYS_gettid: c_long = 0x1822;
196pub const SYS_readahead: c_long = 0x1823;
197pub const SYS_setxattr: c_long = 0x1824;
198pub const SYS_lsetxattr: c_long = 0x1825;
199pub const SYS_fsetxattr: c_long = 0x1826;
200pub const SYS_getxattr: c_long = 0x1827;
201pub const SYS_lgetxattr: c_long = 0x1828;
202pub const SYS_fgetxattr: c_long = 0x1829;
203pub const SYS_listxattr: c_long = 0x182a;
204pub const SYS_llistxattr: c_long = 0x182b;
205pub const SYS_flistxattr: c_long = 0x182c;
206pub const SYS_removexattr: c_long = 0x182d;
207pub const SYS_lremovexattr: c_long = 0x182e;
208pub const SYS_fremovexattr: c_long = 0x182f;
209pub const SYS_tkill: c_long = 0x1830;
210pub const SYS_reserved193: c_long = 0x1831;
211pub const SYS_futex: c_long = 0x1832;
212pub const SYS_sched_setaffinity: c_long = 0x1833;
213pub const SYS_sched_getaffinity: c_long = 0x1834;
214pub const SYS_cacheflush: c_long = 0x1835;
215pub const SYS_cachectl: c_long = 0x1836;
216pub const SYS_sysmips: c_long = 0x1837;
217pub const SYS_io_setup: c_long = 0x1838;
218pub const SYS_io_destroy: c_long = 0x1839;
219pub const SYS_io_getevents: c_long = 0x183a;
220pub const SYS_io_submit: c_long = 0x183b;
221pub const SYS_io_cancel: c_long = 0x183c;
222pub const SYS_exit_group: c_long = 0x183d;
223pub const SYS_lookup_dcookie: c_long = 0x183e;
224pub const SYS_epoll_create: c_long = 0x183f;
225pub const SYS_epoll_ctl: c_long = 0x1840;
226pub const SYS_epoll_wait: c_long = 0x1841;
227pub const SYS_remap_file_pages: c_long = 0x1842;
228pub const SYS_rt_sigreturn: c_long = 0x1843;
229pub const SYS_fcntl64: c_long = 0x1844;
230pub const SYS_set_tid_address: c_long = 0x1845;
231pub const SYS_restart_syscall: c_long = 0x1846;
232pub const SYS_semtimedop: c_long = 0x1847;
233pub const SYS_fadvise64: c_long = 0x1848;
234pub const SYS_statfs64: c_long = 0x1849;
235pub const SYS_fstatfs64: c_long = 0x184a;
236pub const SYS_sendfile64: c_long = 0x184b;
237pub const SYS_timer_create: c_long = 0x184c;
238pub const SYS_timer_settime32: c_long = 0x184d;
239pub const SYS_timer_gettime32: c_long = 0x184e;
240pub const SYS_timer_getoverrun: c_long = 0x184f;
241pub const SYS_timer_delete: c_long = 0x1850;
242pub const SYS_clock_settime32: c_long = 0x1851;
243pub const SYS_clock_gettime32: c_long = 0x1852;
244pub const SYS_clock_getres_time32: c_long = 0x1853;
245pub const SYS_clock_nanosleep_time32: c_long = 0x1854;
246pub const SYS_tgkill: c_long = 0x1855;
247pub const SYS_utimes: c_long = 0x1856;
248pub const SYS_mbind: c_long = 0x1857;
249pub const SYS_get_mempolicy: c_long = 0x1858;
250pub const SYS_set_mempolicy: c_long = 0x1859;
251pub const SYS_mq_open: c_long = 0x185a;
252pub const SYS_mq_unlink: c_long = 0x185b;
253pub const SYS_mq_timedsend: c_long = 0x185c;
254pub const SYS_mq_timedreceive: c_long = 0x185d;
255pub const SYS_mq_notify: c_long = 0x185e;
256pub const SYS_mq_getsetattr: c_long = 0x185f;
257pub const SYS_vserver: c_long = 0x1860;
258pub const SYS_waitid: c_long = 0x1861;
259pub const SYS_add_key: c_long = 0x1863;
260pub const SYS_request_key: c_long = 0x1864;
261pub const SYS_keyctl: c_long = 0x1865;
262pub const SYS_set_thread_area: c_long = 0x1866;
263pub const SYS_inotify_init: c_long = 0x1867;
264pub const SYS_inotify_add_watch: c_long = 0x1868;
265pub const SYS_inotify_rm_watch: c_long = 0x1869;
266pub const SYS_migrate_pages: c_long = 0x186a;
267pub const SYS_openat: c_long = 0x186b;
268pub const SYS_mkdirat: c_long = 0x186c;
269pub const SYS_mknodat: c_long = 0x186d;
270pub const SYS_fchownat: c_long = 0x186e;
271pub const SYS_futimesat: c_long = 0x186f;
272pub const SYS_newfstatat: c_long = 0x1870;
273pub const SYS_unlinkat: c_long = 0x1871;
274pub const SYS_renameat: c_long = 0x1872;
275pub const SYS_linkat: c_long = 0x1873;
276pub const SYS_symlinkat: c_long = 0x1874;
277pub const SYS_readlinkat: c_long = 0x1875;
278pub const SYS_fchmodat: c_long = 0x1876;
279pub const SYS_faccessat: c_long = 0x1877;
280pub const SYS_pselect6: c_long = 0x1878;
281pub const SYS_ppoll: c_long = 0x1879;
282pub const SYS_unshare: c_long = 0x187a;
283pub const SYS_splice: c_long = 0x187b;
284pub const SYS_sync_file_range: c_long = 0x187c;
285pub const SYS_tee: c_long = 0x187d;
286pub const SYS_vmsplice: c_long = 0x187e;
287pub const SYS_move_pages: c_long = 0x187f;
288pub const SYS_set_robust_list: c_long = 0x1880;
289pub const SYS_get_robust_list: c_long = 0x1881;
290pub const SYS_kexec_load: c_long = 0x1882;
291pub const SYS_getcpu: c_long = 0x1883;
292pub const SYS_epoll_pwait: c_long = 0x1884;
293pub const SYS_ioprio_set: c_long = 0x1885;
294pub const SYS_ioprio_get: c_long = 0x1886;
295pub const SYS_utimensat: c_long = 0x1887;
296pub const SYS_signalfd: c_long = 0x1888;
297pub const SYS_timerfd: c_long = 0x1889;
298pub const SYS_eventfd: c_long = 0x188a;
299pub const SYS_fallocate: c_long = 0x188b;
300pub const SYS_timerfd_create: c_long = 0x188c;
301pub const SYS_timerfd_gettime32: c_long = 0x188d;
302pub const SYS_timerfd_settime32: c_long = 0x188e;
303pub const SYS_signalfd4: c_long = 0x188f;
304pub const SYS_eventfd2: c_long = 0x1890;
305pub const SYS_epoll_create1: c_long = 0x1891;
306pub const SYS_dup3: c_long = 0x1892;
307pub const SYS_pipe2: c_long = 0x1893;
308pub const SYS_inotify_init1: c_long = 0x1894;
309pub const SYS_preadv: c_long = 0x1895;
310pub const SYS_pwritev: c_long = 0x1896;
311pub const SYS_rt_tgsigqueueinfo: c_long = 0x1897;
312pub const SYS_perf_event_open: c_long = 0x1898;
313pub const SYS_accept4: c_long = 0x1899;
314pub const SYS_recvmmsg: c_long = 0x189a;
315pub const SYS_getdents64: c_long = 0x189b;
316pub const SYS_fanotify_init: c_long = 0x189c;
317pub const SYS_fanotify_mark: c_long = 0x189d;
318pub const SYS_prlimit64: c_long = 0x189e;
319pub const SYS_name_to_handle_at: c_long = 0x189f;
320pub const SYS_open_by_handle_at: c_long = 0x18a0;
321pub const SYS_clock_adjtime: c_long = 0x18a1;
322pub const SYS_syncfs: c_long = 0x18a2;
323pub const SYS_sendmmsg: c_long = 0x18a3;
324pub const SYS_setns: c_long = 0x18a4;
325pub const SYS_process_vm_readv: c_long = 0x18a5;
326pub const SYS_process_vm_writev: c_long = 0x18a6;
327pub const SYS_kcmp: c_long = 0x18a7;
328pub const SYS_finit_module: c_long = 0x18a8;
329pub const SYS_sched_setattr: c_long = 0x18a9;
330pub const SYS_sched_getattr: c_long = 0x18aa;
331pub const SYS_renameat2: c_long = 0x18ab;
332pub const SYS_seccomp: c_long = 0x18ac;
333pub const SYS_getrandom: c_long = 0x18ad;
334pub const SYS_memfd_create: c_long = 0x18ae;
335pub const SYS_bpf: c_long = 0x18af;
336pub const SYS_execveat: c_long = 0x18b0;
337pub const SYS_userfaultfd: c_long = 0x18b1;
338pub const SYS_membarrier: c_long = 0x18b2;
339pub const SYS_mlock2: c_long = 0x18b3;
340pub const SYS_copy_file_range: c_long = 0x18b4;
341pub const SYS_preadv2: c_long = 0x18b5;
342pub const SYS_pwritev2: c_long = 0x18b6;
343pub const SYS_pkey_mprotect: c_long = 0x18b7;
344pub const SYS_pkey_alloc: c_long = 0x18b8;
345pub const SYS_pkey_free: c_long = 0x18b9;
346pub const SYS_statx: c_long = 0x18ba;
347pub const SYS_rseq: c_long = 0x18bb;
348pub const SYS_io_pgetevents: c_long = 0x18bc;
349pub const SYS_clock_gettime64: c_long = 0x1903;
350pub const SYS_clock_settime64: c_long = 0x1904;
351pub const SYS_clock_adjtime64: c_long = 0x1905;
352pub const SYS_clock_getres_time64: c_long = 0x1906;
353pub const SYS_clock_nanosleep_time64: c_long = 0x1907;
354pub const SYS_timer_gettime64: c_long = 0x1908;
355pub const SYS_timer_settime64: c_long = 0x1909;
356pub const SYS_timerfd_gettime64: c_long = 0x190a;
357pub const SYS_timerfd_settime64: c_long = 0x190b;
358pub const SYS_utimensat_time64: c_long = 0x190c;
359pub const SYS_pselect6_time64: c_long = 0x190d;
360pub const SYS_ppoll_time64: c_long = 0x190e;
361pub const SYS_io_pgetevents_time64: c_long = 0x1910;
362pub const SYS_recvmmsg_time64: c_long = 0x1911;
363pub const SYS_mq_timedsend_time64: c_long = 0x1912;
364pub const SYS_mq_timedreceive_time64: c_long = 0x1913;
365pub const SYS_semtimedop_time64: c_long = 0x1914;
366pub const SYS_rt_sigtimedwait_time64: c_long = 0x1915;
367pub const SYS_futex_time64: c_long = 0x1916;
368pub const SYS_sched_rr_get_interval_time64: c_long = 0x1917;
369pub const SYS_pidfd_send_signal: c_long = 0x1918;
370pub const SYS_io_uring_setup: c_long = 0x1919;
371pub const SYS_io_uring_enter: c_long = 0x191a;
372pub const SYS_io_uring_register: c_long = 0x191b;
373pub const SYS_open_tree: c_long = 0x191c;
374pub const SYS_move_mount: c_long = 0x191d;
375pub const SYS_fsopen: c_long = 0x191e;
376pub const SYS_fsconfig: c_long = 0x191f;
377pub const SYS_fsmount: c_long = 0x1920;
378pub const SYS_fspick: c_long = 0x1921;
379pub const SYS_pidfd_open: c_long = 0x1922;
380pub const SYS_clone3: c_long = 0x1923;
381pub const SYS_close_range: c_long = 0x1924;
382pub const SYS_openat2: c_long = 0x1925;
383pub const SYS_pidfd_getfd: c_long = 0x1926;
384pub const SYS_faccessat2: c_long = 0x1927;
385pub const SYS_process_madvise: c_long = 0x1928;
386pub const SYS_epoll_pwait2: c_long = 0x1929;
387pub const SYS_mount_setattr: c_long = 0x192a;
388pub const SYS_quotactl_fd: c_long = 0x192b;
389pub const SYS_landlock_create_ruleset: c_long = 0x192c;
390pub const SYS_landlock_add_rule: c_long = 0x192d;
391pub const SYS_landlock_restrict_self: c_long = 0x192e;
392pub const SYS_process_mrelease: c_long = 0x1930;
393pub const SYS_futex_waitv: c_long = 0x1931;
394pub const SYS_set_mempolicy_home_node: c_long = 0x1932;
395pub const SYS_cachestat: c_long = 0x1933;
396pub const SYS_fchmodat2: c_long = 0x1934;
397pub const SYS_map_shadow_stack: c_long = 0x1935;
398pub const SYS_futex_wake: c_long = 0x1936;
399pub const SYS_futex_wait: c_long = 0x1937;
400pub const SYS_futex_requeue: c_long = 0x1938;
401pub const SYS_statmount: c_long = 0x1939;
402pub const SYS_listmount: c_long = 0x193a;
403pub const SYS_lsm_get_self_attr: c_long = 0x193b;
404pub const SYS_lsm_set_self_attr: c_long = 0x193c;
405pub const SYS_lsm_list_modules: c_long = 0x193d;
406pub const SYS_mseal: c_long = 0x193e;
407pub const SYS_setxattrat: c_long = 0x193f;
408pub const SYS_getxattrat: c_long = 0x1940;
409pub const SYS_listxattrat: c_long = 0x1941;
410pub const SYS_removexattrat: c_long = 0x1942;
411pub const SYS_open_tree_attr: c_long = 0x1943;
412pub const SYS_file_getattr: c_long = 0x1944;
413pub const SYS_file_setattr: c_long = 0x1945;
414pub const SYS_listns: c_long = 0x1946;
415
416pub(crate) const SYS_CALL_BASE_INDEX: c_long = 0x1770;
418
419pub(crate) static SYS_CALL_NAME: &[&str] = &[
421 "read",
422 "write",
423 "open",
424 "close",
425 "stat",
426 "fstat",
427 "lstat",
428 "poll",
429 "lseek",
430 "mmap",
431 "mprotect",
432 "munmap",
433 "brk",
434 "rt_sigaction",
435 "rt_sigprocmask",
436 "ioctl",
437 "pread64",
438 "pwrite64",
439 "readv",
440 "writev",
441 "access",
442 "pipe",
443 "_newselect",
444 "sched_yield",
445 "mremap",
446 "msync",
447 "mincore",
448 "madvise",
449 "shmget",
450 "shmat",
451 "shmctl",
452 "dup",
453 "dup2",
454 "pause",
455 "nanosleep",
456 "getitimer",
457 "setitimer",
458 "alarm",
459 "getpid",
460 "sendfile",
461 "socket",
462 "connect",
463 "accept",
464 "sendto",
465 "recvfrom",
466 "sendmsg",
467 "recvmsg",
468 "shutdown",
469 "bind",
470 "listen",
471 "getsockname",
472 "getpeername",
473 "socketpair",
474 "setsockopt",
475 "getsockopt",
476 "clone",
477 "fork",
478 "execve",
479 "exit",
480 "wait4",
481 "kill",
482 "uname",
483 "semget",
484 "semop",
485 "semctl",
486 "shmdt",
487 "msgget",
488 "msgsnd",
489 "msgrcv",
490 "msgctl",
491 "fcntl",
492 "flock",
493 "fsync",
494 "fdatasync",
495 "truncate",
496 "ftruncate",
497 "getdents",
498 "getcwd",
499 "chdir",
500 "fchdir",
501 "rename",
502 "mkdir",
503 "rmdir",
504 "creat",
505 "link",
506 "unlink",
507 "symlink",
508 "readlink",
509 "chmod",
510 "fchmod",
511 "chown",
512 "fchown",
513 "lchown",
514 "umask",
515 "gettimeofday_time32",
516 "getrlimit",
517 "getrusage",
518 "sysinfo",
519 "times",
520 "ptrace",
521 "getuid",
522 "syslog",
523 "getgid",
524 "setuid",
525 "setgid",
526 "geteuid",
527 "getegid",
528 "setpgid",
529 "getppid",
530 "getpgrp",
531 "setsid",
532 "setreuid",
533 "setregid",
534 "getgroups",
535 "setgroups",
536 "setresuid",
537 "getresuid",
538 "setresgid",
539 "getresgid",
540 "getpgid",
541 "setfsuid",
542 "setfsgid",
543 "getsid",
544 "capget",
545 "capset",
546 "rt_sigpending",
547 "rt_sigtimedwait",
548 "rt_sigqueueinfo",
549 "rt_sigsuspend",
550 "sigaltstack",
551 "utime",
552 "mknod",
553 "personality",
554 "ustat",
555 "statfs",
556 "fstatfs",
557 "sysfs",
558 "getpriority",
559 "setpriority",
560 "sched_setparam",
561 "sched_getparam",
562 "sched_setscheduler",
563 "sched_getscheduler",
564 "sched_get_priority_max",
565 "sched_get_priority_min",
566 "sched_rr_get_interval",
567 "mlock",
568 "munlock",
569 "mlockall",
570 "munlockall",
571 "vhangup",
572 "pivot_root",
573 "_sysctl",
574 "prctl",
575 "adjtimex",
576 "setrlimit",
577 "chroot",
578 "sync",
579 "acct",
580 "settimeofday_time32",
581 "mount",
582 "umount2",
583 "swapon",
584 "swapoff",
585 "reboot",
586 "sethostname",
587 "setdomainname",
588 "create_module",
589 "init_module",
590 "delete_module",
591 "get_kernel_syms",
592 "query_module",
593 "quotactl",
594 "nfsservctl",
595 "getpmsg",
596 "putpmsg",
597 "afs_syscall",
598 "reserved177",
599 "gettid",
600 "readahead",
601 "setxattr",
602 "lsetxattr",
603 "fsetxattr",
604 "getxattr",
605 "lgetxattr",
606 "fgetxattr",
607 "listxattr",
608 "llistxattr",
609 "flistxattr",
610 "removexattr",
611 "lremovexattr",
612 "fremovexattr",
613 "tkill",
614 "reserved193",
615 "futex",
616 "sched_setaffinity",
617 "sched_getaffinity",
618 "cacheflush",
619 "cachectl",
620 "sysmips",
621 "io_setup",
622 "io_destroy",
623 "io_getevents",
624 "io_submit",
625 "io_cancel",
626 "exit_group",
627 "lookup_dcookie",
628 "epoll_create",
629 "epoll_ctl",
630 "epoll_wait",
631 "remap_file_pages",
632 "rt_sigreturn",
633 "fcntl64",
634 "set_tid_address",
635 "restart_syscall",
636 "semtimedop",
637 "fadvise64",
638 "statfs64",
639 "fstatfs64",
640 "sendfile64",
641 "timer_create",
642 "timer_settime32",
643 "timer_gettime32",
644 "timer_getoverrun",
645 "timer_delete",
646 "clock_settime32",
647 "clock_gettime32",
648 "clock_getres_time32",
649 "clock_nanosleep_time32",
650 "tgkill",
651 "utimes",
652 "mbind",
653 "get_mempolicy",
654 "set_mempolicy",
655 "mq_open",
656 "mq_unlink",
657 "mq_timedsend",
658 "mq_timedreceive",
659 "mq_notify",
660 "mq_getsetattr",
661 "vserver",
662 "waitid",
663 "",
664 "add_key",
665 "request_key",
666 "keyctl",
667 "set_thread_area",
668 "inotify_init",
669 "inotify_add_watch",
670 "inotify_rm_watch",
671 "migrate_pages",
672 "openat",
673 "mkdirat",
674 "mknodat",
675 "fchownat",
676 "futimesat",
677 "newfstatat",
678 "unlinkat",
679 "renameat",
680 "linkat",
681 "symlinkat",
682 "readlinkat",
683 "fchmodat",
684 "faccessat",
685 "pselect6",
686 "ppoll",
687 "unshare",
688 "splice",
689 "sync_file_range",
690 "tee",
691 "vmsplice",
692 "move_pages",
693 "set_robust_list",
694 "get_robust_list",
695 "kexec_load",
696 "getcpu",
697 "epoll_pwait",
698 "ioprio_set",
699 "ioprio_get",
700 "utimensat",
701 "signalfd",
702 "timerfd",
703 "eventfd",
704 "fallocate",
705 "timerfd_create",
706 "timerfd_gettime32",
707 "timerfd_settime32",
708 "signalfd4",
709 "eventfd2",
710 "epoll_create1",
711 "dup3",
712 "pipe2",
713 "inotify_init1",
714 "preadv",
715 "pwritev",
716 "rt_tgsigqueueinfo",
717 "perf_event_open",
718 "accept4",
719 "recvmmsg",
720 "getdents64",
721 "fanotify_init",
722 "fanotify_mark",
723 "prlimit64",
724 "name_to_handle_at",
725 "open_by_handle_at",
726 "clock_adjtime",
727 "syncfs",
728 "sendmmsg",
729 "setns",
730 "process_vm_readv",
731 "process_vm_writev",
732 "kcmp",
733 "finit_module",
734 "sched_setattr",
735 "sched_getattr",
736 "renameat2",
737 "seccomp",
738 "getrandom",
739 "memfd_create",
740 "bpf",
741 "execveat",
742 "userfaultfd",
743 "membarrier",
744 "mlock2",
745 "copy_file_range",
746 "preadv2",
747 "pwritev2",
748 "pkey_mprotect",
749 "pkey_alloc",
750 "pkey_free",
751 "statx",
752 "rseq",
753 "io_pgetevents",
754 "",
755 "",
756 "",
757 "",
758 "",
759 "",
760 "",
761 "",
762 "",
763 "",
764 "",
765 "",
766 "",
767 "",
768 "",
769 "",
770 "",
771 "",
772 "",
773 "",
774 "",
775 "",
776 "",
777 "",
778 "",
779 "",
780 "",
781 "",
782 "",
783 "",
784 "",
785 "",
786 "",
787 "",
788 "",
789 "",
790 "",
791 "",
792 "",
793 "",
794 "",
795 "",
796 "",
797 "",
798 "",
799 "",
800 "",
801 "",
802 "",
803 "",
804 "",
805 "",
806 "",
807 "",
808 "",
809 "",
810 "",
811 "",
812 "",
813 "",
814 "",
815 "",
816 "",
817 "",
818 "",
819 "",
820 "",
821 "",
822 "",
823 "",
824 "clock_gettime64",
825 "clock_settime64",
826 "clock_adjtime64",
827 "clock_getres_time64",
828 "clock_nanosleep_time64",
829 "timer_gettime64",
830 "timer_settime64",
831 "timerfd_gettime64",
832 "timerfd_settime64",
833 "utimensat_time64",
834 "pselect6_time64",
835 "ppoll_time64",
836 "",
837 "io_pgetevents_time64",
838 "recvmmsg_time64",
839 "mq_timedsend_time64",
840 "mq_timedreceive_time64",
841 "semtimedop_time64",
842 "rt_sigtimedwait_time64",
843 "futex_time64",
844 "sched_rr_get_interval_time64",
845 "pidfd_send_signal",
846 "io_uring_setup",
847 "io_uring_enter",
848 "io_uring_register",
849 "open_tree",
850 "move_mount",
851 "fsopen",
852 "fsconfig",
853 "fsmount",
854 "fspick",
855 "pidfd_open",
856 "clone3",
857 "close_range",
858 "openat2",
859 "pidfd_getfd",
860 "faccessat2",
861 "process_madvise",
862 "epoll_pwait2",
863 "mount_setattr",
864 "quotactl_fd",
865 "landlock_create_ruleset",
866 "landlock_add_rule",
867 "landlock_restrict_self",
868 "",
869 "process_mrelease",
870 "futex_waitv",
871 "set_mempolicy_home_node",
872 "cachestat",
873 "fchmodat2",
874 "map_shadow_stack",
875 "futex_wake",
876 "futex_wait",
877 "futex_requeue",
878 "statmount",
879 "listmount",
880 "lsm_get_self_attr",
881 "lsm_set_self_attr",
882 "lsm_list_modules",
883 "mseal",
884 "setxattrat",
885 "getxattrat",
886 "listxattrat",
887 "removexattrat",
888 "open_tree_attr",
889 "file_getattr",
890 "file_setattr",
891 "listns",
892];