linux-stable/arch
Michael Schmitz 7873def499 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-11 16:39:50 +01:00
..
alpha alpha/boot/tools/objstrip: fix the check for ELF header 2023-03-11 16:39:45 +01:00
arc arch: setup PF_IO_WORKER threads like PF_KTHREAD 2023-01-04 11:39:22 +01:00
arm ARM: dts: exynos: Use Exynos5420 compatible for the MIPI video phy 2023-03-11 16:39:48 +01:00
arm64 arm64: dts: mediatek: mt7622: Add missing pwm-cells to pwm node 2023-03-11 16:39:15 +01:00
c6x c6x: add support for TIF_NOTIFY_SIGNAL 2023-01-04 11:39:21 +01:00
csky csky: Fix function name in csky_alignment() and die() 2023-02-01 08:23:20 +01:00
h8300 h8300: Fix build errors from do_exit() to make_task_dead() transition 2023-02-01 08:23:19 +01:00
hexagon hexagon: Fix function name in die() 2023-02-01 08:23:19 +01:00
ia64 ia64: make IA64_MCA_RECOVERY bool instead of tristate 2023-02-01 08:23:20 +01:00
m68k m68k: Check syscall_trace_enter() return code 2023-03-11 16:39:50 +01:00
microblaze exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
mips MIPS: vpe-mt: drop physical_memsize 2023-03-11 16:39:45 +01:00
nds32 exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
nios2 exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
openrisc exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
parisc parisc: Wire up PTRACE_GETREGS/PTRACE_SETREGS for compat case 2023-02-15 17:22:19 +01:00
powerpc powerpc: Remove linker flag from KBUILD_AFLAGS 2023-03-11 16:39:46 +01:00
riscv RISC-V: fix funct4 definition for c.jalr in parse_asm.h 2023-03-11 16:39:41 +01:00
s390 s390/vmem: fix empty page tables cleanup under KASAN 2023-03-11 16:39:25 +01:00
sh exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
sparc sparc: allow PM configs for sparc32 COMPILE_TEST 2023-03-11 16:39:40 +01:00
um arch: setup PF_IO_WORKER threads like PF_KTHREAD 2023-01-04 11:39:22 +01:00
x86 x86/bugs: Reset speculation control settings on init 2023-03-11 16:39:49 +01:00
xtensa exit: Add and use make_task_dead. 2023-02-01 08:23:19 +01:00
.gitignore
Kconfig arch/cc: Introduce a function to check for confidential computing features 2021-11-18 14:04:32 +01:00