diff options
| author | Peter Maydell | 2016-07-06 16:09:29 +0200 |
|---|---|---|
| committer | Riku Voipio | 2016-07-19 14:23:16 +0200 |
| commit | 31efaef1d9b80b7803e22ef28ffc51df04db60ab (patch) | |
| tree | d46156d7a59537b364e30aa6365e40e1c85f4630 /linux-user/ioctls.h | |
| parent | linux-user: Correct type for LOOP_GET_STATUS{,64} ioctls (diff) | |
| download | qemu-31efaef1d9b80b7803e22ef28ffc51df04db60ab.tar.gz qemu-31efaef1d9b80b7803e22ef28ffc51df04db60ab.tar.xz qemu-31efaef1d9b80b7803e22ef28ffc51df04db60ab.zip | |
linux-user: Forget about synchronous signal once it is delivered
Commit 655ed67c2a248cf which switched synchronous signals to
benig recorded in ts->sync_signal rather than in a queue
with every other signal had a bug: we failed to clear
the flag indicating that a synchronous signal was pending
when we delivered it. This meant that we would take the signal
again and again every time the guest made a syscall.
(This is a bug introduced in my refactoring of Timothy Baldwin's
original code.)
Fix this by passing in the struct emulated_sigtable* to
handle_pending_signal(), so that we clear the pending flag
in the ts->sync_signal struct when handling a synchronous signal.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/ioctls.h')
0 files changed, 0 insertions, 0 deletions
