On 16/05/2016 19:37, Peter Maydell wrote: > The only other sigprocmask() uses are in linux-user, apart from > a couple in net/tap.c, where they're used as part of forking and > spawning the helper process. I suspect this should be using > qemu_fork() instead of doing it all by hand, wrongly...
In all fairness those predate qemu_fork(). :) Your patch also changes a Linux-only function, but it's cleaner to user pthread_sigmask so I've queued it for the next pull request. Paolo