Date: Fri, 31 Oct 2003 16:27:57 +0000 From: David Malone <dwmalone@maths.tcd.ie> To: andi payn <andi_payn@speedymail.org> Cc: freebsd-hackers@freebsd.org Subject: Re: O_NOACCESS? Message-ID: <20031031162757.GA56981@walton.maths.tcd.ie> In-Reply-To: <1067528798.36829.2128.camel@verdammt.falcotronic.net> References: <1067528798.36829.2128.camel@verdammt.falcotronic.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 30, 2003 at 07:46:38AM -0800, andi payn wrote: > In FreeBSD, this doesn't work; you just get EINVAL. I believe this is because of a security problem discovered a few years ago, where you could open a file like /dev/io for neither read nor write but still get the special privelages associated with having the file open. If you were to allow people to open files without read or write permission you'd need to fix problems like this in a different way. David.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031031162757.GA56981>