Re: what happens when the kernel stack overflows?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 24 Apr 2008, Michael Blizek wrote:

> Hi!
>
> On 11:58 Thu 24 Apr     , Robert P. J. Day wrote:
> >
> >   as a related thread to the earlier one, is there any protection
> > against the kernel stack extending downwards until it overruns the
> > thread_info structure?  i'm skeptical that there's *any* call
> > chain in kernel code that would suck up that much kernel stack,
> > but i'm just curious.
>
> Yes, there is a stack overflow detection. You can enable it in "make
> menuconfig" under "kernel hacking". Does somebody have an idea about
> how this works?
> 	-Michi

it doesn't appear to show up in a lot of source files, only irq.c
files.  additional examination appears to be in order.

rday

p.s.  that entire "Kernel Hacking" menu seems hideously disorganized
and chaotic.  i think it could stand some cleaning.

--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux