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:
parent
214b04c6bb
commit
806e8c5872
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user