/kernel/linux/linux-5.10/tools/testing/selftests/ptrace/ |
H A D | peeksiginfo.c | 109 siginfo_t siginfo[SIGNR]; in check_direct_path() local 122 ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, siginfo); in check_direct_path() 132 if (siginfo[j].si_code == si_code && in check_direct_path() 133 siginfo[j].si_int == i) in check_direct_path() 136 err("%d: Wrong siginfo i=%d si_code=%d si_int=%d\n", in check_direct_path() 137 shared, i, siginfo[j].si_code, siginfo[j].si_int); in check_direct_path() 154 siginfo_t siginfo[SIGNR]; in main() local 179 siginfo->si_code = TEST_SICODE_SHARE; in main() 180 siginfo in main() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/ptrace/ |
H A D | peeksiginfo.c | 109 siginfo_t siginfo[SIGNR]; in check_direct_path() local 122 ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, siginfo); in check_direct_path() 132 if (siginfo[j].si_code == si_code && in check_direct_path() 133 siginfo[j].si_int == i) in check_direct_path() 136 err("%d: Wrong siginfo i=%d si_code=%d si_int=%d\n", in check_direct_path() 137 shared, i, siginfo[j].si_code, siginfo[j].si_int); in check_direct_path() 154 siginfo_t siginfo; in main() local 179 siginfo.si_code = TEST_SICODE_SHARE; in main() 180 siginfo in main() [all...] |
/kernel/linux/linux-5.10/arch/um/include/shared/ |
H A D | kern_util.h | 12 struct siginfo; 28 extern void relay_signal(int sig, struct siginfo *si, struct uml_pt_regs *regs); 40 extern void timer_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs); 66 extern void segv_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs); 67 extern void bus_handler(int sig, struct siginfo *si, struct uml_pt_regs *regs); 68 extern void winch(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs);
|
H A D | irq_user.h | 31 struct siginfo; 32 extern void sigio_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs);
|
H A D | as-layout.h | 61 struct siginfo; 62 extern void (*sig_info[])(int, struct siginfo *si, struct uml_pt_regs *);
|
/kernel/linux/linux-6.6/arch/um/include/shared/ |
H A D | kern_util.h | 12 struct siginfo; 28 extern void relay_signal(int sig, struct siginfo *si, struct uml_pt_regs *regs); 39 extern void timer_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs); 63 extern void segv_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs); 64 extern void bus_handler(int sig, struct siginfo *si, struct uml_pt_regs *regs); 65 extern void winch(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs);
|
H A D | irq_user.h | 17 struct siginfo; 18 extern void sigio_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs);
|
H A D | as-layout.h | 55 struct siginfo; 56 extern void (*sig_info[])(int, struct siginfo *si, struct uml_pt_regs *);
|
/third_party/musl/libc-test/src/functionalext/sigchain/ |
H A D | sigchain_rm_special_handler.c | 27 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, voi argument 360 sigchain_special_quit_handler1(int signo, siginfo_t *siginfo, void *ucontext_raw) sigchain_special_quit_handler1() argument [all...] |
H A D | sigchain_add_special_handler.c | 27 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, voi argument 391 sigchain_special_45_handler(int signo, siginfo_t *siginfo, void *ucontext_raw) sigchain_special_45_handler() argument 441 sigchain_special_56_handler1(int signo, siginfo_t *siginfo, void *ucontext_raw) sigchain_special_56_handler1() argument 452 sigchain_special_56_handler2(int signo, siginfo_t *siginfo, void *ucontext_raw) sigchain_special_56_handler2() argument [all...] |
H A D | sigchain_handler_call_order.c | 28 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
|
/third_party/rust/crates/nix/src/sys/ |
H A D | wait.rs | 261 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() 382 let mut siginfo: libc::siginfo_t = std::mem::zeroed(); in waitid() variables 383 Errno::result(libc::waitid(idtype, idval, &mut siginfo, flags.bits()))?; in waitid() 384 siginfo in waitid() [all...] |
H A D | signalfd.rs | 22 pub use libc::signalfd_siginfo as siginfo; 35 #[deprecated(since = "0.23.0", note = "use mem::size_of::<siginfo>() instead")] 36 pub const SIGNALFD_SIGINFO_SIZE: usize = mem::size_of::<siginfo>(); 103 pub fn read_signal(&mut self) -> Result<Option<siginfo>> { in read_signal() 104 let mut buffer = mem::MaybeUninit::<siginfo>::uninit(); in read_signal() 136 type Item = siginfo;
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | coredump.h | 8 #include <asm/siginfo.h> 20 const kernel_siginfo_t *siginfo; member 43 extern void do_coredump(const kernel_siginfo_t *siginfo); 45 static inline void do_coredump(const kernel_siginfo_t *siginfo) {} in do_coredump() argument
|
/third_party/musl/libc-test/src/eabi/ |
H A D | __sigtimedwait_time64.c | 42 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()
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | signalndk.cpp | 68 static void structInput(napi_env env, napi_callback_info info, struct Sig *siginfo)
in structInput() argument 73 napi_get_value_int32(env, args[0], &(siginfo->flag));
in structInput() 74 napi_get_value_int32(env, args[1], &(siginfo->param));
in structInput() 77 static void structStringInput(napi_env env, napi_callback_info info, struct SigString *siginfo)
in structStringInput() argument 82 napi_get_value_int32(env, args[0], &(siginfo->flag));
in structStringInput() 85 napi_get_value_string_utf8(env, args[1], siginfo->param, size, &actualVal);
in structStringInput() 88 static int SigMain(struct Sig siginfo, Func testfunction)
in SigMain() argument 92 pthread_create(&pid, nullptr, testfunction, &siginfo);
in SigMain() 97 static int SigMainInt(int siginfo, Func testfunction)
in SigMainInt() argument 101 pthread_create(&pid, nullptr, testfunction, &siginfo);
in SigMainInt() 115 SigMainString(struct SigString siginfo, Func testfunction) SigMainString() argument 397 siginfo_t siginfo = {PARAM_0}; PSigInfo() local 470 siginfo_t siginfo; SigMainWaitinfo() local 596 siginfo_t siginfo = {PARAM_0}; Sigtimedwait() local [all...] |
/kernel/linux/linux-5.10/arch/um/os-Linux/ |
H A D | signal.c | 22 void (*sig_info[NSIG])(int, struct siginfo *, struct uml_pt_regs *) = { 32 static void sig_handler_common(int sig, struct siginfo *si, mcontext_t *mc) in sig_handler_common() 69 void sig_handler(int sig, struct siginfo *si, mcontext_t *mc) in sig_handler() 97 void timer_alarm_handler(int sig, struct siginfo *unused_si, mcontext_t *mc) in timer_alarm_handler() 139 static void sigusr1_handler(int sig, struct siginfo *unused_si, mcontext_t *mc) in sigusr1_handler() 149 static void (*handlers[_NSIG])(int sig, struct siginfo *si, mcontext_t *mc) = { 192 (*handlers[sig])(sig, (struct siginfo *)si, mc); in hard_handler() 307 * SIGIO's handler doesn't use siginfo or mcontext, in unblock_signals()
|
/kernel/linux/linux-6.6/arch/um/os-Linux/ |
H A D | signal.c | 23 void (*sig_info[NSIG])(int, struct siginfo *, struct uml_pt_regs *) = { 33 static void sig_handler_common(int sig, struct siginfo *si, mcontext_t *mc) in sig_handler_common() 75 void sig_handler(int sig, struct siginfo *si, mcontext_t *mc) in sig_handler() 111 void timer_alarm_handler(int sig, struct siginfo *unused_si, mcontext_t *mc) in timer_alarm_handler() 153 static void sigusr1_handler(int sig, struct siginfo *unused_si, mcontext_t *mc) in sigusr1_handler() 163 static void (*handlers[_NSIG])(int sig, struct siginfo *si, mcontext_t *mc) = { 206 (*handlers[sig])(sig, (struct siginfo *)si, mc); in hard_handler() 329 * SIGIO's handler doesn't use siginfo or mcontext, in unblock_signals()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | coredump.h | 8 #include <asm/siginfo.h> 30 extern void do_coredump(const kernel_siginfo_t *siginfo); 32 static inline void do_coredump(const kernel_siginfo_t *siginfo) {} in do_coredump() argument
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | sigframe.h | 6 #include <asm/siginfo.h> 49 struct siginfo info; 62 struct siginfo info;
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | sigframe.h | 6 #include <asm/siginfo.h> 49 struct siginfo info; 62 struct siginfo info;
|
/test/xts/acts/commonlibrary/thirdparty/musl32/entry/src/main/cpp/ |
H A D | signalndk32.cpp | 56 siginfo_t siginfo;
in SigTimedWait_time641() local 60 ret = __sigtimedwait_time64(&set2, &siginfo, &timeout);
in SigTimedWait_time641() 76 siginfo_t siginfo;
in SigTimedWait_time642() local 78 int ret = ret = __sigtimedwait_time64(&set, &siginfo, &timeout);
in SigTimedWait_time642()
|
/kernel/linux/linux-5.10/tools/testing/selftests/breakpoints/ |
H A D | breakpoint_test_arm64.c | 115 siginfo_t siginfo; in run_test() local 173 if (ptrace(PTRACE_GETSIGINFO, pid, NULL, &siginfo) != 0) { in run_test() 179 if (siginfo.si_code != TRAP_HWBKPT) { in run_test() 181 "Unexpected si_code %d\n", siginfo.si_code); in run_test()
|
/kernel/linux/linux-6.6/tools/testing/selftests/breakpoints/ |
H A D | breakpoint_test_arm64.c | 115 siginfo_t siginfo; in run_test() local 173 if (ptrace(PTRACE_GETSIGINFO, pid, NULL, &siginfo) != 0) { in run_test() 179 if (siginfo.si_code != TRAP_HWBKPT) { in run_test() 181 "Unexpected si_code %d\n", siginfo.si_code); in run_test()
|
/third_party/musl/libc-test/src/functionalext/supplement/sigchain/sigchain_gtest/ |
H A D | sigchain_add_special_signal_handler_test.cpp | 12 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
|