From owner-svn-doc-all@FreeBSD.ORG Mon Oct 7 10:10:19 2013
Return-Path:
Delivered-To: svn-doc-all@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
(No client certificate requested)
by hub.freebsd.org (Postfix) with ESMTP id EDC01B12;
Mon, 7 Oct 2013 10:10:19 +0000 (UTC) (envelope-from pgj@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
[IPv6:2001:1900:2254:2068::e6a:0])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.freebsd.org (Postfix) with ESMTPS id C091023F0;
Mon, 7 Oct 2013 10:10:19 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r97AAJHO017092;
Mon, 7 Oct 2013 10:10:19 GMT (envelope-from pgj@svn.freebsd.org)
Received: (from pgj@localhost)
by svn.freebsd.org (8.14.7/8.14.5/Submit) id r97AAJP1017091;
Mon, 7 Oct 2013 10:10:19 GMT (envelope-from pgj@svn.freebsd.org)
Message-Id: <201310071010.r97AAJP1017091@svn.freebsd.org>
From: Gabor Pali
Date: Mon, 7 Oct 2013 10:10:19 +0000 (UTC)
To: doc-committers@freebsd.org, svn-doc-all@freebsd.org,
svn-doc-head@freebsd.org
Subject: svn commit: r42869 - head/en_US.ISO8859-1/htdocs/news/status
X-SVN-Group: doc-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-doc-all@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "SVN commit messages for the entire doc trees \(except for "
user" , " projects" , and " translations"
\)"
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 07 Oct 2013 10:10:20 -0000
Author: pgj
Date: Mon Oct 7 10:10:19 2013
New Revision: 42869
URL: http://svnweb.freebsd.org/changeset/doc/42869
Log:
- Add Q3 report on atomic close-on-exec
Submitted by: jilles
Modified:
head/en_US.ISO8859-1/htdocs/news/status/report-2013-07-2013-09.xml
Modified: head/en_US.ISO8859-1/htdocs/news/status/report-2013-07-2013-09.xml
==============================================================================
--- head/en_US.ISO8859-1/htdocs/news/status/report-2013-07-2013-09.xml Sun Oct 6 22:40:10 2013 (r42868)
+++ head/en_US.ISO8859-1/htdocs/news/status/report-2013-07-2013-09.xml Mon Oct 7 10:10:19 2013 (r42869)
@@ -19,7 +19,7 @@
Thanks to all the reporters for the excellent work! This report
- contains 17 entries and we hope you enjoy reading it.
+ contains 18 entries and we hope you enjoy reading it.
The deadline for submissions covering between October and
@@ -897,4 +897,45 @@
SDIO-capable slot.
+
+
+ Atomic "close-on-exec"
+
+
+
+
+ Jilles
+ Tjoelker
+
+ jilles@FreeBSD.org
+
+
+
+
+
+
+
+
+ If threads or signal handlers call fork() and
+ exec(), file descriptors may be passed undesirably to
+ child processes, which may lead to hangs (if a pipe is not
+ closed), exceeding the file descriptor limit and security
+ problems (if the child process has lower privilege). One
+ solution is various new APIs that set the "close-on-exec" flag
+ atomically with allocating a file descriptor. Some existing
+ software will use the new features if present or will even
+ refuse to compile without them.
+
+ With mkostemp(), dup3(), and a change to
+ modes of fopen() and freopen(), everything
+ proposed in Austin Group issue #411 has now been implemented.
+ For all POSIX-specified functions that allocate file
+ descriptors, it is possible to request that the new descriptor
+ be set close-on-exec atomically.
+
+ Additionally, many file descriptors used internally by
+ libc and libutil now have the close-on-exec bit
+ set.
+
+