Re: [PATCH v3 1/3] kasan: Archs don't check memmove if not support it.

From: Nick Hu
Date: Mon Oct 21 2019 - 22:10:31 EST


On Thu, Oct 17, 2019 at 07:58:04PM -0700, Paul Walmsley wrote:
> On Thu, 17 Oct 2019, Andrey Ryabinin wrote:
>
> > On 10/8/19 9:11 AM, Nick Hu wrote:
> > > Skip the memmove checking for those archs who don't support it.
> >
> > The patch is fine but the changelog sounds misleading. We don't skip memmove checking.
> > If arch don't have memmove than the C implementation from lib/string.c used.
> > It's instrumented by compiler so it's checked and we simply don't need that KASAN's memmove with
> > manual checks.
>
> Thanks Andrey. Nick, could you please update the patch description?
>
> - Paul
>

Thanks! I would update the description in v4 patch.

Nick