[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <55E80910.20406@gmail.com>
Date: Thu, 3 Sep 2015 11:47:12 +0300
From: Andrey Ryabinin <ryabinin.a.a@...il.com>
To: "Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>,
akpm@...ux-foundation.org
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/4] kasan: Don't use kasan shadow pointer in generic
functions
On 09/03/2015 10:54 AM, Aneesh Kumar K.V wrote:
> We can't use generic functions like print_hex_dump to access kasan
> shadow region. This require us to setup another kasan shadow region
> for the address passed (kasan shadow address). Most architecture won't
> be able to do that.
s/Most architecture/Some architectures
At least ARM/ARM64/x86 are able to do that.
> Hence make a copy of the shadow region row and
> pass that to generic functions.
>
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@...ux.vnet.ibm.com>
> ---
> mm/kasan/report.c | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)
Anyway, for this patch:
Reviewed-by: Andrey Ryabinin <ryabinin.a.a@...il.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists