]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: Fix strace hiccups when force_successful_syscall() triggers.
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 4 Oct 2012 21:13:59 +0000 (14:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Oct 2012 21:13:59 +0000 (14:13 -0700)
commit3090d4ce5087044b74f457bc6c695fa84214ee5b
treec648de2a6ce01af2e93f44e15d0a92e6e0a0181f
parentec54977fb42cad4236f49197c678fc70f1d7e5b4
sparc64: Fix strace hiccups when force_successful_syscall() triggers.

When force_successful_syscall() triggers, the syscall return status
reported the ptrace applications gets garbled.

Fix this by reordering the events and tests in the ret_sys_call path.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/syscalls.S