summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorDon Lewis <truckman@FreeBSD.org>2006-01-26 02:36:26 +0000
committerDon Lewis <truckman@FreeBSD.org>2006-01-26 02:36:26 +0000
commit939f2a63b2cae87b3fa68b36086094387509fae1 (patch)
tree3cec9b3379c23701ff43f36edc70dfdba7194d96 /lib/libc
parent971227756c3bba05ac1b59fd90447236e7ddd011 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/rmdir.27
-rw-r--r--lib/libc/sys/undelete.25
2 files changed, 10 insertions, 2 deletions
diff --git a/lib/libc/sys/rmdir.2 b/lib/libc/sys/rmdir.2
index c2014fc1a998..f98b952053b9 100644
--- a/lib/libc/sys/rmdir.2
+++ b/lib/libc/sys/rmdir.2
@@ -32,7 +32,7 @@
.\" @(#)rmdir.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd June 4, 1993
+.Dd January 22, 2006
.Dt RMDIR 2
.Os
.Sh NAME
@@ -85,6 +85,11 @@ to be removed.
The directory containing the directory to be removed is marked sticky,
and neither the containing directory nor the directory to be removed
are owned by the effective user ID.
+.It Bq Er EINVAL
+The last component of the path is
+.Ql .\&
+or
+.Ql .. .
.It Bq Er EBUSY
The directory to be removed is the mount point
for a mounted file system.
diff --git a/lib/libc/sys/undelete.2 b/lib/libc/sys/undelete.2
index 5faf50aec6de..c52cc029077e 100644
--- a/lib/libc/sys/undelete.2
+++ b/lib/libc/sys/undelete.2
@@ -33,7 +33,7 @@
.\" @(#)undelete.2 8.4 (Berkeley) 10/18/94
.\" $FreeBSD$
.\"
-.Dd October 18, 1994
+.Dd January 22, 2006
.Dt UNDELETE 2
.Os
.Sh NAME
@@ -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 EINVAL
+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