linux/mm/kasan
Andrey Konovalov 97fc712232 kasan: decode stack frame only with KASAN_STACK_ENABLE
Decoding routines aren't needed when CONFIG_KASAN_STACK_ENABLE is not
enabled.  Currently only generic KASAN mode implements stack error
reporting.

No functional changes for software modes.

Link: https://lkml.kernel.org/r/05a24db36f5ec876af876a299bbea98c29468ebd.1606161801.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Reviewed-by: Marco Elver <elver@google.com>
Reviewed-by: Alexander Potapenko <glider@google.com>
Tested-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Branislav Rankov <Branislav.Rankov@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Evgenii Stepanov <eugenis@google.com>
Cc: Kevin Brodsky <kevin.brodsky@arm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-12-22 12:55:07 -08:00
..
common.c kasan: hide invalid free check implementation 2020-12-22 12:55:07 -08:00
generic.c kasan: hide invalid free check implementation 2020-12-22 12:55:07 -08:00
init.c kasan: define KASAN_MEMORY_PER_SHADOW_PAGE 2020-12-22 12:55:06 -08:00
kasan.h kasan: decode stack frame only with KASAN_STACK_ENABLE 2020-12-22 12:55:07 -08:00
Makefile kasan: rename report and tags files 2020-12-22 12:55:06 -08:00
quarantine.c kasan: drop unnecessary GPL text from comment headers 2020-12-22 12:55:06 -08:00
report_generic.c kasan: decode stack frame only with KASAN_STACK_ENABLE 2020-12-22 12:55:07 -08:00
report_sw_tags.c kasan: rename report and tags files 2020-12-22 12:55:06 -08:00
report.c kasan: decode stack frame only with KASAN_STACK_ENABLE 2020-12-22 12:55:07 -08:00
shadow.c kasan: define KASAN_MEMORY_PER_SHADOW_PAGE 2020-12-22 12:55:06 -08:00
sw_tags.c kasan: hide invalid free check implementation 2020-12-22 12:55:07 -08:00