]> git.baikalelectronics.ru Git - kernel.git/commit
kasan: No KASAN's memmove check if archs don't have it.
authorNick Hu <nickhu@andestech.com>
Mon, 28 Oct 2019 02:40:59 +0000 (10:40 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 22 Jan 2020 21:09:41 +0000 (13:09 -0800)
commitf9c38d2bc626fa96773fc2f77fa8a4059f978597
treefafba61aeb66c3a6e6366751f75e2e6012350836
parent4757a2a281f84eb4af36f8bf8f1e5ba3e4afffdf
kasan: No KASAN's memmove check if archs don't have it.

If archs don't have memmove then the C implementation from lib/string.c is used,
and then it's instrumented by compiler. So there is no need to add KASAN's
memmove to manual checks.

Signed-off-by: Nick Hu <nickhu@andestech.com>
Acked-by: Dmitry Vyukov <dvyukov@google.com>
Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
mm/kasan/common.c