From owner-cvs-sys Thu Oct 23 11:05:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA15244 for cvs-sys-outgoing; Thu, 23 Oct 1997 11:05:53 -0700 (PDT) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA15209; Thu, 23 Oct 1997 11:05:30 -0700 (PDT) (envelope-from joerg@FreeBSD.org) From: Joerg Wunsch Received: (from joerg@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id LAA28408; Thu, 23 Oct 1997 11:05:08 -0700 (PDT) Date: Thu, 23 Oct 1997 11:05:08 -0700 (PDT) Message-Id: <199710231805.LAA28408@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/sys/kern vfs_syscalls.c src/lib/libc/sys open.2 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 1997/10/23 11:05:07 PDT Modified files: (Branch: RELENG_2_2) sys/kern vfs_syscalls.c lib/libc/sys open.2 Log: MFC: reject illegal combinations of O_RDONLY, O_RDWR, and O_WRONLY in open(2), and document the return value EINVAL. Revision Changes Path 1.51.2.6 +4 -2 src/sys/kern/vfs_syscalls.c 1.4.2.3 +7 -0 src/lib/libc/sys/open.2