aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-07-27 19:08:19 +0000
committerUlrich Drepper <drepper@redhat.com>2008-07-27 19:08:19 +0000
commite038616f4a681bef050a2b20971c1d9af4fe7312 (patch)
treef4beb045e6a0d4915bdb158af0ea6f8ff6160abd /ChangeLog
parentd6e0c2a67dbdb3f940d60f68bbcf58a5bdee4a97 (diff)
downloadglibc-e038616f4a681bef050a2b20971c1d9af4fe7312.tar
glibc-e038616f4a681bef050a2b20971c1d9af4fe7312.tar.gz
glibc-e038616f4a681bef050a2b20971c1d9af4fe7312.tar.bz2
glibc-e038616f4a681bef050a2b20971c1d9af4fe7312.zip
* posix/wordexp.c (exec_comm): Use pipe2 if possible to create
file descriptors with close-on-exec set. (exec_comm_child): Fix the case where the write end of the pipe is STDOUT_FILENO already. In case it is, clear close-on-exec.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 87baa5a943..12d98d00d5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2008-07-27 Ulrich Drepper <drepper@redhat.com>
+ * posix/wordexp.c (exec_comm): Use pipe2 if possible to create
+ file descriptors with close-on-exec set.
+ (exec_comm_child): Fix the case where the write end of the pipe is
+ STDOUT_FILENO already. In case it is, clear close-on-exec.
+
* sysdeps/unix/sysv/linux/syscalls.list: Add __pipe2 alias.
* io/pipe2.c: Likewise.
* sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PIPE2
@@ -9,7 +14,6 @@
* libio/Makefile (tests): Add tst-popen1.
* libio/tst-popen1.c: New file.
-
* sysdeps/unix/sysv/linux/bits/socket.h: Define PF_ISDN and AF_ISDN.
* sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.