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

2019-10-21 Thread Nick Hu
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

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

2019-10-17 Thread Paul Walmsley
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 implementatio

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

2019-10-17 Thread Andrey Ryabinin
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 compile

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

2019-10-16 Thread Palmer Dabbelt
On Mon, 07 Oct 2019 23:11:51 PDT (-0700), nic...@andestech.com wrote: Skip the memmove checking for those archs who don't support it. Signed-off-by: Nick Hu --- mm/kasan/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mm/kasan/common.c b/mm/kasan/common.c index 6814d6d6a023..897

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

2019-10-07 Thread Nick Hu
Skip the memmove checking for those archs who don't support it. Signed-off-by: Nick Hu --- mm/kasan/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mm/kasan/common.c b/mm/kasan/common.c index 6814d6d6a023..897f9520bab3 100644 --- a/mm/kasan/common.c +++ b/mm/kasan/common.c @@ -107