All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kasan: add newline to messages
@ 2016-06-30 13:45 Dmitry Vyukov
  2016-06-30 13:48 ` Andrey Ryabinin
  2017-01-30  9:58 ` lukefrierson888
  0 siblings, 2 replies; 5+ messages in thread
From: Dmitry Vyukov @ 2016-06-30 13:45 UTC (permalink / raw)
  To: akpm, ryabinin.a.a, glider, kasan-dev, linux-mm; +Cc: Dmitry Vyukov

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 <dvyukov@google.com>
---
 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;
 }
-- 
2.8.0.rc3.226.g39d4020

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] kasan: add newline to messages
  2016-06-30 13:45 [PATCH] kasan: add newline to messages Dmitry Vyukov
@ 2016-06-30 13:48 ` Andrey Ryabinin
  2016-08-31  2:07   ` amanda4ray
  2017-01-30  9:58 ` lukefrierson888
  1 sibling, 1 reply; 5+ messages in thread
From: Andrey Ryabinin @ 2016-06-30 13:48 UTC (permalink / raw)
  To: Dmitry Vyukov, akpm, glider, kasan-dev, linux-mm



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 <dvyukov@google.com>

Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>

> ---
>  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;
>  }
> 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] kasan: add newline to messages
  2016-06-30 13:48 ` Andrey Ryabinin
@ 2016-08-31  2:07   ` amanda4ray
  2016-09-08  0:03     ` bethelpchalfant
  0 siblings, 1 reply; 5+ messages in thread
From: amanda4ray @ 2016-08-31  2:07 UTC (permalink / raw)
  To: kasan-dev; +Cc: dvyukov, akpm, glider, linux-mm, aryabinin

[-- Attachment #1: Type: text/plain, Size: 2358 bytes --]

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 <dvyukov@google.com>
> 
> Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
> 
> > ---
> >  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 <dvyukov@google.com>
> 
> Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
> 
> > ---
> >  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;
> >  }
> >


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] kasan: add newline to messages
  2016-08-31  2:07   ` amanda4ray
@ 2016-09-08  0:03     ` bethelpchalfant
  0 siblings, 0 replies; 5+ messages in thread
From: bethelpchalfant @ 2016-09-08  0:03 UTC (permalink / raw)
  To: kasan-dev; +Cc: dvyukov, akpm, glider, linux-mm, aryabinin, amanda4ray


[-- Attachment #1.1: Type: text/plain, Size: 2830 bytes --]



On Tuesday, August 30, 2016 at 9:07:23 PM UTC-5, amand...@gmail.com 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...@google.com <javascript:>>
> > 
> > Acked-by: Andrey Ryabinin <arya...@virtuozzo.com <javascript:>>
> > 
> > > ---
> > >  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...@google.com <javascript:>>
> > 
> > Acked-by: Andrey Ryabinin <arya...@virtuozzo.com <javascript:>>
> > 
> > > ---
> > >  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;
> > >  }
> > >
>
>

[-- Attachment #1.2: Type: text/html, Size: 4495 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] kasan: add newline to messages
  2016-06-30 13:45 [PATCH] kasan: add newline to messages Dmitry Vyukov
  2016-06-30 13:48 ` Andrey Ryabinin
@ 2017-01-30  9:58 ` lukefrierson888
  1 sibling, 0 replies; 5+ messages in thread
From: lukefrierson888 @ 2017-01-30  9:58 UTC (permalink / raw)
  To: kasan-dev; +Cc: akpm, ryabinin.a.a, glider, linux-mm, dvyukov

[-- Attachment #1: Type: text/plain, Size: 1043 bytes --]

On Thursday, June 30, 2016 at 8:46:02 AM UTC-5, dvyukov 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 <dvyukov@google.com>
> ---
>  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;
>  }
> -- 
> 2.8.0.rc3.226.g39d4020


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-01-30  9:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-30 13:45 [PATCH] kasan: add newline to messages Dmitry Vyukov
2016-06-30 13:48 ` Andrey Ryabinin
2016-08-31  2:07   ` amanda4ray
2016-09-08  0:03     ` bethelpchalfant
2017-01-30  9:58 ` lukefrierson888

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.