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)
commit57ee58e39321ab4ac3f2949b90117786726cb216
treefafba61aeb66c3a6e6366751f75e2e6012350836
parentdef9d2780727cec3313ed3522d0123158d87224d
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