summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/chroot.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/chroot.2')
-rw-r--r--lib/libc/sys/chroot.28
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2
index 11a144a..6d9f764 100644
--- a/lib/libc/sys/chroot.2
+++ b/lib/libc/sys/chroot.2
@@ -75,13 +75,17 @@ If
.Ql kern.chroot_allow_open_directories
is set to zero,
.Fn chroot
-will always fail with EPERM if there are any directories open.
+will always fail with
+.Er EPERM
+if there are any directories open.
.Pp
If
.Ql kern.chroot_allow_open_directories
is set to one (the default),
.Fn chroot
-will fail with EPERM if there are any directories open and the
+will fail with
+.Er EPERM
+if there are any directories open and the
process is already subject to a
.Fn chroot
call.
OpenPOWER on IntegriCloud