Check return values of sigemptyset/sigaction