Messages in this thread | | | Date | Mon, 4 Jan 2021 09:29:01 -0500 | From | Sasha Levin <> | Subject | Re: [PATCH AUTOSEL 5.10 01/31] ARM: 9014/2: Replace string mem* functions for KASan |
| |
On Wed, Dec 30, 2020 at 03:18:13PM +0100, Ahmad Fatoum wrote: >Hello Sasha, > >On 30.12.20 14:02, Sasha Levin wrote: >> From: Linus Walleij <linus.walleij@linaro.org> >> >> [ 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
| |