diff options
author | David S. Miller <davem@davemloft.net> | 2011-08-21 02:14:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-21 02:14:54 +0200 |
commit | 5598473a5b40c47a8c5349dd2c2630797169cf1a (patch) | |
tree | 514474c6359d158fe1adc7477dbcf64c326b1770 /arch/sparc/kernel/Makefile | |
parent | sparc: fix array bounds error setting up PCIC NMI trap (diff) | |
download | linux-5598473a5b40c47a8c5349dd2c2630797169cf1a.tar.xz linux-5598473a5b40c47a8c5349dd2c2630797169cf1a.zip |
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>
Diffstat (limited to 'arch/sparc/kernel/Makefile')
-rw-r--r-- | arch/sparc/kernel/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/Makefile b/arch/sparc/kernel/Makefile index b90b4a1d070a..cb85458f89d2 100644 --- a/arch/sparc/kernel/Makefile +++ b/arch/sparc/kernel/Makefile @@ -32,6 +32,7 @@ obj-$(CONFIG_SPARC32) += sun4m_irq.o sun4c_irq.o sun4d_irq.o obj-y += process_$(BITS).o obj-y += signal_$(BITS).o +obj-y += sigutil_$(BITS).o obj-$(CONFIG_SPARC32) += ioport.o obj-y += setup_$(BITS).o obj-y += idprom.o |