Files
linux/arch/x86/um
Richard Weinberger 9e74819678 um: Fix PTRACE_POKEUSER on x86_64
commit 9abc74a22d upstream.

This is broken since ever but sadly nobody noticed.
Recent versions of GDB set DR_CONTROL unconditionally and
UML dies due to a heap corruption. It turns out that
the PTRACE_POKEUSER was copy&pasted from i386 and assumes
that addresses are 4 bytes long.

Fix that by using 8 as address size in the calculation.

Reported-by: jie cao <cj3054@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-20 14:49:42 +02:00
..
2016-08-04 00:18:06 +02:00
2011-11-02 14:15:05 +01:00
2012-12-20 11:49:39 -08:00
2015-05-31 17:31:42 +02:00
2015-05-31 17:31:42 +02:00
2017-05-20 14:49:42 +02:00
2015-11-06 22:49:11 +01:00