Re: [PATCH] kasan: push back KASAN_STACK detection to clang-10

From: Nick Desaulniers
Date: Thu Jul 18 2019 - 18:09:39 EST


On Thu, Jul 18, 2019 at 9:23 AM Mark Brown <broonie@xxxxxxxxxx> wrote:
>
> On Thu, Jul 18, 2019 at 07:18:28PM +0300, Andrey Ryabinin wrote:
> > On 7/18/19 5:14 PM, Arnd Bergmann wrote:
>
> > > asan-stack mode still uses dangerously large kernel stacks of
> > > tens of kilobytes in some drivers, and it does not seem that anyone
> > > is working on the clang bug.
>
> > > - default !(CLANG_VERSION < 90000)
> > > + default !(CLANG_VERSION < 100000)
>
> > Wouldn't be better to make this thing for any clang version? And only when the bug is
> > finally fixed, specify the clang version which can enable this safely.
>
> Especially if nobody is currently working on it.

I agree.
--
Thanks,
~Nick Desaulniers