Re: [Qemu-devel] [PATCH 00/34] linux-user: Fix signal race conditions and SA_RESTART

2015-10-02 Thread Riku Voipio
Hi Timothy, On Thu, Sep 10, 2015 at 07:00:18PM +0100, Peter Maydell wrote: > On 6 September 2015 at 00:56, Timothy E Baldwin > wrote: > > There are many races with signals in linux user: > > > > - Multiple host signals in quick succession, fixed by keeping host signals > >blocked, and checki

Re: [Qemu-devel] [PATCH 00/34] linux-user: Fix signal race conditions and SA_RESTART

2015-09-10 Thread Peter Maydell
On 6 September 2015 at 00:56, Timothy E Baldwin wrote: > There are many races with signals in linux user: > > - Multiple host signals in quick succession, fixed by keeping host signals >blocked, and checking if target signals are blocked before calling >target signal handler. > - Signal

[Qemu-devel] [PATCH 00/34] linux-user: Fix signal race conditions and SA_RESTART

2015-09-05 Thread Timothy E Baldwin
There are many races with signals in linux user: - Multiple host signals in quick succession, fixed by keeping host signals blocked, and checking if target signals are blocked before calling target signal handler. - Signal shortly before blocking system call, fixed by either: - Block ho