Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 1997 01:38:11 -0700 (PDT)
From:      "Jamil J. Weatherbee" <jamil@trojanhorse.ml.org>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        FreeBSD hackers <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Possible SERIOUS bug in open()?
Message-ID:  <Pine.BSF.3.96.971022013546.8389A-100000@trojanhorse.ml.org>
In-Reply-To: <19971022093040.UM28723@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 22 Oct 1997, J Wunsch wrote:

> As explorer@flame.org 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, because if oflags = -1 then fflags
= 0 and that means the file is not open for read or write which my point
was that it should be forced to be open for one or the other. I don't
rememer who, but someone seemed to think that it could be actually useful
to hav a file not open for read or write

> -- 
> 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?Pine.BSF.3.96.971022013546.8389A-100000>