diff options
author | Don Lewis <truckman@FreeBSD.org> | 2006-01-21 20:45:45 +0000 |
---|---|---|
committer | Don Lewis <truckman@FreeBSD.org> | 2006-01-21 20:45:45 +0000 |
commit | af0c232ba615ecc5320c559a7dbe5064adaa3d12 (patch) | |
tree | ba54e28b83fe32fd2d3021741e5e56dcb6252c2b /lib/libc/sys/undelete.2 | |
parent | eb6b185e1eeb806fd8c9469053fe1f1c81f1144e (diff) | |
download | src-af0c232ba615ecc5320c559a7dbe5064adaa3d12.tar.gz src-af0c232ba615ecc5320c559a7dbe5064adaa3d12.zip |
rename(), rmdir(), and undelete() fail with EPERM if the last component
of the path is "..".
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=154655
Diffstat (limited to 'lib/libc/sys/undelete.2')
-rw-r--r-- | lib/libc/sys/undelete.2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/sys/undelete.2 b/lib/libc/sys/undelete.2 index 5faf50aec6de..3f8442415122 100644 --- a/lib/libc/sys/undelete.2 +++ b/lib/libc/sys/undelete.2 @@ -86,6 +86,9 @@ Too many symbolic links were encountered in translating the pathname. .It Bq Er EPERM The directory containing the name is marked sticky, and the containing directory is not owned by the effective user ID. +.It Bq Er EPERM +After expanding any symbolic links, the last component of the path is +.Ql .. . .It Bq Er EIO An I/O error occurred while updating the directory entry. .It Bq Er EROFS |