While the glibc wrapper seems to always pass a valid pointer to the kernel, the latter does accept NULL pointers. This patch adds support to handle pselect6, ppoll, and epoll_pwait system calls with NULL sigmask parameter.
Adds tests for above.
Fixes #3911 (closed)