Home
last modified time | relevance | path

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

/third_party/musl/porting/linux/user/src/sigchain/
Dsigchain.c63 static struct sc_signal_chain sig_chains[_NSIG - 1]; variable
143 return sig_chains[signo - 1].marked; in ismarked()
160 if (sig_chains[signo - 1].sca_special_actions[i].sca_sigaction == NULL) { in signal_chain_handler()
164 bool noreturn = (sig_chains[signo - 1].sca_special_actions[i].sca_flags & in signal_chain_handler()
167 sigchain_sigmask(SIG_SETMASK, &sig_chains[signo - 1].sca_special_actions[i].sca_mask, in signal_chain_handler()
175 if (sig_chains[signo - 1].sca_special_actions[i].sca_sigaction(signo, in signal_chain_handler()
186 int sa_flags = sig_chains[signo - 1].sig_action.sa_flags; in signal_chain_handler()
190 sigorset(&mask, &ucontext->uc_sigmask, &sig_chains[signo - 1].sig_action.sa_mask); in signal_chain_handler()
199 sig_chains[signo - 1].sig_action.sa_sigaction(signo, siginfo, ucontext_raw); in signal_chain_handler()
201 if (sig_chains[signo - 1].sig_action.sa_handler == SIG_IGN) { in signal_chain_handler()
[all …]