]> git.ipfire.org Git - thirdparty/glibc.git/commit
ldconfig: Sync temporary files to disk before renaming them [BZ #20890]
authorFlorian Weimer <fweimer@redhat.com>
Wed, 21 Feb 2018 09:42:48 +0000 (10:42 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 21 Feb 2018 09:42:48 +0000 (10:42 +0100)
commit999a6dab3ee1c8e77bb348ba2389e7aeb5c062b2
treeb88f28c02d2f98d8576f021b8d441814d848133b
parent52a01100ad011293197637e42b5be1a479a2f4ae
ldconfig: Sync temporary files to disk before renaming them [BZ #20890]

If the system crashes before the file data has been written to disk, the
file system recovery upon the next mount may restore a partially
rewritten temporary file under the non-temporary (final) name (after the
rename operation).
ChangeLog
elf/cache.c