Re: Signal handling possibly wrong

From: Robert Wilkens
Date: Tue Aug 09 2005 - 13:26:05 EST


> Kernel code blocks both "handled signal" _and_ sa_mask only if SA_NODEFER
> isn't set.
>
> Which is the right behavior?

Perhaps both?

I'm novice here, but if i'm reading the man page correctly, it says:

SA_NODEFER
Do not prevent the signal from being received from within
its own signal handler.
(they also imply that SA_NOMASK is the old name for this,
which might make it clear what it's use is).

In which case blocking (masking) when it's not set is exactly what it's
supposed to do.

-Rob

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/