Displaying 1 result from an estimated 1 matches for "doingzomb".
2003 Jun 30
0
sysctl_out_proc() race in stable w/ patch
...ern/kern_proc.c,v
retrieving revision 1.7
diff -u -r1.7 kern_proc.c
--- kern/kern_proc.c 28 Jun 2003 02:36:43 -0000 1.7
+++ kern/kern_proc.c 30 Jun 2003 21:46:25 -0000
@@ -529,8 +529,9 @@
if (!PRISON_CHECK(cr1, p->p_ucred))
continue;
-
+ PHOLD(p);
error = sysctl_out_proc(p, req, doingzomb);
+ PRELE(p);
if (error)
return (error);
}