[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210104142901.GC3665355@sasha-vm>
Date: Mon, 4 Jan 2021 09:29:01 -0500
From: Sasha Levin <sashal@...nel.org>
To: Ahmad Fatoum <a.fatoum@...gutronix.de>
Cc: linux-kernel@...r.kernel.org, stable@...r.kernel.org,
Linus Walleij <linus.walleij@...aro.org>,
Andrey Ryabinin <aryabinin@...tuozzo.com>,
Alexander Potapenko <glider@...gle.com>,
Dmitry Vyukov <dvyukov@...gle.com>, kasan-dev@...glegroups.com,
Ard Biesheuvel <ardb@...nel.org>,
Florian Fainelli <f.fainelli@...il.com>,
Russell King - ARM Linux <rmk+kernel@...linux.org.uk>,
Abbott Liu <liuwenliang@...wei.com>,
linux-arm-kernel@...ts.infradead.org
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@...aro.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
Powered by blists - more mailing lists