Date: Sun, 27 Aug 2006 09:44:15 GMT From: Alex Lyashkov <als@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 105171 for review Message-ID: <200608270944.k7R9iFdg005800@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=105171 Change 105171 by als@als_head on 2006/08/27 09:43:48 fix task count accounting while task migrate bettwen contexts. Affected files ... .. //depot/projects/jail2/sys/kern/kern_jail.c#4 edit Differences ... ==== //depot/projects/jail2/sys/kern/kern_jail.c#4 (text+ko) ==== @@ -273,6 +273,8 @@ newcred = crget(); PROC_LOCK(p); oldcred = p->p_ucred; + jail_task_del(&oldcred->cr_prison->pr_tasks, p); + jail_task_add(&pr->pr_tasks, p); setsugid(p); crcopy(newcred, oldcred); newcred->cr_prison = pr;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608270944.k7R9iFdg005800>