[PATCH 0/3] signal: alternative signal stack wraparound occurs

2007-10-03 Thread Shi Weihua
Hi everyone, If a process uses alternative signal stack by using sigaltstack(), then that stack overflows and stack wraparound occurs. Simple Explanation: The accurate esp order is A,B,C,D,... But now the esp points to A,B,C and A,B,C again. When I tested sigaltstack() and try to kill a same

[PATCH 0/3] signal: alternative signal stack wraparound occurs

2007-10-03 Thread Shi Weihua
Hi everyone, If a process uses alternative signal stack by using sigaltstack(), then that stack overflows and stack wraparound occurs. Simple Explanation: The accurate esp order is A,B,C,D,... But now the esp points to A,B,C and A,B,C again. When I tested sigaltstack() and try to kill a same