Date: Thu, 19 Feb 2004 06:29:14 -0800 (PST) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_jail.c Message-ID: <200402191429.i1JETEo3073008@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2004/02/19 06:29:14 PST FreeBSD src repository Modified files: sys/kern kern_jail.c Log: 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. It will be great if our starting scripts will take advantage of this sysctl to allow clean "boot" inside jail. Approved by: rwatson, scottl (mentor) Revision Changes Path 1.39 +13 -0 src/sys/kern/kern_jail.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402191429.i1JETEo3073008>