diff options
author | Jaakko Heinonen <jh@FreeBSD.org> | 2012-03-01 18:17:45 +0000 |
---|---|---|
committer | Jaakko Heinonen <jh@FreeBSD.org> | 2012-03-01 18:17:45 +0000 |
commit | 8bffca5eb23b25a35afa57010084bce752e17edd (patch) | |
tree | e7bd3d097de6aea79f8b1db239b4120360ef1be5 /share/man/man9/namei.9 | |
parent | fa8d2a59bc9c9e62abc0160ad59a9e6faad58773 (diff) |
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
Notes
Notes:
svn path=/head/; revision=232350
Diffstat (limited to 'share/man/man9/namei.9')
-rw-r--r-- | share/man/man9/namei.9 | 9 |
1 files changed, 8 insertions, 1 deletions
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 |