Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1214021

[PATCH 3/4] arm64/efi-stub, kasan: don't instrument efi-stub.

From Andrey Ryabinin <ryabinin.a.a@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 3/4] arm64/efi-stub, kasan: don't instrument efi-stub.
Date 2015-08-26 18:20 +0200
Message-ID <q1LAD-2ow-35@gated-at.bofh.it> (permalink)
References <q1LAC-2ow-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


efi-stub.c code runs before we setup early shadow.
Intrumentation of it will cause boot crash.

Signed-off-by: Andrey Ryabinin <ryabinin.a.a@gmail.com>
---
 arch/arm64/kernel/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/kernel/Makefile b/arch/arm64/kernel/Makefile
index 426d076..086b122 100644
--- a/arch/arm64/kernel/Makefile
+++ b/arch/arm64/kernel/Makefile
@@ -7,6 +7,8 @@ AFLAGS_head.o		:= -DTEXT_OFFSET=$(TEXT_OFFSET)
 CFLAGS_efi-stub.o 	:= -DTEXT_OFFSET=$(TEXT_OFFSET)
 CFLAGS_armv8_deprecated.o := -I$(src)
 
+KASAN_SANITIZE_efi-stub.o	:= n
+
 CFLAGS_REMOVE_ftrace.o = -pg
 CFLAGS_REMOVE_insn.o = -pg
 CFLAGS_REMOVE_return_address.o = -pg
-- 
2.4.6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] KASAN/ARM64 EFI fixes Andrey Ryabinin <ryabinin.a.a@gmail.com> - 2015-08-26 18:20 +0200
  [PATCH 4/4] libfdt, kasan: don't instrument libfdt. Andrey Ryabinin <ryabinin.a.a@gmail.com> - 2015-08-26 18:20 +0200
  [PATCH 2/4] efi/runtime-wrappers, kasan: don't sanitize runtime wrappers. Andrey Ryabinin <ryabinin.a.a@gmail.com> - 2015-08-26 18:20 +0200
  [PATCH 1/4] x86, efi, kasan: #undef memset/memcpy/memmove per arch. Andrey Ryabinin <ryabinin.a.a@gmail.com> - 2015-08-26 18:20 +0200
    Re: [PATCH 1/4] x86, efi, kasan: #undef memset/memcpy/memmove per  arch. Ingo Molnar <mingo@kernel.org> - 2015-08-28 08:30 +0200
      Re: [PATCH 1/4] x86, efi, kasan: #undef memset/memcpy/memmove per  arch. Leif Lindholm <leif.lindholm@linaro.org> - 2015-08-28 10:40 +0200
        Re: [PATCH 1/4] x86, efi, kasan: #undef memset/memcpy/memmove per  arch. Ingo Molnar <mingo@kernel.org> - 2015-08-28 12:00 +0200
      [PATCH v2] x86, efi, kasan: #undef memset/memcpy/memmove per arch. Andrey Ryabinin <ryabinin.a.a@gmail.com> - 2015-08-28 13:20 +0200
        Re: [PATCH v2] x86, efi, kasan: #undef memset/memcpy/memmove per  arch. Matt Fleming <matt@codeblueprint.co.uk> - 2015-08-28 16:50 +0200
          Re: [PATCH v2] x86, efi, kasan: #undef memset/memcpy/memmove per arch. Andrey Ryabinin <ryabinin.a.a@gmail.com> - 2015-08-28 17:00 +0200
  [PATCH 3/4] arm64/efi-stub, kasan: don't instrument efi-stub. Andrey Ryabinin <ryabinin.a.a@gmail.com> - 2015-08-26 18:20 +0200

csiph-web