summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2021-09-24 15:43:23 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-09-24 16:13:34 -0700
commitfa360beac4b62d54879a88b182afef4b369c9700 (patch)
tree7169985cf389c41efb1af9b9e26063877e3d3ae2 /mm
parentacfa299a4a63a58e5e81a87cb16798f20d35f7d7 (diff)
downloadlinux-fa360beac4b62d54879a88b182afef4b369c9700.tar.gz
linux-fa360beac4b62d54879a88b182afef4b369c9700.tar.bz2
linux-fa360beac4b62d54879a88b182afef4b369c9700.zip
kasan: fix Kconfig check of CC_HAS_WORKING_NOSANITIZE_ADDRESS
In the main KASAN config option CC_HAS_WORKING_NOSANITIZE_ADDRESS is checked for instrumentation-based modes. However, if HAVE_ARCH_KASAN_HW_TAGS is true all modes may still be selected. To fix, also make the software modes depend on CC_HAS_WORKING_NOSANITIZE_ADDRESS. Link: https://lkml.kernel.org/r/20210910084240.1215803-1-elver@google.com Fixes: 6a63a63ff1ac ("kasan: introduce CONFIG_KASAN_HW_TAGS") Signed-off-by: Marco Elver <elver@google.com> Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com> Cc: Alexander Potapenko <glider@google.com> Cc: Andrey Konovalov <andreyknvl@gmail.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Aleksandr Nogikh <nogikh@google.com> Cc: Taras Madan <tarasmadan@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions