[PATCH v2 05/37] kasan: rename KASAN_SHADOW_* to KASAN_GRANULE_*

Andrey Konovalov andreyknvl at google.com
Fri Sep 18 06:42:54 EDT 2020


On Fri, Sep 18, 2020 at 10:04 AM 'Alexander Potapenko' via kasan-dev
<kasan-dev at googlegroups.com> wrote:
>
> On Tue, Sep 15, 2020 at 11:16 PM Andrey Konovalov <andreyknvl at google.com> wrote:
> >
> > This is a preparatory commit for the upcoming addition of a new hardware
> > tag-based (MTE-based) KASAN mode.
> >
> > The new mode won't be using shadow memory, but will still use the concept
> > of memory granules.
>
> KASAN documentation doesn't seem to explain this concept anywhere (I
> also checked the "kasan: add documentation for hardware tag-based
> mode" patch), looks like it's only mentioned in MTE documentation.
> Could you please elaborate on what we consider a granule in each of KASAN modes?

Sure, will do in v3, thanks!



More information about the linux-arm-kernel mailing list