[linux] 01/04: [arm64] ptrace: Avoid ABI change in 4.9.6

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Fri Jan 27 07:45:11 UTC 2017


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch sid
in repository linux.

commit 6f6fc512f31b8e8a6ebaa969246f9807e16e5a7d
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Fri Jan 27 04:56:57 2017 +0000

    [arm64] ptrace: Avoid ABI change in 4.9.6
---
 debian/changelog                                   |  1 +
 .../arm64-ptrace-avoid-abi-change-in-4.9.6.patch   | 23 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ce75e19..3b4fa97 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -463,6 +463,7 @@ linux (4.9.6-1) UNRELEASED; urgency=medium
     layout. (CVE-2017-5576)
   * [armhf,arm64] drm/vc4: Return -EINVAL on the overflow checks failing.
     (CVE-2017-5577)
+  * [arm64] ptrace: Avoid ABI change in 4.9.6
 
   [ Roger Shimizu ]
   * [armel] Add DT support of Buffalo Linkstation Live v3 (LS-CHL)
diff --git a/debian/patches/debian/arm64-ptrace-avoid-abi-change-in-4.9.6.patch b/debian/patches/debian/arm64-ptrace-avoid-abi-change-in-4.9.6.patch
new file mode 100644
index 0000000..0e33aae
--- /dev/null
+++ b/debian/patches/debian/arm64-ptrace-avoid-abi-change-in-4.9.6.patch
@@ -0,0 +1,23 @@
+From: Ben Hutchings <ben at decadent.org.uk>
+Date: Fri, 27 Jan 2017 04:53:54 +0000
+Subject: arm64: ptrace: Avoid ABI change in 4.9.6
+Forwarded: not-needed
+
+Commit aeb1f39d814b "arm64/ptrace: Avoid uninitialised struct padding
+in fpr_set()" added a new member to struct user_fpsimd_state, but it
+takes the place of what was padding (for 128-bit alignment).  Hide
+this from genksyms.
+
+---
+--- a/arch/arm64/include/uapi/asm/ptrace.h
++++ b/arch/arm64/include/uapi/asm/ptrace.h
+@@ -77,7 +77,9 @@ struct user_fpsimd_state {
+ 	__uint128_t	vregs[32];
+ 	__u32		fpsr;
+ 	__u32		fpcr;
++#if !defined(__KERNEL__) || !defined(__GENKSYMS__)
+ 	__u32		__reserved[2];
++#endif
+ };
+ 
+ struct user_hwdebug_state {
diff --git a/debian/patches/series b/debian/patches/series
index dcbf05c..ec2ec18 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -117,6 +117,7 @@ bugfix/all/module-disable-matching-missing-version-crc.patch
 debian/memcg-avoid-abi-change-in-4.9.5.patch
 debian/power-avoid-abi-change-in-4.9.3.patch
 debian/cfg80211-avoid-abi-change-in-4.9.3.patch
+debian/arm64-ptrace-avoid-abi-change-in-4.9.6.patch
 
 # Tools bug fixes
 bugfix/all/usbip-document-tcp-wrappers.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git



More information about the Kernel-svn-changes mailing list