From f7bb71361ec00cb2ea94ca385db8df22c7d1e2c4 Mon Sep 17 00:00:00 2001 From: Matteo Riondato Date: Mon, 8 May 2006 19:55:17 +0000 Subject: [PATCH] document security.jail.list sysctl in jail(8) PR: docs/96807 MFC after: 3 --- usr.sbin/jail/jail.8 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8 index 6b26225c79f5..0c14217b804f 100644 --- a/usr.sbin/jail/jail.8 +++ b/usr.sbin/jail/jail.8 @@ -33,7 +33,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 3, 2006 +.Dd May 8, 2006 .Dt JAIL 8 .Os .Sh NAME @@ -545,6 +545,14 @@ The read-only variable can be used to determine if a process is running inside a jail (value is one) or not (value is zero). .Pp +The +.Va security.jail.list +MIB entry is read-only and it returns an array of struct xprison defined in +.In sys/jail.h . +It is recommended to use the +.Xr jls 8 +utility to see current active list of jails. +.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.