Home
last modified time | relevance | path

Searched refs:siginfo (Results 1 – 25 of 62) sorted by relevance

123

/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() argument
37 static bool sigchain_special_sigint_handler2(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sigint_handler2() argument
79 static bool sigchain_special_sighup_handler1(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sighup_handler1() argument
89 static bool sigchain_special_sighup_handler2(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sighup_handler2() argument
142 static bool sigchain_special_sigusr2_handler1(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sigusr2_handler1() argument
152 static bool sigchain_special_sigusr2_handler2(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sigusr2_handler2() argument
208 static bool sigchain_special_sigterm_handler(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sigterm_handler() argument
244 static bool sigchain_special_64_handler(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_64_handler() argument
290 static bool sigchain_special_37_handler(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_37_handler() argument
340 static bool sigchain_special_43_handler(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_43_handler() argument
[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() argument
37 static bool sigchain_special_sigabrt_handler2(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sigabrt_handler2() argument
81 static bool sigchain_special_sighup_handler1(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sighup_handler1() argument
91 static bool sigchain_special_sighup_handler2(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sighup_handler2() argument
147 static bool sigchain_special_sigusr2_handler1(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sigusr2_handler1() argument
157 static bool sigchain_special_sigusr2_handler2(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sigusr2_handler2() argument
216 static bool sigchain_special_sigterm_handler(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_sigterm_handler() argument
254 static bool sigchain_special_64_handler(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_64_handler() argument
302 static bool sigchain_special_37_handler(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_37_handler() argument
353 static bool sigchain_special_quit_handler(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_quit_handler() argument
[all …]
Dsigchain_handler_call_order.c28 static bool sigchain_special_handler(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_handler() argument
42 static bool sigchain_special_handler1(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_handler1() argument
90 static bool sigchain_special_handler3(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_handler3() argument
Dsigchain_intercept_signal.c49 static bool sigchain_special_handler1(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_handler1() argument
94 static bool sigchain_special_handler3(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_handler3() argument
Dsigchain_intercept_sigaction.c55 static bool sigchain_special_handler2(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_handler2() argument
106 static bool sigchain_special_handler3(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_handler3() argument
Dsigchain_intercept_pthread_sigmask.c29 static bool sigchain_special_handler2(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_handler2() argument
79 static bool sigchain_special_handler3(int signo, siginfo_t *siginfo, void *ucontext_raw) in sigchain_special_handler3() argument
/third_party/rust/crates/nix/src/sys/
Dwait.rs261 unsafe fn from_siginfo(siginfo: &libc::siginfo_t) -> Result<WaitStatus> { in from_siginfo()
262 let si_pid = siginfo.si_pid(); in from_siginfo()
267 assert_eq!(siginfo.si_signo, libc::SIGCHLD); in from_siginfo()
270 let si_status = siginfo.si_status(); in from_siginfo()
272 let status = match siginfo.si_code { in from_siginfo()
277 siginfo.si_code == libc::CLD_DUMPED, in from_siginfo()
379 let siginfo = unsafe { in waitid() localVariable
382 let mut siginfo: libc::siginfo_t = std::mem::zeroed(); in waitid() localVariable
383 Errno::result(libc::waitid(idtype, idval, &mut siginfo, flags.bits()))?; in waitid()
384 siginfo in waitid()
[all …]
Dsignalfd.rs22 pub use libc::signalfd_siginfo as siginfo;
36 pub const SIGNALFD_SIGINFO_SIZE: usize = mem::size_of::<siginfo>();
103 pub fn read_signal(&mut self) -> Result<Option<siginfo>> { in read_signal() argument
104 let mut buffer = mem::MaybeUninit::<siginfo>::uninit(); in read_signal()
136 type Item = siginfo;
/third_party/musl/libc-test/src/eabi/
D__sigtimedwait_time64.c42 siginfo_t siginfo; in sigtimedwait_0100() local
47 signal = sigtimedwait(&set2, &siginfo, &timeout); in sigtimedwait_0100()
71 siginfo_t siginfo; in sigtimedwait_time64_0100() local
76 signal = __sigtimedwait_time64(&set2, &siginfo, &timeout); in sigtimedwait_time64_0100()
/third_party/alsa-lib/src/
Dasync.c55 static void snd_async_handler(int signo ATTRIBUTE_UNUSED, siginfo_t *siginfo, void *context ATTRIBU… in snd_async_handler() argument
62 previous_action.sa_sigaction(signo, siginfo, context); in snd_async_handler()
63 fd = siginfo->si_fd; in snd_async_handler()
/third_party/musl/libc-test/src/functionalext/supplement/sigchain/sigchain_gtest/
Dsigchain_add_special_signal_handler_test.cpp12 static bool SigchainSigint1(int signo, siginfo_t* siginfo, void* contextRaw) in SigchainSigint1() argument
18 static bool SigchainSigint2(int signo, siginfo_t* siginfo, void* contextRaw) in SigchainSigint2() argument
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
Dmemtoy.c178 gcp->siginfo = &infocopy; in signal_handler()
252 glctx.siginfo = NULL; in reset_signal()
270 siginfo_t *info = gcp->siginfo; in show_siginfo()
356 if (gcp->siginfo != NULL) { in touch_memory()
Dmemtoy.h47 siginfo_t *siginfo; /* signal info, if signalled != 0 */ member
80 #define signalled(GCP) (GCP->siginfo != NULL)
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-tls/
Dminimal-http-server-tls.c80 void sigint_handler(int sig, siginfo_t *siginfo, void *context) in sigint_handler() argument
82 pid_t sender_pid = siginfo->si_pid; in sigint_handler()
/third_party/musl/porting/linux/user/src/sigchain/
Dsigchain.c152 static void signal_chain_handler(int signo, siginfo_t* siginfo, void* ucontext_raw) in signal_chain_handler() argument
175 siginfo, ucontext_raw)) { in signal_chain_handler()
200 sig_chains[signo - 1].sig_action.sa_sigaction(signo, siginfo, ucontext_raw); in signal_chain_handler()
208 …yscall(SYS_rt_tgsigqueueinfo, __syscall(SYS_getpid), __syscall(SYS_gettid), signo, siginfo) != 0) { in signal_chain_handler()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dbgscan_simple.c138 struct wpa_signal_info siginfo; in bgscan_simple_init() local
139 if (wpa_drv_signal_poll(wpa_s, &siginfo) == 0 && in bgscan_simple_init()
140 siginfo.current_signal >= data->signal_threshold) in bgscan_simple_init()
Dbgscan_learn.c423 struct wpa_signal_info siginfo; in bgscan_learn_init() local
424 if (wpa_drv_signal_poll(wpa_s, &siginfo) == 0 && in bgscan_learn_init()
425 siginfo.current_signal >= data->signal_threshold) in bgscan_learn_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dbgscan_simple.c138 struct wpa_signal_info siginfo; in bgscan_simple_init() local
139 if (wpa_drv_signal_poll(wpa_s, &siginfo) == 0 && in bgscan_simple_init()
140 siginfo.current_signal >= data->signal_threshold) in bgscan_simple_init()
Dbgscan_learn.c423 struct wpa_signal_info siginfo; in bgscan_learn_init() local
424 if (wpa_drv_signal_poll(wpa_s, &siginfo) == 0 && in bgscan_learn_init()
425 siginfo.current_signal >= data->signal_threshold) in bgscan_learn_init()
/third_party/python/Modules/clinic/
Dsignalmodule.c.h608 PyObject *siginfo, int flags);
616 PyObject *siginfo = Py_None; in signal_pidfd_send_signal() local
633 siginfo = args[2]; in signal_pidfd_send_signal()
642 return_value = signal_pidfd_send_signal_impl(module, pidfd, signalnum, siginfo, flags); in signal_pidfd_send_signal()
/third_party/libunwind/include/win/
Dsignal.h31 typedef struct siginfo struct
/third_party/libunwind/include/mingw/
Dsignal.h28 typedef struct siginfo struct
/third_party/node/test/addons/register-signal-handler/
Dbinding.cc13 void Handler(int signo, siginfo_t* siginfo, void* ucontext) { in Handler() argument
/third_party/elfutils/backends/
Dlinux-core-note.c67 struct EBLHOOK(siginfo) in EBLHOOK() argument
91 struct EBLHOOK(siginfo) pr_info; in EBLHOOK()
/third_party/rust/crates/nix/test/sys/
Dtest_ptrace.rs63 let siginfo = unsafe { mem::zeroed() }; in test_ptrace_setsiginfo() localVariable
64 if let Err(Errno::EOPNOTSUPP) = ptrace::setsiginfo(getpid(), &siginfo) { in test_ptrace_setsiginfo()

123