]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
After exhaustive discussions and some meandering and confusion, enough
authordillon <dillon@FreeBSD.org>
Sun, 24 Jun 2001 05:24:41 +0000 (05:24 +0000)
committerdillon <dillon@FreeBSD.org>
Sun, 24 Jun 2001 05:24:41 +0000 (05:24 +0000)
commitf8016646a9c26afbad95d7ae2f1e61e133264b78
treec38c78db94089316cee7deabcf5f564578f119e4
parent4127c8a65926144ea34c530e54ceba7b329bec88
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" <ache@nagual.pp.ru>
Reviewed by: bde
Discussed exhaustively on: freebsd-current
Previously committed to: NetBSD 4 years ago
sys/kern/vfs_lookup.c