]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: fix ptrace interaction with force_successful_syscall_return()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 11 Oct 2012 00:25:00 +0000 (17:25 -0700)
committerGuangyu Sun <guangyu.sun@oracle.com>
Tue, 6 Nov 2012 00:28:31 +0000 (16:28 -0800)
commitf8bca42d9288b04819768479cd5bff3bc482b3db
tree130012990a2ae8f79a44e014b790c3bc9672ccb5
parent4f894a2432f7e40607c23a4603cae13019f22f04
sparc64: fix ptrace interaction with force_successful_syscall_return()

[ Upstream commit 55c2770e413e96871147b9406a9c41fe9bc5209c ]

we want syscall_trace_leave() called on exit from any syscall;
skipping its call in case we'd done force_successful_syscall_return()
is broken...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Guangyu Sun <guangyu.sun@oracle.com>
arch/sparc/kernel/syscalls.S