Lines Matching refs:new_action
215 void SetAction(const SigactionType* new_action) { in SetAction() argument
217 action_ = *new_action; in SetAction()
219 action_.sa_flags = new_action->sa_flags; in SetAction()
220 action_.sa_handler = new_action->sa_handler; in SetAction()
222 action_.sa_restorer = new_action->sa_restorer; in SetAction()
225 memcpy(&action_.sa_mask, &new_action->sa_mask, in SetAction()
226 std::min(sizeof(action_.sa_mask), sizeof(new_action->sa_mask))); in SetAction()
338 static int __sigaction(int signal, const SigactionType* new_action, in __sigaction() argument
353 if (new_action != nullptr) { in __sigaction()
354 chains[signal].SetAction(new_action); in __sigaction()
364 return linked(signal, new_action, old_action); in __sigaction()
367 extern "C" int sigaction(int signal, const struct sigaction* new_action, in sigaction() argument
370 return __sigaction(signal, new_action, old_action, linked_sigaction); in sigaction()
374 extern "C" int sigaction64(int signal, const struct sigaction64* new_action, in sigaction64() argument
377 return __sigaction(signal, new_action, old_action, linked_sigaction64); in sigaction64()