diff options
author | 2017-03-27 15:10:59 +0100 | |
---|---|---|
committer | 2017-03-29 08:54:17 -0700 | |
commit | d3805c546b275c8cc7d40f759d029ae92c7175f2 (patch) | |
tree | 5079b224816aa16b627eaf853da9403ad4747da8 /arch/h8300 | |
parent | mips/ptrace: Preserve previous registers for short regset write (diff) | |
download | linux-d3805c546b275c8cc7d40f759d029ae92c7175f2.tar.gz linux-d3805c546b275c8cc7d40f759d029ae92c7175f2.tar.bz2 linux-d3805c546b275c8cc7d40f759d029ae92c7175f2.zip |
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/h8300')
0 files changed, 0 insertions, 0 deletions