Home
last modified time | relevance | path

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

/art/test/004-SignalTest/
Dsignaltest.cc100 static struct sigaction oldaction;
103 struct sigaction action; in Java_Main_initSignalTest()
112 sigaction(SIGSEGV, &action, &oldaction); in Java_Main_initSignalTest()
113 struct sigaction check; in Java_Main_initSignalTest()
114 sigaction(SIGSEGV, nullptr, &check); in Java_Main_initSignalTest()
123 sigaction(SIGSEGV, &oldaction, nullptr); in Java_Main_terminateSignalTest()
/art/sigchainlib/
Dsigchain.cc93 static decltype(&sigaction) linked_sigaction;
103 linked_sigaction_sym == reinterpret_cast<void*>(sigaction)) { in InitializeSignalChain()
178 struct sigaction handler_action = {}; in Register()
185 void SetAction(const struct sigaction* action) { in SetAction()
189 struct sigaction GetAction() { in GetAction()
225 struct sigaction action_;
284 extern "C" int sigaction(int signal, const struct sigaction* new_action, struct sigaction* old_acti… in sigaction() function
297 struct sigaction saved_action = chains[signal].GetAction(); in sigaction()
320 struct sigaction sa = {}; in signal()
409 struct sigaction current_action; in EnsureFrontOfChain()
Dversion-script64.txt6 sigaction;
Dversion-script32.txt7 sigaction;
/art/runtime/
Druntime_linux.cc47 struct sigaction action; in HandleUnexpectedSignalLinux()
51 sigaction(signal_number, &action, nullptr); in HandleUnexpectedSignalLinux()
Druntime_common.cc457 struct sigaction* oldact, in InitPlatformSignalHandlersCommon()
459 struct sigaction action; in InitPlatformSignalHandlersCommon()
469 rc += sigaction(SIGABRT, &action, oldact); in InitPlatformSignalHandlersCommon()
470 rc += sigaction(SIGBUS, &action, oldact); in InitPlatformSignalHandlersCommon()
471 rc += sigaction(SIGFPE, &action, oldact); in InitPlatformSignalHandlersCommon()
472 rc += sigaction(SIGILL, &action, oldact); in InitPlatformSignalHandlersCommon()
473 rc += sigaction(SIGPIPE, &action, oldact); in InitPlatformSignalHandlersCommon()
474 rc += sigaction(SIGSEGV, &action, oldact); in InitPlatformSignalHandlersCommon()
476 rc += sigaction(SIGSTKFLT, &action, oldact); in InitPlatformSignalHandlersCommon()
478 rc += sigaction(SIGTRAP, &action, oldact); in InitPlatformSignalHandlersCommon()
[all …]
Druntime_android.cc27 struct sigaction old_action;
Druntime_common.h74 struct sigaction* oldact,
Dfault_handler.h70 struct sigaction oldaction_;
Dfault_handler.cc124 sigaction(SIGSEGV, nullptr, &oldaction_); in FaultManager()
/art/runtime/arch/arm/
Dinstruction_set_features_arm.cc235 struct sigaction sa, osa; in FromAssembly()
239 sigaction(SIGILL, &sa, &osa); in FromAssembly()
253 sigaction(SIGILL, &osa, nullptr); in FromAssembly()
/art/test/115-native-bridge/
Dnativebridge.cc211 struct sigaction tmp; in trampoline_Java_Main_testSignal()
219 sigaction(SIGSEGV, &tmp, nullptr); in trampoline_Java_Main_testSignal()
223 sigaction(SIGILL, &tmp, nullptr); in trampoline_Java_Main_testSignal()