From: Martin Schwidefsky Date: Sat, 4 Jun 2005 22:43:30 +0000 (-0700) Subject: [PATCH] s390: ptrace peek and poke X-Git-Tag: v2.6.12-rc6~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=778959db97c7ed8eed4025916916b17a4629ce3d;p=pandora-kernel.git [PATCH] s390: ptrace peek and poke 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed