Date: Mon, 18 Sep 2006 17:50:57 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-hackers@freebsd.org Cc: Alex Lyashkov <umka@sevcity.net>, Kris Kennaway <kris@obsecurity.org> Subject: Re: jail2 patchset 12 Message-ID: <200609181750.58145.jhb@freebsd.org> In-Reply-To: <1158530904.3213.1.camel@berloga.shadowland> References: <1158407656.3215.33.camel@berloga.shadowland> <20060917211905.GA64182@xor.obsecurity.org> <1158530904.3213.1.camel@berloga.shadowland>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 17 September 2006 18:08, Alex Lyashkov wrote: > Thanks for you report. I really more test new jail2 API then old :( > Please apply this patch. > > # p4 diff -du kern_jail.c > ==== //depot/projects/jail2/sys/kern/kern_jail.c#4 - > /root/jail2/sys/kern/kern_jail.c ==== > @@ -316,6 +316,7 @@ > if (error) > return (error); > > + mtx_lock(&allprison_mtx); > pr = prison_find(uap->jid); > if (pr == NULL) { > return (ESRCH); Does this leak the lock in the ESRCH case now? -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609181750.58145.jhb>