Date: Wed, 22 Oct 1997 19:02:25 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-hackers@FreeBSD.ORG (FreeBSD hackers) Subject: Re: Possible SERIOUS bug in open()? Message-ID: <19971022190225.DV50844@uriah.heep.sax.de> In-Reply-To: <Pine.BSF.3.96.971022013546.8389A-100000@trojanhorse.ml.org>; from Jamil J. Weatherbee on Oct 22, 1997 01:38:11 -0700 References: <19971022093040.UM28723@uriah.heep.sax.de> <Pine.BSF.3.96.971022013546.8389A-100000@trojanhorse.ml.org>
next in thread | previous in thread | raw e-mail | index | archive | help
As Jamil J. Weatherbee wrote: > > > This was sent to me recently... It seems to be a pretty serious hole > > > in open() and permissions... > > > > Fixed. > > How exactly did you fix it, this is related to what I was saying about > opening a file as RD_ONLY and WR_ONLY, ... Yep, this was in the same boat. The way the fix works, only one of O_RDONLY, O_WRONLY, or O_RDWR should be possible now, and anything else should be rejected as EINVAL. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971022190225.DV50844>