diff options
author | Maciej Żenczykowski <maze@google.com> | 2022-04-27 01:12:04 +0000 |
---|---|---|
committer | Nucca Chen <nuccachen@google.com> | 2022-04-27 11:03:08 +0000 |
commit | 06b249fc75b4f554b52198b94737a5aabe30ddb0 (patch) | |
tree | 1f1ede0fd6d7ace7113ccacb36b265d5d8415f4b /libc/malloc_debug/malloc_debug.cpp | |
parent | 917f161854c5a4e8e62b88fb778a8f2a943f3423 (diff) |
posix_spawn - implement support for POSIX_SPAWN_CLOEXEC_DEFAULT
This new posix_spawn attribute flag marks all file descriptors
(except stdin/out/err) as close-on-exec before executing any user
registered file actions (posix_spawn_file_actions_addopen/adddup2).
Test: TreeHugger
Bug: 229913920
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1955269
Merged-In: If458100d6a253a9b0348d4e93a9a610225f89615
Change-Id: If458100d6a253a9b0348d4e93a9a610225f89615
Signed-off-by: Maciej Żenczykowski <maze@google.com>
(cherry picked from commit fb66c0c345f17d740b6a2ef7755f768dd5bd96ee)
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions