diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2016-12-13 01:44:53 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-13 03:55:09 +0100 |
commit | 5c5c1f36cedfb51ec291181e71817f7fe7e03ee2 (patch) | |
tree | 566b1a80fda44dc6997967a0f35335750610f929 /mm/kasan/quarantine.c | |
parent | mm: make transparent hugepage size public (diff) | |
download | linux-5c5c1f36cedfb51ec291181e71817f7fe7e03ee2.tar.xz linux-5c5c1f36cedfb51ec291181e71817f7fe7e03ee2.zip |
kasan: support panic_on_warn
If user sets panic_on_warn, he wants kernel to panic if there is
anything barely wrong with the kernel. KASAN-detected errors are
definitely not less benign than an arbitrary kernel WARNING.
Panic after KASAN errors if panic_on_warn is set.
We use this for continuous fuzzing where we want kernel to stop and
reboot on any error.
Link: http://lkml.kernel.org/r/1476694764-31986-1-git-send-email-dvyukov@google.com
Signed-off-by: Dmitry Vyukov <dvyukov@google.com>
Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Alexander Potapenko <glider@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/kasan/quarantine.c')
0 files changed, 0 insertions, 0 deletions