From owner-p4-projects@FreeBSD.ORG Wed Jun 2 13:37:42 2010 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 59E7B1065673; Wed, 2 Jun 2010 13:37:42 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EAD8106564A for ; Wed, 2 Jun 2010 13:37:42 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (unknown [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0B67E8FC24 for ; Wed, 2 Jun 2010 13:37:42 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o52DbfUN081174 for ; Wed, 2 Jun 2010 13:37:41 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o52DbfEq081172 for perforce@freebsd.org; Wed, 2 Jun 2010 13:37:41 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Wed, 2 Jun 2010 13:37:41 GMT Message-Id: <201006021337.o52DbfEq081172@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Precedence: bulk Cc: Subject: PERFORCE change 179093 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 13:37:42 -0000 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