From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 17 15:26:31 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0751637B401 for ; Thu, 17 Jul 2003 15:26:31 -0700 (PDT) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 526F243FB1 for ; Thu, 17 Jul 2003 15:26:30 -0700 (PDT) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id 633C43ABB4D; Fri, 18 Jul 2003 00:32:22 +0200 (CEST) Date: Fri, 18 Jul 2003 00:32:22 +0200 From: Pawel Jakub Dawidek To: freebsd-hackers@freebsd.org Message-ID: <20030717223222.GE4973@garage.freebsd.pl> References: <20030717160748.GA4973@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="YiJbW+tan0O55Ijl" Content-Disposition: inline In-Reply-To: <20030717160748.GA4973@garage.freebsd.pl> X-PGP-Key-URL: http://garage.freebsd.pl/jules.asc X-OS: FreeBSD 4.8-RELEASE i386 X-URL: http://garage.freebsd.pl User-Agent: Mutt/1.5.1i Subject: Re: Jail sysctls and new flags to sysctls. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2003 22:26:31 -0000 --YiJbW+tan0O55Ijl Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 17, 2003 at 06:07:48PM +0200, Pawel Jakub Dawidek wrote: +> Patch add also two flags to sysctls: +> CTLFLAG_USERINV - sysctl is invisible for unprivileged users +> CTLFLAG_JAILINV - sysctl is invisible in jail environment Note, that things like security.bsd.unprivileged_read_msgbuf (protecting two sysctls from reading) could be made in general way with those flags and any sysctl or sysctls node could be protected with them. --=20 Pawel Jakub Dawidek pawel@dawidek.net UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net --YiJbW+tan0O55Ijl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBPxcj9j/PhmMH/Mf1AQE3wwQApDrJKIbEHvC0WcqbiQ+WlVA6OEzy18tE FHhNd4gD7HeTpKDAQniQDQDuagRFFMQcImmKufZKY5Z/S97ROYSpyaKIj21nAq90 6SjZrbOSbgI/LI0f5EoKRwFLlvGZ3AJWk9IEm+qd7qYMnH+zVsIHqinqToZ3qnQp AQ+DPYwLTBg= =ibmr -----END PGP SIGNATURE----- --YiJbW+tan0O55Ijl--