Re: [PATCH 3/3] kasan: give better names to shadow values

From: Alexander Potapenko
Date: Thu Apr 28 2022 - 12:45:19 EST


On Thu, Apr 28, 2022 at 6:22 PM <andrey.konovalov@xxxxxxxxx> wrote:
>
> From: Andrey Konovalov <andreyknvl@xxxxxxxxxx>
>
> Rename KASAN_KMALLOC_* shadow values to KASAN_SLAB_*, as they are used
> for all slab allocations, not only for kmalloc.
>
> Also rename KASAN_FREE_PAGE to KASAN_PAGE_FREE to be consistent with
> KASAN_PAGE_REDZONE and KASAN_SLAB_FREE.
>
> Signed-off-by: Andrey Konovalov <andreyknvl@xxxxxxxxxx>
Reviewed-by: Alexander Potapenko <glider@xxxxxxxxxx>