]> git.ipfire.org Git - thirdparty/qemu.git/commit - linux-user/syscall.c
linux-user: Use safe_syscall for sigsuspend syscalls
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 27 May 2016 14:51:48 +0000 (15:51 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Tue, 7 Jun 2016 13:39:06 +0000 (16:39 +0300)
commit2fe4fba115b5b9f7e6722720c57810e0fc64b9b5
tree6bcbbaee3781d5ebc03c84cec6a476b4fd5b3d4b
parentb28a1f333a5875e6f48725efd19c76fc3d27d8d1
linux-user: Use safe_syscall for sigsuspend syscalls

Use the safe_syscall wrapper for sigsuspend syscalls. This
means that we will definitely deliver a signal that arrives
before we do the sigsuspend call, rather than blocking first
and delivering afterwards.

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>
linux-user/syscall.c