[PATCH 1/5] hppa: Switch to getregset call on hppa
Helge Deller
deller at gmx.de
Sun Jan 29 21:08:49 UTC 2023
This fixes the tampering of syscall return values.
Signed-off-by: Helge Deller <deller at gmx.de>
---
src/linux/hppa/arch_regs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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]
--
2.38.1
More information about the Strace-devel
mailing list