Re: [PATCH 1/5] signal(x86_32): Improve the signal stack overflowcheck
From: H. Peter Anvin
Date: Tue Feb 19 2008 - 18:27:21 EST
Paul Mackerras wrote:
Ingo Molnar writes:
* Shi Weihua <shiwh@xxxxxxxxxxxxxx> wrote:
We need to check for stack overflow only when the signal is on stack.
So we can improve the patch "http://lkml.org/lkml/2007/11/27/101" as
following.
thanks, applied.
These patches change the behaviour of programs that longjmp out of a
signal handler on an alternate stack, don't they?
I'm interested to know what gave you confidence that changing that
behaviour won't break existing working programs.
Shouldn't such programs use sigsetjmp/siglongjmp, which should reset the
signal stack state?
-hpa
--
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/