Re: Memory management in Kernel 2.4.x

H. Peter Anvin (hpa@zytor.com)
Mon, 27 May 2002 14:39:44 -0700


Benjamin LaHaise wrote:
> On Mon, May 27, 2002 at 02:34:00PM -0700, H. Peter Anvin wrote:
>
>>Doesn't help. exec() should fail.
>
>
> Only if you're out of memory (any sane app nowadays does not allocate
> memory from data/bss).
>

.data/.bss is writable, and will need to be allocated to avoid
overcommitment, so the exec() will fail.

-hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/