diff options
author | Helge Deller <deller@gmx.de> | 2023-01-29 22:08:49 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-01-29 21:08:49 +0000 |
commit | a4500e8f7a87e442aa163e580e604d6793c51bec (patch) | |
tree | e60a3eb93b94315010d602b4c96602f01c8e10dd | |
parent | aaa1a230cff9968f03d454e3e68efd60bfe55413 (diff) | |
download | strace-a4500e8f7a87e442aa163e580e604d6793c51bec.tar.gz |
hppa: Switch to getregset call on hppa
PTRACE_GETREGSET support was introduced in the parisc kernel by Linux
kernel commit v4.7-rc1~58^2~10.
This fixes the tampering of syscall return values.
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r-- | src/linux/hppa/arch_regs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/hppa/arch_regs.c b/src/linux/hppa/arch_regs.c index f04726062..bdb6acf03 100644 --- a/src/linux/hppa/arch_regs.c +++ b/src/linux/hppa/arch_regs.c @@ -6,6 +6,6 @@ */ static struct user_regs_struct hppa_regs; -#define ARCH_REGS_FOR_GETREGS hppa_regs +#define ARCH_REGS_FOR_GETREGSET hppa_regs #define ARCH_PC_REG hppa_regs.iaoq[0] #define ARCH_SP_REG hppa_regs.gr[30] |