jail2 patchset 12
Kris Kennaway
kris at obsecurity.org
Sun Sep 17 15:15:52 PDT 2006
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.
>
> # 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);
Thanks. The jail2 patch doesn't apply cleanly to HEAD now, BTW.
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20060917/70e50c5c/attachment.pgp
More information about the freebsd-hackers
mailing list