> -----Original Message-----
> From: Peter Jeremy [SMTP:peter.jer...@auss2.alcatel.com.au]
> Sent: Friday, March 05, 1999 4:25 AM
> To:   dil...@apollo.backplane.com
> Cc:   curr...@freebsd.org
> Subject:      Re: Simple DOS against 3.x locks box solid
> 
> 
> As for the general problem, is it sensible to allow a read-only file
> to
> be mmap'd R/W (with or without MAP_PRIVATE) and then written into?  It
> would be fairly easy to make mmap() return EACCES if the fd was not
> open for writing (or map the memory R/O and SEGV on a write).
        [ML]  
        Can you say dlopen( "/usr/lib/libc.so")?  I thought you could :)

        Disallow RW MAP_PRIVATE maps of RO files and shared libraries
are history.

        /Marino

> Peter
> 
> 
> To Unsubscribe: send mail to majord...@freebsd.org
> with "unsubscribe freebsd-current" in the body of the message


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to