android_kernel_xiaomi_sm8350/arch/m68k
Michael Schmitz 51c0dca573 m68k: Check syscall_trace_enter() return code
[ Upstream commit 2ca8a1de4437f21562e57f9ac123914747a8e7a1 ]

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-11 16:43:55 +01:00
..
68000 m68k: Check syscall_trace_enter() return code 2023-03-11 16:43:55 +01:00
amiga
apollo
atari
bvme6000
coldfire m68k: Check syscall_trace_enter() return code 2023-03-11 16:43:55 +01:00
configs
emu
fpsp040
hp300
ifpsp060
include m68k: use fallback for random_get_entropy() instead of zero 2022-06-22 14:11:15 +02:00
kernel m68k: Check syscall_trace_enter() return code 2023-03-11 16:43:55 +01:00
lib
mac
math-emu
mm exit: Add and use make_task_dead. 2023-02-06 07:52:49 +01:00
mvme16x
mvme147
q40
sun3
sun3x
tools/amiga
install.sh
Kconfig
Kconfig.bus
Kconfig.cpu
Kconfig.debug
Kconfig.devices m68k: /proc/hardware should depend on PROC_FS 2023-03-11 16:43:41 +01:00
Kconfig.machine m68knommu: fix undefined reference to `_init_sp' 2022-06-14 18:11:56 +02:00
Makefile