linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ARM: ptrace: Restore syscall skipping and restart while tracing
@ 2023-08-10 19:54 Kees Cook
  2023-08-10 19:54 ` [PATCH v2 1/2] ARM: ptrace: Restore syscall restart tracing Kees Cook
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Kees Cook @ 2023-08-10 19:54 UTC (permalink / raw)
  To: Russell King
  Cc: Kees Cook, Arnd Bergmann, Lecopzer Chen, Oleg Nesterov,
	Matthias Brugger, AngeloGioacchino Del Regno, Linus Walleij,
	Wolfram Sang, Arnd Bergmann, Dan Williams, Russell King (Oracle),
	linux-kernel, linux-arm-kernel, linux-mediatek, linux-hardening

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/20230804071045.never.134-kees@kernel.org

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(-)

-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-08-16 20:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-10 19:54 [PATCH v2 0/2] ARM: ptrace: Restore syscall skipping and restart while tracing Kees Cook
2023-08-10 19:54 ` [PATCH v2 1/2] ARM: ptrace: Restore syscall restart tracing Kees Cook
2023-08-10 20:17   ` Arnd Bergmann
2023-08-10 19:54 ` [PATCH v2 2/2] ARM: ptrace: Restore syscall skipping for tracers Kees Cook
2023-08-10 20:11   ` Arnd Bergmann
2023-08-11  5:55 ` [PATCH v2 0/2] ARM: ptrace: Restore syscall skipping and restart while tracing Kees Cook
2023-08-16 20:59 ` Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).