Skip to content
Commit d3805c54 authored by Dave Martin's avatar Dave Martin Committed by Linus Torvalds
Browse files

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: default avatarDave Martin <Dave.Martin@arm.com>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d614fd58
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment