]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
parisc: Add ARCH_TRACEHOOK and regset support
authorHelge Deller <deller@gmx.de>
Fri, 1 Apr 2016 20:40:53 +0000 (22:40 +0200)
committerHelge Deller <deller@gmx.de>
Sun, 22 May 2016 19:39:13 +0000 (21:39 +0200)
commit64e2a42bca12e408f0258c56adcf3595bcd116e7
treee5eebe549a2ad377e5fc91dae35c052a4747689c
parentd2ad824f4bb8d146ea6e5f440dddb30b9ccfd98c
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>
arch/parisc/Kconfig
arch/parisc/include/uapi/asm/ptrace.h
arch/parisc/kernel/ptrace.c
tools/testing/selftests/seccomp/seccomp_bpf.c