Files
kernel-tenderloin-3.0/arch/s390/kernel
Martin Schwidefsky a89c8adbd9 add missing .set function for NT_S390_LAST_BREAK regset
commit b934069c991355d27a053a932591c77960f4e414 upstream.

The last breaking event address is a read-only value, the regset misses the
.set function. If a PTRACE_SETREGSET is done for NT_S390_LAST_BREAK we
get an oops due to a branch to zero:

Kernel BUG at 0000000000000002 verbose debug info unavailable
illegal operation: 0001 #1 SMP
...
Call Trace:
(<0000000000158294> ptrace_regset+0x184/0x188)
 <00000000001595b6> ptrace_request+0x37a/0x4fc
 <0000000000109a78> arch_ptrace+0x108/0x1fc
 <00000000001590d6> SyS_ptrace+0xaa/0x12c
 <00000000005c7a42> sysc_noemu+0x16/0x1c
 <000003fffd5ec10c> 0x3fffd5ec10c
Last Breaking-Event-Address:
 <0000000000158242> ptrace_regset+0x132/0x188

Add a nop .set function to prevent the branch to zero.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-09 08:52:45 -08:00
..
2011-01-05 12:47:31 +01:00
2010-10-15 15:53:27 +02:00
2011-05-26 09:48:24 +02:00
2011-01-05 12:47:31 +01:00
2011-04-04 09:43:33 +02:00
2011-05-26 09:48:24 +02:00
2011-04-04 13:43:16 -04:00
2011-01-05 12:47:31 +01:00
2010-10-07 14:08:55 +01:00
2011-03-31 11:26:23 -03:00
2010-03-08 16:55:37 +01:00
2011-01-05 12:47:31 +01:00
2011-05-28 10:48:39 -07:00
2011-05-26 09:48:24 +02:00
2011-05-26 09:48:24 +02:00
2011-05-26 09:48:24 +02:00