Lines Matching refs:action
97 static void SetUpArtAction(struct sigaction* action) { in SetUpArtAction() argument
98 action->sa_sigaction = art_fault_handler; in SetUpArtAction()
99 sigemptyset(&action->sa_mask); in SetUpArtAction()
100 action->sa_flags = SA_SIGINFO | SA_ONSTACK; in SetUpArtAction()
102 action->sa_restorer = nullptr; in SetUpArtAction()
108 struct sigaction action; in EnsureArtActionInFrontOfSignalChain() local
109 SetUpArtAction(&action); in EnsureArtActionInFrontOfSignalChain()
110 EnsureFrontOfChain(SIGSEGV, &action); in EnsureArtActionInFrontOfSignalChain()
118 struct sigaction action; in Init() local
119 SetUpArtAction(&action); in Init()
122 int e = sigaction(SIGSEGV, &action, &oldaction_); in Init()
342 struct sigaction action, oldsegvaction, oldabortaction; in Action() local
343 action.sa_sigaction = art_nested_signal_handler; in Action()
348 sigemptyset(&action.sa_mask); in Action()
349 sigaddset(&action.sa_mask, SIGSEGV); in Action()
350 sigaddset(&action.sa_mask, SIGABRT); in Action()
352 action.sa_flags = SA_SIGINFO | SA_ONSTACK; in Action()
354 action.sa_restorer = nullptr; in Action()
358 int e1 = sigaction(SIGSEGV, &action, &oldsegvaction); in Action()
359 int e2 = sigaction(SIGABRT, &action, &oldabortaction); in Action()