Home
last modified time | relevance | path

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

1234

/openbmc/linux/tools/testing/selftests/ptrace/
H A Dpeeksiginfo.c109 siginfo_t siginfo[SIGNR]; in check_direct_path() local
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; 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()
184 siginfo.si_int = i; in main()
[all …]
/openbmc/linux/arch/um/include/shared/
H A Dkern_util.h12 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 Dirq_user.h17 struct siginfo;
18 extern void sigio_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs);
H A Das-layout.h55 struct siginfo;
56 extern void (*sig_info[])(int, struct siginfo *si, struct uml_pt_regs *);
/openbmc/linux/include/linux/
H A Dcoredump.h20 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
/openbmc/linux/arch/um/os-Linux/
H A Dsignal.c24 void (*sig_info[NSIG])(int, struct siginfo *, struct uml_pt_regs *) = {
34 static void sig_handler_common(int sig, struct siginfo *si, mcontext_t *mc) in sig_handler_common()
74 void sig_handler(int sig, struct siginfo *si, mcontext_t *mc) in sig_handler()
123 void timer_alarm_handler(int sig, struct siginfo *unused_si, mcontext_t *mc) in timer_alarm_handler()
165 static void sigusr1_handler(int sig, struct siginfo *unused_si, mcontext_t *mc) in sigusr1_handler()
175 static void (*handlers[_NSIG])(int sig, struct siginfo *si, mcontext_t *mc) = {
218 (*handlers[sig])(sig, (struct siginfo *)si, mc); in hard_handler()
/openbmc/linux/Documentation/arch/sparc/
H A Dadi.rst110 siginfo.si_signo = SIGSEGV;
111 siginfo.errno = 0;
112 siginfo.si_code = SEGV_ADIDERR;
114 siginfo.si_trapno = 0;
129 siginfo.si_signo = SIGSEGV;
130 siginfo.errno = 0;
133 siginfo.si_trapno = 0;
149 siginfo.si_signo = SIGSEGV;
150 siginfo.errno = 0;
151 siginfo.si_code = SEGV_ACCADI;
[all …]
/openbmc/linux/tools/testing/selftests/breakpoints/
H A 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()
/openbmc/linux/Documentation/translations/zh_CN/userspace-api/
H A Dseccomp_filter.rst92 ``siginfo->si_call_addr`` 会展示系统调用指令的位置, ``siginfo->si_syscall``
93 和 ``siginfo->si_arch`` 会指出试图进行的系统调用。程序计数器会和发生了系统
288 ``siginfo->si_call_addr`` 。)不要检测其他条件:未来内核可能会改进vsyscall模拟,
/openbmc/linux/arch/x86/include/asm/
H A Dsigframe.h49 struct siginfo info;
62 struct siginfo info;
/openbmc/linux/arch/m68k/include/uapi/asm/
H A Dsignal.h8 struct siginfo;
71 void (*_sa_sigaction)(int, struct siginfo *, void *);
/openbmc/linux/arch/arm/include/uapi/asm/
H A Dsignal.h8 struct siginfo;
81 void (*_sa_sigaction)(int, struct siginfo *, void *);
/openbmc/linux/arch/s390/include/uapi/asm/
H A Dsignal.h15 struct siginfo;
96 void (*_sa_sigaction)(int, struct siginfo *, void *);
/openbmc/linux/arch/xtensa/include/uapi/asm/
H A Dsignal.h27 struct siginfo;
91 void (*_sa_sigaction)(int, struct siginfo *, void *);
/openbmc/linux/arch/x86/include/uapi/asm/
H A Dsignal.h11 struct siginfo;
82 void (*_sa_sigaction)(int, struct siginfo *, void *);
/openbmc/linux/arch/alpha/include/uapi/asm/
H A Dsignal.h8 struct siginfo;
89 void (*_sa_sigaction)(int, struct siginfo *, void *);
/openbmc/qemu/system/
H A Dcpus.c371 static void sigbus_handler(int n, siginfo_t *siginfo, void *ctx) in sigbus_handler() argument
373 if (siginfo->si_code != BUS_MCEERR_AO && siginfo->si_code != BUS_MCEERR_AR) { in sigbus_handler()
379 if (kvm_on_sigbus_vcpu(current_cpu, siginfo->si_code, siginfo->si_addr)) { in sigbus_handler()
384 if (kvm_on_sigbus(siginfo->si_code, siginfo->si_addr)) { in sigbus_handler()
/openbmc/linux/arch/um/kernel/
H A Dtrap.c183 void segv_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs) in segv_handler()
276 void relay_signal(int sig, struct siginfo *si, struct uml_pt_regs *regs) in relay_signal()
304 void bus_handler(int sig, struct siginfo *si, struct uml_pt_regs *regs) in bus_handler()
312 void winch(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs) in winch()
/openbmc/qemu/tests/tcg/multiarch/
H A DMakefile.target74 run-gdbstub-qxfer-siginfo-read: segfault
78 --bin "$< -s" --test $(MULTIARCH_SRC)/gdbstub/test-qxfer-siginfo-read.py, \
79 basic gdbstub qXfer:siginfo:read support)
139 run-gdbstub-qxfer-siginfo-read
/openbmc/linux/arch/powerpc/perf/
H A Dcallchain_64.c34 struct siginfo *pinfo;
36 struct siginfo info;
/openbmc/linux/fs/
H A 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()
/openbmc/qemu/gdbstub/
H A Duser.c100 uint8_t siginfo[MAX_SIGINFO_LENGTH]; member
197 int gdb_handlesig(CPUState *cpu, int sig, const char *reason, void *siginfo, in gdb_handlesig() argument
207 if (siginfo) { in gdb_handlesig()
215 memcpy(gdbserver_user_state.siginfo, siginfo, siginfo_len); in gdb_handlesig()
871 siginfo_offset = (uint8_t *)gdbserver_user_state.siginfo + offset; in gdb_handle_query_xfer_siginfo()
/openbmc/linux/kernel/
H A Dptrace.c1036 kernel_siginfo_t siginfo, *si; in ptrace_request() local
1064 ret = ptrace_getsiginfo(child, &siginfo); in ptrace_request()
1066 ret = copy_siginfo_to_user(datavp, &siginfo); in ptrace_request()
1070 ret = copy_siginfo_from_user(&siginfo, datavp); in ptrace_request()
1072 ret = ptrace_setsiginfo(child, &siginfo); in ptrace_request()
1344 kernel_siginfo_t siginfo; in compat_ptrace_request() local
1370 ret = ptrace_getsiginfo(child, &siginfo); in compat_ptrace_request()
1374 &siginfo); in compat_ptrace_request()
1379 &siginfo, (struct compat_siginfo __user *) datap); in compat_ptrace_request()
1381 ret = ptrace_setsiginfo(child, &siginfo); in compat_ptrace_request()
/openbmc/linux/arch/arm/kernel/
H A Dsignal.h9 struct siginfo info;
/openbmc/linux/arch/parisc/include/asm/
H A Drt_sigframe.h7 struct siginfo info;

1234