commit | d3805c546b275c8cc7d40f759d029ae92c7175f2 | [log] [tgz] |
---|---|---|
author | Dave Martin <Dave.Martin@arm.com> | Mon Mar 27 15:10:59 2017 +0100 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Mar 29 08:54:17 2017 -0700 |
tree | 5079b224816aa16b627eaf853da9403ad4747da8 | |
parent | d614fd58a2834cfe4efa472c33c8f3ce2338b09b [diff] |
sparc/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. Signed-off-by: Dave Martin <Dave.Martin@arm.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>