Messages in this thread | | | Date | Wed, 26 Nov 2003 10:21:00 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: Signal left blocked after signal handler. |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |