Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 2010 13:37:41 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 179093 for review
Message-ID:  <201006021337.o52DbfEq081172@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@179093?ac=10

Change 179093 by rwatson@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006021337.o52DbfEq081172>