diff options
author | Dave Martin <Dave.Martin@arm.com> | 2017-01-05 16:50:57 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-01-20 14:54:43 +1100 |
commit | 99dfe80a2a246c600440a815741fd2e74a8b4977 (patch) | |
tree | d63db8f9b737a2a2cac0e70a030dbfb5cc3fc007 /include/crypto/crypto_wq.h | |
parent | 27593d72c4ad451ed13af35354b941bcd0abcec6 (diff) |
powerpc/ptrace: Preserve previous fprs/vsrs on 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.
Fixes: c6e6771b87d4 ("powerpc: Introduce VSX thread_struct and CONFIG_VSX")
Cc: stable@vger.kernel.org # v2.6.27+
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'include/crypto/crypto_wq.h')
0 files changed, 0 insertions, 0 deletions