From owner-freebsd-hackers Sat Oct 11 23:30:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA01728 for hackers-outgoing; Sat, 11 Oct 1997 23:30:18 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA01722 for ; Sat, 11 Oct 1997 23:30:14 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id XAA07949; Sat, 11 Oct 1997 23:25:38 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd007947; Sun Oct 12 06:25:29 1997 Date: Sat, 11 Oct 1997 23:24:16 -0700 (PDT) From: Julian Elischer To: mdean cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Is this a bug, or just a feature. 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 OR the bits together.... you get O_RDWR or am I mis-remembering.. On Sat, 11 Oct 1997, mdean wrote: > > Shouldn't it be an error to call open("/dev/fd0", RD_ONLY|WR_ONLY,0)? > I guess if your device doesn't like being read-only and write-only then it > should look at oflags for itself? Or should this be caught at the syscall > and rejected? > > >