Re: Signal left blocked after signal handler.

From: Linus Torvalds
Date: Wed Nov 26 2003 - 13:22:10 EST



On Wed, 26 Nov 2003, Bruce Perens wrote:
>
> Sigsetjmp will save and restore the signal mask ONLY if its second
> argument is nonzero. The libc code is correct.

Oh, I didn't notice that part.

> The test program works properly under 2.4 .

What do you mean "properly"? If you're not saving/restoring the sigmasks,
then the 2.6.x behaviour is the right one and your program is buggy.

What's your point?

Linus
-
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/