Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1214017
| From | Andrey Ryabinin <ryabinin.a.a@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 4/4] libfdt, kasan: don't instrument libfdt. |
| Date | 2015-08-26 18:20 +0200 |
| Message-ID | <q1LAC-2ow-25@gated-at.bofh.it> (permalink) |
| References | <q1LAC-2ow-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
libfdt is used by EFI code and it runs before we setup early shadow, so it has to be not instrumented to prevent boot crash. Signed-off-by: Andrey Ryabinin <ryabinin.a.a@gmail.com> --- lib/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index 6897b52..44e1d81 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -165,7 +165,8 @@ obj-$(CONFIG_STMP_DEVICE) += stmp_device.o libfdt_files = fdt.o fdt_ro.o fdt_wip.o fdt_rw.o fdt_sw.o fdt_strerror.o \ fdt_empty_tree.o $(foreach file, $(libfdt_files), \ - $(eval CFLAGS_$(file) = -I$(src)/../scripts/dtc/libfdt)) + $(eval CFLAGS_$(file) = -I$(src)/../scripts/dtc/libfdt) \ + $(eval KASAN_SANITIZE_$(file) := n)) lib-$(CONFIG_LIBFDT) += $(libfdt_files) obj-$(CONFIG_RBTREE_TEST) += rbtree_test.o -- 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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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