Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Mar 1999 09:47:57 +0100
From:      Ladavac Marino <mladavac@metropolitan.at>
To:        'Peter Jeremy' <peter.jeremy@auss2.alcatel.com.au>, dillon@apollo.backplane.com
Cc:        current@FreeBSD.ORG
Subject:   RE: Simple DOS against 3.x locks box solid
Message-ID:  <97A8CA5BF490D211A94F0000F6C2E55D097553@s-lmh-wi-900.corpnet.at>

next in thread | raw e-mail | index | archive | help
> -----Original Message-----
> From:	Peter Jeremy [SMTP:peter.jeremy@auss2.alcatel.com.au]
> Sent:	Friday, March 05, 1999 4:25 AM
> To:	dillon@apollo.backplane.com
> Cc:	current@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 majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?97A8CA5BF490D211A94F0000F6C2E55D097553>