svn commit: r224462 - stable/8/usr.sbin/jail

Glen Barber gjb at
Wed Jul 27 01:56:53 UTC 2011

Author: gjb (doc committer)
Date: Wed Jul 27 01:56:52 2011
New Revision: 224462

  MFC 224286:
  Document the potential for jail escape.
  PR:		142341

Directory Properties:
  stable/8/usr.sbin/jail/   (props changed)

Modified: stable/8/usr.sbin/jail/jail.8
--- stable/8/usr.sbin/jail/jail.8	Tue Jul 26 20:51:58 2011	(r224461)
+++ stable/8/usr.sbin/jail/jail.8	Wed Jul 27 01:56:52 2011	(r224462)
@@ -34,7 +34,7 @@
 .\" $FreeBSD$
-.Dd January 17, 2010
+.Dd July 23, 2011
 .Dt JAIL 8
@@ -913,3 +913,10 @@ Currently, the simplest answer is to min
 offered on the host, possibly limiting it to services offered from
 .Xr inetd 8
 which is easily configurable.
+Great care should be taken when managing directories visible within the jail.
+For example, if a jailed process has its current working directory set to a
+directory that is moved out of the jail's chroot, then the process may gain
+access to the file space outside of the jail.
+It is recommended that directories always be copied, rather than moved, out
+of a jail.

More information about the svn-src-stable-8 mailing list