diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-07-12 11:08:15 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-09-09 12:39:24 +0200 |
commit | d17d0d9649ae47b383325020eb147b80e5ce75b3 (patch) | |
tree | 1b117dfdc9fe7e6cf548341976de8e2dbadab84e /src/utils/cpp/file_locking.hpp | |
parent | a2204a921218e35ae29936561a5d3726cfbfa0e1 (diff) | |
download | justbuild-d17d0d9649ae47b383325020eb147b80e5ce75b3.tar.gz |
Store newly spliced executables as copies.
During multithreaded splicing, the main process can be forked (inheriting open file descriptors). In this case, the executable file saved using hardlinking becomes inaccessible. To prevent this, executables must be stored as copies made in a child process.
(cherry-picked from a336b835ee0831ba5fe2f4e8f9b1773eff68416b)
Diffstat (limited to 'src/utils/cpp/file_locking.hpp')
0 files changed, 0 insertions, 0 deletions