Merge pull request #9199 from poettering/copy-file-atomic

make copy_file_atomic() use O_TMPFILE to create the destination file
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2018-06-14 11:19:22 +02:00
committed by GitHub
4 changed files with 77 additions and 24 deletions
+2 -2
View File
@@ -14,6 +14,8 @@ Janitorial Clean-ups:
* Rearrange tests so that the various test-xyz.c match a specific src/basic/xyz.c again
* copy.c: set the right chattrs before copying files and others after
* rework mount.c and swap.c to follow proper state enumeration/deserialization
semantics, like we do for device.c now
@@ -25,8 +27,6 @@ Features:
* Add OnTimezoneChange= and OnTimeChange= stanzas to .timer units in order to
schedule events based on time and timezone changes.
* add O_TMPFILE support to copy_file_atomic()
* nspawn: greater control over selinux label?
* cgroups: figure out if we can somehow communicate in a cleaner way whether a