Re: [PATCH AUTOSEL 5.10 01/31] ARM: 9014/2: Replace string mem* functions for KASan
From: Sasha Levin <sashal@kernel.org>
Date: 2021-01-04 14:29:53
Also in:
lkml, stable
From: Sasha Levin <sashal@kernel.org>
Date: 2021-01-04 14:29:53
Also in:
lkml, stable
On Wed, Dec 30, 2020 at 03:18:13PM +0100, Ahmad Fatoum wrote:
Hello Sasha, On 30.12.20 14:02, Sasha Levin wrote:quoted
From: Linus Walleij <redacted> [ Upstream commit d6d51a96c7d63b7450860a3037f2d62388286a52 ] Functions like memset()/memmove()/memcpy() do a lot of memory accesses. If a bad pointer is passed to one of these functions it is important to catch this. Compiler instrumentation cannot do this since these functions are written in assembly. KASan replaces these memory functions with instrumented variants.Unless someone actually wants this, I suggest dropping it. It's a prerequisite patch for KASan support on ARM32, which is new in v5.11-rc1. Backporting it on its own doesn't add any value IMO.
I'll drop it, thanks. -- Thanks, Sasha _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel