Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dsigaction.cpp44 kernel_new_action.sa_flags = bionic_new_action->sa_flags; in sigaction()
56 if (!(kernel_new_action.sa_flags & SA_RESTORER)) { in sigaction()
57 kernel_new_action.sa_flags |= SA_RESTORER; in sigaction()
71 bionic_old_action->sa_flags = kernel_old_action.sa_flags; in sigaction()
97 if (!(kernel_new.sa_flags & SA_RESTORER)) { in __sigaction64()
98 kernel_new.sa_flags |= SA_RESTORER; in __sigaction64()
99 kernel_new.sa_restorer = (kernel_new.sa_flags & SA_SIGINFO) ? &__restore_rt : &__restore; in __sigaction64()
116 kernel_new.sa_flags = bionic_new->sa_flags; in sigaction()
129 bionic_old->sa_flags = kernel_old.sa_flags; in sigaction()
Dandroid_profiling_dynamic.cpp63 action.sa_flags = SA_SIGINFO | SA_RESTART; in __libc_init_profiling_handlers()
108 sigsys_override.sa_flags = SA_SIGINFO; in HandleProfilingSignal()
Dsignal.cpp159 act.sa_flags &= ~SA_RESTART; in siginterrupt()
161 act.sa_flags |= SA_RESTART; in siginterrupt()
186 struct sigaction64 sa = { .sa_handler = handler, .sa_flags = flags }; in _signal()
Dabort.cpp49 struct sigaction64 sa = { .sa_handler = SIG_DFL, .sa_flags = SA_RESTART }; in abort()
/bionic/libc/private/
DScopedSignalHandler.h23 ScopedSignalHandler(int signal_number, void (*handler)(int), int sa_flags = 0)
25 action_ = { .sa_flags = sa_flags, .sa_handler = handler }; in signal_number_()
30 int sa_flags = SA_SIGINFO)
32 action_ = { .sa_flags = sa_flags, .sa_sigaction = action }; in signal_number_()
/bionic/libc/include/bits/
Dsignal_types.h70 int sa_flags; \
94 int sa_flags; member
104 int sa_flags; member
/bionic/libc/kernel/uapi/asm-x86/asm/
Dsignal.h86 unsigned long sa_flags; member
94 unsigned long sa_flags; member
/bionic/tests/
Dsignal_test.cpp255 ASSERT_EQ(0U, original_sa.sa_flags & ~sa_restorer); in TestSigAction()
257 ASSERT_EQ(bool(original_sa.sa_flags & sa_restorer), bool(original_sa.sa_restorer)); in TestSigAction()
264 sa.sa_flags = SA_ONSTACK; in TestSigAction()
273 ASSERT_EQ(static_cast<unsigned>(SA_ONSTACK), sa.sa_flags & ~sa_restorer); in TestSigAction()
275 ASSERT_EQ(bool(sa.sa_flags & sa_restorer), bool(sa.sa_restorer)); in TestSigAction()
282 sa.sa_flags = SA_ONSTACK | SA_SIGINFO; in TestSigAction()
291 ASSERT_EQ(static_cast<unsigned>(SA_ONSTACK | SA_SIGINFO), sa.sa_flags & ~sa_restorer); in TestSigAction()
293 ASSERT_EQ(bool(sa.sa_flags & sa_restorer), bool(sa.sa_restorer)); in TestSigAction()
362 sa.sa_flags = SA_ONSTACK | SA_NODEFER; in TEST()
382 sa.sa_flags = SA_ONSTACK | SA_NODEFER; in TEST()
[all …]
Dandroid_unsafe_frame_pointer_chase_test.cpp123 s.sa_flags = SA_ONSTACK; in SignalBacktraceThread()
/bionic/libc/kernel/uapi/asm-arm/asm/
Dsignal.h82 unsigned long sa_flags; member
/bionic/libc/kernel/uapi/asm-generic/
Dsignal.h87 unsigned long sa_flags; member
/bionic/libc/malloc_debug/
DRecordData.cpp177 dump_act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in Initialize()
DPointerData.cpp104 enable_act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in Initialize()
118 act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in Initialize()
/bionic/tests/headers/posix/
Dsignal_h.c106 STRUCT_MEMBER(struct sigaction, int, sa_flags); in signal_h()