linux/arch/m68k
Michael Schmitz ab5fd43a8a m68k: Check syscall_trace_enter() return code
[ Upstream commit 2ca8a1de44 ]

Check return code of syscall_trace_enter(), and skip syscall
if -1. Return code will be left at what had been set by
ptrace or seccomp (in regs->d0).

No regression seen in testing with strace on ARAnyM.

Signed-off-by: Michael Schmitz <schmitzmic@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20230112035529.13521-2-schmitzmic@gmail.com
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:33:51 +01:00
..
68000 m68k: Check syscall_trace_enter() return code 2023-03-10 09:33:51 +01:00
amiga
apollo
atari
bvme6000
coldfire m68k: Check syscall_trace_enter() return code 2023-03-10 09:33:51 +01:00
configs m68knommu: updates and fixes for v6.1 2022-10-10 14:19:05 -07:00
emu
fpsp040
hp300
ifpsp060
include - hfs and hfsplus kmap API modernization from Fabio Francesco 2022-10-12 11:00:22 -07:00
kernel m68k: Check syscall_trace_enter() return code 2023-03-10 09:33:51 +01:00
lib
mac
math-emu
mm
mvme16x
mvme147
q40
sun3
sun3x
tools/amiga
virt m68k: Rework BI_VIRT_RNG_SEED as BI_RNG_SEED 2022-09-28 22:16:44 +02:00
install.sh
Kbuild
Kconfig m68k: Allow kexec on M68KCLASSIC with MMU enabled only 2022-09-19 10:40:58 +02:00
Kconfig.bus
Kconfig.cpu - Yu Zhao's Multi-Gen LRU patches are here. They've been under test in 2022-10-10 17:53:04 -07:00
Kconfig.debug
Kconfig.devices m68k: /proc/hardware should depend on PROC_FS 2023-03-10 09:33:03 +01:00
Kconfig.machine
Makefile kbuild: remove head-y syntax 2022-10-02 18:06:03 +09:00