From: Russell King Date: Fri, 15 May 2015 10:02:23 +0000 (+0100) Subject: ARM: fix missing syscall trace exit X-Git-Tag: omap-for-v4.2/wakeirq-drivers-v2^2~2^2~31^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b97937246d8b97c0760d16d8992c7937bdf5e6a;p=pandora-kernel.git ARM: fix missing syscall trace exit Josh Stone reports: I've discovered a case where both arm and arm64 will miss a ptrace syscall-exit that they should report. If the syscall is entered without TIF_SYSCALL_TRACE set, then it goes on the fast path. It's then possible to have TIF_SYSCALL_TRACE added in the middle of the syscall, but ret_fast_syscall doesn't check this flag again. Fix this by always checking for a syscall trace in the fast exit path. Reported-by: Josh Stone Signed-off-by: Russell King --- Reading git-diff-tree failed