Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dsigaction.cpp41 int sigaction(int signal, const struct sigaction* bionic_new_action, struct sigaction* bionic_old_a… in sigaction() function
81 __strong_alias(sigaction64, sigaction);
110 int sigaction(int signal, const struct sigaction* bionic_new, struct sigaction* bionic_old) { in sigaction() function
Dandroid_profiling_dynamic.cpp63 struct sigaction action = {}; in __libc_init_profiling_handlers()
66 sigaction(BIONIC_SIGNAL_PROFILER, &action, nullptr); in __libc_init_profiling_handlers()
105 struct sigaction sigsys_override = {}; in HandleProfilingSignal()
109 struct sigaction old_act = {}; in HandleProfilingSignal()
110 sigaction(SIGSYS, &sigsys_override, &old_act); in HandleProfilingSignal()
120 sigaction(SIGSYS, &old_act, nullptr); in HandleProfilingSignal()
Dpthread_internal.cpp237 struct sigaction act = {}, oldact; in android_run_on_all_threads()
241 if (sigaction(BIONIC_SIGNAL_RUN_ON_ALL_THREADS, &act, &oldact) != 0) { in android_run_on_all_threads()
272 sigaction(BIONIC_SIGNAL_RUN_ON_ALL_THREADS, &oldact, 0); in android_run_on_all_threads()
/bionic/tests/libs/
Dheap_tagging_helper.cpp51 struct sigaction sa = {}; in main()
54 sigaction(SIGSEGV, &sa, nullptr); in main()
56 struct sigaction dfl_sa = {}; in main()
58 sigaction(SIGABRT, &dfl_sa, nullptr); in main()
70 sigaction(SIGSEGV, &sa, nullptr); in main()
Dstack_tagging_helper.cpp216 struct sigaction oldsa;
222 struct sigaction sa = {}; in SigActionScoped()
225 int res = sigaction(signo, &sa, &oldsa); in SigActionScoped()
230 int res = sigaction(signo, &oldsa, nullptr); in ~SigActionScoped()
/bionic/tests/headers/posix/
Dsignal_h.c103 TYPE(struct sigaction); in signal_h()
104 STRUCT_MEMBER_FUNCTION_POINTER(struct sigaction, void (*f)(int), sa_handler); in signal_h()
105 STRUCT_MEMBER(struct sigaction, sigset_t, sa_mask); in signal_h()
106 STRUCT_MEMBER(struct sigaction, int, sa_flags); in signal_h()
107 STRUCT_MEMBER_FUNCTION_POINTER(struct sigaction, void (*f)(int, siginfo_t*, void*), sa_sigaction); in signal_h()
208 FUNCTION(sigaction, int (*f)(int, const struct sigaction*, struct sigaction*)); in signal_h()
/bionic/libc/include/bits/
Dsignal_types.h76 struct sigaction { __SIGACTION_BODY }; struct
92 struct sigaction { struct
/bionic/libc/include/
Dsignal.h62 int sigaction(int __signal, const struct sigaction* _Nullable __new_action, struct sigaction* _Null…
/bionic/tests/
Dandroid_unsafe_frame_pointer_chase_test.cpp121 struct sigaction s = {}; in SignalBacktraceThread()
124 sigaction(SIGRTMIN, &s, nullptr); in SignalBacktraceThread()
DSignalUtils.h28 #define sigaction64 sigaction
Dsignal_test.cpp308 TEST(signal, sigaction) { in TEST() argument
309 TestSigAction(sigaction, sigaddset, SIGALRM); in TEST()
368 struct sigaction sa = {}; in TEST()
372 sigaction(SIGUSR1, &sa, nullptr); in TEST()
801 struct sigaction handler = {}; in TEST()
805 ASSERT_EQ(0, sigaction(SIGUSR1, &handler, nullptr)); in TEST()
854 struct sigaction sa; in TEST()
855 ASSERT_EQ(0, sigaction(SIGALRM, nullptr, &sa)); in TEST()
Dsetjmp_test.cpp310 struct sigaction sa = {.sa_flags = SA_SIGINFO, .sa_sigaction = [](int, siginfo_t*, void*) {}}; in TEST()
311 ASSERT_EQ(0, sigaction(SIGPROF, &sa, 0)); in TEST()
/bionic/libfdtrack/
Dfdtrack.cpp88 struct sigaction sa = {}; in ctor()
97 sigaction(BIONIC_SIGNAL_FDTRACK, &sa, nullptr); in ctor()
/bionic/libc/
DSYSCALLS.TXT248 int __sigaction:sigaction(int, const struct sigaction*, struct sigaction*) lp32
249 int __rt_sigaction:rt_sigaction(int, const struct sigaction*, struct sigaction*, size_t) all
Dlibc.map.txt955 sigaction;
DAndroid.bp943 "bionic/sigaction.cpp",
/bionic/docs/
D32-bit-abi.md74 On 32-bit Android, `struct sigaction` is also too small because it contains
/bionic/libc/tools/
Dposix-2013.txt939 sigaction
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_095.S69 CALL(sigaction)
Dliblinker_reloc_bench_135.S494 CALL(sigaction)
Dliblinker_reloc_bench_113.S2115 CALL(sigaction)
/bionic/tools/versioner/platforms/
Dlibc.map.txt955 sigaction;