Note the existence of module-specific jail paramters, starting with the

linux.* parameters when linux emulation is loaded.

MFC after:	5 days
This commit is contained in:
Jamie Gritton 2016-04-25 17:01:13 +00:00
parent 8a3fcfa7be
commit 5d6cb09dfc

View File

@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd July 20, 2015
.Dd April 25, 2016
.Dt JAIL 8
.Os
.Sh NAME
@ -610,6 +610,32 @@ have not had jail functionality added to them.
.El
.El
.Pp
Kernel modules may add their own parameters, which only exist when the
module is loaded.
These are typically headed under a parameter named after the module,
with values of
.Dq inherit
to give the jail full use of the module,
.Dq new
to encapsulate the jail in some module-specific way,
and
.Dq disable
to make the module unavailable to the jail.
There also may be other parameters to define jail behavior within the module.
Module-specific parameters include:
.Bl -tag -width indent
.It Va linux
Determine how a jail's Linux emulation environment appears.
A value of
.Dq inherit
will keep the same environment, and
.Dq new
will give the jail it's own environment (still originally inherited when
the jail is created).
.It Va linux.osname , linux.osrelease , linux.oss_version
The Linux OS name, OS release, and OSS version associated with this jail.
.El
.Pp
There are pseudo-parameters that are not passed to the kernel, but are
used by
.Nm