mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 09:23:25 +00:00
Return when sigset size error
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
320092eda2
commit
8421046dba
@ -193,7 +193,7 @@ pub fn sys_epoll_pwait(
|
||||
);
|
||||
|
||||
if sigset_size != 8 {
|
||||
error!("sigset size is not equal to 8");
|
||||
return_errno_with_message!(Errno::EINVAL, "sigset size is not equal to 8");
|
||||
}
|
||||
|
||||
let old_sig_mask_value = set_signal_mask(sigmask, ctx)?;
|
||||
|
Reference in New Issue
Block a user