guix/nix/libutil
Ludovic Courtès 7757fdd491
daemon: Loop over ‘copy_file_range’ upon short writes.
Fixes <https://issues.guix.gnu.org/70877>.

* nix/libutil/util.cc (copyFile): Loop over ‘copy_file_range’ instead of
throwing upon short write.

Reported-by: Ricardo Wurmus <rekado@elephly.net>
Change-Id: Id7b8a65ea59006c2d91bc23732309a68665b9ca0
2024-05-13 16:31:34 +02:00
..
affinity.cc Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
affinity.hh Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
archive.cc daemon: Use unbranded phrases in comments and messages. 2018-12-16 16:28:07 +01:00
archive.hh daemon: Remove "case hack" for nars. 2018-10-02 23:08:30 +02:00
hash.cc daemon: Improve error message for wrong hash sizes. 2023-01-09 17:40:54 +01:00
hash.hh daemon: Recognize SHA3 and BLAKE2s. 2020-06-27 23:42:20 +02:00
serialise.cc Merge branch 'nix'. 2015-05-19 16:09:58 +02:00
serialise.hh Merge branch 'nix'. 2015-05-19 16:09:58 +02:00
types.hh Merge branch 'nix'. 2015-05-19 16:09:58 +02:00
util.cc daemon: Loop over ‘copy_file_range’ upon short writes. 2024-05-13 16:31:34 +02:00
util.hh daemon: Address shortcoming in previous security fix for CVE-2024-27297. 2024-03-12 14:07:28 +01:00