From owner-cvs-all Sat Feb 17 18:23: 7 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AAE6337B401; Sat, 17 Feb 2001 18:22:58 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1I2Mwp77087; Sat, 17 Feb 2001 18:22:58 -0800 (PST) (envelope-from bde) Message-Id: <200102180222.f1I2Mwp77087@freefall.freebsd.org> From: Bruce Evans Date: Sat, 17 Feb 2001 18:22:58 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_default.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG bde 2001/02/17 18:22:58 PST Modified files: sys/kern vfs_default.c Log: Added a dummy lookup vop. Specfs was broken by removing its dummy lookup vop so that it defaulted to using vop_eopnotsupp for strange lookups like the ones for open("/dev/null/", ...) and stat("/dev/null/", ...). This mainly caused the wrong errno to be returned by vfs syscalls (EOPNOTSUPP is not in POSIX, and is not documented in connection with specfs in open.2 and is not documented in stat.2 at all). Also, lookup vops are apparently required to set *ap->a_vpp to NULL on error, but vop_eopnotsupp is too broken to do this. Revision Changes Path 1.41 +18 -5 src/sys/kern/vfs_default.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message