NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/60275: sh(1): race condition in signal handling on background subshell fork
The following reply was made to PR bin/60275; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: netbsd-bugs%netbsd.org@localhost, campbell+netbsd%mumble.net@localhost
Subject: Re: bin/60275: sh(1): race condition in signal handling on background subshell fork
Date: Sun, 17 May 2026 23:52:06 +0700
The change I just committed to src/bin/sh/trap.c (HEAD) seems
to fix the problem that you're having. I believe it will
apply cleanly to -11 if you want to try it there (and is probably
simple enough for a pullup if desired).
It has been a long time since I looked at -10 (let alone -9) sh
sources, but even if it isn't clean there, it should be easy to
retrofit if desired - but for such an exotic issue, I'm not sure
it is really worth the effort.
kre
Home |
Main Index |
Thread Index |
Old Index