]> git.ipfire.org Git - thirdparty/systemd.git/commit
tmpfile-util: add new LINK_TMPFILE_SYNC flag for syncing properly before/after linkin...
authorLennart Poettering <lennart@poettering.net>
Tue, 13 Jun 2023 07:45:39 +0000 (09:45 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 13 Jun 2023 07:45:39 +0000 (09:45 +0200)
commitce67bf366fd29008370ebf4d95e7ec6d8f47e353
treeb291a46c62558cf2707e0bfcbf440f35a3701005
parent27e18c23bcb4046fc283341157443d5488244e95
tmpfile-util: add new LINK_TMPFILE_SYNC flag for syncing properly before/after linking in the file

This syncs the data before linking it in, and both data + dir once done.
This should give us proper semantics for installing files safely into
the fs.
src/basic/tmpfile-util.c
src/basic/tmpfile-util.h