Home
last modified time | relevance | path

Searched refs:SigType (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/ipc/
H A Dsignal_types.rs307 sig_type: SigType,
315 pub fn set_sig_type(&mut self, sig_type: SigType) { in set_sig_type() argument
341 pub enum SigType { enum
354 pub fn new(sig: Signal, sig_errno: i32, sig_code: SigCode, sig_type: SigType) -> Self { in new()
431 let mut ret = SigInfo::new(sig, 0, SigCode::User, SigType::Kill(Pid::from(0))); in collect_signal()
432 ret.set_sig_type(SigType::Kill(Pid::new(0))); in collect_signal()
H A Dsignal.rs15 SaHandlerType, SigInfo, SigType, Sigaction, SignalStruct, SIG_KERNEL_STOP_MASK,
148 SigType::Kill(ProcessManager::current_pcb().pid()), in send_signal()
H A Dsyscall.rs39 SaHandlerType, SigInfo, SigType, Sigaction, SigactionType, UserSigaction, USER_SIG_DFL,
104 let mut info = SigInfo::new(sig, 0, SigCode::User, SigType::Kill(pid)); in kill()
/DragonOS/kernel/src/process/
H A Dtimer.rs3 use crate::ipc::signal_types::SigType;
133 let mut info = SigInfo::new(sig, 0, SigCode::Timer, SigType::Alarm(self.pid)); in run()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dfault.rs18 ipc::signal_types::{SigInfo, SigType},
245 SigInfo::new(Signal::SIGSEGV, 0, SigCode::User, SigType::Kill(pid)); in do_user_addr_fault()
276 SigInfo::new(Signal::SIGSEGV, 0, SigCode::User, SigType::Kill(pid)); in do_user_addr_fault()