summaryrefslogtreecommitdiffstats
path: root/usr.sbin/jail
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2000-02-09 04:17:41 +0000
committerrwatson <rwatson@FreeBSD.org>2000-02-09 04:17:41 +0000
commit983b65917f7ef50cb77a9e81867fb5cd82627dff (patch)
treef3d09422da80cf84788c1f6a61a12eb8f94f9739 /usr.sbin/jail
parent81edaf2eb0337ef1b2e5b27f40b71d27d8dad189 (diff)
downloadFreeBSD-src-983b65917f7ef50cb77a9e81867fb5cd82627dff.zip
FreeBSD-src-983b65917f7ef50cb77a9e81867fb5cd82627dff.tar.gz
Clean up the jail(8) documentation so that it suggests building a jail
userland in a safer way. Using the NO_MAKEDEV argument in make distribution prevents the creation of a number of unsafe device nodes in the jailed /dev, including disk devices, and more. This depends on an earlier commit to /etc/Makefile to provide the NO_MAKEDEV support. Approved by: jkh
Diffstat (limited to 'usr.sbin/jail')
-rw-r--r--usr.sbin/jail/jail.82
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8
index fa250ae..4c29b74 100644
--- a/usr.sbin/jail/jail.8
+++ b/usr.sbin/jail/jail.8
@@ -39,7 +39,7 @@ make obj
make all
make install DESTDIR=$D
cd etc
-make distribution DESTDIR=$D
+make distribution DESTDIR=$D NO_MAKEDEV=yes
cd $D/dev
sh MAKEDEV jail
cd $D
OpenPOWER on IntegriCloud