o Document security.jail.jailed sysctl.

PR:		docs/94711
Submitted by:	Andreas Kohn
MFC after:	2 weeks
This commit is contained in:
Maxim Konovalov 2006-05-03 20:13:33 +00:00
parent 57d6ae0689
commit 17d10fccac

View File

@ -33,7 +33,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd August 7, 2005 .Dd May 3, 2006
.Dt JAIL 8 .Dt JAIL 8
.Os .Os
.Sh NAME .Sh NAME
@ -540,6 +540,11 @@ constraints on
.Va kern.securelevel . .Va kern.securelevel .
.El .El
.Pp .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. 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 Changes to these variables by a jailed process do not effect the host
environment, only the jail environment. environment, only the jail environment.