Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 1997 02:09:44 -0700
From:      Jason Thorpe <thorpej@nas.nasa.gov>
To:        "Jamil J. Weatherbee" <jamil@trojanhorse.ml.org>
Cc:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>, FreeBSD hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Possible SERIOUS bug in open()? 
Message-ID:  <199710220909.CAA13732@lestat.nas.nasa.gov>

next in thread | raw e-mail | index | archive | help
On Wed, 22 Oct 1997 01:38:11 -0700 (PDT) 
 "Jamil J. Weatherbee" <jamil@trojanhorse.ml.org> wrote:

 > 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

How would opening for !read !write be useful?  What else could you possibly
want to do?  (Yes, this is a trick question :-)

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-6                                       Work: +1 415 604 0935
Moffett Field, CA 94035                             Pager: +1 415 428 6939



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