Re: [PATCH v9 37/44] kasan, x86, s390: update undef CONFIG_KASAN

2020-11-11 Thread Alexander Potapenko
On Tue, Nov 10, 2020 at 11:12 PM Andrey Konovalov wrote: > > With the intoduction of hardware tag-based KASAN some kernel checks of > this kind: > > ifdef CONFIG_KASAN > > will be updated to: > > if defined(CONFIG_KASAN_GENERIC) || defined(CONFIG_KASAN_SW_TAGS) > > x86 and s390 use a trick to

[PATCH v9 37/44] kasan, x86, s390: update undef CONFIG_KASAN

2020-11-10 Thread Andrey Konovalov
With the intoduction of hardware tag-based KASAN some kernel checks of this kind: ifdef CONFIG_KASAN will be updated to: if defined(CONFIG_KASAN_GENERIC) || defined(CONFIG_KASAN_SW_TAGS) x86 and s390 use a trick to #undef CONFIG_KASAN for some of the code that isn't linked with KASAN