Home
last modified time | relevance | path

Searched refs:SaHandlerType (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/ipc/
H A Dsignal_types.rs116 SaHandler(SaHandlerType),
133 return matches!(self, Self::SaHandler(SaHandlerType::Ignore)); in is_ignore()
139 return matches!(self, Self::SaHandler(SaHandlerType::Customized(_))); in is_customized()
145 pub enum SaHandlerType { enum
152 impl From<SaHandlerType> for usize {
153 fn from(value: SaHandlerType) -> Self { in from()
155 SaHandlerType::Error => 2, in from()
156 SaHandlerType::Ignore => 1, in from()
157 SaHandlerType::Default => 0, in from()
158 SaHandlerType::Customized(handler) => handler.data(), in from()
[all …]
H A Dsyscall.rs39 SaHandlerType, SigInfo, SigType, Sigaction, SigactionType, UserSigaction, USER_SIG_DFL,
165 SigactionType::SaHandler(SaHandlerType::Customized(unsafe { in sigaction()
221 if let SaHandlerType::Customized(hand) = handler { in sigaction()
H A Dsignal.rs15 SaHandlerType, SigInfo, SigType, Sigaction, SignalStruct, SIG_KERNEL_STOP_MASK,
370 sigaction.set_action(SigactionType::SaHandler(SaHandlerType::Default)); in flush_signal_handlers()
/DragonOS/kernel/src/arch/x86_64/ipc/
H A Dsignal.rs16 signal_types::{SaHandlerType, SigInfo, Sigaction, SigactionType, SignalArch},
464 SaHandlerType::Error => { in do_signal()
468 SaHandlerType::Default => { in do_signal()
472 SaHandlerType::Ignore => continue, in do_signal()
473 SaHandlerType::Customized(_) => { in do_signal()
561 SaHandlerType::Default => { in setup_frame()
565 SaHandlerType::Customized(handler) => { in setup_frame()
606 SaHandlerType::Ignore => { in setup_frame()