Searched refs:sa_flags (Results 1 – 13 of 13) sorted by relevance
/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/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() 94 kernel_new.sa_flags = bionic_new->sa_flags; in sigaction() 107 bionic_old->sa_flags = kernel_old.sa_flags; in sigaction() 122 if (!(kernel_new.sa_flags & SA_RESTORER)) { in sigaction64() 123 kernel_new.sa_flags |= SA_RESTORER; in sigaction64() 124 kernel_new.sa_restorer = (kernel_new.sa_flags & SA_SIGINFO) ? &__restore_rt : &__restore; in sigaction64()
|
D | abort.cpp | 49 struct sigaction64 sa = { .sa_handler = SIG_DFL, .sa_flags = SA_RESTART }; in abort()
|
D | signal.cpp | 158 act.sa_flags &= ~SA_RESTART; in siginterrupt() 160 act.sa_flags |= SA_RESTART; in siginterrupt() 185 struct sigaction64 sa = { .sa_handler = handler, .sa_flags = flags }; in _signal()
|
/bionic/libc/include/bits/ |
D | signal_types.h | 71 int sa_flags; \ 87 int sa_flags; \ 110 int sa_flags; member 120 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/libc/kernel/uapi/asm-mips/asm/ |
D | signal.h | 81 unsigned int sa_flags; member
|
/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/tests/ |
D | signal_test.cpp | 288 ASSERT_EQ(0U, original_sa.sa_flags & ~sa_restorer); in TestSigAction() 290 ASSERT_EQ(bool(original_sa.sa_flags & sa_restorer), bool(original_sa.sa_restorer)); in TestSigAction() 297 sa.sa_flags = SA_ONSTACK; in TestSigAction() 306 ASSERT_EQ(static_cast<unsigned>(SA_ONSTACK), sa.sa_flags & ~sa_restorer); in TestSigAction() 308 ASSERT_EQ(bool(sa.sa_flags & sa_restorer), bool(sa.sa_restorer)); in TestSigAction() 315 sa.sa_flags = SA_ONSTACK | SA_SIGINFO; in TestSigAction() 324 ASSERT_EQ(static_cast<unsigned>(SA_ONSTACK | SA_SIGINFO), sa.sa_flags & ~sa_restorer); in TestSigAction() 326 ASSERT_EQ(bool(sa.sa_flags & sa_restorer), bool(sa.sa_restorer)); in TestSigAction() 395 sa.sa_flags = SA_ONSTACK | SA_NODEFER; in TEST() 415 sa.sa_flags = SA_ONSTACK | SA_NODEFER; in TEST() [all …]
|
/bionic/libc/malloc_debug/ |
D | RecordData.cpp | 177 dump_act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in Initialize()
|
D | PointerData.cpp | 103 enable_act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in Initialize() 117 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()
|