summaryrefslogtreecommitdiffstats
path: root/usr.sbin/jail
diff options
context:
space:
mode:
authorsimon <simon@FreeBSD.org>2006-05-28 09:44:13 +0000
committersimon <simon@FreeBSD.org>2006-05-28 09:44:13 +0000
commita1a96d1eacdbed8c3f5d7fd937b8298af3dba7e7 (patch)
tree741c42ac7365480ed5afe6a3601c403fffdc8389 /usr.sbin/jail
parent804d1419a2e56f3858e91f965602dcf489349ff0 (diff)
downloadFreeBSD-src-a1a96d1eacdbed8c3f5d7fd937b8298af3dba7e7.zip
FreeBSD-src-a1a96d1eacdbed8c3f5d7fd937b8298af3dba7e7.tar.gz
Revert 1.73, since mounting devfs without a devfs ruleset inside a
jail is a very bad idea security wise. Approved by: trhodes (jcamou mentor) No response: jcamou
Diffstat (limited to 'usr.sbin/jail')
-rw-r--r--usr.sbin/jail/jail.81
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8
index 373d310..2fb2676 100644
--- a/usr.sbin/jail/jail.8
+++ b/usr.sbin/jail/jail.8
@@ -341,7 +341,6 @@ If you do decide to set this variable,
it must be set before starting any jails, and once each boot.
.Bd -literal -offset indent
ifconfig ed0 inet alias 192.168.11.100/32
-mount_devfs devfs /data/jail/192.168.11.100/dev
mount -t procfs proc /data/jail/192.168.11.100/proc
jail /data/jail/192.168.11.100 testhostname 192.168.11.100 \\
/bin/sh /etc/rc
OpenPOWER on IntegriCloud