]> Git Repo - linux.git/commit
MIPS: asm: syscall: Fix copying system call arguments
authorMarkos Chandras <[email protected]>
Wed, 22 Jan 2014 14:39:57 +0000 (14:39 +0000)
committerRalf Baechle <[email protected]>
Mon, 17 Mar 2014 14:34:28 +0000 (15:34 +0100)
commita8031d2ce15bdb90baeae02d7a231ccece73da8b
tree62b1b2bd0b843d5bce30ef050d71590092872a3f
parent7f02c463057fc527f52066742b84d9d89b22e83d
MIPS: asm: syscall: Fix copying system call arguments

The syscall_get_arguments function expects the arguments to be copied
to the '*args' argument but instead a local variable was used to hold
the system call argument. As a result of which, this variable was
never passed to the filter and any filter testing the system call
arguments would fail. This is fixed by passing the '*args' variable
as the destination memory for the system call arguments.

Signed-off-by: Markos Chandras <[email protected]>
Reviewed-by: Paul Burton <[email protected]>
Reviewed-by: James Hogan <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/6402/
Signed-off-by: Ralf Baechle <[email protected]>
arch/mips/include/asm/syscall.h
This page took 0.052231 seconds and 4 git commands to generate.