This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/20890] ldconfig: fsync the files before atomic rename


https://sourceware.org/bugzilla/show_bug.cgi?id=20890

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  999a6dab3ee1c8e77bb348ba2389e7aeb5c062b2 (commit)
      from  52a01100ad011293197637e42b5be1a479a2f4ae (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=999a6dab3ee1c8e77bb348ba2389e7aeb5c062b2

commit 999a6dab3ee1c8e77bb348ba2389e7aeb5c062b2
Author: Florian Weimer <fweimer@redhat.com>
Date:   Wed Feb 21 10:42:48 2018 +0100

    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).

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog   |    8 ++++++++
 elf/cache.c |   10 +++++++---
 2 files changed, 15 insertions(+), 3 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]