Re: another subtle signals issue

From: Linus Torvalds (
Date: Wed Feb 12 2003 - 16:42:58 EST

On Wed, 12 Feb 2003, Roland McGrath wrote:
> This should be fine (almost). POSIX leaves it unspecified whether a
> blocked, ignored signal is left pending or not. The only thing it requires
> is that setting a blocked signal to SIG_IGN clears any pending signal, and
> sigaction already does that.

Hmm.. We could move the blocking test down, and only consider that for the
"SIG_DFL" case.

The function I did matches what the old signal code did, but the more
signals we can truly ignore, the better. I dunno.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:44 EST