diff options
author | Dave Martin <Dave.Martin@arm.com> | 2017-01-05 16:50:57 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-26 07:24:39 (GMT) |
commit | e097785467134635a99a223168ff3825c6fb9d01 (patch) | |
tree | d4737ab98dcec1f6bb3b90ec4ab80a86075f1b52 /arch/powerpc/include | |
parent | 9e10a0fc73122e90544875ec8375f1e9a187bb25 (diff) | |
download | linux-e097785467134635a99a223168ff3825c6fb9d01.tar.xz |
powerpc/ptrace: Preserve previous TM fprs/vsrs on short regset write
commit b34ca60148c53971d373643195cc5c4d5d20be78 upstream.
Ensure that if userspace supplies insufficient data to PTRACE_SETREGSET
to fill all the check pointed registers, the thread's old check pointed
registers are preserved.
Fixes: 9d3918f7c0e5 ("powerpc/ptrace: Enable support for NT_PPC_CVSX")
Fixes: 19cbcbf75a0c ("powerpc/ptrace: Enable support for NT_PPC_CFPR")
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc/include')
0 files changed, 0 insertions, 0 deletions