Files
twx-linux/arch/mips/kernel
Maciej W. Rozycki f363b0cafb MIPS: Fix ptrace(2) PTRACE_PEEKUSR and PTRACE_POKEUSR accesses to o32 FGRs
commit 9a3a92ccfe upstream.

Check the TIF_32BIT_FPREGS task setting of the tracee rather than the
tracer in determining the layout of floating-point general registers in
the floating-point context, correcting access to odd-numbered registers
for o32 tracees where the setting disagrees between the two processes.

Fixes: 597ce1723e ("MIPS: Support for 64-bit FP with O32 binaries")
Signed-off-by: Maciej W. Rozycki <macro@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: <stable@vger.kernel.org> # 3.14+
Signed-off-by: James Hogan <jhogan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-30 07:48:50 +02:00
..
…
…
…
2017-04-18 07:14:35 +02:00
…
…
…
…
…
2016-06-07 18:14:30 -07:00
…
…
…
…
…
…
…
…
2017-11-15 17:13:12 +01:00
…
2015-11-11 08:36:46 +01:00
…
…
2017-07-05 14:37:15 +02:00
…
…
…
2016-06-07 18:14:30 -07:00