From owner-freebsd-current@FreeBSD.ORG Sun Jun 27 10:20:21 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6105F16A4CF; Sun, 27 Jun 2004 10:20:21 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1404C43D45; Sun, 27 Jun 2004 10:20:21 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 1E013AC93D; Sun, 27 Jun 2004 12:19:51 +0200 (CEST) Date: Sun, 27 Jun 2004 12:19:51 +0200 From: Pawel Jakub Dawidek To: Julian Elischer Message-ID: <20040627101951.GJ12007@darkness.comp.waw.pl> References: <20040627065932.GH12007@darkness.comp.waw.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Ie3mu0AkGGOh6179" Content-Disposition: inline In-Reply-To: <20040627065932.GH12007@darkness.comp.waw.pl> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: rwatson@freebsd.org cc: FreeBSD current users cc: bzeeb+freebsd@zabbadoz.net Subject: Re: jail getfsstat patches. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jun 2004 10:20:21 -0000 --Ie3mu0AkGGOh6179 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 27, 2004 at 08:59:32AM +0200, Pawel Jakub Dawidek wrote: +> If you give me a few days (maybe I'll be ready today) I'll try to prepare +> patch to commit so we can review it together. Ok, here it goes: http://people.freebsd.org/~pjd/patches/jail_enforce_statfs.patch As you can see, all mac_check_mount_stat() calls are placed after a prison_canseemount() call, so we can considern moving mac_check_mount_stat() to prison_canseemount() function. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --Ie3mu0AkGGOh6179 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA3p9HForvXbEpPzQRAitFAKCxcefdqEDu9bFhwe8c5mAa9xM/UwCfSBaC 0bcD/vR+3DeAtPlAmzpBwHw= =y74d -----END PGP SIGNATURE----- --Ie3mu0AkGGOh6179--