Re: alt signal stack fixes

2012-11-29 Thread Philip Guenther
On Fri, Nov 16, 2012 at 11:45 AM, Philip Guenther wrote: > The diff below changes the alt sig stack logic to dynamically determine > whether the thread is currently on the alt stack, by comparing the stack > pointer against the altstack base and size, so that you get the correct > answer if you lo

alt signal stack fixes

2012-11-16 Thread Philip Guenther
The diff below changes the alt sig stack logic to dynamically determine whether the thread is currently on the alt stack, by comparing the stack pointer against the altstack base and size, so that you get the correct answer if you longjmp out of the signal handler, as tested by regress/sys/kern