bug-bash
[Top][All Lists]
Advanced

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

Re: [bug #67723] bash 5.3 breaks sourcing Linux sysfs uevent files


From: Andreas Schwab
Subject: Re: [bug #67723] bash 5.3 breaks sourcing Linux sysfs uevent files
Date: Mon, 24 Nov 2025 15:24:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

On Nov 24 2025, Chet Ramey wrote:

> 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 use of the unspecified value of errno is certainly a bug in bash.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

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