diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-02-19 14:49:38 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-02-19 14:49:38 +0100 |
commit | 6793dd51d8e7d4f3408c183c6f7dc86acd7f1330 (patch) | |
tree | 7d8f6b314549b47a510f3cfb387743f8fd4e7001 /ChangeLog | |
parent | ff889b196575c2fbf6aa7130abb1ec862714ea4e (diff) | |
download | glibc-6793dd51d8e7d4f3408c183c6f7dc86acd7f1330.tar glibc-6793dd51d8e7d4f3408c183c6f7dc86acd7f1330.tar.gz glibc-6793dd51d8e7d4f3408c183c6f7dc86acd7f1330.tar.bz2 glibc-6793dd51d8e7d4f3408c183c6f7dc86acd7f1330.zip |
Improve file descriptor checks for posix_spawn actions [BZ #19505]
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1,5 +1,22 @@ 2016-02-19 Florian Weimer <fweimer@redhat.com> + [BZ #19505] + * posix/spawn_int.h: Add headers and include guard. + (__spawn_valid_fd): New function. + * posix/spawn_faction_addopen.c + (posix_spawn_file_actions_addopen): Use __spawn_valid_fd. + * posix/spawn_faction_addclose.c + (posix_spawn_file_actions_addclose): Likewise. + * posix/spawn_faction_adddup2.c + (posix_spawn_file_actions_adddup2): Likewise. Add check for + second file descriptor. + * posix/spawn_valid_fd.c: New file. + * posix/tst-posix_spawn-fd.c: New file. + * posix/Makefile (routines): Add spawn_valid_fd. + (tests): Add tst-posix_spawn-fd. + +2016-02-19 Florian Weimer <fweimer@redhat.com> + * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early. (do_test): Limit the number of arenas, so that we can use fewer outer threads. Limit timeout to 3 seconds, in preparation for a |