lkml.org 
[lkml]   [2014]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH] tracing: Add BUG_ON when stack end location is over written
On Mon, 24 Mar 2014 14:03:57 +0000
Aaron Tomlin <atomlin@redhat.com> wrote:

> It is difficult to detect a stack overrun when it
> actually occurs.
>
> We have observed that this type of corruption is often
> silent and can go unnoticed. Once the corrupted region
> is examined, the outcome is undefined and often
> results in sporadic system crashes.
>
> When the stack tracing feature is enabled, let's check
> for this condition and take appropriate action.
>
> Note: init_task doesn't get its stack end location
> set to STACK_END_MAGIC.
>
> Signed-off-by: Aaron Tomlin <atomlin@redhat.com>
> ---

I added this to my 3.15 queue, and if it survives testing, I'll push it
to my for-next branch.

Thanks,

-- Steve


\
 
 \ /
  Last update: 2014-03-24 16:21    [W:0.052 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site