From owner-cvs-all Sat Jun 23 22:24:48 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 BE95B37B401; Sat, 23 Jun 2001 22:24:43 -0700 (PDT) (envelope-from dillon@FreeBSD.org) Received: (from dillon@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5O5Ohi58069; Sat, 23 Jun 2001 22:24:43 -0700 (PDT) (envelope-from dillon) Message-Id: <200106240524.f5O5Ohi58069@freefall.freebsd.org> From: Matt Dillon Date: Sat, 23 Jun 2001 22:24:42 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_lookup.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dillon 2001/06/23 22:24:42 PDT Modified files: sys/kern vfs_lookup.c Log: After exhaustive discussions and some meandering and confusion, enough people are on track with the cause and effect of this, and although fixing this severely degenerate case appears to violate the letter of POSIX.1-200x, Bruce and I (and enough others) agree that it should be comitted. So, this patch generates an ENOENT error for any attempt to do a path lookup through an empty symlink (e.g. open(), stat()). Submitted by: "Andrey A. Chernov" Reviewed by: bde Discussed exhaustively on: freebsd-current Previously committed to: NetBSD 4 years ago Revision Changes Path 1.46 +7 -1 src/sys/kern/vfs_lookup.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message