aboutsummaryrefslogtreecommitdiffstats
path: root/init/init_task.c
diff options
context:
space:
mode:
authorAndrey Konovalov <[email protected]>2020-12-22 20:00:53 +0000
committerLinus Torvalds <[email protected]>2020-12-22 20:55:07 +0000
commitafe6ef80dcecf2cf7ccab0d94257b985e4c47d80 (patch)
tree65b72fca55595313a6f8aa7d30a637c44d4959df /init/init_task.c
parentkasan: decode stack frame only with KASAN_STACK_ENABLE (diff)
downloadkernel-afe6ef80dcecf2cf7ccab0d94257b985e4c47d80.tar.gz
kernel-afe6ef80dcecf2cf7ccab0d94257b985e4c47d80.zip
kasan, arm64: only init shadow for software modes
This is a preparatory commit for the upcoming addition of a new hardware tag-based (MTE-based) KASAN mode. Hardware tag-based KASAN won't be using shadow memory. Only initialize it when one of the software KASAN modes are enabled. No functional changes for software modes. Link: https://lkml.kernel.org/r/d1742eea2cd728d150d49b144e49b6433405c7ba.1606161801.git.andreyknvl@google.com Signed-off-by: Andrey Konovalov <[email protected]> Signed-off-by: Vincenzo Frascino <[email protected]> Reviewed-by: Catalin Marinas <[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: Dmitry Vyukov <[email protected]> Cc: Evgenii Stepanov <[email protected]> Cc: Kevin Brodsky <[email protected]> Cc: Marco Elver <[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]>
Diffstat (limited to 'init/init_task.c')
0 files changed, 0 insertions, 0 deletions