Martin Schwidefsky 9dce990d2c s390/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.

convert_vx_to_fp() is adapted to handle only a specified number of
registers rather than unconditionally handling all of them: other
callers of this function are adapted appropriately.

Based on an initial patch by Dave Martin.

Cc: stable@vger.kernel.org
Reported-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2017-01-24 08:33:40 +01:00
..
2012-05-16 14:42:41 +02:00
2015-06-25 09:39:26 +02:00
2016-08-29 11:05:01 +02:00
2015-03-25 11:49:33 +01:00
2016-08-07 23:47:20 -04:00
2015-03-25 11:49:33 +01:00
2016-12-14 16:33:40 +01:00
2016-02-11 13:05:56 +01:00