Re: [Qemu-devel] [PATCH 19/34] linux-user: Restart fork() if signals pending

2015-09-11 Thread Peter Maydell
On 6 September 2015 at 00:57, Timothy E Baldwin wrote: > If there is a signal pending during fork() the signal handler will > erroneously be called in both the parent and child, so handle any > pending signals first. > > Signed-off-by: Timothy Edward Baldwin > --- > linux-user/syscall.c | 5

[Qemu-devel] [PATCH 19/34] linux-user: Restart fork() if signals pending

2015-09-05 Thread Timothy E Baldwin
If there is a signal pending during fork() the signal handler will erroneously be called in both the parent and child, so handle any pending signals first. Signed-off-by: Timothy Edward Baldwin --- linux-user/syscall.c | 5 + 1 file changed, 5 insertions(+) diff --git a/linux-user/syscall.c