linux/arch/xtensa/kernel
Max Filippov a1a6f8a14c xtensa: fix system_call interaction with ptrace
[ Upstream commit 02ce94c229 ]

Don't overwrite return value if system call was cancelled at entry by
ptrace. Return status code from do_syscall_trace_enter so that
pt_regs::syscall doesn't need to be changed to skip syscall.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-01 13:17:22 +02:00
..
syscalls
.gitignore
Makefile
align.S
asm-offsets.c xtensa: add missing exclusive access state management 2020-08-21 13:05:24 +02:00
coprocessor.S
entry.S xtensa: fix system_call interaction with ptrace 2020-10-01 13:17:22 +02:00
head.S
hw_breakpoint.c
irq.c
jump_label.c
mcount.S
module.c
mxhead.S
pci-dma.c
pci.c
perf_event.c xtensa: fix xtensa_pmu_setup prototype 2020-08-21 13:05:24 +02:00
platform.c
process.c
ptrace.c xtensa: fix system_call interaction with ptrace 2020-10-01 13:17:22 +02:00
s32c1i_selftest.c
setup.c
signal.c
smp.c
stacktrace.c
syscall.c
time.c
traps.c
vectors.S
vmlinux.lds.S
xtensa_ksyms.c