diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-07-27 19:08:19 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-07-27 19:08:19 +0000 |
commit | e038616f4a681bef050a2b20971c1d9af4fe7312 (patch) | |
tree | f4beb045e6a0d4915bdb158af0ea6f8ff6160abd /ChangeLog | |
parent | d6e0c2a67dbdb3f940d60f68bbcf58a5bdee4a97 (diff) | |
download | glibc-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-- | ChangeLog | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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. |