]> Git Repo - linux.git/commit - mm/slab_common.c
kasan: rename (un)poison_shadow to (un)poison_range
authorAndrey Konovalov <[email protected]>
Tue, 22 Dec 2020 20:00:21 +0000 (12:00 -0800)
committerLinus Torvalds <[email protected]>
Tue, 22 Dec 2020 20:55:06 +0000 (12:55 -0800)
commitcebd0eb29acdfc2f5e44e5f356ffcd0c44f16b4a
tree8eb908503acaaed49717170ced2c4ed6458235d9
parentd5750edf6da759576f91ec2b57d5553985815b40
kasan: rename (un)poison_shadow to (un)poison_range

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.  Rename external annotation
kasan_unpoison_shadow() to kasan_unpoison_range(), and introduce internal
functions (un)poison_range() (without kasan_ prefix).

Co-developed-by: Marco Elver <[email protected]>
Link: https://lkml.kernel.org/r/fccdcaa13dc6b2211bf363d6c6d499279a54fe3a.1606161801.git.andreyknvl@google.com
Signed-off-by: Marco Elver <[email protected]>
Signed-off-by: Andrey Konovalov <[email protected]>
Signed-off-by: Vincenzo Frascino <[email protected]>
Reviewed-by: Alexander Potapenko <[email protected]>
Tested-by: Vincenzo Frascino <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Branislav Rankov <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Evgenii Stepanov <[email protected]>
Cc: Kevin Brodsky <[email protected]>
Cc: Vasily Gorbik <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/kasan.h
kernel/fork.c
mm/kasan/common.c
mm/kasan/generic.c
mm/kasan/kasan.h
mm/kasan/tags.c
mm/slab_common.c
This page took 0.062009 seconds and 4 git commands to generate.