On 11/22/25 5:08 AM, Andreas Schwab wrote:
On Nov 21 2025, Chet Ramey wrote:

Yes, this defeats the bash check. I tend to agree with kre that this is
a Linux kernel bug, but here we are.

I don't think so.  This can happen with any file (even "normal" regular
ones) if another process is modifying it just between the stat and the
read calls.

The problem is whether or not you think this is something that can happen
to a shell script, and whether the file `shrinking' indicates something
to be concerned about.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    [email protected]    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to