[PATCH 2/5] hppa: Disable workaround for hppa in syscall number tampering
Helge Deller
deller at gmx.de
Sun Jan 29 21:08:50 UTC 2023
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.
Basically the remaining part of that commit could go as well,
since hppa was the only user.
Signed-off-by: Helge Deller <deller at gmx.de>
---
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 }
--
2.38.1
More information about the Strace-devel
mailing list