summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/Makefile
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-08-20 17:14:54 -0700
committerDavid S. Miller <davem@davemloft.net>2011-08-20 17:14:54 -0700
commit5598473a5b40c47a8c5349dd2c2630797169cf1a (patch)
tree514474c6359d158fe1adc7477dbcf64c326b1770 /arch/sparc/kernel/Makefile
parent4a0342ca8e8150bd47e7118a76e300692a1b6b7b (diff)
downloadop-kernel-dev-5598473a5b40c47a8c5349dd2c2630797169cf1a.zip
op-kernel-dev-5598473a5b40c47a8c5349dd2c2630797169cf1a.tar.gz
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/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/Makefile b/arch/sparc/kernel/Makefile
index b90b4a1..cb85458 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
OpenPOWER on IntegriCloud