Searched refs:sigaction (Results 1 – 13 of 13) sorted by relevance
/art/test/004-SignalTest/ |
D | signaltest.cc | 100 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/ |
D | sigchain_test.cc | 217 auto libc_sigaction = reinterpret_cast<decltype(&sigaction)>(dlsym(libc, "sigaction")); in TEST_F() 221 struct sigaction action = {}; in TEST_F() 249 struct sigaction action = {}; in TEST_F() 254 ASSERT_EQ(0, sigaction(SIGSEGV, &action, nullptr)); in TEST_F() 264 ASSERT_EQ(0, sigaction(SIGSEGV, &action, nullptr)); in TEST_F() 265 ASSERT_EQ(0, sigaction(SIGSEGV, nullptr, &action)); in TEST_F()
|
D | sigchain.cc | 100 static decltype(&sigaction) linked_sigaction; 132 if (sym == wrapper || sym == sigaction) { in lookup_libc_symbol() 142 lookup_libc_symbol(&linked_sigaction, sigaction, "sigaction"); in InitializeSignalChain() 209 struct sigaction handler_action = {}; in Register() 330 struct sigaction action_; 449 extern "C" int sigaction(int signal, const struct sigaction* new_action, in sigaction() function 450 struct sigaction* old_action) { in sigaction() 471 struct sigaction sa = {}; in signal() 481 chains[signo].GetAction<struct sigaction>().sa_handler); in signal() 579 struct sigaction current_action; in EnsureFrontOfChain()
|
/art/runtime/ |
D | runtime_linux.cc | 54 struct sigaction action; in HandleUnexpectedSignalLinux() 58 sigaction(signal_number, &action, nullptr); in HandleUnexpectedSignalLinux()
|
D | runtime_common.cc | 522 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 …]
|
D | runtime_android.cc | 27 struct sigaction old_action;
|
D | runtime_common.h | 77 struct sigaction* oldact,
|
D | fault_handler.h | 75 struct sigaction oldaction_;
|
D | fault_handler.cc | 127 sigaction(SIGSEGV, nullptr, &oldaction_); in FaultManager()
|
/art/runtime/arch/arm/ |
D | instruction_set_features_arm.cc | 247 struct sigaction sa, osa; in FromAssembly() 251 sigaction(SIGILL, &sa, &osa); in FromAssembly() 265 sigaction(SIGILL, &osa, nullptr); in FromAssembly()
|
/art/perfetto_hprof/ |
D | perfetto_hprof.cc | 93 static struct sigaction g_orig_act = {}; 576 if (sigaction(kJavaHeapprofdSignal, &g_orig_act, nullptr) != 0) { in DumpPerfetto() 875 struct sigaction act = {}; in ArtPlugin_Initialize() 886 if (sigaction(kJavaHeapprofdSignal, &act, &g_orig_act) != 0) { in ArtPlugin_Initialize() 946 if (sigaction(kJavaHeapprofdSignal, &g_orig_act, nullptr) != 0) { in ArtPlugin_Deinitialize()
|
/art/test/115-native-bridge/ |
D | nativebridge.cc | 211 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()
|
/art/runtime/jit/ |
D | jit_memory_region_test.cc | 48 struct sigaction sa; in registerSignalHandler() 52 sigaction(SIGSEGV, &sa, nullptr); in registerSignalHandler()
|