Home
last modified time | relevance | path

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

/art/test/004-SignalTest/
Dsignaltest.cc107 static struct sigaction oldaction;
109 bool compare_sigaction(const struct sigaction* lhs, const struct sigaction* rhs) { in compare_sigaction()
123 struct sigaction action; in Java_Main_initSignalTest()
132 sigaction(SIGSEGV, &action, &oldaction); in Java_Main_initSignalTest()
133 struct sigaction check; in Java_Main_initSignalTest()
134 sigaction(SIGSEGV, nullptr, &check); in Java_Main_initSignalTest()
150 sigaction(SIGSEGV, &oldaction, nullptr); in Java_Main_terminateSignalTest()
/art/sigchainlib/
Dsigchain_test.cc227 auto libc_sigaction = reinterpret_cast<decltype(&sigaction)>(dlsym(libc, "sigaction")); in TEST_F()
231 struct sigaction action = {}; in TEST_F()
260 struct sigaction action = {}; in fault_address_tag_impl()
265 ASSERT_EQ(0, sigaction(SIGSEGV, &action, nullptr)); in fault_address_tag_impl()
275 ASSERT_EQ(0, sigaction(SIGSEGV, &action, nullptr)); in fault_address_tag_impl()
276 ASSERT_EQ(0, sigaction(SIGSEGV, nullptr, &action)); in fault_address_tag_impl()
Dsigchain.cc125 static decltype(&sigaction) linked_sigaction;
159 if (sym == wrapper || sym == sigaction) { in lookup_libc_symbol()
169 lookup_libc_symbol(&linked_sigaction, sigaction, "sigaction"); in InitializeSignalChain()
290 struct sigaction handler_action = {}; in Register()
413 struct sigaction action_;
537 struct sigaction dfl = {}; in Handler()
586 extern "C" int sigaction(int signal, const struct sigaction* new_action, in sigaction() function
587 struct sigaction* old_action) { in sigaction()
608 struct sigaction sa = {}; in signal()
618 chains[signo].GetAction<struct sigaction>().sa_handler); in signal()
[all …]
/art/runtime/
Druntime_linux.cc54 struct sigaction action; in HandleUnexpectedSignalLinux()
58 sigaction(signal_number, &action, nullptr); in HandleUnexpectedSignalLinux()
Druntime_common.cc522 struct sigaction* oldact, in InitPlatformSignalHandlersCommon()
524 struct sigaction action; in InitPlatformSignalHandlersCommon()
534 rc += sigaction(SIGABRT, &action, oldact); in InitPlatformSignalHandlersCommon()
535 rc += sigaction(SIGBUS, &action, oldact); in InitPlatformSignalHandlersCommon()
536 rc += sigaction(SIGFPE, &action, oldact); in InitPlatformSignalHandlersCommon()
537 rc += sigaction(SIGILL, &action, oldact); in InitPlatformSignalHandlersCommon()
538 rc += sigaction(SIGPIPE, &action, oldact); in InitPlatformSignalHandlersCommon()
539 rc += sigaction(SIGSEGV, &action, oldact); in InitPlatformSignalHandlersCommon()
541 rc += sigaction(SIGSTKFLT, &action, oldact); in InitPlatformSignalHandlersCommon()
543 rc += sigaction(SIGTRAP, &action, oldact); in InitPlatformSignalHandlersCommon()
[all …]
Druntime_android.cc27 struct sigaction old_action;
Druntime_common.h78 struct sigaction* oldact,
Dfault_handler.cc155 struct sigaction act; in Init()
167 if (sigaction(SIGBUS, &act, nullptr)) { in Init()
/art/runtime/arch/arm/
Dinstruction_set_features_arm.cc262 struct sigaction sa, osa; in FromAssembly()
266 sigaction(SIGILL, &sa, &osa); in FromAssembly()
280 sigaction(SIGILL, &osa, nullptr); in FromAssembly()
/art/test/
Dart-standalone-gtest-version.map20 sigaction;
DAndroid.bp318 // ASAN. ASAN init uses sigaction, which makes `libsigchain.so` initialize earlier than
/art/test/115-native-bridge/
Dnativebridge.cc216 struct sigaction tmp; in trampoline_Java_Main_testSignal()
224 sigaction(SIGSEGV, &tmp, nullptr); in trampoline_Java_Main_testSignal()
228 sigaction(SIGILL, &tmp, nullptr); in trampoline_Java_Main_testSignal()
/art/perfetto_hprof/
Dperfetto_hprof.cc99 static struct sigaction g_orig_act = {};
1005 if (sigaction(kJavaHeapprofdSignal, &g_orig_act, nullptr) != 0) { in ForkAndRun()
1185 struct sigaction act = {}; in ArtPlugin_Initialize()
1196 if (sigaction(kJavaHeapprofdSignal, &act, &g_orig_act) != 0) { in ArtPlugin_Initialize()
1261 if (sigaction(kJavaHeapprofdSignal, &g_orig_act, nullptr) != 0) { in ArtPlugin_Deinitialize()
/art/runtime/jit/
Djit_memory_region_test.cc48 struct sigaction sa; in registerSignalHandler()
52 sigaction(SIGSEGV, &sa, nullptr); in registerSignalHandler()