From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 17 22:21:16 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 6FAFE16A40F for ; Sun, 17 Sep 2006 22:21:16 +0000 (UTC) (envelope-from umka@sevcity.net) Received: from mail.sevcity.net (ns.sevcity.net [193.47.166.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CBAB43D70 for ; Sun, 17 Sep 2006 22:21:02 +0000 (GMT) (envelope-from umka@sevcity.net) Received: from mail.sevcity.net (service.sevcity [127.0.0.1]) by mail.sevcity.net (Postfix) with ESMTP id 1C75D17001A; Mon, 18 Sep 2006 01:21:28 +0300 (EEST) Received: from berloga.shadowland (umka.sevcity.net [193.47.166.138]) by mail.sevcity.net (Postfix) with ESMTP id 3D698170004; Mon, 18 Sep 2006 01:21:22 +0300 (EEST) Received: from berloga.shadowland (berloga.shadowland [127.0.0.1]) by berloga.shadowland (8.12.11.20060308/8.12.11) with ESMTP id k8HMKvlx005533; Mon, 18 Sep 2006 01:20:57 +0300 Received: (from root@localhost) by berloga.shadowland (8.12.11.20060308/8.12.11/Submit) id k8HMKuxO005531; Mon, 18 Sep 2006 01:20:56 +0300 From: Alex Lyashkov To: Kris Kennaway In-Reply-To: <20060917221546.GA65438@xor.obsecurity.org> References: <1158407656.3215.33.camel@berloga.shadowland> <20060917211905.GA64182@xor.obsecurity.org> <1158530904.3213.1.camel@berloga.shadowland> <20060917221546.GA65438@xor.obsecurity.org> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SevcityNet Message-Id: <1158531656.3213.6.camel@berloga.shadowland> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-17) Date: Mon, 18 Sep 2006 01:20:56 +0300 X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-hackers@freebsd.org 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:21:16 -0000 patchset 12 created 2 week ago (or so). Today i integrate last changes and upload patchset 13. =F7 =F0=CE=C4, 18.09.2006, =D7 01:15, Kris Kennaway =D0=C9=DB=C5=D4: > 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); >=20 > Thanks. The jail2 patch doesn't apply cleanly to HEAD now, BTW. >=20 > Kris