summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2022-02-16 14:39:07 -0800
committerElliott Hughes <enh@google.com>2022-02-16 14:39:07 -0800
commit62d49fd8e11ce2e1d951e2647a77a94904be76bd (patch)
tree9185c7809a82eb37df62f0b8d5fa3243c5e1f813 /libc/malloc_debug/malloc_debug.cpp
parentab74e3260a4521cf8040de6aeb9356b86e9aacdf (diff)
posix_spawn: always clear O_CLOEXEC for dup'ed fds.
dup2(2) is a no-op if the new and old fds are equal, but it's pretty clear that any useful caller in the posix_spawn(3) context wants us to clear O_CLOEXEC even if we don't actually "move" the fd. Bug: https://www.austingroupbugs.net/view.php?id=411 Test: treehugger Change-Id: I5ce1a1f9216df5afd295cc9e35b84527873e9541
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions