bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] fchmodat, lchmod: port to buggy Linux filesystems


From: Bruno Haible
Subject: Re: [PATCH] fchmodat, lchmod: port to buggy Linux filesystems
Date: Sun, 16 Feb 2020 19:58:32 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-171-generic; KDE/5.18.0; x86_64; ; )

Hi Paul,

> One other possible bug is that the mode could change temporarily and then 
> spontaneously revert later, because the updated mode was cached but not 
> committed to stable storage. Filesystem bugs can be nasty.

The S_ISLNK check that you put in bypasses this dark/fuzzy area in the kernel.
Therefore I won't check against this possible bug in a unit test. Let the
kernel people do this.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]