Re: [PATCH] kbuild: Allow LTO to be selected with KASAN_HW_TAGS
From: Kees Cook <hidden>
Date: 2021-03-08 21:40:06
Also in:
lkml
From: Kees Cook <hidden>
Date: 2021-03-08 21:40:06
Also in:
lkml
On Mon, Mar 08, 2021 at 10:46:56AM -0800, Sami Tolvanen wrote:
While LTO with KASAN is normally not useful, hardware tag-based KASAN can be used also in production kernels with ARM64_MTE. Therefore, allow KASAN_HW_TAGS to be selected together with HAS_LTO_CLANG. Reported-by: Alistair Delva <redacted> Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Kees Cook <redacted> -- Kees Cook