Home
last modified time | relevance | path

Searched refs:old_act (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.8/kernel/src/ipc/
Dsyscall.rs86 old_act: usize, in sigaction()
91 let mut old_act = old_act as *mut user_sigaction; in sigaction() localVariable
165 if old_act.is_null() { in sigaction()
173 if (retval == Ok(())) && (!old_act.is_null()) { in sigaction()
176 old_act as usize as u64, in sigaction()
195 (*old_act).sa_handler = sah as *mut c_void; in sigaction()
196 (*old_act).sa_flags = old_ka.sa_flags; in sigaction()
197 (*old_act).sa_mask = old_ka.sa_mask; in sigaction()
198 (*old_act).sa_restorer = old_ka.sa_restorer as *mut c_void; in sigaction()
Dsignal.rs788 old_act: Option<&mut sigaction>, in do_sigaction()
806 let old_act: Option<&mut sigaction> = { in do_sigaction() localVariable
807 if old_act.is_some() { in do_sigaction()
808 let oa = old_act.unwrap(); in do_sigaction()
827 if old_act.is_some() { in do_sigaction()
828 old_act.unwrap().sa_flags &= SA_ALL_FLAGS; in do_sigaction()
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs706 let old_act = args[2]; in handle() localVariable
707 Self::sigaction(sig, act, old_act, from_user) in handle()