Re: Understanding Linux addr space, malloc, and heap

From: Arjan van de Ven
Date: Fri Oct 21 2005 - 11:24:27 EST


On Fri, 2005-10-21 at 12:04 -0400, Vincent W. Freeh wrote:
> Clearly, it was a mistake to post that code. I had no idea so many
> people would point out the bleeding obvious.
>
> Here is a more elaborate version--that does the same thing, but more
> lines of code. In it malloc'd memory is mprotect'd. The program
> generates a SIGSEGV, a page fault.


... and what is the problem ?

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