Skip to content

ARM: ptrace: Restore syscall skipping and restart while tracing

Kees Cook linux-arm-kernel linux-hardening linux-mediatek lkml 2 versions – Applied

Status from this message: Applied to for-next/seccomp, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesApplied
  2. v11 patch 4 repliesSuperseded

Changes in v2 from the cover letter

- split fixes
- move scno store into the actual restart path
v1: https://lore.kernel.org/lkml/[email protected]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2ARM: ptrace: Restore syscall restart tracingarch/arm/kernel/entry-common.S+1 -01 reply
2/2ARM: ptrace: Restore syscall skipping for tracersarch/arm/include/asm/syscall.h arch/arm/kernel/ptrace.c+6 -21 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchArnd Bergmann
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] ARM: ptrace: Restore syscall skipping and restart while tracing

Hi,

Fix tracing on arm since commit 4e57a4ddf6b0 ("ARM: 9107/1: syscall:
always store thread_info->abi_syscall"). This was seen with the broken seccomp tests "syscall_errno", "syscall_faked", and "syscall_restart".

Thanks!

-Kees

v2:
- split fixes
- move scno store into the actual restart path
v1: https://lore.kernel.org/lkml/[email protected]

Kees Cook (2):
ARM: ptrace: Restore syscall restart tracing
ARM: ptrace: Restore syscall skipping for tracers

 arch/arm/include/asm/syscall.h | 3 +++
 arch/arm/kernel/entry-common.S | 1 +
 arch/arm/kernel/ptrace.c       | 5 +++--
 3 files changed, 7 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1