PERFORCE change 156343 for review

Robert Watson rwatson at FreeBSD.org
Sun Jan 18 10:30:30 PST 2009


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

Change 156343 by rwatson at rwatson_freebsd_capabilities on 2009/01/18 18:29:34

	Clarify comment -- wait4() doesn't lead to procdesc_reap(), but
	close() may.

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/sys/kern/sys_procdesc.c#7 edit

Differences ...

==== //depot/projects/trustedbsd/capabilities/src/sys/kern/sys_procdesc.c#7 (text+ko) ====

@@ -282,8 +282,8 @@
 }
 
 /*
- * When a process descriptor is reaped, typically by pdwait4() or wait4(),
- * release the process's reference on the process descriptor.
+ * When a process descriptor is reaped, perhaps as a result of close() or
+ * pdwait4(), release the process's reference on the process descriptor.
  */
 void
 procdesc_reap(struct proc *p)


More information about the p4-projects mailing list