[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <1427208544-8232-1-git-send-email-a.ryabinin@samsung.com>
Date: Tue, 24 Mar 2015 17:49:02 +0300
From: Andrey Ryabinin <a.ryabinin@...sung.com>
To: linux-arm-kernel@...ts.infradead.org
Cc: Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will.deacon@....com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org,
Andrey Ryabinin <a.ryabinin@...sung.com>
Subject: [PATCH 0/2] KASan for arm64
Hi,
This adds KASan for arm64.
First patch is a small prep, all major changes in the second.
It was lightly tested in qemu.
I should get a real hardware quite soon to test this.
TODO:
Add more interceptors for memory accessing functions (memcmp, strlen, ...),
though this could be done later.
Andrey Ryabinin (2):
kasan, x86: move KASAN_SHADOW_OFFSET to the arch Kconfig
arm64: add KASan support
arch/arm64/Kconfig | 7 ++
arch/arm64/include/asm/pgtable.h | 3 +-
arch/arm64/include/asm/string.h | 16 +++
arch/arm64/include/asm/thread_info.h | 8 ++
arch/arm64/kernel/head.S | 3 +
arch/arm64/kernel/module.c | 16 ++-
arch/arm64/kernel/setup.c | 2 +
arch/arm64/lib/memcpy.S | 3 +
arch/arm64/lib/memmove.S | 7 +-
arch/arm64/lib/memset.S | 3 +
arch/arm64/mm/Makefile | 3 +
arch/arm64/mm/kasan_init.c | 211 +++++++++++++++++++++++++++++++++++
arch/x86/Kconfig | 4 +
lib/Kconfig.kasan | 4 -
14 files changed, 280 insertions(+), 10 deletions(-)
create mode 100644 arch/arm64/mm/kasan_init.c
--
2.3.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists