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
This commit is contained in:
jh 2012-03-01 18:17:45 +00:00
parent 214b04c6bb
commit 806e8c5872

View File

@ -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