Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/tools/testing/selftests/ptrace/
Dpeeksiginfo.c109 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()
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->si_int = i; in main()
181 sys_rt_sigqueueinfo(child, SIGRTMIN, siginfo); in main()
183 siginfo->si_code = TEST_SICODE_PRIV; in main()
[all …]
/kernel/linux/linux-5.10/arch/um/include/shared/
Dkern_util.h12 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);
Dirq_user.h31 struct siginfo;
32 extern void sigio_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs);
Das-layout.h61 struct siginfo;
62 extern void (*sig_info[])(int, struct siginfo *si, struct uml_pt_regs *);
/kernel/linux/linux-5.10/arch/um/os-Linux/
Dsignal.c22 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()
/kernel/linux/linux-5.10/Documentation/sparc/
Dadi.rst110 siginfo.si_signo = SIGSEGV;
111 siginfo.errno = 0;
112 siginfo.si_code = SEGV_ADIDERR;
113 siginfo.si_addr = addr; /* PC where first mismatch occurred */
114 siginfo.si_trapno = 0;
129 siginfo.si_signo = SIGSEGV;
130 siginfo.errno = 0;
131 siginfo.si_code = SEGV_ADIPERR;
132 siginfo.si_addr = addr; /* address that caused trap */
133 siginfo.si_trapno = 0;
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/breakpoints/
Dbreakpoint_test_arm64.c115 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-5.10/include/linux/
Dcoredump.h30 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/
Dsigframe.h49 struct siginfo info;
62 struct siginfo info;
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/
Dsignal.h15 struct siginfo;
120 void (*_sa_sigaction)(int, struct siginfo *, void *);
/kernel/linux/linux-5.10/arch/h8300/include/uapi/asm/
Dsignal.h8 struct siginfo;
97 void (*_sa_sigaction)(int, struct siginfo *, void *);
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-arm/asm/
Dsignal.h9 struct siginfo;
66 void (*_sa_sigaction)(int, struct siginfo *, void *);
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-arm/asm/
Dsignal.h22 struct siginfo;
79 void(* _sa_sigaction) (int, struct siginfo *, void *);
/kernel/linux/linux-5.10/arch/m68k/include/uapi/asm/
Dsignal.h8 struct siginfo;
95 void (*_sa_sigaction)(int, struct siginfo *, void *);
/kernel/linux/linux-5.10/arch/arm/include/uapi/asm/
Dsignal.h8 struct siginfo;
102 void (*_sa_sigaction)(int, struct siginfo *, void *);
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
Dsignal.h25 struct siginfo;
83 void(* _sa_sigaction) (int, struct siginfo *, void *);
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/
Dsignal.h11 struct siginfo;
106 void (*_sa_sigaction)(int, struct siginfo *, void *);
/kernel/linux/linux-5.10/arch/xtensa/include/uapi/asm/
Dsignal.h27 struct siginfo;
115 void (*_sa_sigaction)(int, struct siginfo *, void *);
/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/
Dsignal.h8 struct siginfo;
103 void (*_sa_sigaction)(int, struct siginfo *, void *);
/kernel/linux/linux-5.10/arch/um/kernel/
Dtrap.c181 void segv_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs) in segv_handler()
274 void relay_signal(int sig, struct siginfo *si, struct uml_pt_regs *regs) in relay_signal()
302 void bus_handler(int sig, struct siginfo *si, struct uml_pt_regs *regs) in bus_handler()
310 void winch(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs) in winch()
/kernel/linux/linux-5.10/fs/
Dsignalfd.c206 struct signalfd_siginfo __user *siginfo; in signalfd_read() local
215 siginfo = (struct signalfd_siginfo __user *) buf; in signalfd_read()
220 ret = signalfd_copyinfo(siginfo, &info); in signalfd_read()
223 siginfo++; in signalfd_read()
/kernel/linux/linux-5.10/arch/powerpc/perf/
Dcallchain_64.c60 struct siginfo *pinfo;
62 struct siginfo info;
/kernel/linux/linux-5.10/kernel/
Dptrace.c1034 kernel_siginfo_t siginfo, *si; in ptrace_request() local
1062 ret = ptrace_getsiginfo(child, &siginfo); in ptrace_request()
1064 ret = copy_siginfo_to_user(datavp, &siginfo); in ptrace_request()
1068 ret = copy_siginfo_from_user(&siginfo, datavp); in ptrace_request()
1070 ret = ptrace_setsiginfo(child, &siginfo); in ptrace_request()
1342 kernel_siginfo_t siginfo; in compat_ptrace_request() local
1368 ret = ptrace_getsiginfo(child, &siginfo); in compat_ptrace_request()
1372 &siginfo); in compat_ptrace_request()
1377 &siginfo, (struct compat_siginfo __user *) datap); in compat_ptrace_request()
1379 ret = ptrace_setsiginfo(child, &siginfo); in compat_ptrace_request()
/kernel/linux/linux-5.10/arch/arm/kernel/
Dsignal.h9 struct siginfo info;
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dsigframe.h22 struct siginfo info;

1234