> -----Original Message-----
> From: Peter Jeremy [SMTP:[email protected]]
> Sent: Friday, March 05, 1999 4:25 AM
> To: [email protected]
> Cc: [email protected]
> 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 [email protected]
> with "unsubscribe freebsd-current" in the body of the message
To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-current" in the body of the message