diff options
| author | Timothy E Baldwin | 2016-05-27 16:51:54 +0200 |
|---|---|---|
| committer | Riku Voipio | 2016-06-07 15:39:07 +0200 |
| commit | ef6a778ea2af4ebcf08a84cc9314cfe7cf2a2299 (patch) | |
| tree | 372288a3d559a323da1debc51cd987eaed7938d2 /linux-user/syscall.c | |
| parent | linux-user: Queue synchronous signals separately (diff) | |
| download | qemu-ef6a778ea2af4ebcf08a84cc9314cfe7cf2a2299.tar.gz qemu-ef6a778ea2af4ebcf08a84cc9314cfe7cf2a2299.tar.xz 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
