summaryrefslogtreecommitdiffstats
path: root/usr.sbin/jail
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2006-05-03 20:13:33 +0000
committermaxim <maxim@FreeBSD.org>2006-05-03 20:13:33 +0000
commit8cadbc9a2c64aaf3caf244ba6a0f4c2a04fefae9 (patch)
tree6af1e361d56815214314490f52bcf93a1c0b67b6 /usr.sbin/jail
parentf61ce826470ec9da540ae792842038e552995805 (diff)
downloadFreeBSD-src-8cadbc9a2c64aaf3caf244ba6a0f4c2a04fefae9.zip
FreeBSD-src-8cadbc9a2c64aaf3caf244ba6a0f4c2a04fefae9.tar.gz
o Document security.jail.jailed sysctl.
PR: docs/94711 Submitted by: Andreas Kohn MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/jail')
-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