/linux/arch/sparc/kernel/ |
H A D | sigutil.h | 5598473a5b40c47a8c5349dd2c2630797169cf1a Sun Aug 21 02:14:54 CEST 2011 David S. Miller <davem@davemloft.net> sparc: Allow handling signals when stack is corrupted.
If we can't push the pending register windows onto the user's stack, we disallow signal delivery even if the signal would be delivered on a valid seperate signal stack.
Add a register window save area in the signal frame, and store any unsavable windows there.
On sigreturn, if any windows are still queued up in the signal frame, try to push them back onto the stack and if that fails we kill the process immediately.
This allows the debug/tst-longjmp_chk2 glibc test case to pass.
Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | sigutil_32.c | 5598473a5b40c47a8c5349dd2c2630797169cf1a Sun Aug 21 02:14:54 CEST 2011 David S. Miller <davem@davemloft.net> sparc: Allow handling signals when stack is corrupted.
If we can't push the pending register windows onto the user's stack, we disallow signal delivery even if the signal would be delivered on a valid seperate signal stack.
Add a register window save area in the signal frame, and store any unsavable windows there.
On sigreturn, if any windows are still queued up in the signal frame, try to push them back onto the stack and if that fails we kill the process immediately.
This allows the debug/tst-longjmp_chk2 glibc test case to pass.
Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | sigutil_64.c | 5598473a5b40c47a8c5349dd2c2630797169cf1a Sun Aug 21 02:14:54 CEST 2011 David S. Miller <davem@davemloft.net> sparc: Allow handling signals when stack is corrupted.
If we can't push the pending register windows onto the user's stack, we disallow signal delivery even if the signal would be delivered on a valid seperate signal stack.
Add a register window save area in the signal frame, and store any unsavable windows there.
On sigreturn, if any windows are still queued up in the signal frame, try to push them back onto the stack and if that fails we kill the process immediately.
This allows the debug/tst-longjmp_chk2 glibc test case to pass.
Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | signal_32.c | diff 5598473a5b40c47a8c5349dd2c2630797169cf1a Sun Aug 21 02:14:54 CEST 2011 David S. Miller <davem@davemloft.net> sparc: Allow handling signals when stack is corrupted.
If we can't push the pending register windows onto the user's stack, we disallow signal delivery even if the signal would be delivered on a valid seperate signal stack.
Add a register window save area in the signal frame, and store any unsavable windows there.
On sigreturn, if any windows are still queued up in the signal frame, try to push them back onto the stack and if that fails we kill the process immediately.
This allows the debug/tst-longjmp_chk2 glibc test case to pass.
Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | Makefile | diff 5598473a5b40c47a8c5349dd2c2630797169cf1a Sun Aug 21 02:14:54 CEST 2011 David S. Miller <davem@davemloft.net> sparc: Allow handling signals when stack is corrupted.
If we can't push the pending register windows onto the user's stack, we disallow signal delivery even if the signal would be delivered on a valid seperate signal stack.
Add a register window save area in the signal frame, and store any unsavable windows there.
On sigreturn, if any windows are still queued up in the signal frame, try to push them back onto the stack and if that fails we kill the process immediately.
This allows the debug/tst-longjmp_chk2 glibc test case to pass.
Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | signal_64.c | diff 5598473a5b40c47a8c5349dd2c2630797169cf1a Sun Aug 21 02:14:54 CEST 2011 David S. Miller <davem@davemloft.net> sparc: Allow handling signals when stack is corrupted.
If we can't push the pending register windows onto the user's stack, we disallow signal delivery even if the signal would be delivered on a valid seperate signal stack.
Add a register window save area in the signal frame, and store any unsavable windows there.
On sigreturn, if any windows are still queued up in the signal frame, try to push them back onto the stack and if that fails we kill the process immediately.
This allows the debug/tst-longjmp_chk2 glibc test case to pass.
Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | signal32.c | diff 5598473a5b40c47a8c5349dd2c2630797169cf1a Sun Aug 21 02:14:54 CEST 2011 David S. Miller <davem@davemloft.net> sparc: Allow handling signals when stack is corrupted.
If we can't push the pending register windows onto the user's stack, we disallow signal delivery even if the signal would be delivered on a valid seperate signal stack.
Add a register window save area in the signal frame, and store any unsavable windows there.
On sigreturn, if any windows are still queued up in the signal frame, try to push them back onto the stack and if that fails we kill the process immediately.
This allows the debug/tst-longjmp_chk2 glibc test case to pass.
Signed-off-by: David S. Miller <davem@davemloft.net>
|
/linux/arch/sparc/include/asm/ |
H A D | sigcontext.h | diff 5598473a5b40c47a8c5349dd2c2630797169cf1a Sun Aug 21 02:14:54 CEST 2011 David S. Miller <davem@davemloft.net> sparc: Allow handling signals when stack is corrupted.
If we can't push the pending register windows onto the user's stack, we disallow signal delivery even if the signal would be delivered on a valid seperate signal stack.
Add a register window save area in the signal frame, and store any unsavable windows there.
On sigreturn, if any windows are still queued up in the signal frame, try to push them back onto the stack and if that fails we kill the process immediately.
This allows the debug/tst-longjmp_chk2 glibc test case to pass.
Signed-off-by: David S. Miller <davem@davemloft.net>
|