Searched refs:sa_flags (Results 1 – 14 of 14) sorted by relevance
/bionic/libc/bionic/ |
D | sigaction.cpp | 44 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()
|
D | android_profiling_dynamic.cpp | 63 action.sa_flags = SA_SIGINFO | SA_RESTART; in __libc_init_profiling_handlers() 108 sigsys_override.sa_flags = SA_SIGINFO; in HandleProfilingSignal()
|
D | signal.cpp | 159 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()
|
D | abort.cpp | 49 struct sigaction64 sa = { .sa_handler = SIG_DFL, .sa_flags = SA_RESTART }; in abort()
|
/bionic/libc/private/ |
D | ScopedSignalHandler.h | 23 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/ |
D | signal_types.h | 70 int sa_flags; \ 94 int sa_flags; member 104 int sa_flags; member
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
D | signal.h | 86 unsigned long sa_flags; member 94 unsigned long sa_flags; member
|
/bionic/tests/ |
D | signal_test.cpp | 255 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 …]
|
D | android_unsafe_frame_pointer_chase_test.cpp | 123 s.sa_flags = SA_ONSTACK; in SignalBacktraceThread()
|
/bionic/libc/kernel/uapi/asm-arm/asm/ |
D | signal.h | 82 unsigned long sa_flags; member
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | signal.h | 87 unsigned long sa_flags; member
|
/bionic/libc/malloc_debug/ |
D | RecordData.cpp | 177 dump_act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in Initialize()
|
D | PointerData.cpp | 104 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/ |
D | signal_h.c | 106 STRUCT_MEMBER(struct sigaction, int, sa_flags); in signal_h()
|