Add sys_epoll_pwait2

This commit is contained in:
Cautreoxit
2025-06-02 13:26:14 +08:00
committed by Tate, Hongliang Tian
parent ead5a70444
commit 0b471ef370
5 changed files with 98 additions and 53 deletions

View File

@ -18,7 +18,10 @@ use crate::syscall::{
close::sys_close,
connect::sys_connect,
dup::{sys_dup, sys_dup2, sys_dup3},
epoll::{sys_epoll_create, sys_epoll_create1, sys_epoll_ctl, sys_epoll_pwait, sys_epoll_wait},
epoll::{
sys_epoll_create, sys_epoll_create1, sys_epoll_ctl, sys_epoll_pwait, sys_epoll_pwait2,
sys_epoll_wait,
},
eventfd::{sys_eventfd, sys_eventfd2},
execve::{sys_execve, sys_execveat},
exit::sys_exit,
@ -369,4 +372,5 @@ impl_syscall_nums_and_dispatch_fn! {
SYS_STATX = 332 => sys_statx(args[..5]);
SYS_CLONE3 = 435 => sys_clone3(args[..2], &user_ctx);
SYS_FACCESSAT2 = 439 => sys_faccessat2(args[..4]);
SYS_EPOLL_PWAIT2 = 441 => sys_epoll_pwait2(args[..5]);
}