summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-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