[PATCH v9 3/4] kasan: Add report for async mode
Andrey Konovalov
andreyknvl at google.com
Fri Jan 29 13:10:26 EST 2021
On Fri, Jan 29, 2021 at 6:57 PM Vincenzo Frascino
<vincenzo.frascino at arm.com> wrote:
> >>>> +#ifdef CONFIG_KASAN_HW_TAGS
> >>>> +void kasan_report_async(void)
> >>>> +{
> >>>> + unsigned long flags;
> >>>> +
> >>>> + start_report(&flags);
> >>>> + pr_err("BUG: KASAN: invalid-access\n");
> >>>> + pr_err("Asynchronous mode enabled: no access details available\n");
> >
> > Could you also add an empty line here before the stack trace while at it?
> >
>
> Sure no problem.
Just to be clear: I mean adding an empty line into the report itself
via pr_err("\n") :)
More information about the linux-arm-kernel
mailing list