All of lore.kernel.org
 help / color / mirror / Atom feed
* + kasan-do-not-sanitize-kexec-purgatory.patch added to -mm tree
@ 2017-03-29 23:25 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2017-03-29 23:25 UTC (permalink / raw)
  To: efault, aryabinin, dvyukov, glider, mm-commits


The patch titled
     Subject: kasan: do not sanitize kexec purgatory
has been added to the -mm tree.  Its filename is
     kasan-do-not-sanitize-kexec-purgatory.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/kasan-do-not-sanitize-kexec-purgatory.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/kasan-do-not-sanitize-kexec-purgatory.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Mike Galbraith <efault@gmx.de>
Subject: kasan: do not sanitize kexec purgatory

[   24.121074] kexec: Undefined symbol: __asan_load8_noabort
[   24.121999] kexec-bzImage64: Loading purgatory failed

Link: http://lkml.kernel.org/r/1489672155.4458.7.camel@gmx.de
Signed-off-by: Mike Galbraith <efault@gmx.de>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/x86/purgatory/Makefile |    1 +
 1 file changed, 1 insertion(+)

diff -puN arch/x86/purgatory/Makefile~kasan-do-not-sanitize-kexec-purgatory arch/x86/purgatory/Makefile
--- a/arch/x86/purgatory/Makefile~kasan-do-not-sanitize-kexec-purgatory
+++ a/arch/x86/purgatory/Makefile
@@ -8,6 +8,7 @@ PURGATORY_OBJS = $(addprefix $(obj)/,$(p
 LDFLAGS_purgatory.ro := -e purgatory_start -r --no-undefined -nostdlib -z nodefaultlib
 targets += purgatory.ro
 
+KASAN_SANITIZE	:= n
 KCOV_INSTRUMENT := n
 
 # Default KBUILD_CFLAGS can have -pg option set when FTRACE is enabled. That
_

Patches currently in -mm which might be from efault@gmx.de are

kasan-do-not-sanitize-kexec-purgatory.patch


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

only message in thread, other threads:[~2017-03-29 23:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-29 23:25 + kasan-do-not-sanitize-kexec-purgatory.patch added to -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.