Will Deacon d95bc2501d ARM: 7839/1: entry: fix tracing of ARM-private syscalls
Commit 377747c40657 ("ARM: entry: allow ARM-private syscalls to be
restarted") reworked the low-level syscall dispatcher to allow
restarting of ARM-private syscalls. Unfortunately, this relocated the
label used to dispatch a private syscall from the trace path, so that
the invocation would be bypassed altogether!

This causes applications to fail under strace as soon as they rely on
a private syscall (e.g. set_tls):

  set_tls(0xb6fad4c0, 0xb6fadb98, 0xb6fb1050, 0xb6fad4c0, 0xb6fb1050)
      = -1 ENOSYS (Function not implemented)

This patch fixes the label so that we correctly dispatch private
syscalls from the trace path.

Reported-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Tested-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2013-09-21 20:41:25 +01:00
..
2013-09-09 16:35:29 -07:00
2013-09-09 16:35:29 -07:00
2013-09-06 13:34:43 -07:00
2013-09-12 13:59:31 -07:00
2013-09-09 16:35:29 -07:00
2013-09-06 13:21:16 -07:00
2013-08-18 16:34:57 +08:00
2013-09-06 13:26:27 -07:00
2013-09-06 13:21:16 -07:00
2013-09-06 13:21:16 -07:00
2013-09-06 13:21:16 -07:00
2013-09-09 12:05:37 -04:00
2013-09-13 15:09:52 +02:00
2013-09-06 13:21:16 -07:00
2013-08-14 08:14:50 -07:00