aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/configs/artpec_3_defconfig
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2014-07-24 07:10:02 -0400
committerRalf Baechle <ralf@linux-mips.org>2014-08-19 12:24:40 -0400
commit5245689900804604fdc349c8d9b8985b0e401ae2 (patch)
tree60b85b08bcea8d01a1ccacb15f6eaf43a47666a2 /arch/cris/configs/artpec_3_defconfig
parent40381529f84c4cda3bd2d20cab6a707508856b21 (diff)
MIPS: scall64-o32: Fix indirect syscall detection
Commit 4c21b8fd8f14 (MIPS: seccomp: Handle indirect system calls (o32)) added indirect syscall detection for O32 processes running on MIPS64 but it did not work as expected. The reason is the the scall64-o32 implementation differs compared to scall32-o32. In the former, the v0 (syscall number) register contains the absolute syscall number (4000 + X) whereas in the latter it contains the relative syscall number (X). Fix the code to avoid doing an extra addition, and load the v0 register directly to the first argument for syscall_trace_enter. Moreover, set the .reorder assembler option in order to have better control on this part of the assembly code. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Patchwork: http://patchwork.linux-mips.org/patch/7481/ Cc: <stable@vger.kernel.org> # v3.15+ Signed-off-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'arch/cris/configs/artpec_3_defconfig')
0 files changed, 0 insertions, 0 deletions