diff options
author | Timothy E Baldwin | 2016-05-27 16:51:58 +0200 |
---|---|---|
committer | Riku Voipio | 2016-06-07 15:39:08 +0200 |
commit | 7d92d34ee4c7988f5ef6c8a5ed23d2c3e0837253 (patch) | |
tree | cb274ac50ff93805c943c50b39d6604c53871737 /linux-user/signal.c | |
parent | linux-user: Use safe_syscall for kill, tkill and tgkill syscalls (diff) | |
download | qemu-7d92d34ee4c7988f5ef6c8a5ed23d2c3e0837253.tar.gz qemu-7d92d34ee4c7988f5ef6c8a5ed23d2c3e0837253.tar.xz qemu-7d92d34ee4c7988f5ef6c8a5ed23d2c3e0837253.zip |
linux-user: Restart fork() if signals pending
If there is a signal pending during fork() the signal handler will
erroneously be called in both the parent and child, so handle any
pending signals first.
Signed-off-by: Timothy Edward Baldwin <T.E.Baldwin99@members.leeds.ac.uk>
Message-id: 1441497448-32489-20-git-send-email-T.E.Baldwin99@members.leeds.ac.uk
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/signal.c')
0 files changed, 0 insertions, 0 deletions