aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2000-02-09 04:17:41 +0000
committerRobert Watson <rwatson@FreeBSD.org>2000-02-09 04:17:41 +0000
commit34d226d7ffd355271d6e6f6bb4eb9c2feaf0c476 (patch)
tree3ebe63650b8bb2db69431c3162c3759f8e73908f /usr.sbin
parent978d4f5bc8a1f6683ce52293cffe26ce85fe0c09 (diff)
downloadsrc-34d226d7ffd355271d6e6f6bb4eb9c2feaf0c476.tar.gz
src-34d226d7ffd355271d6e6f6bb4eb9c2feaf0c476.zip
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
Notes
Notes: svn path=/head/; revision=57073
Diffstat (limited to 'usr.sbin')
-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 fa250aee5657..4c29b746c9f5 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