powerpc/ptrace: Preserve previous fprs/vsrs on 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. Fixes: c6e6771b ("powerpc: Introduce VSX thread_struct and CONFIG_VSX") Cc: stable@vger.kernel.org # v2.6.27+ Signed-off-by:Dave Martin <Dave.Martin@arm.com> Signed-off-by:
Michael Ellerman <mpe@ellerman.id.au>
parent
27593d72
Please register or sign in to comment