diff options
author | Alex Barcelo <abarcelo@ac.upc.edu> | 2014-03-14 14:36:55 +0000 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2014-03-17 11:44:32 +0200 |
commit | 1c275925bfbbc2de84a8f0e09d1dd70bbefb6da3 (patch) | |
tree | 8b95260e92c5032bb591afd062dea2360edeaeca /migration-rdma.c | |
parent | 6b1275ff15b205a7738aa8ba96fe355f097b5879 (diff) |
signal: added a wrapper for sigprocmask function
Create a wrapper for signal mask changes initiated by the guest;
(this includes syscalls and also the sigreturns from signal.c)
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 sigprocmask calls.
Signed-off-by: Alex Barcelo <abarcelo@ac.upc.edu>
[PMM: Added calls to wrapper for sigprocmask uses in signal.c
when setting the signal mask on entry and exit from signal
handlers, since these also are guest-provided signal masks.]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'migration-rdma.c')
0 files changed, 0 insertions, 0 deletions