lkml.org 
[lkml]   [2017]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kasan: Respect /proc/sys/kernel/traceoff_on_warning
On Wed, Jan 25, 2017 at 03:32:11PM +0100, Alexander Potapenko wrote:

> > @@ -300,6 +301,8 @@ void kasan_report(unsigned long addr, size_t size,
> > if (likely(!kasan_report_enabled()))
> > return;
> >
> > + disable_trace_on_warning();
> > +
> Who is going to enable tracing back after we're done?

The user..

> Note that KASAN errors are not fatal, and the first one may possibly
> occur quite early.

WARN*() isn't fatal either, and it does the same thing. Note that
traceoff_on_warning is default disabled. You have to explicitly request
this.

\
 
 \ /
  Last update: 2017-01-25 15:36    [W:0.547 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site