Date: Mon, 20 Mar 2006 01:18:00 +0100 From: "Andreas Kohn" <andreas@syndrom23.de> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: docs/94711: [PATCH] document security.jail.jailed sysctl in jail(8) Message-ID: <1142813880.35369@klamath.syndrom23.de> Resent-Message-ID: <200603200020.k2K0KKqB033411@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 94711 >Category: docs >Synopsis: [PATCH] document security.jail.jailed sysctl in jail(8) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 20 00:20:19 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Andreas Kohn >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD 7.0-CURRENT #41: Fri Mar 17 12:01:02 CET 2006 root@klamath.syndrom23.de:/usr/obj/usr/src/sys/KLAMATH >Description: I think the sysctl security.jail.jailed should be documented in jail(8), close to other jail-related sysctls. >How-To-Repeat: >Fix: --- jail.8-jailed.diff begins here --- Index: usr.sbin/jail/jail.8 =================================================================== RCS file: /storage/freebsd/cvs/src/usr.sbin/jail/jail.8,v retrieving revision 1.73 diff -u -r1.73 jail.8 --- usr.sbin/jail/jail.8 16 Mar 2006 14:31:35 -0000 1.73 +++ usr.sbin/jail/jail.8 20 Mar 2006 00:13:35 -0000 @@ -540,6 +540,11 @@ .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. --- jail.8-jailed.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1142813880.35369>