Files
Jordy Zomer 64cf5c30f2 Add Linux kernel CodeQL queries (#75)
* Add first util query that finds syscalls and their arguments.

Signed-off-by: Jordy Zomer <jordyzomer@google.com>

* Add README for kernel dir and query to find interesting objects for
kernel heap exploitation.

Signed-off-by: Jordy Zomer <jordyzomer@google.com>

* Fix superfluous `:`

Signed-off-by: Jordy Zomer <jordyzomer@google.com>

* Rename directory

Signed-off-by: Jordy Zomer <jordyzomer@google.com>

* Rename again so we can add more tools :)

Signed-off-by: Jordy Zomer <jordyzomer@google.com>

---------

Signed-off-by: Jordy Zomer <jordyzomer@google.com>
2024-01-19 17:30:41 +01:00

30 KiB

1syscallcol1
2__do_sys_ni_syscallconst pt_regs * __unused
3__do_sys_ioplunsigned int level
4__do_sys_iopermunsigned long from, unsigned long num, int turn_on
5__do_sys_mmapunsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long off
6__do_sys_modify_ldtint func, void * ptr, unsigned long bytecount
7__do_sys_get_thread_areauser_desc * u_info
8__do_sys_set_thread_areauser_desc * u_info
9__do_sys_rt_sigreturnconst pt_regs * __unused
10__do_sys_arch_prctlint option, unsigned long arg2
11__do_sys_ia32_fallocateint fd, int mode, unsigned int offset_lo, unsigned int offset_hi, unsigned int len_lo, unsigned int len_hi
12__do_sys_ia32_fadvise64int fd, unsigned int offset_lo, unsigned int offset_hi, size_t len, int advice
13__do_sys_ia32_sync_file_rangeint fd, unsigned int off_low, unsigned int off_hi, unsigned int n_low, unsigned int n_hi, int flags
14__do_sys_ia32_readaheadint fd, unsigned int off_lo, unsigned int off_hi, size_t count
15__do_sys_ia32_fadvise64_64int fd, __u32 offset_low, __u32 offset_high, __u32 len_low, __u32 len_high, int advice
16__do_sys_ia32_pwrite64unsigned int fd, const char * ubuf, u32 count, u32 poslo, u32 poshi
17__do_sys_ia32_pread64unsigned int fd, char * ubuf, u32 count, u32 poslo, u32 poshi
18__do_sys_ia32_ftruncate64unsigned int fd, unsigned long offset_low, unsigned long offset_high
19__do_sys_ia32_truncate64const char * filename, unsigned long offset_low, unsigned long offset_high
20__do_sys_ioprio_getint which, int who
21__do_sys_ioprio_setint which, int who, int ioprio
22__do_sys_getrandomchar * ubuf, size_t len, unsigned int flags
23__do_sys_io_getevents_time32__u32 ctx_id, __s32 min_nr, __s32 nr, io_event * events, old_timespec32 * timeout
24__do_sys_io_pgeteventsaio_context_t ctx_id, long min_nr, long nr, io_event * events, __kernel_timespec * timeout, const __aio_sigset * usig
25__do_sys_io_geteventsaio_context_t ctx_id, long min_nr, long nr, io_event * events, __kernel_timespec * timeout
26__do_sys_io_cancelaio_context_t ctx_id, iocb * iocb, io_event * result
27__do_sys_io_submitaio_context_t ctx_id, long nr, iocb ** iocbpp
28__do_sys_io_destroyaio_context_t ctx
29__do_sys_io_setupunsigned int nr_events, aio_context_t * ctxp
30__do_sys_getcwdchar * buf, unsigned long size
31__do_sys_eventfdunsigned int count
32__do_sys_eventfd2unsigned int count, int flags
33__do_sys_execveatint fd, const char * filename, const char *const * argv, const char *const * envp, int flags
34__do_sys_epoll_pwait2int epfd, epoll_event * events, int maxevents, const __kernel_timespec * timeout, const sigset_t * sigmask, size_t sigsetsize
35__do_sys_execveconst char * filename, const char *const * argv, const char *const * envp
36__do_sys_epoll_pwaitint epfd, epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize
37__do_sys_epoll_waitint epfd, epoll_event * events, int maxevents, int timeout
38__do_sys_epoll_ctlint epfd, int op, int fd, epoll_event * event
39__do_sys_epoll_createint size
40__do_sys_epoll_create1int flags
41__do_sys_uselibconst char * library
42__do_sys_sysfsint option, unsigned long arg1, unsigned long arg2
43__do_sys_open_by_handle_atint mountdirfd, file_handle * handle, int flags
44__do_sys_name_to_handle_atint dfd, const char * name, file_handle * handle, int * mnt_id, int flag
45__do_sys_fcntlunsigned int fd, unsigned int cmd, unsigned long arg
46__do_sys_fsconfigint fd, unsigned int cmd, const char * _key, const void * _value, int aux
47__do_sys_fspickint dfd, const char * path, unsigned int flags
48__do_sys_fsopenconst char * _fs_name, unsigned int flags
49__do_sys_dupunsigned int fildes
50__do_sys_dup2unsigned int oldfd, unsigned int newfd
51__do_sys_dup3unsigned int oldfd, unsigned int newfd, int flags
52__do_sys_ioctlunsigned int fd, unsigned int cmd, unsigned long arg
53__do_sys_mount_setattrint dfd, const char * path, unsigned int flags, mount_attr * uattr, size_t usize
54__do_sys_pivot_rootconst char * new_root, const char * put_old
55__do_sys_move_mountint from_dfd, const char * from_pathname, int to_dfd, const char * to_pathname, unsigned int flags
56__do_sys_fsmountint fs_fd, unsigned int flags, unsigned int attr_flags
57__do_sys_mountchar * dev_name, char * dir_name, char * type, unsigned long flags, void * data
58__do_sys_open_treeint dfd, const char * filename, unsigned int flags
59__do_sys_oldumountchar * name
60__do_sys_umountchar * name, int flags
61__do_sys_renameconst char * oldname, const char * newname
62__do_sys_renameatint olddfd, const char * oldname, int newdfd, const char * newname
63__do_sys_renameat2int olddfd, const char * oldname, int newdfd, const char * newname, unsigned int flags
64__do_sys_linkconst char * oldname, const char * newname
65__do_sys_linkatint olddfd, const char * oldname, int newdfd, const char * newname, int flags
66__do_sys_symlinkconst char * oldname, const char * newname
67__do_sys_symlinkatconst char * oldname, int newdfd, const char * newname
68__do_sys_unlinkconst char * pathname
69__do_sys_unlinkatint dfd, const char * pathname, int flag
70__do_sys_rmdirconst char * pathname
71__do_sys_mkdirconst char * pathname, umode_t mode
72__do_sys_mkdiratint dfd, const char * pathname, umode_t mode
73__do_sys_mknodconst char * filename, umode_t mode, unsigned int dev
74__do_sys_mknodatint dfd, const char * filename, umode_t mode, unsigned int dev
75__do_sys_flockunsigned int fd, unsigned int cmd
76__do_sys_fanotify_markint fanotify_fd, unsigned int flags, __u64 mask, int dfd, const char * pathname
77__do_sys_fanotify_initunsigned int flags, unsigned int event_f_flags
78__do_sys_inotify_rm_watchint fd, __s32 wd
79__do_sys_inotify_add_watchint fd, const char * pathname, u32 mask
80__do_sys_inotify_initconst pt_regs * __unused
81__do_sys_inotify_init1int flags
82__do_sys_vhangupconst pt_regs * __unused
83__do_sys_close_rangeunsigned int fd, unsigned int max_fd, unsigned int flags
84__do_sys_closeunsigned int fd
85__do_sys_creatconst char * pathname, umode_t mode
86__do_sys_openat2int dfd, const char * filename, open_how * how, size_t usize
87__do_sys_openatint dfd, const char * filename, int flags, umode_t mode
88__do_sys_openconst char * filename, int flags, umode_t mode
89__do_sys_fchownunsigned int fd, uid_t user, gid_t group
90__do_sys_lchownconst char * filename, uid_t user, gid_t group
91__do_sys_chownconst char * filename, uid_t user, gid_t group
92__do_sys_fchownatint dfd, const char * filename, uid_t user, gid_t group, int flag
93__do_sys_chmodconst char * filename, umode_t mode
94__do_sys_fchmodatint dfd, const char * filename, umode_t mode
95__do_sys_fchmodunsigned int fd, umode_t mode
96__do_sys_chrootconst char * filename
97__do_sys_fchdirunsigned int fd
98__do_sys_chdirconst char * filename
99__do_sys_accessconst char * filename, int mode
100__do_sys_faccessat2int dfd, const char * filename, int mode, int flags
101__do_sys_faccessatint dfd, const char * filename, int mode
102__do_sys_fallocateint fd, int mode, loff_t offset, loff_t len
103__do_sys_ftruncateunsigned int fd, unsigned long length
104__do_sys_truncateconst char * path, long length
105__do_sys_pipeint * fildes
106__do_sys_pipe2int * fildes, int flags
107__do_sys_quotactl_fdunsigned int fd, unsigned int cmd, qid_t id, void * addr
108__do_sys_quotactlunsigned int cmd, const char * special, qid_t id, void * addr
109__do_sys_getdents64unsigned int fd, linux_dirent64 * dirent, unsigned int count
110__do_sys_copy_file_rangeint fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags
111__do_sys_getdentsunsigned int fd, linux_dirent * dirent, unsigned int count
112__do_sys_sendfile64int out_fd, int in_fd, loff_t * offset, size_t count
113__do_sys_sendfileint out_fd, int in_fd, off_t * offset, size_t count
114__do_sys_signalfdint ufd, sigset_t * user_mask, size_t sizemask
115__do_sys_signalfd4int ufd, sigset_t * user_mask, size_t sizemask, int flags
116__do_sys_old_readdirunsigned int fd, old_linux_dirent * dirent, unsigned int count
117__do_sys_pwritev2unsigned long fd, const iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags
118__do_sys_pwritevunsigned long fd, const iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h
119__do_sys_preadv2unsigned long fd, const iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags
120__do_sys_preadvunsigned long fd, const iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h
121__do_sys_writevunsigned long fd, const iovec * vec, unsigned long vlen
122__do_sys_readvunsigned long fd, const iovec * vec, unsigned long vlen
123__do_sys_pwrite64unsigned int fd, const char * buf, size_t count, loff_t pos
124__do_sys_pread64unsigned int fd, char * buf, size_t count, loff_t pos
125__do_sys_writeunsigned int fd, const char * buf, size_t count
126__do_sys_readunsigned int fd, char * buf, size_t count
127__do_sys_llseekunsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int whence
128__do_sys_lseekunsigned int fd, off_t offset, unsigned int whence
129__do_sys_ppollpollfd * ufds, unsigned int nfds, __kernel_timespec * tsp, const sigset_t * sigmask, size_t sigsetsize
130__do_sys_pollpollfd * ufds, unsigned int nfds, int timeout_msecs
131__do_sys_pselect6int n, fd_set * inp, fd_set * outp, fd_set * exp, __kernel_timespec * tsp, void * sig
132__do_sys_selectint n, fd_set * inp, fd_set * outp, fd_set * exp, __kernel_old_timeval * tvp
133__do_sys_teeint fdin, int fdout, size_t len, unsigned int flags
134__do_sys_spliceint fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags
135__do_sys_vmspliceint fd, const iovec * uiov, unsigned long nr_segs, unsigned int flags
136__do_sys_timerfd_gettime32int ufd, old_itimerspec32 * otmr
137__do_sys_timerfd_settime32int ufd, int flags, const old_itimerspec32 * utmr, old_itimerspec32 * otmr
138__do_sys_timerfd_gettimeint ufd, __kernel_itimerspec * otmr
139__do_sys_timerfd_settimeint ufd, int flags, const __kernel_itimerspec * utmr, __kernel_itimerspec * otmr
140__do_sys_timerfd_createint clockid, int flags
141__do_sys_sync_file_range2int fd, unsigned int flags, loff_t offset, loff_t nbytes
142__do_sys_sync_file_rangeint fd, loff_t offset, loff_t nbytes, unsigned int flags
143__do_sys_fdatasyncunsigned int fd
144__do_sys_fsyncunsigned int fd
145__do_sys_syncfsint fd
146__do_sys_syncconst pt_regs * __unused
147__do_sys_statxint dfd, const char * filename, unsigned int flags, unsigned int mask, statx * buffer
148__do_sys_ustatunsigned int dev, ustat * ubuf
149__do_sys_readlinkconst char * path, char * buf, int bufsiz
150__do_sys_readlinkatint dfd, const char * pathname, char * buf, int bufsiz
151__do_sys_newfstatunsigned int fd, stat * statbuf
152__do_sys_newfstatatint dfd, const char * filename, stat * statbuf, int flag
153__do_sys_newlstatconst char * filename, stat * statbuf
154__do_sys_fstatfs64unsigned int fd, size_t sz, statfs64 * buf
155__do_sys_newstatconst char * filename, stat * statbuf
156__do_sys_fstatfsunsigned int fd, statfs * buf
157__do_sys_statfs64const char * pathname, size_t sz, statfs64 * buf
158__do_sys_statfsconst char * pathname, statfs * buf
159__do_sys_fstatunsigned int fd, __old_kernel_stat * statbuf
160__do_sys_lstatconst char * filename, __old_kernel_stat * statbuf
161__do_sys_statconst char * filename, __old_kernel_stat * statbuf
162__do_sys_utimes_time32const char * filename, old_timeval32 * t
163__do_sys_futimesat_time32unsigned int dfd, const char * filename, old_timeval32 * t
164__do_sys_utimensat_time32unsigned int dfd, const char * filename, old_timespec32 * t, int flags
165__do_sys_userfaultfdint flags
166__do_sys_utime32const char * filename, old_utimbuf32 * t
167__do_sys_utimechar * filename, utimbuf * times
168__do_sys_utimeschar * filename, __kernel_old_timeval * utimes
169__do_sys_futimesatint dfd, const char * filename, __kernel_old_timeval * utimes
170__do_sys_utimensatint dfd, const char * filename, __kernel_timespec * utimes, int flags
171__do_sys_fremovexattrint fd, const char * name
172__do_sys_lremovexattrconst char * pathname, const char * name
173__do_sys_removexattrconst char * pathname, const char * name
174__do_sys_flistxattrint fd, char * list, size_t size
175__do_sys_llistxattrconst char * pathname, char * list, size_t size
176__do_sys_listxattrconst char * pathname, char * list, size_t size
177__do_sys_fgetxattrint fd, const char * name, void * value, size_t size
178__do_sys_lgetxattrconst char * pathname, const char * name, void * value, size_t size
179__do_sys_getxattrconst char * pathname, const char * name, void * value, size_t size
180__do_sys_fsetxattrint fd, const char * name, const void * value, size_t size, int flags
181__do_sys_lsetxattrconst char * pathname, const char * name, const void * value, size_t size, int flags
182__do_sys_setxattrconst char * pathname, const char * name, const void * value, size_t size, int flags
183__do_sys_shmdtchar * shmaddr
184__do_sys_semopint semid, sembuf * tsops, unsigned int nsops
185__do_sys_shmatint shmid, char * shmaddr, int shmflg
186__do_sys_semtimedop_time32int semid, sembuf * tsems, unsigned int nsops, const old_timespec32 * timeout
187__do_sys_semtimedopint semid, sembuf * tsops, unsigned int nsops, const __kernel_timespec * timeout
188__do_sys_shmctlint shmid, int cmd, shmid_ds * buf
189__do_sys_acctconst char * name
190__do_sys_shmgetkey_t key, size_t size, int shmflg
191__do_sys_semctlint semid, int semnum, int cmd, unsigned long arg
192__do_sys_semgetkey_t key, int nsems, int semflg
193__do_sys_msgrcvint msqid, msgbuf * msgp, size_t msgsz, long msgtyp, int msgflg
194__do_sys_msgsndint msqid, msgbuf * msgp, size_t msgsz, int msgflg
195__do_sys_msgctlint msqid, int cmd, msqid_ds * buf
196__do_sys_msggetkey_t key, int msgflg
197__do_sys_mq_timedreceive_time32mqd_t mqdes, char * u_msg_ptr, unsigned int msg_len, unsigned int * u_msg_prio, const old_timespec32 * u_abs_timeout
198__do_sys_mq_timedsend_time32mqd_t mqdes, const char * u_msg_ptr, unsigned int msg_len, unsigned int msg_prio, const old_timespec32 * u_abs_timeout
199__do_sys_mq_getsetattrmqd_t mqdes, const mq_attr * u_mqstat, mq_attr * u_omqstat
200__do_sys_mq_notifymqd_t mqdes, const sigevent * u_notification
201__do_sys_mq_timedreceivemqd_t mqdes, char * u_msg_ptr, size_t msg_len, unsigned int * u_msg_prio, const __kernel_timespec * u_abs_timeout
202__do_sys_mq_timedsendmqd_t mqdes, const char * u_msg_ptr, size_t msg_len, unsigned int msg_prio, const __kernel_timespec * u_abs_timeout
203__do_sys_mq_unlinkconst char * u_name
204__do_sys_mq_openconst char * u_name, int oflag, umode_t mode, mq_attr * u_attr
205__do_sys_capsetcap_user_header_t header, const cap_user_data_t data
206__do_sys_capgetcap_user_header_t header, cap_user_data_t dataptr
207__do_sys_io_uring_registerunsigned int fd, unsigned int opcode, void * arg, unsigned int nr_args
208__do_sys_io_uring_setupu32 entries, io_uring_params * params
209__do_sys_io_uring_enterunsigned int fd, u32 to_submit, u32 min_complete, u32 flags, const void * argp, size_t argsz
210__do_sys_personalityunsigned int personality
211__do_sys_futex_time32u32 * uaddr, int op, u32 val, const old_timespec32 * utime, u32 * uaddr2, u32 val3
212__do_sys_futex_waitvfutex_waitv * waiters, unsigned int nr_futexes, unsigned int flags, __kernel_timespec * timeout, clockid_t clockid
213__do_sys_futexu32 * uaddr, int op, u32 val, const __kernel_timespec * utime, u32 * uaddr2, u32 val3
214__do_sys_get_robust_listint pid, robust_list_head ** head_ptr, size_t * len_ptr
215__do_sys_set_robust_listrobust_list_head * head, size_t len
216__do_sys_setgroupsint gidsetsize, gid_t * grouplist
217__do_sys_getgroupsint gidsetsize, gid_t * grouplist
218__do_sys_waitpidpid_t pid, int * stat_addr, int options
219__do_sys_wait4pid_t upid, int * stat_addr, int options, rusage * ru
220__do_sys_waitidint which, pid_t upid, siginfo * infop, int options, rusage * ru
221__do_sys_bpfint cmd, bpf_attr * uattr, unsigned int size
222__do_sys_kcmppid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2
223__do_sys_exit_groupint error_code
224__do_sys_exitint error_code
225__do_sys_perf_event_openperf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags
226__do_sys_kexec_loadunsigned long entry, unsigned long nr_segments, kexec_segment * segments, unsigned long flags
227__do_sys_kexec_file_loadint kernel_fd, int initrd_fd, unsigned long cmdline_len, const char * cmdline_ptr, unsigned long flags
228__do_sys_unshareunsigned long unshare_flags
229__do_sys_clone3clone_args * uargs, size_t size
230__do_sys_cloneunsigned long clone_flags, unsigned long newsp, int * parent_tidptr, int * child_tidptr, unsigned long tls
231__do_sys_vforkconst pt_regs * __unused
232__do_sys_forkconst pt_regs * __unused
233__do_sys_set_tid_addressint * tidptr
234__do_sys_finit_moduleint fd, const char * uargs, int flags
235__do_sys_init_modulevoid * umod, unsigned long len, const char * uargs
236__do_sys_pidfd_getfdint pidfd, int fd, unsigned int flags
237__do_sys_setnsint fd, int flags
238__do_sys_pidfd_openpid_t pid, unsigned int flags
239__do_sys_ptracelong request, long pid, unsigned long addr, unsigned long data
240__do_sys_rseqrseq * rseq, u32 rseq_len, int flags, u32 sig
241__do_sys_rebootint magic1, int magic2, unsigned int cmd, void * arg
242__do_sys_delete_moduleconst char * name_user, unsigned int flags
243__do_sys_syslogint type, char * buf, int len
244__do_sys_sysinfosysinfo * info
245__do_sys_getcpuunsigned int * cpup, unsigned int * nodep, getcpu_cache * unused
246__do_sys_prctlint option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5
247__do_sys_umaskint mask
248__do_sys_sigsuspendint unused1, int unused2, old_sigset_t mask
249__do_sys_getrusageint who, rusage * ru
250__do_sys_rt_sigsuspendsigset_t * unewset, size_t sigsetsize
251__do_sys_setrlimitunsigned int resource, rlimit * rlim
252__do_sys_prlimit64pid_t pid, unsigned int resource, const rlimit64 * new_rlim, rlimit64 * old_rlim
253__do_sys_pauseconst pt_regs * __unused
254__do_sys_setitimerint which, __kernel_old_itimerval * value, __kernel_old_itimerval * ovalue
255__do_sys_signalint sig, __sighandler_t handler
256__do_sys_alarmunsigned int seconds
257__do_sys_ssetmaskint newmask
258__do_sys_sgetmaskconst pt_regs * __unused
259__do_sys_old_getrlimitunsigned int resource, rlimit * rlim
260__do_sys_getitimerint which, __kernel_old_itimerval * value
261__do_sys_getrlimitunsigned int resource, rlimit * rlim
262__do_sys_setdomainnamechar * name, int len
263__do_sys_gethostnamechar * name, int len
264__do_sys_clock_nanosleep_time32clockid_t which_clock, int flags, old_timespec32 * rqtp, old_timespec32 * rmtp
265__do_sys_sethostnamechar * name, int len
266__do_sys_clock_nanosleepconst clockid_t which_clock, int flags, const __kernel_timespec * rqtp, __kernel_timespec * rmtp
267__do_sys_clock_getres_time32clockid_t which_clock, old_timespec32 * tp
268__do_sys_clock_adjtime32clockid_t which_clock, old_timex32 * utp
269__do_sys_oldunameoldold_utsname * name
270__do_sys_clock_gettime32clockid_t which_clock, old_timespec32 * tp
271__do_sys_clock_settime32clockid_t which_clock, old_timespec32 * tp
272__do_sys_clock_getresconst clockid_t which_clock, __kernel_timespec * tp
273__do_sys_rt_sigactionint sig, const sigaction * act, sigaction * oact, size_t sigsetsize
274__do_sys_clock_adjtimeconst clockid_t which_clock, __kernel_timex * utx
275__do_sys_clock_gettimeconst clockid_t which_clock, __kernel_timespec * tp
276__do_sys_sigprocmaskint how, old_sigset_t * nset, old_sigset_t * oset
277__do_sys_clock_settimeconst clockid_t which_clock, const __kernel_timespec * tp
278__do_sys_sigpendingold_sigset_t * uset
279__do_sys_timer_deletetimer_t timer_id
280__do_sys_timer_settime32timer_t timer_id, int flags, old_itimerspec32 * new, old_itimerspec32 * old
281__do_sys_timer_settimetimer_t timer_id, int flags, const __kernel_itimerspec * new_setting, __kernel_itimerspec * old_setting
282__do_sys_unameold_utsname * name
283__do_sys_timer_getoverruntimer_t timer_id
284__do_sys_timer_gettime32timer_t timer_id, old_itimerspec32 * setting
285__do_sys_newunamenew_utsname * name
286__do_sys_timer_gettimetimer_t timer_id, __kernel_itimerspec * setting
287__do_sys_timer_createconst clockid_t which_clock, sigevent * timer_event_spec, timer_t * created_timer_id
288__do_sys_setsidconst pt_regs * __unused
289__do_sys_getsidpid_t pid
290__do_sys_getpgrpconst pt_regs * __unused
291__do_sys_sigaltstackconst stack_t * uss, stack_t * uoss
292__do_sys_getpgidpid_t pid
293__do_sys_setpgidpid_t pid, pid_t pgid
294__do_sys_timestms * tbuf
295__do_sys_getegidconst pt_regs * __unused
296__do_sys_getgidconst pt_regs * __unused
297__do_sys_geteuidconst pt_regs * __unused
298__do_sys_getuidconst pt_regs * __unused
299__do_sys_getppidconst pt_regs * __unused
300__do_sys_gettidconst pt_regs * __unused
301__do_sys_getpidconst pt_regs * __unused
302__do_sys_setfsgidgid_t gid
303__do_sys_setfsuiduid_t uid
304__do_sys_getresgidgid_t * rgidp, gid_t * egidp, gid_t * sgidp
305__do_sys_rt_tgsigqueueinfopid_t tgid, pid_t pid, int sig, siginfo_t * uinfo
306__do_sys_setresgidgid_t rgid, gid_t egid, gid_t sgid
307__do_sys_rt_sigqueueinfopid_t pid, int sig, siginfo_t * uinfo
308__do_sys_tkillpid_t pid, int sig
309__do_sys_tgkillpid_t tgid, pid_t pid, int sig
310__do_sys_getresuiduid_t * ruidp, uid_t * euidp, uid_t * suidp
311__do_sys_pidfd_send_signalint pidfd, int sig, siginfo_t * info, unsigned int flags
312__do_sys_setresuiduid_t ruid, uid_t euid, uid_t suid
313__do_sys_killpid_t pid, int sig
314__do_sys_setuiduid_t uid
315__do_sys_setreuiduid_t ruid, uid_t euid
316__do_sys_rt_sigtimedwait_time32const sigset_t * uthese, siginfo_t * uinfo, const old_timespec32 * uts, size_t sigsetsize
317__do_sys_rt_sigtimedwaitconst sigset_t * uthese, siginfo_t * uinfo, const __kernel_timespec * uts, size_t sigsetsize
318__do_sys_setgidgid_t gid
319__do_sys_setregidgid_t rgid, gid_t egid
320__do_sys_getpriorityint which, int who
321__do_sys_rt_sigpendingsigset_t * uset, size_t sigsetsize
322__do_sys_rt_sigprocmaskint how, sigset_t * nset, sigset_t * oset, size_t sigsetsize
323__do_sys_restart_syscallconst pt_regs * __unused
324__do_sys_setpriorityint which, int who, int niceval
325__do_sys_adjtimex_time32old_timex32 * utp
326__do_sys_adjtimex__kernel_timex * txc_p
327__do_sys_settimeofday__kernel_old_timeval * tv, timezone * tz
328__do_sys_gettimeofday__kernel_old_timeval * tv, timezone * tz
329__do_sys_stime32old_time32_t * tptr
330__do_sys_time32old_time32_t * tloc
331__do_sys_stime__kernel_old_time_t * tptr
332__do_sys_time__kernel_old_time_t * tloc
333__do_sys_nanosleep_time32old_timespec32 * rqtp, old_timespec32 * rmtp
334__do_sys_nanosleep__kernel_timespec * rqtp, __kernel_timespec * rmtp
335__do_sys_seccompunsigned int op, unsigned int flags, void * uargs
336__do_sys_membarrierint cmd, unsigned int flags, int cpu_id
337__do_sys_getegid16const pt_regs * __unused
338__do_sys_getgid16const pt_regs * __unused
339__do_sys_geteuid16const pt_regs * __unused
340__do_sys_getuid16const pt_regs * __unused
341__do_sys_setgroups16int gidsetsize, old_gid_t * grouplist
342__do_sys_getgroups16int gidsetsize, old_gid_t * grouplist
343__do_sys_setfsgid16old_gid_t gid
344__do_sys_setfsuid16old_uid_t uid
345__do_sys_getresgid16old_gid_t * rgidp, old_gid_t * egidp, old_gid_t * sgidp
346__do_sys_setresgid16old_gid_t rgid, old_gid_t egid, old_gid_t sgid
347__do_sys_getresuid16old_uid_t * ruidp, old_uid_t * euidp, old_uid_t * suidp
348__do_sys_setresuid16old_uid_t ruid, old_uid_t euid, old_uid_t suid
349__do_sys_setuid16old_uid_t uid
350__do_sys_setreuid16old_uid_t ruid, old_uid_t euid
351__do_sys_setgid16old_gid_t gid
352__do_sys_setregid16old_gid_t rgid, old_gid_t egid
353__do_sys_fchown16unsigned int fd, old_uid_t user, old_gid_t group
354__do_sys_lchown16const char * filename, old_uid_t user, old_gid_t group
355__do_sys_chown16const char * filename, old_uid_t user, old_gid_t group
356__do_sys_fadvise64int fd, loff_t offset, size_t len, int advice
357__do_sys_fadvise64_64int fd, loff_t offset, loff_t len, int advice
358__do_sys_process_madviseint pidfd, const iovec * vec, size_t vlen, int behavior, unsigned int flags
359__do_sys_madviseunsigned long start, size_t len_in, int behavior
360__do_sys_memfd_createconst char * uname, unsigned int flags
361__do_sys_mincoreunsigned long start, size_t len, unsigned char * vec
362__do_sys_munlockallconst pt_regs * __unused
363__do_sys_mlockallint flags
364__do_sys_munlockunsigned long start, size_t len
365__do_sys_mlock2unsigned long start, size_t len, int flags
366__do_sys_move_pagespid_t pid, unsigned long nr_pages, const void ** pages, const int * nodes, int * status, int flags
367__do_sys_mlockunsigned long start, size_t len
368__do_sys_mremapunsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr
369__do_sys_get_mempolicyint * policy, unsigned long * nmask, unsigned long maxnode, unsigned long addr, unsigned long flags
370__do_sys_migrate_pagespid_t pid, unsigned long maxnode, const unsigned long * old_nodes, const unsigned long * new_nodes
371__do_sys_set_mempolicyint mode, const unsigned long * nmask, unsigned long maxnode
372__do_sys_mbindunsigned long start, unsigned long len, unsigned long mode, const unsigned long * nmask, unsigned long maxnode, unsigned int flags
373__do_sys_set_mempolicy_home_nodeunsigned long start, unsigned long len, unsigned long home_node, unsigned long flags
374__do_sys_msyncunsigned long start, size_t len, int flags
375__do_sys_process_vm_writevpid_t pid, const iovec * lvec, unsigned long liovcnt, const iovec * rvec, unsigned long riovcnt, unsigned long flags
376__do_sys_process_vm_readvpid_t pid, const iovec * lvec, unsigned long liovcnt, const iovec * rvec, unsigned long riovcnt, unsigned long flags
377__do_sys_pkey_freeint pkey
378__do_sys_pkey_allocunsigned long flags, unsigned long init_val
379__do_sys_pkey_mprotectunsigned long start, size_t len, unsigned long prot, int pkey
380__do_sys_mprotectunsigned long start, size_t len, unsigned long prot
381__do_sys_memfd_secretunsigned int flags
382__do_sys_readaheadint fd, loff_t offset, size_t count
383__do_sys_swaponconst char * specialfile, int swap_flags
384__do_sys_sched_rr_get_interval_time32pid_t pid, old_timespec32 * interval
385__do_sys_sched_rr_get_intervalpid_t pid, __kernel_timespec * interval
386__do_sys_sched_get_priority_minint policy
387__do_sys_sched_get_priority_maxint policy
388__do_sys_swapoffconst char * specialfile
389__do_sys_sched_yieldconst pt_regs * __unused
390__do_sys_sched_getaffinitypid_t pid, unsigned int len, unsigned long * user_mask_ptr
391__do_sys_sched_setaffinitypid_t pid, unsigned int len, unsigned long * user_mask_ptr
392__do_sys_sched_getattrpid_t pid, sched_attr * uattr, unsigned int usize, unsigned int flags
393__do_sys_sched_getparampid_t pid, sched_param * param
394__do_sys_sched_getschedulerpid_t pid
395__do_sys_sched_setattrpid_t pid, sched_attr * uattr, unsigned int flags
396__do_sys_sched_setparampid_t pid, sched_param * param
397__do_sys_sched_setschedulerpid_t pid, int policy, sched_param * param
398__do_sys_niceint increment
399__do_sys_remap_file_pagesunsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags
400__do_sys_munmapunsigned long addr, size_t len
401__do_sys_mmap_pgoffunsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff
402__do_sys_process_mreleaseint pidfd, unsigned int flags
403__do_sys_brkunsigned long brk
404__do_sys_socketcallint call, unsigned long * args
405__do_sys_recvmmsg_time32int fd, mmsghdr * mmsg, unsigned int vlen, unsigned int flags, old_timespec32 * timeout
406__do_sys_recvmmsgint fd, mmsghdr * mmsg, unsigned int vlen, unsigned int flags, __kernel_timespec * timeout
407__do_sys_recvmsgint fd, user_msghdr * msg, unsigned int flags
408__do_sys_sendmmsgint fd, mmsghdr * mmsg, unsigned int vlen, unsigned int flags
409__do_sys_sendmsgint fd, user_msghdr * msg, unsigned int flags
410__do_sys_shutdownint fd, int how
411__do_sys_getsockoptint fd, int level, int optname, char * optval, int * optlen
412__do_sys_setsockoptint fd, int level, int optname, char * optval, int optlen
413__do_sys_recvint fd, void * ubuf, size_t size, unsigned int flags
414__do_sys_recvfromint fd, void * ubuf, size_t size, unsigned int flags, sockaddr * addr, int * addr_len
415__do_sys_sendint fd, void * buff, size_t len, unsigned int flags
416__do_sys_sendtoint fd, void * buff, size_t len, unsigned int flags, sockaddr * addr, int addr_len
417__do_sys_getpeernameint fd, sockaddr * usockaddr, int * usockaddr_len
418__do_sys_getsocknameint fd, sockaddr * usockaddr, int * usockaddr_len
419__do_sys_connectint fd, sockaddr * uservaddr, int addrlen
420__do_sys_acceptint fd, sockaddr * upeer_sockaddr, int * upeer_addrlen
421__do_sys_accept4int fd, sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags
422__do_sys_listenint fd, int backlog
423__do_sys_bindint fd, sockaddr * umyaddr, int addrlen
424__do_sys_socketpairint family, int type, int protocol, int * usockvec
425__do_sys_socketint family, int type, int protocol
426__do_sys_keyctlint option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5
427__do_sys_landlock_restrict_selfconst int ruleset_fd, const __u32 flags
428__do_sys_request_keyconst char * _type, const char * _description, const char * _callout_info, key_serial_t destringid
429__do_sys_landlock_add_ruleconst int ruleset_fd, const landlock_rule_type rule_type, const void *const rule_attr, const __u32 flags
430__do_sys_add_keyconst char * _type, const char * _description, const void * _payload, size_t plen, key_serial_t ringid
431__do_sys_landlock_create_rulesetconst landlock_ruleset_attr *const attr, const size_t size, const __u32 flags