diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-06-05 17:54:31 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-06-09 12:33:04 +0200 |
commit | 1e604a7aa352f89d2f5af5af978826cd7146abb6 (patch) | |
tree | 441619278ef89268e5aabe5ac53b66f1813d0439 /src/buildtool/main/version.cpp | |
parent | 55572617cb95682794bb910d61b55cba9bb9461a (diff) | |
download | justbuild-1e604a7aa352f89d2f5af5af978826cd7146abb6.tar.gz |
file_system: Avoid malloc in 'fdless' copy/write
... to remove the risk of deadlocks on certain combinations
of C++ standard library and libc when performing the
copy/write in a child process. For 'fdless' copy/write, a
child process is used to prevent the parent from getting
polluted with open writable file descriptors (which might
get inherited by other children that keep them open and can
cause EBUSY errors).
(cherry picked from 5142b99f94dcbf47274a5f32a1780cf865621401)
Diffstat (limited to 'src/buildtool/main/version.cpp')
0 files changed, 0 insertions, 0 deletions