Add handling of sigprocmask-bundling syscalls: epoll_pwait and pselect
Created by: c0d1ngm0nk3y
Hi,
See attached program which shows different behaviour when started native or with drrun.
description:
- A signal handler for SIGUSR is used
- Signal SIGUSR1 is blocked
- epoll_pwait with an empty sigmask is used to poll for the signal
native:
- the handler for SIGUSR1 is called whenever the signal is send
with drrun:
- the handler is not called
- as soon as another signal is send (e.g.SIGUSR2, not blocked), the SIGUSR1 handler is called
- from then on the program works as exepected
With epoll_wait, it seems to work fine. Unfortunately, that is not an option in my case :(
Best regards, Ralf