commit | 9a17b876b573441bfb3387ad55d98bf7184daf9d | [log] [tgz] |
---|---|---|
author | Dave Martin <Dave.Martin@arm.com> | Wed Jan 18 16:25:20 2017 +0000 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Wed Jan 18 18:05:02 2017 +0000 |
tree | 8756fec6c654dd65fb7e6783e7d7fc7db4761617 | |
parent | 1c8a946bf3754a59cba1fc373949a8114bfe5aaa [diff] |
arm64/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> # 3.7.x- Fixes: 478fcb2cdb23 ("arm64: Debugging support") Signed-off-by: Dave Martin <Dave.Martin@arm.com> Acked-by: Will Deacon <Will.Deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>