Lines Matching refs:Action
97 static void SetUpArtAction(struct sigaction* action) {
98 action->sa_sigaction = art_fault_handler;
99 sigemptyset(&action->sa_mask);
100 action->sa_flags = SA_SIGINFO | SA_ONSTACK;
102 action->sa_restorer = nullptr;
108 struct sigaction action;
109 SetUpArtAction(&action);
110 EnsureFrontOfChain(SIGSEGV, &action);
118 struct sigaction action;
119 SetUpArtAction(&action);
122 int e = sigaction(SIGSEGV, &action, &oldaction_);
147 VLOG(signals) << "invoking Action on handler " << handler;
148 if (handler->Action(sig, info, context)) {
167 if (handler->Action(sig, info, context)) {
311 bool JavaStackTraceHandler::Action(int sig, siginfo_t* siginfo, void* context) {
330 // The action for SIGSEGV should be the default handler now.
341 struct sigaction action, oldsegvaction, oldabortaction;
342 action.sa_sigaction = art_nested_signal_handler;
347 sigemptyset(&action.sa_mask);
348 sigaddset(&action.sa_mask, SIGSEGV);
349 sigaddset(&action.sa_mask, SIGABRT);
351 action.sa_flags = SA_SIGINFO | SA_ONSTACK;
353 action.sa_restorer = nullptr;
357 int e1 = sigaction(SIGSEGV, &action, &oldsegvaction);
358 int e2 = sigaction(SIGABRT, &action, &oldabortaction);