/bionic/libc/bionic/ |
D | sigaction.cpp | 38 int sigaction(int signal, const struct sigaction* bionic_new_action, struct sigaction* bionic_old_a… in sigaction() function 80 extern "C" int __sigaction(int, const struct sigaction*, struct sigaction*); 82 int sigaction(int signal, const struct sigaction* bionic_new_action, struct sigaction* bionic_old_a… in sigaction() function 85 struct sigaction kernel_new_action; in sigaction()
|
D | siginterrupt.c | 34 struct sigaction act; in siginterrupt() 36 (void) sigaction(sig, NULL, &act); in siginterrupt() 43 return sigaction(sig, &act, NULL); in siginterrupt()
|
D | sigset.cpp | 33 struct sigaction new_sa; in sigset() 40 struct sigaction old_sa; in sigset() 41 if (sigaction(sig, disp == SIG_HOLD ? nullptr : &new_sa, &old_sa) == -1) { in sigset()
|
D | sigignore.cpp | 33 struct sigaction sa; in sigignore() 37 return sigaction(sig, &sa, nullptr); in sigignore()
|
D | signal.cpp | 32 struct sigaction sa; in _signal() 37 if (sigaction(signum, &sa, &sa) == -1) { in _signal()
|
D | abort.cpp | 72 struct sigaction sa; in abort() 76 sigaction(SIGABRT, &sa, &sa); in abort()
|
/bionic/tests/ |
D | ScopedSignalHandler.h | 30 sigaction(signal_number_, &action_, &old_action_); in signal_number_() 39 sigaction(signal_number_, &action_, &old_action_); in signal_number_() 43 sigaction(signal_number, nullptr, &old_action_); in ScopedSignalHandler() 47 sigaction(signal_number_, &old_action_, NULL); in ~ScopedSignalHandler() 51 struct sigaction action_; 52 struct sigaction old_action_;
|
D | signal_test.cpp | 203 TEST(signal, sigaction) { in TEST() argument 211 struct sigaction original_sa; in TEST() 213 ASSERT_EQ(0, sigaction(SIGALRM, NULL, &original_sa)); in TEST() 219 struct sigaction sa; in TEST() 224 ASSERT_EQ(0, sigaction(SIGALRM, &sa, NULL)); in TEST() 228 ASSERT_EQ(0, sigaction(SIGALRM, NULL, &sa)); in TEST() 238 ASSERT_EQ(0, sigaction(SIGALRM, &sa, NULL)); in TEST() 242 ASSERT_EQ(0, sigaction(SIGALRM, NULL, &sa)); in TEST() 248 ASSERT_EQ(0, sigaction(SIGALRM, &original_sa, NULL)); in TEST() 390 struct sigaction handler; in TEST() [all …]
|
D | sys_ptrace_test.cpp | 276 struct sigaction action, oldaction; in TEST() 280 ASSERT_EQ(0, sigaction(SIGALRM, &action, &oldaction)) << strerror(errno); in TEST() 285 ASSERT_EQ(0, sigaction(SIGALRM, &oldaction, nullptr)) << strerror(errno); in TEST()
|
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
D | system.c | 45 struct sigaction intsave, quitsave; in system() 68 sigaction(SIGINT, NULL, &intsave); in system() 69 sigaction(SIGQUIT, NULL, &quitsave); in system() 74 sigaction(SIGINT, &intsave, NULL); in system() 75 sigaction(SIGQUIT, &quitsave, NULL); in system()
|
/bionic/libc/include/ |
D | signal.h | 43 # define sigaction __kernel_sigaction macro 45 # undef sigaction 94 struct sigaction { struct 106 struct sigaction { argument 117 int sigaction(int, const struct sigaction*, struct sigaction*); argument
|
/bionic/libc/malloc_debug/ |
D | BacktraceData.cpp | 62 struct sigaction enable_act; in Initialize() 68 if (sigaction(config.backtrace_signal(), &enable_act, nullptr) != 0) { in Initialize()
|
D | RecordData.cpp | 182 struct sigaction dump_act; in Initialize() 188 if (sigaction(config.record_allocs_signal(), &dump_act, nullptr) != 0) { in Initialize()
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
D | signal.h | 80 struct sigaction { struct 92 struct sigaction { argument
|
/bionic/libc/kernel/uapi/asm-arm/asm/ |
D | signal.h | 76 struct sigaction { struct
|
/bionic/libc/kernel/uapi/asm-mips/asm/ |
D | signal.h | 80 struct sigaction { struct
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | signal.h | 85 struct sigaction { struct
|
/bionic/libc/ |
D | SYSCALLS.TXT | 230 int __sigaction:sigaction(int, const struct sigaction*, struct sigaction*) arm,mips,x86 231 int __rt_sigaction:rt_sigaction(int, const struct sigaction*, struct sigaction*, size_t) all
|
D | libc.mips64.map | 870 sigaction;
|
D | libc.x86_64.map | 870 sigaction;
|
D | libc.arm64.map | 870 sigaction;
|
D | libc.mips.map | 927 sigaction;
|
D | libc.x86.map | 925 sigaction;
|
D | libc.arm.map | 929 sigaction;
|
/bionic/libc/tools/ |
D | posix-2013.txt | 939 sigaction
|