summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/signal.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-09-19 10:32:20 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-09-21 20:41:25 +0100
commitd95bc2501da97e2884b957c48df37c258a34db8d (patch)
treee7414b8c26264cdec3b2f64317dddff0cd780aee /arch/arm/kernel/signal.c
parentc89efa731e70a12908a0c155518ebbfd2d6ca605 (diff)
downloadtalos-obmc-linux-d95bc2501da97e2884b957c48df37c258a34db8d.tar.gz
talos-obmc-linux-d95bc2501da97e2884b957c48df37c258a34db8d.zip
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>
Diffstat (limited to 'arch/arm/kernel/signal.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud