Home
last modified time | relevance | path

Searched refs:siginfo_t (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/third_party/musl/libc-test/src/functionalext/sigchain/
Dsigchain_add_special_handler.c27 static bool sigchain_special_sigint_handler1(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sigint_handler1()
37 static bool sigchain_special_sigint_handler2(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sigint_handler2()
79 static bool sigchain_special_sighup_handler1(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sighup_handler1()
89 static bool sigchain_special_sighup_handler2(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sighup_handler2()
142 static bool sigchain_special_sigusr2_handler1(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sigusr2_handler1()
152 static bool sigchain_special_sigusr2_handler2(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sigusr2_handler2()
208 static bool sigchain_special_sigterm_handler(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sigterm_handler()
244 static bool sigchain_special_64_handler(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_64_handler()
290 static bool sigchain_special_37_handler(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_37_handler()
340 static bool sigchain_special_43_handler(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_43_handler()
[all …]
Dsigchain_rm_special_handler.c27 static bool sigchain_special_sigabrt_handler1(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sigabrt_handler1()
37 static bool sigchain_special_sigabrt_handler2(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sigabrt_handler2()
81 static bool sigchain_special_sighup_handler1(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sighup_handler1()
91 static bool sigchain_special_sighup_handler2(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sighup_handler2()
147 static bool sigchain_special_sigusr2_handler1(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sigusr2_handler1()
157 static bool sigchain_special_sigusr2_handler2(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sigusr2_handler2()
216 static bool sigchain_special_sigterm_handler(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sigterm_handler()
254 static bool sigchain_special_64_handler(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_64_handler()
302 static bool sigchain_special_37_handler(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_37_handler()
353 static bool sigchain_special_quit_handler(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_quit_handler()
[all …]
Dsigchain_handler_call_order.c28 static bool sigchain_special_handler(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_handler()
42 static bool sigchain_special_handler1(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_handler1()
90 static bool sigchain_special_handler3(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_handler3()
/third_party/musl/libc-test/src/functionalext/supplement/signal/
Dpsiginfo.c29 siginfo_t info; in psiginfo_0100()
30 memset(&info, 0x0, sizeof(siginfo_t)); in psiginfo_0100()
45 siginfo_t info; in psiginfo_0200()
46 memset(&info, 0x0, sizeof(siginfo_t)); in psiginfo_0200()
61 siginfo_t info; in psiginfo_0300()
62 memset(&info, 0x0, sizeof(siginfo_t)); in psiginfo_0300()
/third_party/rust/crates/signal-hook/src/iterator/exfiltrator/
Draw.rs14 use libc::{c_int, siginfo_t};
21 pub struct Slot(AtomicPtr<Channel<siginfo_t>>);
65 type Output = siginfo_t;
71 fn store(&self, slot: &Slot, _: c_int, info: &siginfo_t) { in store() argument
81 fn load(&self, slot: &Slot, _: libc::c_int) -> Option<siginfo_t> { in load() argument
Dmod.rs25 use libc::{c_int, siginfo_t};
30 use libc::{c_int, siginfo_t};
76 fn store(&self, slot: &Self::Storage, signal: c_int, info: &siginfo_t); in store() argument
138 fn store(&self, slot: &Self::Storage, _: c_int, _: &siginfo_t) { in store() argument
/third_party/rust/crates/signal-hook/src/low_level/
Dsiginfo.rs7 use libc::{c_int, pid_t, siginfo_t, uid_t};
13 fn sighook_signal_cause(info: &siginfo_t) -> ICause; in sighook_signal_cause()
14 fn sighook_signal_pid(info: &siginfo_t) -> pid_t; in sighook_signal_pid()
15 fn sighook_signal_uid(info: &siginfo_t) -> uid_t; in sighook_signal_uid()
80 unsafe fn extract(info: &siginfo_t) -> Self { in extract()
240 pub unsafe fn extract(info: &siginfo_t) -> Self { in extract()
Dextract.c35 uint8_t sighook_signal_cause(const siginfo_t *info) { in sighook_signal_cause()
49 pid_t sighook_signal_pid(const siginfo_t *info) { in sighook_signal_pid()
53 uid_t sighook_signal_uid(const siginfo_t *info) { in sighook_signal_uid()
/third_party/rust/crates/signal-hook/signal-hook-registry/src/
Dlib.rs78 use libc::{c_int, c_void, sigaction, siginfo_t};
103 struct siginfo_t; struct
134 type Action = Fn(&siginfo_t) + Send + Sync;
237 unsafe fn execute(&self, sig: c_int, info: *mut siginfo_t, data: *mut c_void) { in execute() argument
257 type SigAction = extern "C" fn(c_int, *mut siginfo_t, *mut c_void); in execute()
333 action(&siginfo_t); in handler()
348 extern "C" fn handler(sig: c_int, info: *mut siginfo_t, data: *mut c_void) { in handler() argument
519 F: Fn(&siginfo_t) + Sync + Send + 'static, in register_sigaction()
526 F: Fn(&siginfo_t) + Sync + Send + 'static, in register_sigaction_impl()
568 F: Fn(&siginfo_t) + Sync + Send + 'static, in register_unchecked()
[all …]
/third_party/json/test/thirdparty/Fuzzer/
DFuzzerUtilPosix.cpp32 static void AlarmHandler(int, siginfo_t *, void *) { in AlarmHandler() argument
36 static void CrashHandler(int, siginfo_t *, void *) { in CrashHandler() argument
40 static void InterruptHandler(int, siginfo_t *, void *) { in InterruptHandler() argument
45 void (*callback)(int, siginfo_t *, void *)) { in SetSigaction() argument
/third_party/musl/libc-test/src/api/
Dsignal.c73 {void (**y)(int, siginfo_t *, void *) = &x.sa_sigaction;} in f()
106 siginfo_t x; in f()
156 {void(*p)(const siginfo_t*,const char*) = psiginfo;} in f()
177 {int(*p)(const sigset_t*restrict,siginfo_t*restrict,const struct timespec*restrict) = sigtimedwait;} in f()
179 {int(*p)(const sigset_t*restrict,siginfo_t*restrict) = sigwaitinfo;} in f()
/third_party/ltp/testcases/kernel/syscalls/rt_tgsigqueueinfo/
Drt_tgsigqueueinfo01.c38 static void sigusr1_handler(int signum, siginfo_t *uinfo, in sigusr1_handler()
47 siginfo_t uinfo; in send_rcv_func()
108 siginfo_t uinfo; in verify_signal_parent_thread()
129 siginfo_t uinfo; in sender_func()
/third_party/musl/porting/liteos_a_newlib/kernel/include/
Dsignal.h11 #define siginfo_t __siginfo_t_discard macro
13 #undef siginfo_t
48 } siginfo_t; typedef
/third_party/musl/libc-test/src/eabi/
D__sigtimedwait_time64.c22 siginfo_t *restrict si,
42 siginfo_t siginfo; in sigtimedwait_0100()
71 siginfo_t siginfo; in sigtimedwait_time64_0100()
/third_party/musl/porting/uniproton/kernel/include/
Dsignal.h147 } siginfo_t; typedef
172 void (*sa_sigaction)(int, siginfo_t *, void *);
217 int sigwaitinfo(const sigset_t *__restrict, siginfo_t *__restrict);
218 int sigtimedwait(const sigset_t *__restrict, siginfo_t *__restrict, const struct timespec *__restri…
224 void psiginfo(const siginfo_t *, const char *);
/third_party/musl/include/
Dsignal.h147 } siginfo_t; typedef
172 void (*sa_sigaction)(int, siginfo_t *, void *);
226 int sigwaitinfo(const sigset_t *__restrict, siginfo_t *__restrict);
227 int sigtimedwait(const sigset_t *__restrict, siginfo_t *__restrict, const struct timespec *__restri…
233 void psiginfo(const siginfo_t *, const char *);
/third_party/musl/ndk_musl_include/
Dsignal.h146 } siginfo_t; typedef
171 void (*sa_sigaction)(int, siginfo_t *, void *);
218 int sigwaitinfo(const sigset_t *__restrict, siginfo_t *__restrict);
219 int sigtimedwait(const sigset_t *__restrict, siginfo_t *__restrict, const struct timespec *__restri…
225 void psiginfo(const siginfo_t *, const char *);
/third_party/musl/porting/liteos_m/kernel/include/
Dsignal.h147 } siginfo_t; typedef
172 void (*sa_sigaction)(int, siginfo_t *, void *);
217 int sigwaitinfo(const sigset_t *__restrict, siginfo_t *__restrict);
218 int sigtimedwait(const sigset_t *__restrict, siginfo_t *__restrict, const struct timespec *__restri…
224 void psiginfo(const siginfo_t *, const char *);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dsignal.h147 } siginfo_t; typedef
172 void (*sa_sigaction)(int, siginfo_t *, void *);
217 int sigwaitinfo(const sigset_t *__restrict, siginfo_t *__restrict);
218 int sigtimedwait(const sigset_t *__restrict, siginfo_t *__restrict, const struct timespec *__restri…
224 void psiginfo(const siginfo_t *, const char *);
/third_party/musl/porting/linux/user/include/
Dsignal.h148 } siginfo_t; typedef
173 void (*sa_sigaction)(int, siginfo_t *, void *);
237 int sigwaitinfo(const sigset_t *__restrict, siginfo_t *__restrict);
238 int sigtimedwait(const sigset_t *__restrict, siginfo_t *__restrict, const struct timespec *__restri…
244 void psiginfo(const siginfo_t *, const char *);
Dsigchain.h34 bool (*sca_sigaction)(int, siginfo_t*, void*);
44 void remove_special_signal_handler(int signo, bool (*fn)(int, siginfo_t*, void*));
/third_party/ltp/testcases/kernel/syscalls/pidfd_send_signal/
Dpidfd_send_signal01.c23 static siginfo_t *uinfo;
26 static void received_signal(int sig, siginfo_t *info, void *ucontext) in received_signal()
82 uinfo = SAFE_MALLOC(sizeof(siginfo_t)); in setup()
/third_party/ltp/testcases/kernel/syscalls/rt_sigqueueinfo/
Drt_sigqueueinfo01.c30 static siginfo_t *uinfo;
33 static void received_signal(int sig, siginfo_t *info, void *ucontext) in received_signal()
89 uinfo = SAFE_MALLOC(sizeof(siginfo_t)); in setup()
/third_party/ltp/libs/libltpsigwait/
Dsigwait.c16 siginfo_t si; in test_empty_set()
41 siginfo_t si; in test_timeout()
75 siginfo_t si; in test_unmasked_matching()
125 siginfo_t si; in test_masked_matching()
173 siginfo_t si; in test_masked_matching_rt()
/third_party/ltp/testcases/kernel/syscalls/kill/
Dkill10.c168 void ack_ready(int sig, siginfo_t * si, void *data);
169 void ack_done(int sig, siginfo_t * si, void *data);
176 void reply_to_child(int sig, siginfo_t * si, void *data);
365 void ack_ready(int sig, siginfo_t * si, void *data) in ack_ready()
392 void ack_done(int sig, siginfo_t * si, void *data) in ack_done()
643 void reply_to_child(int sig, siginfo_t * si, void *data) in reply_to_child()

12345678910>>...13