From 34d226d7ffd355271d6e6f6bb4eb9c2feaf0c476 Mon Sep 17 00:00:00 2001 From: Robert Watson 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') 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 -- cgit v1.2.3