diff options
| author | Timothy E Baldwin <T.E.Baldwin99@members.leeds.ac.uk> | 2016-05-27 15:51:54 +0100 |
|---|---|---|
| committer | Riku Voipio <riku.voipio@linaro.org> | 2016-06-07 16:39:07 +0300 |
| commit | ef6a778ea2af4ebcf08a84cc9314cfe7cf2a2299 (patch) | |
| tree | 372288a3d559a323da1debc51cd987eaed7938d2 /linux-user/syscall.c | |
| parent | 655ed67c2a248cf0a887229d8492d6ddc0518545 (diff) | |
| download | focaccia-qemu-ef6a778ea2af4ebcf08a84cc9314cfe7cf2a2299.tar.gz focaccia-qemu-ef6a778ea2af4ebcf08a84cc9314cfe7cf2a2299.zip | |
linux-user: Block signals during sigaction() handling
Block signals while emulating sigaction. This is a non-interruptible syscall, and using block_signals() avoids races where the host signal handler is invoked and tries to examine the signal handler data structures while we are updating them. Signed-off-by: Timothy Edward Baldwin <T.E.Baldwin99@members.leeds.ac.uk> Message-id: 1441497448-32489-29-git-send-email-T.E.Baldwin99@members.leeds.ac.uk [PMM: expanded commit message] Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions