aboutsummaryrefslogtreecommitdiffstats
path: root/man2/chroot.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/chroot.2')
-rw-r--r--man2/chroot.210
1 files changed, 6 insertions, 4 deletions
diff --git a/man2/chroot.2 b/man2/chroot.2
index 503335b4c4..3a465ad0a3 100644
--- a/man2/chroot.2
+++ b/man2/chroot.2
@@ -104,10 +104,12 @@ so that after the call \(aq\fI.\fP\(aq can
be outside the tree rooted at \(aq\fI/\fP\(aq.
In particular, the superuser can escape from a "chroot jail"
by doing:
-.nf
-
- mkdir foo; chroot foo; cd ..
-.fi
+.PP
+.in +4n
+.EX
+mkdir foo; chroot foo; cd ..
+.EE
+.in
.PP
This call does not close open file descriptors, and such file
descriptors may allow access to files outside the chroot tree.