Files
linux/arch/s390/kernel
Martin Schwidefsky bae49e72f9 s390/ptrace: Preserve previous registers for short regset write
commit 9dce990d2c upstream.

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.

Reported-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-02-01 08:30:52 +01:00
..
2015-08-07 09:57:39 +02:00
2015-08-07 09:57:39 +02:00
2012-05-16 14:42:41 +02:00
2015-06-25 09:39:26 +02:00
2011-01-05 12:47:31 +01:00
2015-03-25 11:49:33 +01:00
2016-04-12 09:08:31 -07:00
2015-03-25 11:49:33 +01:00
2015-11-16 12:51:11 +01:00
2015-01-22 12:16:01 +01:00
2015-03-25 11:49:33 +01:00
2015-10-27 09:33:57 +01:00
2015-03-25 11:49:33 +01:00
2015-03-25 11:49:33 +01:00
2015-11-16 12:51:07 +01:00
2015-10-14 14:32:01 +02:00
2015-03-25 11:49:33 +01:00