Re: Understanding Linux addr space, malloc, and heap

From: Arjan van de Ven
Date: Fri Oct 21 2005 - 09:05:53 EST


On Fri, 2005-10-21 at 09:45 -0400, Vincent W. Freeh wrote:
> Thanks for your quick response. It basically confirmed that I observed
> what I thought I did. However, I am no closer to solving my problem. I
> cannot mprotect data that I malloc beyond the first 65 pages.

you can't mprotect malloc() memory period ..
> Why is
> that? Can that be fixed? Second, why does mprotect silently fail? I
> could live with it failing--but I cannot deal with a call the "works"
> but doesn't work.

need more info :)

-
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/