diff options
author | gjb <gjb@FreeBSD.org> | 2011-07-24 03:34:38 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2011-07-24 03:34:38 +0000 |
commit | 8a4b781ce664ac2b8b5a9c0bc13114cf02c6499b (patch) | |
tree | 771a1073b2a757f514a4c5853c570d4126ef210c /usr.sbin/jail/jail.8 | |
parent | 2f371a18c94eee39b8763cef1f657c5872f76639 (diff) | |
download | FreeBSD-src-8a4b781ce664ac2b8b5a9c0bc13114cf02c6499b.zip FreeBSD-src-8a4b781ce664ac2b8b5a9c0bc13114cf02c6499b.tar.gz |
Document the potential for jail escape.
Submitted by: Vedad KAJTAZ (vedad % kajtaz net)
PR: 142341
Reviewed by: bz, rwatson
Rewording by: rwatson
Approved by: re (kensmith)
MFC after: 3 days
Diffstat (limited to 'usr.sbin/jail/jail.8')
-rw-r--r-- | usr.sbin/jail/jail.8 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8 index 893efd84..8ed913a 100644 --- a/usr.sbin/jail/jail.8 +++ b/usr.sbin/jail/jail.8 @@ -34,7 +34,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 17, 2010 +.Dd July 23, 2011 .Dt JAIL 8 .Os .Sh NAME @@ -907,3 +907,10 @@ Currently, the simplest answer is to minimize services offered on the host, possibly limiting it to services offered from .Xr inetd 8 which is easily configurable. +.Sh NOTES +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. |