Home
last modified time | relevance | path

Searched refs:new_action (Results 1 – 2 of 2) sorted by relevance

/system/unwinding/libunwindstack/
DThreadUnwinder.cpp90 struct sigaction new_action = {.sa_sigaction = SignalHandler, in SendSignalToThread() local
93 sigemptyset(&new_action.sa_mask); in SendSignalToThread()
94 if (sigaction(signal, &new_action, &old_action) != 0) { in SendSignalToThread()
/system/unwinding/libbacktrace/
Dbacktrace_test.cpp612 struct sigaction new_action; in TEST_F() local
613 ASSERT_TRUE(sigaction(THREAD_SIGNAL, nullptr, &new_action) == 0); in TEST_F()
614 EXPECT_EQ(cur_action.sa_sigaction, new_action.sa_sigaction); in TEST_F()
620 new_action.sa_flags &= ~SA_RESTORER; in TEST_F()
624 new_action.sa_flags &= ~0x04000000; in TEST_F()
626 EXPECT_EQ(cur_action.sa_flags, new_action.sa_flags); in TEST_F()