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
This commit is contained in:
parent
978d4f5bc8
commit
34d226d7ff
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57073
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user