Re: [PATCH v11 2/5] kasan: Add KASAN mode kernel parameter

From: Andrey Konovalov
Date: Fri Feb 05 2021 - 18:33:57 EST


On Mon, Feb 1, 2021 at 9:04 PM Andrey Konovalov <andreyknvl@xxxxxxxxxx> wrote:
>
> On Sat, Jan 30, 2021 at 5:52 PM Vincenzo Frascino
> <vincenzo.frascino@xxxxxxx> wrote:
> >
> > @@ -45,6 +52,9 @@ static enum kasan_arg_fault kasan_arg_fault __ro_after_init;
> > DEFINE_STATIC_KEY_FALSE(kasan_flag_enabled);
> > EXPORT_SYMBOL(kasan_flag_enabled);
> >
> > +/* Whether the asynchronous mode is enabled. */
> > +bool kasan_flag_async __ro_after_init;
>
> Just noticed that we need EXPORT_SYMBOL(kasan_flag_async) here.

Hi Vincenzo,

If you post a new version of this series, please include
EXPORT_SYMBOL(kasan_flag_async).

Thanks!

>
> There are also a few arm64 mte functions that need to be exported, but
> I've addressed that myself here:
>
> https://lore.kernel.org/linux-arm-kernel/cover.1612208222.git.andreyknvl@xxxxxxxxxx/T/#m4746d3c410c3f6baddb726fc9ea9dd1496a4a788