Re: [Qemu-devel] [PATCHv2 1/2] signal: added a wrapper for sigprocmask function

2012-10-18 Thread Peter Maydell
On 17 October 2012 23:06, Alex Barcelo wrote: > On Wed, Oct 17, 2012 at 5:01 PM, Peter Maydell > wrote: >> In my comments on v1 of this patch I wrote: >> "I think all the uses of sigprocmask() in linux-user/signal.c also >> need to be do_sigprocmask(), as they are the guest trying to control >>

Re: [Qemu-devel] [PATCHv2 1/2] signal: added a wrapper for sigprocmask function

2012-10-17 Thread Alex Barcelo
On Wed, Oct 17, 2012 at 5:01 PM, Peter Maydell wrote: > On 17 October 2012 15:18, Alex Barcelo wrote: >> Create a wrapper for signal mask changes initiated by the guest; >> this will give us a place to put code which prevents the guest >> from changing the handling of signals used by QEMU itself

Re: [Qemu-devel] [PATCHv2 1/2] signal: added a wrapper for sigprocmask function

2012-10-17 Thread Peter Maydell
On 17 October 2012 15:18, Alex Barcelo wrote: > Create a wrapper for signal mask changes initiated by the guest; > this will give us a place to put code which prevents the guest > from changing the handling of signals used by QEMU itself > internally. > > The wrapper is called from all the guest-i

[Qemu-devel] [PATCHv2 1/2] signal: added a wrapper for sigprocmask function

2012-10-17 Thread Alex Barcelo
Create a wrapper for signal mask changes initiated by the guest; this will give us a place to put code which prevents the guest from changing the handling of signals used by QEMU itself internally. The wrapper is called from all the guest-initiated sigprocmask, but is not called from internal qemu