linux/arch/arm/kernel
Will Deacon d95bc2501d ARM: 7839/1: entry: fix tracing of ARM-private syscalls
Commit 377747c406 ("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
..
.gitignore
arch_timer.c
armksyms.c
arthur.c
asm-offsets.c
atags_compat.c
atags_parse.c ARM: constify machine_desc structure uses 2013-07-26 14:55:59 +01:00
atags_proc.c
atags.h ARM: constify machine_desc structure uses 2013-07-26 14:55:59 +01:00
bios32.c ARM: SoC platform changes for 3.12 2013-09-06 13:30:06 -07:00
calls.S
cpuidle.c
crash_dump.c
debug.S
devtree.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-09-05 18:07:32 -07:00
dma-isa.c
dma.c
early_printk.c
elf.c
entry-armv.S ARM: Fix !kuser helpers case 2013-08-07 14:00:11 +01:00
entry-common.S ARM: 7839/1: entry: fix tracing of ARM-private syscalls 2013-09-21 20:41:25 +01:00
entry-header.S
entry-v7m.S ARM: 7800/1: ARMv7-M: Fix name of NVIC handler function 2013-07-31 11:12:58 +01:00
etm.c
fiq.c ARM: 7819/1: fiq: Cast the first argument of flush_icache_range() 2013-08-20 00:11:50 +01:00
fiqasm.S
ftrace.c
head-common.S arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
head-nommu.S ARM: Add .text annotations where required after __CPUINIT removal 2013-08-01 14:41:40 +01:00
head.S ARM: Add .text annotations where required after __CPUINIT removal 2013-08-01 14:41:40 +01:00
hw_breakpoint.c arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
hyp-stub.S ARM: 7786/1: hyp: fix macro parameterisation 2013-07-22 14:30:34 +01:00
insn.c
insn.h
io.c
irq.c
isa.c
iwmmxt.S
jump_label.c
kgdb.c
kprobes-arm.c
kprobes-common.c
kprobes-test-arm.c
kprobes-test-thumb.c
kprobes-test.c
kprobes-test.h
kprobes-thumb.c
kprobes.c
kprobes.h
machine_kexec.c ARM: 7815/1: kexec: offline non panic CPUs on Kdump panic 2013-08-20 00:14:46 +01:00
Makefile ARM: 7828/1: ARMv7-M: implement restart routine common to all v7-M machines 2013-09-02 13:49:29 +01:00
module.c ARM: 7829/1: Add ".text.unlikely" and ".text.hot" to arm unwind tables 2013-09-02 13:49:47 +01:00
opcodes.c
patch.c
patch.h
perf_event_cpu.c ARM: 7813/1: Mark pmu interupt IRQF_NO_THREAD 2013-08-20 00:12:23 +01:00
perf_event_v6.c
perf_event_v7.c
perf_event_xscale.c
perf_event.c ARM: 7810/1: perf: Fix array out of bounds access in armpmu_map_hw_event() 2013-08-13 20:21:44 +01:00
pj4-cp0.c
process.c Merge branch 'security-fixes' into fixes 2013-08-13 20:23:28 +01:00
psci_smp.c arm: delete __cpuinit/__CPUINIT usage from all ARM users 2013-07-14 19:36:52 -04:00
psci.c
ptrace.c ptrace/arm: revert "hw_breakpoints: Fix racy access to ptrace breakpoints" 2013-07-09 10:33:25 -07:00
relocate_kernel.S
return_address.c
setup.c Merge branches 'debug-choice', 'devel-stable' and 'misc' into for-linus 2013-09-05 10:34:15 +01:00
signal.c ARM: fix nommu builds with 48be69a02 (ARM: move signal handlers into a vdso-like page) 2013-08-03 10:49:01 +01:00
sleep.S
smp_scu.c
smp_tlb.c ARM: tlb: don't perform inner-shareable invalidation for local BP ops 2013-08-12 12:25:44 +01:00
smp_twd.c Now that we have a generic arch hook for broadcast we can remove the local 2013-07-23 16:54:15 -07:00
smp.c ARM: SoC cleanups for 3.12 2013-09-06 13:21:16 -07:00
stacktrace.c
suspend.c
swp_emulate.c
sys_arm.c
sys_oabi-compat.c
tcm.c
thumbee.c
time.c
topology.c ARM: topology: remove hwid/MPIDR dependency from cpu_capacity 2013-08-21 10:29:52 +01:00
traps.c Merge branch 'for-rmk/cacheflush-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux into devel-stable 2013-08-28 18:38:40 +01:00
unwind.c
v7m.c ARM: 7828/1: ARMv7-M: implement restart routine common to all v7-M machines 2013-09-02 13:49:29 +01:00
vmlinux.lds.S ARM: use linker magic for vectors and vector stubs 2013-07-31 21:34:24 +01:00
xscale-cp0.c