aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/undelete.2
diff options
context:
space:
mode:
authorDon Lewis <truckman@FreeBSD.org>2006-01-21 20:45:45 +0000
committerDon Lewis <truckman@FreeBSD.org>2006-01-21 20:45:45 +0000
commitaf0c232ba615ecc5320c559a7dbe5064adaa3d12 (patch)
treeba54e28b83fe32fd2d3021741e5e56dcb6252c2b /lib/libc/sys/undelete.2
parenteb6b185e1eeb806fd8c9469053fe1f1c81f1144e (diff)
downloadsrc-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.23
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