diff options
author | 2017-01-18 16:25:22 +0000 | |
---|---|---|
committer | 2017-01-18 18:05:08 +0000 | |
commit | a672401c00f82e4e19704aff361d9bad18003714 (patch) | |
tree | 9c3f17a8057785d063b1e6c4b55112b44997deb9 /ipc | |
parent | arm64/ptrace: Preserve previous registers for short regset write (diff) | |
download | linux-a672401c00f82e4e19704aff361d9bad18003714.tar.gz linux-a672401c00f82e4e19704aff361d9bad18003714.tar.bz2 linux-a672401c00f82e4e19704aff361d9bad18003714.zip |
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> # 4.3.x-
Fixes: 5d220ff9420f ("arm64: Better native ptrace support for compat tasks")
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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions