aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-headers/fix-aarch64-asm-ptrace.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-08-07 15:13:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-08-07 15:16:50 +0000
commitf3c86ef81958f9bdbcda0f34559ff77d64f87b95 (patch)
treeafc3a75fc73f184e22acfe9f875ed5f12c27d0e0 /main/linux-headers/fix-aarch64-asm-ptrace.patch
parent03e2aa8f1d437cb97a6f08d4ea8a276ded031c93 (diff)
downloadaports-f3c86ef81958f9bdbcda0f34559ff77d64f87b95.tar.bz2
aports-f3c86ef81958f9bdbcda0f34559ff77d64f87b95.tar.xz
main/linux-headers: fix redefinition of sigcontext from libc on aarch64
Problem was introduced upstream with https://github.com/torvalds/linux/commit/43d4da2c45b2f5d62f8a79ff7c6f95089bb24656
Diffstat (limited to 'main/linux-headers/fix-aarch64-asm-ptrace.patch')
-rw-r--r--main/linux-headers/fix-aarch64-asm-ptrace.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/main/linux-headers/fix-aarch64-asm-ptrace.patch b/main/linux-headers/fix-aarch64-asm-ptrace.patch
new file mode 100644
index 0000000000..516ec209fd
--- /dev/null
+++ b/main/linux-headers/fix-aarch64-asm-ptrace.patch
@@ -0,0 +1,27 @@
+Work around redefinition of sigcontext in libc headers
+
+Introduced with:
+https://github.com/torvalds/linux/commit/43d4da2c45b2f5d62f8a79ff7c6f95089bb24656
+
+diff --git a/arch/arm64/include/uapi/asm/ptrace.h b/arch/arm64/include/uapi/asm/ptrace.h
+index 98c4ce5..c44efed 100644
+--- a/arch/arm64/include/uapi/asm/ptrace.h
++++ b/arch/arm64/include/uapi/asm/ptrace.h
+@@ -23,8 +23,6 @@
+ #include <linux/types.h>
+
+ #include <asm/hwcap.h>
+-#include <asm/sigcontext.h>
+-
+
+ /*
+ * PSR bits
+@@ -64,8 +62,6 @@
+
+ #ifndef __ASSEMBLY__
+
+-#include <linux/prctl.h>
+-
+ /*
+ * User structures for general purpose, floating point and debug registers.
+ */