PERFORCE change 156862 for review

Robert Watson rwatson at FreeBSD.org
Thu Jan 29 06:57:11 PST 2009


http://perforce.freebsd.org/chv.cgi?CH=156862

Change 156862 by rwatson at 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);
 	}
 


More information about the p4-projects mailing list