On Tuesday, August 30, 2016 at 9:07:23 PM UTC-5, amand...@xxxxxxxxx wrote:
On Thursday, June 30, 2016 at 9:47:33 AM UTC-4, Andrey Ryabinin wrote:
> On 06/30/2016 04:45 PM, Dmitry Vyukov wrote:
> > Currently GPF messages with KASAN look as follows:
> > kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] SMP DEBUG_PAGEALLOC KASAN
> > Add newlines.
> >
> > Signed-off-by: Dmitry Vyukov <dvy...@xxxxxxxxxx>
>
> Acked-by: Andrey Ryabinin <arya...@xxxxxxxxxxxxx>
>
> > ---
> > arch/x86/mm/kasan_init_64.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/arch/x86/mm/kasan_init_64.c b/arch/x86/mm/kasan_init_64.c
> > index 1b1110f..0493c17 100644
> > --- a/arch/x86/mm/kasan_init_64.c
> > +++ b/arch/x86/mm/kasan_init_64.c
> > @@ -54,8 +54,8 @@ static int kasan_die_handler(struct notifier_block *self,
> > void *data)
> > {
> > if (val == DIE_GPF) {
> > - pr_emerg("CONFIG_KASAN_INLINE enabled");
> > - pr_emerg("GPF could be caused by NULL-ptr deref or user memory access");
> > + pr_emerg("CONFIG_KASAN_INLINE enabled\n");
> > + pr_emerg("GPF could be caused by NULL-ptr deref or user memory access\n");
> > }
> > return NOTIFY_OK;
> > }
> >On Thursday, June 30, 2016 at 9:47:33 AM UTC-4, Andrey Ryabinin wrote:
> On 06/30/2016 04:45 PM, Dmitry Vyukov wrote:
> > Currently GPF messages with KASAN look as follows:
> > kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] SMP DEBUG_PAGEALLOC KASAN
> > Add newlines.
> >
> > Signed-off-by: Dmitry Vyukov <dvy...@xxxxxxxxxx>
>
> Acked-by: Andrey Ryabinin <arya...@xxxxxxxxxxxxx>
>
> > ---
> > arch/x86/mm/kasan_init_64.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/arch/x86/mm/kasan_init_64.c b/arch/x86/mm/kasan_init_64.c
> > index 1b1110f..0493c17 100644
> > --- a/arch/x86/mm/kasan_init_64.c
> > +++ b/arch/x86/mm/kasan_init_64.c
> > @@ -54,8 +54,8 @@ static int kasan_die_handler(struct notifier_block *self,
> > void *data)
> > {
> > if (val == DIE_GPF) {
> > - pr_emerg("CONFIG_KASAN_INLINE enabled");
> > - pr_emerg("GPF could be caused by NULL-ptr deref or user memory access");
> > + pr_emerg("CONFIG_KASAN_INLINE enabled\n");
> > + pr_emerg("GPF could be caused by NULL-ptr deref or user memory access\n");
> > }
> > return NOTIFY_OK;
> > }
> >