kernel_optimize_test/mm/kasan
Peter Zijlstra 4f40c6e562 kasan: respect /proc/sys/kernel/traceoff_on_warning
After much waiting I finally reproduced a KASAN issue, only to find my
trace-buffer empty of useful information because it got spooled out :/

Make kasan_report honour the /proc/sys/kernel/traceoff_on_warning
interface.

Link: http://lkml.kernel.org/r/20170125164106.3514-1-aryabinin@virtuozzo.com
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Acked-by: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-02-03 14:13:19 -08:00
..
kasan_init.c
kasan.c Merge branches 'pm-sleep' and 'powercap' 2016-12-12 20:46:35 +01:00
kasan.h kasan: support use-after-scope detection 2016-11-30 16:32:52 -08:00
Makefile
quarantine.c kasan: eliminate long stalls during quarantine reduction 2016-12-12 18:55:09 -08:00
report.c kasan: respect /proc/sys/kernel/traceoff_on_warning 2017-02-03 14:13:19 -08:00