summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/setup.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2005-06-05 00:43:30 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-05 02:13:00 +0200
commit778959db97c7ed8eed4025916916b17a4629ce3d (patch)
treea1e901eac1c3d567df29cd87e76ff804b4753d83 /arch/s390/kernel/setup.c
parent[PATCH] mpage_end_io_write() I/O error handling fix (diff)
downloadlinux-778959db97c7ed8eed4025916916b17a4629ce3d.tar.xz
linux-778959db97c7ed8eed4025916916b17a4629ce3d.zip
[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 <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/s390/kernel/setup.c')
0 files changed, 0 insertions, 0 deletions