Staging
v0.5.1
https://github.com/torvalds/linux
Revision 778959db97c7ed8eed4025916916b17a4629ce3d authored by Martin Schwidefsky on 04 June 2005, 22:43:30 UTC, committed by Linus Torvalds on 05 June 2005, 00:13:00 UTC
The special cases of peek and poke on acrs[15] and the fpc register are not
handled correctly.  A poke on acrs[15] will clobber the 4 bytes after the
access registers in the thread_info structure.  That happens to be the kernel
stack pointer.  A poke on the fpc with an invalid value is not caught by the
validity check.  On the next context switch the broken fpc value will cause a
program check in the kernel.  Improving the checks in peek and poke fixes
this.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 854715b
History
Tip revision: 778959db97c7ed8eed4025916916b17a4629ce3d authored by Martin Schwidefsky on 04 June 2005, 22:43:30 UTC
[PATCH] s390: ptrace peek and poke
Tip revision: 778959d

README

back to top