]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitffa9009c9828db3f74178e459cfbca6e77ff5dd9
treec648de2a6ce01af2e93f44e15d0a92e6e0a0181f
parent40138249c3b7a0762155216b963ec7fd4d09b5b4
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