Files
linux/arch/mips/include/asm
Dmitry V. Levin d3c0999433 mips: fix mips_get_syscall_arg o32 check
commit c50cbd85cd upstream.

When checking for TIF_32BIT_REGS flag, mips_get_syscall_arg() should
use the task specified as its argument instead of the current task.

This potentially affects all syscall_get_arguments() users
who specify tasks different from the current.

Fixes: c0ff3c53d4 ("MIPS: Enable HAVE_ARCH_TRACEHOOK.")
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/21185/
Cc: Elvira Khabirova <lineprinter@altlinux.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org # v3.13+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-08 13:03:37 +01:00
..
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2017-11-03 09:02:30 -07:00
2017-08-29 15:21:50 +02:00
2016-04-03 12:32:09 +02:00
2013-02-01 10:00:22 +01:00
2014-01-22 20:19:02 +01:00
2017-09-06 11:01:52 +02:00
2017-08-29 15:21:50 +02:00
2017-03-28 16:43:25 -04:00
2017-08-29 15:21:51 +02:00
2009-07-03 15:45:29 +01:00
2017-11-03 09:02:30 -07:00
2013-01-24 13:20:09 +01:00
2014-08-26 02:18:56 +02:00
2012-03-28 18:30:02 +01:00
2014-05-24 00:07:01 +02:00
2013-02-01 10:00:22 +01:00
2016-05-28 12:35:06 +02:00
2011-07-26 16:49:47 -07:00
2013-02-01 10:00:22 +01:00
2017-11-03 09:02:30 -07:00
2013-02-01 10:00:22 +01:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2013-02-01 10:00:22 +01:00
2017-05-18 15:39:19 -05:00
2017-06-08 14:51:58 +02:00
2017-11-03 09:02:30 -07:00
2017-03-28 16:43:25 -04:00
2014-08-02 00:06:38 +02:00
2013-02-01 10:00:22 +01:00
2014-01-22 20:19:02 +01:00
2016-04-03 12:32:09 +02:00
2013-02-01 10:00:22 +01:00
2017-11-03 09:02:30 -07:00
2017-08-29 15:21:50 +02:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2017-06-28 12:22:39 +02:00
2017-05-27 15:38:02 -04:00
2013-02-01 10:00:22 +01:00
2016-05-09 12:00:02 +02:00
2017-11-03 09:02:30 -07:00