Files
linux/arch/arm/kernel
Russell King 68507f74d9 ARM: fix missing syscall trace exit
commit 1b97937246 upstream.

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 <jistone@redhat.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-06-05 23:19:59 -07:00
..
2008-08-12 19:54:09 +01:00
2013-03-03 22:54:18 +00:00
2012-03-28 18:30:01 +01:00
2015-02-05 22:35:39 -08:00
2012-03-24 09:38:56 +00:00
2010-10-29 13:14:40 -05:00
2014-03-23 21:38:21 -07:00
2012-03-28 18:30:01 +01:00
2013-05-05 00:07:22 -04:00