Date: Tue, 4 Jul 2000 21:17:57 +0600 (LKT) From: Kalum Somaratna aka Grendel X-Sender: kalum AT roadrunner DOT grendel DOT net To: djgpp AT delorie DOT com Subject: Re: Where can I get a Thread safe malloc debugger? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 4 Jul 2000, The awesome and feared Eli Zaretskii commented thusly, > > On 3 Jul 2000, Nate Eldredge wrote: > > > No, they really are the same thing. Trust me ;-). Both of them call > > mprotect(...,PROT_NONE). This causes one or more pages to be unmapped > > from the process's address space. But neither use any more elaborate > > "protection" than this. > > I might be mistaken (I looked at efence a long time ago), but I think it > also requires mmap and /dev/zero. Yes you are correct Eli, the Efence README says so in fact... "It will probably port to any ANSI/POSIX system that provides mmap(), and mprotect(), as long as mprotect() has the capability to turn off all access to a memory page, and mmap() can use /dev/zero or the MAP_ANONYMOUS flag to create virtual memory pages." What does this /dev/zero mean, I would be greatful if anyone could elaborate..does it have any relation to /dev/null..unlikely though... Grendel Hi, I'm a signature virus. plz set me as your signature and help me spread :)