httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: More on malloc stuff
Date Sat, 27 Dec 1997 19:48:38 GMT


On Sat, 27 Dec 1997, Marc Slemko wrote:

> Are you sure that making it read-only (are you thinking of mprotect 
> or what?) will help Solaris?  I thought that it still reserved
> for such regions, but that could just be my faulty memory.

You actually have to mmap() it a special way and then mprotect() that if I
remember correctly.  You can't do it with just malloc/mprotect.  I could
easily be wrong though. 

Dean



Mime
View raw message