diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-05-27 15:51:46 +0100 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2016-06-07 16:39:06 +0300 |
commit | 9eede5b69fbbed46f29c7c586cf9e067f56002a6 (patch) | |
tree | 15862e63ffef405a437964aafb8d275c98972064 /linux-user/syscall.c | |
parent | 7ec87e06c7371c6c574de8ce2cb6553a26c3f3de (diff) |
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 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions