Searched refs:sa_handler (Results 1 – 15 of 15) sorted by relevance
/bionic/libc/include/bits/ |
D | signal_types.h | 73 sighandler_t sa_handler; \ 89 sighandler_t sa_handler; \ 101 #undef sa_handler 106 sighandler_t sa_handler; member 117 sighandler_t sa_handler; member
|
/bionic/libc/bionic/ |
D | sigaction.cpp | 45 kernel_new_action.sa_handler = bionic_new_action->sa_handler; in sigaction() 72 bionic_old_action->sa_handler = kernel_old_action.sa_handler; in sigaction() 95 kernel_new.sa_handler = bionic_new->sa_handler; in sigaction() 108 bionic_old->sa_handler = kernel_old.sa_handler; in sigaction()
|
D | system.cpp | 49 if (sigint_ignorer.old_action_.sa_handler != SIG_IGN) sigaddset64(&default_mask, SIGINT); in system() 50 if (sigquit_ignorer.old_action_.sa_handler != SIG_IGN) sigaddset64(&default_mask, SIGQUIT); in system()
|
D | abort.cpp | 49 struct sigaction64 sa = { .sa_handler = SIG_DFL, .sa_flags = SA_RESTART }; in abort()
|
D | signal.cpp | 150 struct sigaction64 sa = { .sa_handler = SIG_IGN }; in sigignore() 185 struct sigaction64 sa = { .sa_handler = handler, .sa_flags = flags }; in _signal() 186 return (sigaction64(sig, &sa, &sa) == -1) ? SIG_ERR : sa.sa_handler; in _signal() 230 if (disp != SIG_HOLD) new_sa = { .sa_handler = disp }; in sigset() 244 return sigismember64(&old_mask, sig) ? SIG_HOLD : old_sa.sa_handler; in sigset()
|
D | spawn.cpp | 103 const struct sigaction64 default_sa = { .sa_handler = SIG_DFL }; in ApplyAttrs() 111 reset = (current.sa_handler != SIG_IGN && current.sa_handler != SIG_DFL); in ApplyAttrs()
|
D | malloc_heapprofd.cpp | 230 action.sa_handler = MaybeInstallInitHeapprofdHook; in HeapprofdInstallSignalHandler() 258 action.sa_handler = DisplayError; in HeapprofdInstallErrorSignalHandler()
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
D | signal.h | 89 #define sa_handler _u._sa_handler macro 93 __sighandler_t sa_handler; member
|
/bionic/tests/ |
D | BionicDeathTest.h | 33 struct sigaction64 action = { .sa_handler = SIG_DFL }; in SetUp()
|
D | signal_test.cpp | 286 ASSERT_TRUE(original_sa.sa_handler == nullptr); in TestSigAction() 298 sa.sa_handler = no_op_signal_handler; in TestSigAction() 304 ASSERT_TRUE(sa.sa_handler == no_op_signal_handler); in TestSigAction() 305 ASSERT_TRUE((void*) sa.sa_sigaction == (void*) sa.sa_handler); in TestSigAction() 323 ASSERT_TRUE((void*) sa.sa_sigaction == (void*) sa.sa_handler); in TestSigAction() 394 sa.sa_handler = [](int) { sigset = GetSignalMask(); }; in TEST() 414 sa.sa_handler = [](int) { sigset = GetSignalMask(); }; in TEST() 848 EXPECT_EQ(SIG_IGN, sa.sa_handler); in TEST()
|
/bionic/libc/private/ |
D | ScopedSignalHandler.h | 25 action_ = { .sa_flags = sa_flags, .sa_handler = handler }; in signal_number_()
|
/bionic/libc/kernel/uapi/asm-mips/asm/ |
D | signal.h | 82 __sighandler_t sa_handler; member
|
/bionic/libc/kernel/uapi/asm-arm/asm/ |
D | signal.h | 85 #define sa_handler _u._sa_handler macro
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | signal.h | 86 __sighandler_t sa_handler; member
|
/bionic/tests/headers/posix/ |
D | signal_h.c | 104 STRUCT_MEMBER_FUNCTION_POINTER(struct sigaction, void (*f)(int), sa_handler); in signal_h()
|