Dave Martin 228dbbfb5d ARM: 8643/3: arm/ptrace: Preserve previous registers for short regset write
Ensure that if userspace supplies insufficient data to
PTRACE_SETREGSET to fill all the registers, the thread's old
registers are preserved.

Cc: <stable@vger.kernel.org> # 3.0.x-
Fixes: 5be6f62b0059 ("ARM: 6883/1: ptrace: Migrate to regsets framework")
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2017-01-30 12:04:12 +00:00
..
2008-08-12 19:54:09 +01:00
2015-05-20 23:09:51 +02:00
2014-11-21 15:24:50 +00:00
2014-11-21 15:24:50 +00:00
2012-03-28 18:30:01 +01:00
2014-11-21 15:24:50 +00:00
2014-11-21 15:25:02 +00:00
2016-12-25 10:47:44 +01:00
2014-11-21 15:24:50 +00:00
2016-11-15 15:25:39 +00:00
2016-11-16 23:51:19 +00:00