Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dsigaction.cpp41 kernel_new_action.sa_flags = bionic_new_action->sa_flags; in sigaction()
52 if (!(kernel_new_action.sa_flags & SA_RESTORER)) { in sigaction()
53 kernel_new_action.sa_flags |= SA_RESTORER; in sigaction()
67 bionic_old_action->sa_flags = kernel_old_action.sa_flags; in sigaction()
87 kernel_new_action.sa_flags = bionic_new_action->sa_flags; in sigaction()
93 if (!(kernel_new_action.sa_flags & SA_RESTORER)) { in sigaction()
94 kernel_new_action.sa_flags |= SA_RESTORER; in sigaction()
95 …kernel_new_action.sa_restorer = (kernel_new_action.sa_flags & SA_SIGINFO) ? &__restore_rt : &__res… in sigaction()
Dsiginterrupt.c39 act.sa_flags &= ~SA_RESTART; in siginterrupt()
41 act.sa_flags |= SA_RESTART; in siginterrupt()
Dsignal.cpp35 sa.sa_flags = flags; in _signal()
Dabort.cpp74 sa.sa_flags = SA_RESTART; in abort()
/bionic/tests/
DScopedSignalHandler.h25 ScopedSignalHandler(int signal_number, void (*handler)(int), int sa_flags = 0)
28 action_.sa_flags = sa_flags; in signal_number_()
34 int sa_flags = SA_SIGINFO)
37 action_.sa_flags = sa_flags; in signal_number_()
Dsignal_test.cpp216 ASSERT_EQ(0U, original_sa.sa_flags & ~sa_restorer); in TEST()
222 sa.sa_flags = SA_ONSTACK; in TEST()
231 ASSERT_EQ(static_cast<unsigned>(SA_ONSTACK), sa.sa_flags & ~sa_restorer); in TEST()
236 sa.sa_flags = SA_ONSTACK | SA_SIGINFO; in TEST()
245 ASSERT_EQ(static_cast<unsigned>(SA_ONSTACK | SA_SIGINFO), sa.sa_flags & ~sa_restorer); in TEST()
393 handler.sa_flags = SA_SIGINFO; in TEST()
Dsys_ptrace_test.cpp279 action.sa_flags = 0; in TEST()
/bionic/libc/kernel/uapi/asm-x86/asm/
Dsignal.h86 unsigned long sa_flags; member
94 unsigned long sa_flags; member
/bionic/libc/include/
Dsignal.h95 unsigned int sa_flags; member
107 unsigned int sa_flags; member
/bionic/libc/malloc_debug/
DBacktraceData.cpp66 enable_act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in Initialize()
DRecordData.cpp186 dump_act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in Initialize()
/bionic/libc/kernel/uapi/asm-arm/asm/
Dsignal.h82 unsigned long sa_flags; member
/bionic/libc/kernel/uapi/asm-mips/asm/
Dsignal.h81 unsigned int sa_flags; member
/bionic/libc/kernel/uapi/asm-generic/
Dsignal.h87 unsigned long sa_flags; member