summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/chroot.2
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1996-04-17 20:49:29 +0000
committerjoerg <joerg@FreeBSD.org>1996-04-17 20:49:29 +0000
commita411fde3df16d72f452887403f2d75ec39eb3da8 (patch)
tree6396a3d0d405d47168f6c51336e3ec2bb40e91c1 /lib/libc/sys/chroot.2
parent191537cd0ce32104136f87671b2ea3903c4456f4 (diff)
downloadFreeBSD-src-a411fde3df16d72f452887403f2d75ec39eb3da8.zip
FreeBSD-src-a411fde3df16d72f452887403f2d75ec39eb3da8.tar.gz
Document the possible EPERM return.
Submitted by: imp@village.org (Warner Losh)
Diffstat (limited to 'lib/libc/sys/chroot.2')
-rw-r--r--lib/libc/sys/chroot.22
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2
index d8763fe..af2ae31 100644
--- a/lib/libc/sys/chroot.2
+++ b/lib/libc/sys/chroot.2
@@ -71,6 +71,8 @@ will fail and the root directory will be unchanged if:
.Bl -tag -width [ENOTDIR]
.It Bq Er ENOTDIR
A component of the path name is not a directory.
+.It Bq Er EPERM
+The effective user ID is not the super-user.
.It Bq Er EINVAL
The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
OpenPOWER on IntegriCloud