Date: Thu, 29 Jan 2009 14:57:05 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 156862 for review Message-ID: <200901291457.n0TEv5UP083997@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=156862 Change 156862 by rwatson@rwatson_freebsd_capabilities on 2009/01/29 14:56:51 Once the process descriptor's pointer to its process is cleared, don't use that pointer during close(). Affected files ... .. //depot/projects/trustedbsd/capabilities/src/sys/kern/sys_procdesc.c#11 edit Differences ... ==== //depot/projects/trustedbsd/capabilities/src/sys/kern/sys_procdesc.c#11 (text+ko) ==== @@ -371,8 +371,8 @@ */ p->p_sigparent = SIGCHLD; proc_reparent(p, initproc); - psignal(pd->pd_proc, SIGKILL); - PROC_UNLOCK(pd->pd_proc); + psignal(p, SIGKILL); + PROC_UNLOCK(p); sx_xunlock(&proctree_lock); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901291457.n0TEv5UP083997>