Home
last modified time | relevance | path

Searched refs:sigaction (Results 1 – 25 of 27) sorted by relevance

12

/bionic/libc/bionic/
Dsigaction.cpp38 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()
Dsiginterrupt.c34 struct sigaction act; in siginterrupt()
36 (void) sigaction(sig, NULL, &act); in siginterrupt()
43 return sigaction(sig, &act, NULL); in siginterrupt()
Dsigset.cpp33 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()
Dsigignore.cpp33 struct sigaction sa; in sigignore()
37 return sigaction(sig, &sa, nullptr); in sigignore()
Dsignal.cpp32 struct sigaction sa; in _signal()
37 if (sigaction(signum, &sa, &sa) == -1) { in _signal()
Dabort.cpp72 struct sigaction sa; in abort()
76 sigaction(SIGABRT, &sa, &sa); in abort()
/bionic/tests/
DScopedSignalHandler.h30 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_;
Dsignal_test.cpp203 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 …]
Dsys_ptrace_test.cpp276 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/
Dsystem.c45 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/
Dsignal.h43 # 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/
DBacktraceData.cpp62 struct sigaction enable_act; in Initialize()
68 if (sigaction(config.backtrace_signal(), &enable_act, nullptr) != 0) { in Initialize()
DRecordData.cpp182 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/
Dsignal.h80 struct sigaction { struct
92 struct sigaction { argument
/bionic/libc/kernel/uapi/asm-arm/asm/
Dsignal.h76 struct sigaction { struct
/bionic/libc/kernel/uapi/asm-mips/asm/
Dsignal.h80 struct sigaction { struct
/bionic/libc/kernel/uapi/asm-generic/
Dsignal.h85 struct sigaction { struct
/bionic/libc/
DSYSCALLS.TXT230 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
Dlibc.mips64.map870 sigaction;
Dlibc.x86_64.map870 sigaction;
Dlibc.arm64.map870 sigaction;
Dlibc.mips.map927 sigaction;
Dlibc.x86.map925 sigaction;
Dlibc.arm.map929 sigaction;
/bionic/libc/tools/
Dposix-2013.txt939 sigaction

12