Mail Archives: djgpp/2000/07/04/11:32:20
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
:)
- Raw text -