parisc: Add ARCH_TRACEHOOK and regset support
By adding TRACEHOOK support we now get a clean user interface to access
registers via PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS and
PTRACE_SETFPREGS.
The user-visible regset struct user_regs_struct and user_fp_struct are
modelled similiar to x86 and can be accessed via PTRACE_GETREGSET.
Signed-off-by:
Helge Deller <deller@gmx.de>
Showing
- arch/parisc/Kconfig 1 addition, 0 deletionsarch/parisc/Kconfig
- arch/parisc/include/uapi/asm/ptrace.h 48 additions, 0 deletionsarch/parisc/include/uapi/asm/ptrace.h
- arch/parisc/kernel/ptrace.c 354 additions, 2 deletionsarch/parisc/kernel/ptrace.c
- tools/testing/selftests/seccomp/seccomp_bpf.c 7 additions, 1 deletiontools/testing/selftests/seccomp/seccomp_bpf.c
Loading
Please register or sign in to comment