[PATCH] ldconfig: Call fsync on temporary files before renaming them [BZ #20890]

Adhemerval Zanella adhemerval.zanella@linaro.org
Tue Feb 20 14:23:00 GMT 2018



On 20/02/2018 10:59, Florian Weimer wrote:
> On 01/19/2018 05:39 PM, Florian Weimer wrote:
>> 2018-01-12  Florian Weimer<fweimer@redhat.com>
>>
>>     [BZ #20890]
>>     * elf/cache.c (save_cache): Call fsync on temporary file before
>>     renaming it.
>>     (save_aux_cache): Call fdatasync on temporary file before renaming
>>     it.
> 
> Ping?

LGTM.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>

> 
> <https://sourceware.org/ml/libc-alpha/2018-01/msg00660.html>
> 
> Thanks,
> Florian



More information about the Libc-alpha mailing list