Subject: Re: CVS commit: src/sbin/dump
To: Juergen Hannken-Illjes <hannken@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: source-changes
Date: 02/18/2004 14:53:43
On Wed, 18 Feb 2004, Juergen Hannken-Illjes wrote:
> Modified Files:
> 	src/sbin/dump: tape.c
> 
> Log Message:
> Avoid signal race condition. If a slave gets the SIGUSR2 signal between
> the "setjmp" and the "ready = 1" statements the slave will pause forever
> and the complet dump hangs.
> 
> Fixes PR #24453

Thank you!  Yes, this does seem to fix the problem for me.

Why was the race not noticed before?  The relevant part of dump/tape.c
seems to have been unmodified for several years.

--apb (Alan Barrett)