From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on archive.lwn.net X-Spam-Level: X-Spam-Status: No, score=-5.7 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by archive.lwn.net (Postfix) with ESMTP id 146FF7D910 for ; Tue, 22 Oct 2019 02:10:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730625AbfJVCK3 (ORCPT ); Mon, 21 Oct 2019 22:10:29 -0400 Received: from 59-120-53-16.HINET-IP.hinet.net ([59.120.53.16]:11591 "EHLO ATCSQR.andestech.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727264AbfJVCK3 (ORCPT ); Mon, 21 Oct 2019 22:10:29 -0400 Received: from mail.andestech.com (atcpcs16.andestech.com [10.0.1.222]) by ATCSQR.andestech.com with ESMTP id x9M1q10Y068205; Tue, 22 Oct 2019 09:52:01 +0800 (GMT-8) (envelope-from nickhu@andestech.com) Received: from andestech.com (10.0.15.65) by ATCPCS16.andestech.com (10.0.1.222) with Microsoft SMTP Server id 14.3.123.3; Tue, 22 Oct 2019 10:09:00 +0800 Date: Tue, 22 Oct 2019 10:09:00 +0800 From: Nick Hu To: Paul Walmsley CC: Andrey Ryabinin , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v3 1/3] kasan: Archs don't check memmove if not support it. Message-ID: <20191022020900.GA29285@andestech.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [10.0.15.65] X-DNSRBL: X-MAIL: ATCSQR.andestech.com x9M1q10Y068205 Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org 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