diff options
author | Dave Martin <Dave.Martin@arm.com> | 2017-03-27 17:10:59 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-03-29 18:54:17 +0300 |
commit | d3805c546b275c8cc7d40f759d029ae92c7175f2 (patch) | |
tree | 5079b224816aa16b627eaf853da9403ad4747da8 /arch/c6x | |
parent | d614fd58a2834cfe4efa472c33c8f3ce2338b09b (diff) | |
download | linux-d3805c546b275c8cc7d40f759d029ae92c7175f2.tar.xz |
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>
Diffstat (limited to 'arch/c6x')
0 files changed, 0 insertions, 0 deletions