summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/boot
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2015-08-13 08:47:59 +0100
committerRalf Baechle <ralf@linux-mips.org>2015-08-16 15:00:59 +0200
commit9f161439e4104b641a7bfb9b89581d801159fec8 (patch)
tree7bdb85d2b3260abb9824a144c94cc349742273ee /arch/openrisc/boot
parentf7644cbfcdf03528f0f450f3940c4985b2291f49 (diff)
downloadtalos-obmc-linux-9f161439e4104b641a7bfb9b89581d801159fec8.tar.gz
talos-obmc-linux-9f161439e4104b641a7bfb9b89581d801159fec8.zip
MIPS: Fix seccomp syscall argument for MIPS64
Commit 4c21b8fd8f14 ("MIPS: seccomp: Handle indirect system calls (o32)") fixed indirect system calls on O32 but it also introduced a bug for MIPS64 where it erroneously modified the v0 (syscall) register with the assumption that the sycall offset hasn't been taken into consideration. This breaks seccomp on MIPS64 n64 and n32 ABIs. We fix this by replacing the addition with a move instruction. Fixes: 4c21b8fd8f14 ("MIPS: seccomp: Handle indirect system calls (o32)") Cc: <stable@vger.kernel.org> # 3.15+ Reviewed-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/10951/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/openrisc/boot')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud