summaryrefslogtreecommitdiffstats
path: root/monitor.c
diff options
context:
space:
mode:
authorPeter Maydell2016-05-27 16:51:46 +0200
committerRiku Voipio2016-06-07 15:39:06 +0200
commit9eede5b69fbbed46f29c7c586cf9e067f56002a6 (patch)
tree15862e63ffef405a437964aafb8d275c98972064 /monitor.c
parentlinux-user: Fix stray tab-indent (diff)
downloadqemu-9eede5b69fbbed46f29c7c586cf9e067f56002a6.tar.gz
qemu-9eede5b69fbbed46f29c7c586cf9e067f56002a6.tar.xz
qemu-9eede5b69fbbed46f29c7c586cf9e067f56002a6.zip
linux-user: Factor out uses of do_sigprocmask() from sigreturn code
All the architecture specific handlers for sigreturn include calls to do_sigprocmask(SIGSETMASK, &set, NULL) to set the signal mask from the uc_sigmask in the context being restored. Factor these out into calls to a set_sigmask() function. The next patch will want to add code which is not run when setting the signal mask via do_sigreturn, and this change allows us to separate the two cases. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'monitor.c')
0 files changed, 0 insertions, 0 deletions