diff options
author | 2017-01-18 16:25:20 +0000 | |
---|---|---|
committer | 2017-01-18 18:05:02 +0000 | |
commit | 9a17b876b573441bfb3387ad55d98bf7184daf9d (patch) | |
tree | 8756fec6c654dd65fb7e6783e7d7fc7db4761617 /arch/arm64/mm | |
parent | arm64: mm: avoid name clash in __page_to_voff() (diff) | |
download | linux-9a17b876b573441bfb3387ad55d98bf7184daf9d.tar.gz linux-9a17b876b573441bfb3387ad55d98bf7184daf9d.tar.bz2 linux-9a17b876b573441bfb3387ad55d98bf7184daf9d.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> # 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>
Diffstat (limited to 'arch/arm64/mm')
0 files changed, 0 insertions, 0 deletions