]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jun 2019 19:29:54 +0000 (21:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jun 2019 19:29:54 +0000 (21:29 +0200)
added patches:
revert-x86-build-move-_etext-to-actual-end-of-.text.patch

queue-4.4/revert-x86-build-move-_etext-to-actual-end-of-.text.patch [new file with mode: 0644]
queue-4.4/series

diff --git a/queue-4.4/revert-x86-build-move-_etext-to-actual-end-of-.text.patch b/queue-4.4/revert-x86-build-move-_etext-to-actual-end-of-.text.patch
new file mode 100644 (file)
index 0000000..b8e8c43
--- /dev/null
@@ -0,0 +1,42 @@
+From b645105465ba5d050e62ded1ac487694fb683079 Mon Sep 17 00:00:00 2001
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Date: Wed, 5 Jun 2019 20:40:30 +0200
+Subject: Revert "x86/build: Move _etext to actual end of .text"
+
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+This reverts commit 392bef709659abea614abfe53cf228e7a59876a4.
+
+It seems to cause lots of problems when using the gold linker, and no
+one really needs this at the moment, so just revert it from the stable
+trees.
+
+Cc: Sami Tolvanen <samitolvanen@google.com>
+Reported-by: Kees Cook <keescook@chromium.org>
+Cc: Borislav Petkov <bp@suse.de>
+Cc: Linus Torvalds <torvalds@linux-foundation.org>
+Cc: Peter Zijlstra <peterz@infradead.org>
+Cc: Thomas Gleixner <tglx@linutronix.de>
+Reported-by: Alec Ari <neotheuser@gmail.com>
+Cc: Ingo Molnar <mingo@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ arch/x86/kernel/vmlinux.lds.S |    6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+--- a/arch/x86/kernel/vmlinux.lds.S
++++ b/arch/x86/kernel/vmlinux.lds.S
+@@ -110,10 +110,10 @@ SECTIONS
+               *(.text.__x86.indirect_thunk)
+               __indirect_thunk_end = .;
+ #endif
+-      } :text = 0x9090
+-      /* End of text section */
+-      _etext = .;
++              /* End of text section */
++              _etext = .;
++      } :text = 0x9090
+       NOTES :text :note
index c6923a7f41cf9d443c53e89fca0272bd698dd055..63c2b0282ffba4b8112fd2329f41b494b5263e88 100644 (file)
@@ -224,3 +224,4 @@ brcmfmac-add-length-checks-in-scheduled-scan-result-handler.patch
 brcmfmac-add-subtype-check-for-event-handling-in-data-path.patch
 userfaultfd-don-t-pin-the-user-memory-in-userfaultfd_file_create.patch
 coredump-fix-race-condition-between-mmget_not_zero-get_task_mm-and-core-dumping.patch
+revert-x86-build-move-_etext-to-actual-end-of-.text.patch