All of lore.kernel.org
 help / color / mirror / Atom feed
* [folded-merged] ubsan-enable-for-allconfig-builds-fix.patch removed from -mm tree
@ 2020-12-16  4:14 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2020-12-16  4:14 UTC (permalink / raw)
  To: keescook, malat, mm-commits, mpe, npiggin, sfr


The patch titled
     Subject: powerpc: add .data..Lubsan_data*/.data..Lubsan_type* sections explicitly
has been removed from the -mm tree.  Its filename was
     ubsan-enable-for-allconfig-builds-fix.patch

This patch was dropped because it was folded into ubsan-enable-for-allconfig-builds.patch

------------------------------------------------------
From: Stephen Rothwell <sfr@canb.auug.org.au>
Subject: powerpc: add .data..Lubsan_data*/.data..Lubsan_type* sections explicitly

Similarly to commit

  beba24ac5913 ("powerpc/32: Add .data..Lubsan_data*/.data..Lubsan_type* se=
ctions explicitly")

since CONFIG_UBSAN bits can now be enabled for all*config.

Link: https://lkml.kernel.org/r/20201208230157.42c42789@canb.auug.org.au
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: Kees Cook <keescook@chromium.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Mathieu Malaterre <malat@debian.org>
Cc: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/powerpc/kernel/vmlinux.lds.S |    4 ++++
 1 file changed, 4 insertions(+)

--- a/arch/powerpc/kernel/vmlinux.lds.S~ubsan-enable-for-allconfig-builds-fix
+++ a/arch/powerpc/kernel/vmlinux.lds.S
@@ -313,6 +313,10 @@ SECTIONS
 #else
 	.data : AT(ADDR(.data) - LOAD_OFFSET) {
 		DATA_DATA
+#ifdef CONFIG_UBSAN
+		*(.data..Lubsan_data*)
+		*(.data..Lubsan_type*)
+#endif
 		*(.data.rel*)
 		*(.toc1)
 		*(.branch_lt)
_

Patches currently in -mm which might be from sfr@canb.auug.org.au are

ubsan-enable-for-allconfig-builds.patch
mm-simplify-follow_ptepmd-fix.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-16  4:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-16  4:14 [folded-merged] ubsan-enable-for-allconfig-builds-fix.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.