From owner-cvs-all@FreeBSD.ORG Fri Feb 20 03:21:56 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D68EB16A4CE; Fri, 20 Feb 2004 03:21:56 -0800 (PST) Received: from tara.freenix.org (keltia.freenix.org [82.224.56.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id A176E43D2D; Fri, 20 Feb 2004 03:21:56 -0800 (PST) (envelope-from roberto@keltia.freenix.fr) Received: by tara.freenix.org (Postfix/TLS, from userid 101) id 809C32D7F; Fri, 20 Feb 2004 12:21:55 +0100 (CET) Date: Fri, 20 Feb 2004 12:21:55 +0100 From: Ollivier Robert To: cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-ID: <20040220112155.GA51734@tara.freenix.org> Mail-Followup-To: cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200402191429.i1JETEo3073008@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200402191429.i1JETEo3073008@repoman.freebsd.org> X-Operating-System: MacOS X / PowerBook G4 - FreeBSD 5.0 / 2x PIII/800 SMP User-Agent: Mutt/1.5.5.1i Subject: Re: cvs commit: src/sys/kern kern_jail.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2004 11:21:57 -0000 According to Pawel Jakub Dawidek: > Added sysctl security.jail.jailed. > It returns 1 is process is inside of jail and 0 if it is not. > Information if we are in jail or not is not a secret, there is plenty of > ways to discover it. Many people are using own hack to check this and > this will be a legal way from now on. Very nice, thanks. Can you please plan to MFC it? -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr Darwin snuadh.freenix.org Kernel Version 7.2.0: Thu Dec 11 16:20:23 PST 2003