tile/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. Cc: stable@vger.kernel.org Signed-off-by: NDave Martin <Dave.Martin@arm.com> Signed-off-by: NChris Metcalf <cmetcalf@mellanox.com>
Showing
想要评论请 注册 或 登录