Home
last modified time | relevance | path

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

/art/test/004-SignalTest/
Dsignaltest.cc100 static struct sigaction oldaction;
102 bool compare_sigaction(const struct sigaction* lhs, const struct sigaction* rhs) { in compare_sigaction()
116 struct sigaction action; in Java_Main_initSignalTest()
125 sigaction(SIGSEGV, &action, &oldaction); in Java_Main_initSignalTest()
126 struct sigaction check; in Java_Main_initSignalTest()
127 sigaction(SIGSEGV, nullptr, &check); in Java_Main_initSignalTest()
143 sigaction(SIGSEGV, &oldaction, nullptr); in Java_Main_terminateSignalTest()
/art/sigchainlib/
Dsigchain.cc93 static decltype(&sigaction) linked_sigaction;
106 if (sym == wrapper || sym == sigaction) { in lookup_next_symbol()
116 lookup_next_symbol(&linked_sigaction, sigaction, "sigaction"); in InitializeSignalChain()
183 struct sigaction handler_action = {}; in Register()
265 struct sigaction action_;
367 extern "C" int sigaction(int signal, const struct sigaction* new_action, in sigaction() function
368 struct sigaction* old_action) { in sigaction()
389 struct sigaction sa = {}; in signal()
399 chains[signo].GetAction<struct sigaction>().sa_handler); in signal()
497 struct sigaction current_action; in EnsureFrontOfChain()
Dversion-script64.txt6 sigaction;
Dversion-script32.txt7 sigaction;
Dsigchain_test.cc218 struct sigaction action = {}; in TEST_F()
222 ASSERT_EQ(0, sigaction(SIGSEGV, &action, nullptr)); in TEST_F()
/art/runtime/
Druntime_linux.cc54 struct sigaction action; in HandleUnexpectedSignalLinux()
58 sigaction(signal_number, &action, nullptr); in HandleUnexpectedSignalLinux()
Druntime_common.cc512 struct sigaction* oldact, in InitPlatformSignalHandlersCommon()
514 struct sigaction action; in InitPlatformSignalHandlersCommon()
524 rc += sigaction(SIGABRT, &action, oldact); in InitPlatformSignalHandlersCommon()
525 rc += sigaction(SIGBUS, &action, oldact); in InitPlatformSignalHandlersCommon()
526 rc += sigaction(SIGFPE, &action, oldact); in InitPlatformSignalHandlersCommon()
527 rc += sigaction(SIGILL, &action, oldact); in InitPlatformSignalHandlersCommon()
528 rc += sigaction(SIGPIPE, &action, oldact); in InitPlatformSignalHandlersCommon()
529 rc += sigaction(SIGSEGV, &action, oldact); in InitPlatformSignalHandlersCommon()
531 rc += sigaction(SIGSTKFLT, &action, oldact); in InitPlatformSignalHandlersCommon()
533 rc += sigaction(SIGTRAP, &action, oldact); in InitPlatformSignalHandlersCommon()
[all …]
Druntime_android.cc27 struct sigaction old_action;
Druntime_common.h77 struct sigaction* oldact,
Dfault_handler.h71 struct sigaction oldaction_;
Dfault_handler.cc127 sigaction(SIGSEGV, nullptr, &oldaction_); in FaultManager()
/art/runtime/arch/arm/
Dinstruction_set_features_arm.cc238 struct sigaction sa, osa; in FromAssembly()
242 sigaction(SIGILL, &sa, &osa); in FromAssembly()
256 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()