signal: Make sure that the signal mask is actually unsigned long.