bug-bash
[Top][All Lists]
Advanced

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

Re: Possible race condition in bash


From: Andreas Schwab
Subject: Re: Possible race condition in bash
Date: Sat, 21 Nov 2020 19:25:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

On Nov 21 2020, Chet Ramey wrote:

> This is a potential race condition, but it's not with the shell.

The race with the trap command in the function is obvious, but that
should not result in the signal to be ignored.  There should always be a
trap active, either the main one or the one in the function, and neither
ignores the signal.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



reply via email to

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