Re: jail2 patchset 12
- From: John Baldwin <jhb@xxxxxxxxxxx>
- Date: Mon, 18 Sep 2006 17:50:57 -0400
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
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: jail2 patchset 12
- From: Alex Lyashkov
- Re: jail2 patchset 12
- References:
- jail2 patchset 12
- From: Alex Lyashkov
- Re: jail2 patchset 12
- From: Kris Kennaway
- Re: jail2 patchset 12
- From: Alex Lyashkov
- jail2 patchset 12
- Prev by Date: Re: ath driver debug
- Next by Date: Delivering SIGKILL to init
- Previous by thread: Re: jail2 patchset 12
- Next by thread: Re: jail2 patchset 12
- Index(es):
Relevant Pages
|
|