jail2 patchset 12
Alex Lyashkov
umka at sevcity.net
Tue Sep 19 01:12:25 PDT 2006
thanks for point this :( i will rewrite old jail api as wrapper to new
API for avoid similar errors...
В Втр, 19.09.2006, в 00:50, John Baldwin пишет:
> 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?
>
More information about the freebsd-hackers
mailing list