Home
last modified time | relevance | path

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

/DragonOS-0.1.3/user/libs/libc/src/
Dsignal.c41 int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact) in sigaction() argument
43 …return syscall_invoke(SYS_SIGACTION, (uint64_t)signum, (uint64_t)act, (uint64_t)oldact, 0, 0, 0, 0… in sigaction()
/DragonOS-0.1.3/kernel/src/ipc/
Dsignal.rs808 let act = regs.r9 as usize as *mut user_sigaction; in sys_sigaction() localVariable
814 if !act.is_null() { in sys_sigaction()
816 if unsafe { !verify_area(act as usize as u64, size_of::<sigaction>() as u64) } { in sys_sigaction()
819 let mask: sigset_t = unsafe { (*act).sa_mask }; in sys_sigaction()
820 let _input_sah = unsafe { (*act).sa_handler as u64 }; in sys_sigaction()
827 (unsafe { (*act).sa_flags } & (!(SA_FLAG_DFL | SA_FLAG_IGN))) | SA_FLAG_DFL; in sys_sigaction()
831 (unsafe { (*act).sa_flags } & (!(SA_FLAG_DFL | SA_FLAG_IGN))) | SA_FLAG_IGN; in sys_sigaction()
834 let sar = unsafe { (*act).sa_restorer }; in sys_sigaction()
841 _sa_handler: unsafe { (*act).sa_handler as u64 }, in sys_sigaction()
843 sa_flags: unsafe { (*act).sa_flags }, in sys_sigaction()
[all …]
/DragonOS-0.1.3/user/libs/libc/src/include/
Dsignal.h95 int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact);
/DragonOS-0.1.3/
DLICENSE73 covered by this License; they are outside its scope. The act of
87 You may charge a fee for the physical act of transferring a copy, and