summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-01-29 22:08:50 +0100
committerDmitry V. Levin <ldv@strace.io>2023-01-29 21:08:50 +0000
commitad8aff80d9562207d07ed8bfb5af4ac32393d035 (patch)
tree2b04b95b96eed1d00be85ff5dd139a7191a3e72e
parenta4500e8f7a87e442aa163e580e604d6793c51bec (diff)
downloadstrace-ad8aff80d9562207d07ed8bfb5af4ac32393d035.tar.gz
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 <deller@gmx.de>
-rw-r--r--src/linux/hppa/arch_defs_.h2
1 files changed, 1 insertions, 1 deletions
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 }