PERFORCE change 179093 for review

Robert Watson rwatson at FreeBSD.org
Wed Jun 2 13:37:42 UTC 2010


http://p4web.freebsd.org/@@179093?ac=10

Change 179093 by rwatson at rwatson_cinnamon on 2010/06/02 13:37:12

	Clarify last-close behavior.
	
	Discussed with:		Edward Allcutt

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/lib/libc/sys/pdfork.2#5 edit

Differences ...

==== //depot/projects/trustedbsd/capabilities/src/lib/libc/sys/pdfork.2#5 (text+ko) ====

@@ -1,5 +1,5 @@
 .\"
-.\" Copyright (c) 2009 Robert N. M. Watson
+.\" Copyright (c) 2009-2010 Robert N. M. Watson
 .\" All rights reserved.
 .\"
 .\" WARNING: THIS IS EXPERIMENTAL SECURITY SOFTWARE THAT MUST NOT BE RELIED
@@ -94,8 +94,9 @@
 is defined, and will be raised when the process dies.
 .Pp
 .Xr close 2
-will close the process descriptor, and if the process is still alive,
-terminate it with the signal
+will close the process descriptor; if the process is still alive and this is
+the last reference to the process descriptor, the process will be terminated
+with the signal
 .Dv SIGKILL .
 .Sh RETURN VALUES
 .Sh ERRORS


More information about the p4-projects mailing list