[Hey, any chance you could join us in September? ;-) "Date: Sun, 12 Oct
2003 13:35:33 +0100"]
* Breno ([email protected]) wrote:
> What happen when stack increase more than 8mb ?
Memory corruption.
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
Is there a test in kernel to know how much memory is consumed by stack ?
Breno
----- Original Message -----
From: "Chris Wright" <[email protected]>
To: "Breno" <[email protected]>
Cc: "Kernel List" <[email protected]>
Sent: Friday, September 12, 2003 2:41 PM
Subject: Re: Stack size
> [Hey, any chance you could join us in September? ;-) "Date: Sun, 12 Oct
> 2003 13:35:33 +0100"]
>
> * Breno ([email protected]) wrote:
> > What happen when stack increase more than 8mb ?
>
> Memory corruption.
> -chris
> --
> Linux Security Modules http://lsm.immunix.org
http://lsm.bkbits.net
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
On Sun, 2003-10-12 at 08:35, Breno wrote:
> What happen when stack increase more than 8mb ?
I think you mean 8KB.
Robert Love
* Breno ([email protected]) wrote:
> Is there a test in kernel to know how much memory is consumed by stack ?
Have you looked at the CONFIG_DEBUG_STACKOVERFLOW code?
thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
On Fri, 12 September 2003 12:11:19 -0700, Chris Wright wrote:
>
> * Breno ([email protected]) wrote:
> > Is there a test in kernel to know how much memory is consumed by stack ?
>
> Have you looked at the CONFIG_DEBUG_STACKOVERFLOW code?
Just a band aid, not more. If you want to be sure, poison the stack
on fork and check the poison on exit.
J?rn
--
Do not stop an army on its way home.
-- Sun Tzu
On Sun, 2003-10-12 at 08:35, Breno wrote:
^^^^^^^^^^^^^^^^^^^^
On Fri, 2003-09-12 at 13:41, Chris Wright wrote:
> [Hey, any chance you could join us in September? ;-) "Date: Sun, 12 Oct
> 2003 13:35:33 +0100"]
Breno:
Carpe diem! Live the present!
--
mat?as <-> http://matiu.com.ar
Breno, Sun, Oct 12, 2003 14:35:33 +0200:
> What happen when stack increase more than 8mb ?
in the kernel or in a user program?
In user program - probably nothing.