From ad8aff80d9562207d07ed8bfb5af4ac32393d035 Mon Sep 17 00:00:00 2001 From: Helge Deller Date: Sun, 29 Jan 2023 22:08:50 +0100 Subject: hppa: Disable workaround for hppa in syscall number tampering This basically disables the workaround added by commit ce494f63d2 ("hppa: workaround kernel bug in syscall number tampering"). It's not needed any longer and has been fixed in upstream kernels by Linux kernel commit v5.0-rc8~9^2~1. Basically the remaining part of that commit could go as well, since hppa was the only user. Signed-off-by: Helge Deller --- src/linux/hppa/arch_defs_.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linux/hppa/arch_defs_.h b/src/linux/hppa/arch_defs_.h index 8bee69ffc..672bae402 100644 --- a/src/linux/hppa/arch_defs_.h +++ b/src/linux/hppa/arch_defs_.h @@ -13,5 +13,5 @@ * to return the error code of the failed syscall to userspace. * Workaround this by initializing %r28 ourselves. */ -#define ARCH_NEEDS_SET_ERROR_FOR_SCNO_TAMPERING 1 +#define ARCH_NEEDS_SET_ERROR_FOR_SCNO_TAMPERING 0 #define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_PARISC, 0 } -- cgit v1.2.1