docs/94711: [PATCH] document security.jail.jailed sysctl in jail(8)

Andreas Kohn andreas at syndrom23.de
Mon Mar 20 00:20:21 UTC 2006


>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 at 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:



More information about the freebsd-doc mailing list