Implement more of the linux signal-related syscalls.
Followup to previous commit.