From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 17 22:15:52 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 15D7816A416 for ; Sun, 17 Sep 2006 22:15:52 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B53F43D4C for ; Sun, 17 Sep 2006 22:15:51 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id ECF6A1A3C19; Sun, 17 Sep 2006 15:15:50 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3886B5159A; Sun, 17 Sep 2006 18:15:46 -0400 (EDT) Date: Sun, 17 Sep 2006 18:15:46 -0400 From: Kris Kennaway To: Alex Lyashkov Message-ID: <20060917221546.GA65438@xor.obsecurity.org> References: <1158407656.3215.33.camel@berloga.shadowland> <20060917211905.GA64182@xor.obsecurity.org> <1158530904.3213.1.camel@berloga.shadowland> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline In-Reply-To: <1158530904.3213.1.camel@berloga.shadowland> User-Agent: Mutt/1.4.2.2i Cc: freebsd-hackers@freebsd.org, Kris Kennaway Subject: Re: jail2 patchset 12 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Sep 2006 22:15:52 -0000 --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 18, 2006 at 01:08:24AM +0300, Alex Lyashkov wrote: > Thanks for you report. I really more test new jail2 API then old :( > Please apply this patch. >=20 > # p4 diff -du kern_jail.c > =3D=3D=3D=3D //depot/projects/jail2/sys/kern/kern_jail.c#4 - > /root/jail2/sys/kern/kern_jail.c =3D=3D=3D=3D > @@ -316,6 +316,7 @@ > if (error) > return (error); >=20 > + mtx_lock(&allprison_mtx); > pr =3D prison_find(uap->jid); > if (pr =3D=3D NULL) { > return (ESRCH); Thanks. The jail2 patch doesn't apply cleanly to HEAD now, BTW. Kris --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFDckSWry0BWjoQKURAke3AJ9NbXde4oFeLUQ5r7GHm+R7fqPlYgCgiBxJ NgxtK85KTrMwM7pfcwnLzEk= =Qs57 -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X--