Home
last modified time | relevance | path

Searched refs:SigSet (Results 1 – 9 of 9) sorted by relevance

/DragonOS/kernel/src/ipc/
H A Dsignal_types.rs15 ipc::signal::{SigCode, SigFlags, SigSet, Signal, MAX_SIG_NUM},
32 pub const SIG_KERNEL_ONLY_MASK: SigSet =
35 pub const SIG_KERNEL_STOP_MASK: SigSet = Signal::into_sigset(Signal::SIGSTOP)
40 pub const SIG_KERNEL_COREDUMP_MASK: SigSet = Signal::into_sigset(Signal::SIGQUIT)
51 pub const SIG_KERNEL_IGNORE_MASK: SigSet = Signal::into_sigset(Signal::SIGCONT)
192 mask: SigSet, // 为了可扩展性而设置的sa_mask
225 mask: SigSet, in new() argument
256 pub fn mask(&self) -> SigSet { in mask() argument
260 pub fn mask_mut(&mut self) -> &mut SigSet { in mask_mut() argument
272 mask: SigSet::from_bits_truncate(0),
[all …]
H A Dsignal.rs8 arch::ipc::signal::{SigCode, SigFlags, SigSet, Signal},
273 let flush: SigSet; in prepare_sianal()
374 sigaction.mask_mut().remove(SigSet::all()); in flush_signal_handlers()
423 .remove(<Signal as Into<SigSet>>::into(Signal::SIGKILL) | Signal::SIGSTOP.into()); in do_sigaction()
435 let mut mask: SigSet = SigSet::from_bits_truncate(0); in do_sigaction()
449 pub fn set_current_sig_blocked(new_set: &mut SigSet) { in set_current_sig_blocked() argument
450 let to_remove: SigSet = in set_current_sig_blocked()
451 <Signal as Into<SigSet>>::into(Signal::SIGKILL) | Signal::SIGSTOP.into(); in set_current_sig_blocked()
H A Dsyscall.rs11 ipc::signal::{SigCode, SigFlags, SigSet, Signal},
146 let mask: SigSet = unsafe { (*act).mask }; in sigaction()
169 SigSet::default(), in sigaction()
/DragonOS/kernel/src/arch/riscv64/ipc/
H A Dsignal.rs95 impl Into<SigSet> for Signal {
96 fn into(self) -> SigSet { in into() argument
97 SigSet { in into()
110 pub const fn into_sigset(self) -> SigSet { in into_sigset() argument
111 SigSet { in into_sigset()
225 pub struct SigSet:u64{
/DragonOS/kernel/src/arch/x86_64/ipc/
H A Dsignal.rs112 impl From<Signal> for SigSet { implementation
114 SigSet { in from()
127 pub const fn into_sigset(self) -> SigSet { in into_sigset() argument
128 SigSet { in into_sigset()
242 pub struct SigSet:u64{
337 pub oldmask: SigSet, // 暂存的执行信号处理函数之前的,被设置block的信号
358 mask: &SigSet, in setup_sigcontext() argument
437 let sig_block: SigSet = *siginfo_read_guard.sig_block(); in do_signal()
513 let mut sigmask: SigSet = unsafe { (*frame).context.oldmask }; in sys_rt_sigreturn()
540 oldset: &SigSet, in handle_signal() argument
[all …]
/DragonOS/kernel/src/net/event_poll/
H A Dsyscall.rs4 arch::ipc::signal::SigSet,
96 sigmask: &mut SigSet, in epoll_pwait() argument
/DragonOS/kernel/src/driver/tty/
H A Dtty_job_control.rs5 arch::ipc::signal::{SigSet, Signal},
55 .contains(SigSet::from_bits_truncate(1 << sig as u64)) in tty_check_change()
/DragonOS/kernel/src/process/
H A Dmod.rs24 ipc::signal::{AtomicSignal, SigSet, Signal},
1525 sig_block: SigSet,
1535 pub fn sig_block(&self) -> &SigSet { in sig_block() argument
1547 pub fn sig_block_mut(&mut self) -> &mut SigSet { in sig_block_mut() argument
1573 pub fn dequeue_signal(&mut self, sig_mask: &SigSet) -> (Signal, Option<SigInfo>) { in dequeue_signal()
1586 sig_block: SigSet::empty(), in default()
/DragonOS/kernel/src/syscall/
H A Dmod.rs8 arch::{ipc::signal::SigSet, syscall::nr::*},
837 let sigmask_addr = args[4] as *mut SigSet; in handle()
843 UserBufferReader::new(sigmask_addr, core::mem::size_of::<SigSet>(), true)?; in handle()
844 let mut sigmask = *sigmask_reader.read_one_from_user::<SigSet>(0)?; in handle()