Home
last modified time | relevance | path

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

/DragonOS-0.1.7/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.7/kernel/src/ipc/
Dsignal.rs840 let act = regs.r9 as usize as *mut user_sigaction; in sys_sigaction() localVariable
846 if !act.is_null() { in sys_sigaction()
848 if unsafe { !verify_area(act as usize as u64, size_of::<sigaction>() as u64) } { in sys_sigaction()
851 let mask: sigset_t = unsafe { (*act).sa_mask }; in sys_sigaction()
852 let _input_sah = unsafe { (*act).sa_handler as u64 }; in sys_sigaction()
859 (unsafe { (*act).sa_flags } & (!(SA_FLAG_DFL | SA_FLAG_IGN))) | SA_FLAG_DFL; in sys_sigaction()
863 (unsafe { (*act).sa_flags } & (!(SA_FLAG_DFL | SA_FLAG_IGN))) | SA_FLAG_IGN; in sys_sigaction()
866 let sar = unsafe { (*act).sa_restorer }; in sys_sigaction()
873 _sa_handler: unsafe { (*act).sa_handler as u64 }, in sys_sigaction()
875 sa_flags: unsafe { (*act).sa_flags }, in sys_sigaction()
[all …]
/DragonOS-0.1.7/user/libs/libc/src/include/export/
Dsignal.h95 int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact);
/DragonOS-0.1.7/
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