*** empty log message ***
authorroot <root>
Wed, 15 Dec 2004 02:53:49 +0000 (02:53 +0000)
committerroot <root>
Wed, 15 Dec 2004 02:53:49 +0000 (02:53 +0000)
Changes
src/iom.C

diff --git a/Changes b/Changes
index fd27225..0f00255 100644 (file)
--- a/Changes
+++ b/Changes
@@ -22,6 +22,9 @@ FEAT: tabbed windows (hey, just use screen...)
         - do not use XSETROOTPMAP_ID anymore, support ESETROOT_PMAP_ID
           instead.
         - implement underlineColor resource when ENABLE_FRILLS.
+        - iom left it's signal pipe handle open in the child
+          process. Fortunately not security-relevant as the pipe data gets
+          ignored.
 
 4.5  Mon Dec 13 07:47:16 CET 2004
        - fix an extremely nasty bug in utf8-conversion. upgrade is advised.
index b81eb5b..d2f5f18 100644 (file)
--- a/src/iom.C
+++ b/src/iom.C
@@ -125,8 +125,8 @@ static struct init {
         abort ();
       }
 
-    fcntl (sigpipe[0], F_SETFL, O_NONBLOCK);
-    fcntl (sigpipe[1], F_SETFL, O_NONBLOCK);
+    fcntl (sigpipe[0], F_SETFL, O_NONBLOCK); fcntl (sigpipe[0], F_SETFD, FD_CLOEXEC);
+    fcntl (sigpipe[1], F_SETFL, O_NONBLOCK); fcntl (sigpipe[1], F_SETFD, FD_CLOEXEC);
 #endif
 
     iom_valid = true;