summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjamie <jamie@FreeBSD.org>2016-04-25 17:01:13 +0000
committerjamie <jamie@FreeBSD.org>2016-04-25 17:01:13 +0000
commitfb98805f53b9db4a0cfc5b9c1097d72a85dc642a (patch)
tree21d0cdd839f8b0a3e331013479474cc3e66a5362
parentfbc1338474bf7a66af0ea84b295dd841c9a21989 (diff)
downloadFreeBSD-src-fb98805f53b9db4a0cfc5b9c1097d72a85dc642a.zip
FreeBSD-src-fb98805f53b9db4a0cfc5b9c1097d72a85dc642a.tar.gz
Note the existence of module-specific jail paramters, starting with the
linux.* parameters when linux emulation is loaded. MFC after: 5 days
-rw-r--r--usr.sbin/jail/jail.828
1 files changed, 27 insertions, 1 deletions
diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8
index 362e5b2..f66889c 100644
--- a/usr.sbin/jail/jail.8
+++ b/usr.sbin/jail/jail.8
@@ -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
OpenPOWER on IntegriCloud