From 17d10fccacde87e96139dfc2b1cb5d801c91dad9 Mon Sep 17 00:00:00 2001 From: Maxim Konovalov Date: Wed, 3 May 2006 20:13:33 +0000 Subject: [PATCH] o Document security.jail.jailed sysctl. PR: docs/94711 Submitted by: Andreas Kohn MFC after: 2 weeks --- usr.sbin/jail/jail.8 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8 index 1c712f69933e..6b26225c79f5 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.