Martin Schwidefsky 8d7f6690ce s390: fix kernel crash due to linkage stack instructions
The kernel currently crashes with a low-address-protection exception
if a user space process executes an instruction that tries to use the
linkage stack. Set the base-ASTE origin and the subspace-ASTE origin
of the dispatchable-unit-control-table to point to a dummy ASTE.
Set up control register 15 to point to an empty linkage stack with no
room left.

A user space process with a linkage stack instruction will still crash
but with a different exception which is correctly translated to a
segmentation fault instead of a kernel oops.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2014-02-05 11:00:50 +01:00
..
2012-05-16 14:42:41 +02:00
2013-10-24 17:17:06 +02:00
2011-01-05 12:47:31 +01:00
2013-05-15 13:09:09 +02:00
2013-05-15 13:09:09 +02:00
2013-11-13 12:09:05 +09:00
2013-08-22 12:20:08 +02:00
2013-06-05 17:36:21 +02:00
2013-01-08 10:57:10 +01:00
2013-04-17 14:07:28 +02:00