summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/jail/jail.87
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8
index 1c712f6..6b26225 100644
--- a/usr.sbin/jail/jail.8
+++ b/usr.sbin/jail/jail.8
@@ -33,7 +33,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 7, 2005
+.Dd May 3, 2006
.Dt JAIL 8
.Os
.Sh NAME
@@ -540,6 +540,11 @@ constraints on
.Va kern.securelevel .
.El
.Pp
+The read-only
+.Va security.jail.jailed
+variable can be used to determine if a process is running inside a jail (value
+is one) or not (value is zero).
+.Pp
There are currently two MIB related variables that have per-jail settings.
Changes to these variables by a jailed process do not effect the host
environment, only the jail environment.
OpenPOWER on IntegriCloud