Files
android_kernel_xiaomi_sm8450/arch/mips/kernel
Al Viro 8f5a00eb42 MIPS: Sanitize restart logics
Put the original syscall number into ->regs[0] when we leave syscall
with error.  Use it in restart logics.  Everything else will have
it 0 since we pass through SAVE_SOME on all the ways in.  Note that
in places like bad_stack and inllegal_syscall we leave it 0 - it's not
restartable.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: linux-kernel@vger.kernel.org
Cc: linux-arch@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1698/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2010-10-18 16:59:02 +01:00
..
2010-05-21 21:31:14 +01:00
2008-05-01 08:03:58 -07:00
2010-10-18 16:59:02 +01:00
2010-08-05 13:26:29 +01:00
2009-12-10 15:02:50 +01:00
2010-08-05 13:26:29 +01:00
2010-07-05 17:17:32 +01:00
2009-08-03 17:52:40 +01:00
2009-07-12 12:22:34 -07:00
2006-12-10 21:52:11 +00:00
2010-10-18 16:59:02 +01:00
2010-10-18 16:59:02 +01:00
2010-10-18 16:59:02 +01:00
2010-10-18 16:59:02 +01:00
2010-05-21 21:31:17 +01:00
2010-10-18 16:59:02 +01:00
2010-08-05 13:26:26 +01:00
2009-06-24 18:34:40 +01:00
2010-08-05 13:26:30 +01:00
2010-10-18 16:59:02 +01:00
2010-07-26 19:08:16 +01:00