]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user: Properly handle sigset arg to epoll_pwait
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 15 Mar 2022 08:43:07 +0000 (01:43 -0700)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 22 Mar 2022 12:06:21 +0000 (13:06 +0100)
commitcd0e31a49a1af452b8abf1efa38d035b500c9d0a
tree7e544cd0284a53283791f9b9d062d9ddf6b3e02d
parentcb22603444a262cd4d7d07c2ac1301a3df64769f
linux-user: Properly handle sigset arg to epoll_pwait

Unblocked signals are never delivered, because we
didn't record the new mask for process_pending_signals.
Handle this with the same mechanism as sigsuspend.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220315084308.433109-5-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/syscall.c