From 983b65917f7ef50cb77a9e81867fb5cd82627dff Mon Sep 17 00:00:00 2001 From: rwatson Date: Wed, 9 Feb 2000 04:17:41 +0000 Subject: 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 --- usr.sbin/jail/jail.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/jail') 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 -- cgit v1.1