From owner-freebsd-hackers Wed Oct 22 14:59:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA02310 for hackers-outgoing; Wed, 22 Oct 1997 14:59:41 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from trojanhorse.ml.org (mdean.vip.best.com [206.86.94.101]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA02301 for ; Wed, 22 Oct 1997 14:59:38 -0700 (PDT) (envelope-from jamil@trojanhorse.ml.org) Received: from localhost (jamil@localhost) by trojanhorse.ml.org (8.8.7/8.8.5) with SMTP id OAA00848; Wed, 22 Oct 1997 14:57:51 -0700 (PDT) Date: Wed, 22 Oct 1997 14:57:50 -0700 (PDT) From: "Jamil J. Weatherbee" To: benedict@echonyc.com cc: "David E. Cross" , J Wunsch , FreeBSD hackers Subject: Re: Possible SERIOUS bug in open()? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk We had this discussion last week. It is really the fflags that matter, as long as (fflags & 0x03) is true were ok. On Wed, 22 Oct 1997, Snob Art Genre wrote: > On Wed, 22 Oct 1997, David E. Cross wrote: > > > I thought that O_RDRW = O_RDONLY | O_WRONLY. > > Tsk -- do your research. From /usr/include/fcntl.h: