From 8bffca5eb23b25a35afa57010084bce752e17edd Mon Sep 17 00:00:00 2001 From: Jaakko Heinonen Date: Thu, 1 Mar 2012 18:17:45 +0000 Subject: Since r199137 namei() returns EINVAL for DELETE and RENAME operations if the last component of the pathname is ".". Reviewed by: kib MFC after: 1 week --- share/man/man9/namei.9 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'share/man/man9') diff --git a/share/man/man9/namei.9 b/share/man/man9/namei.9 index f643a3fe887c..1ba475a4fe25 100644 --- a/share/man/man9/namei.9 +++ b/share/man/man9/namei.9 @@ -33,7 +33,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 21, 2005 +.Dd March 1, 2012 .Dt NAMEI 9 .Os .Sh NAME @@ -340,6 +340,13 @@ permissions. Too many symbolic links were encountered in translating the pathname. .It Bq Er EISDIR An attempt is made to open a directory with write mode specified. +.It Bq Er EINVAL +The last component of the pathname specified for a +.Dv DELETE +or +.Dv RENAME +operation is +.Ql \&. . .It Bq Er EROFS An attempt is made to modify a file or directory on a read-only file system. .El -- cgit v1.2.3