[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230810195141.never.338-kees@kernel.org>
Date: Thu, 10 Aug 2023 12:54:17 -0700
From: Kees Cook <keescook@...omium.org>
To: Russell King <linux@...linux.org.uk>
Cc: Kees Cook <keescook@...omium.org>, Arnd Bergmann <arnd@...nel.org>,
Lecopzer Chen <lecopzer.chen@...iatek.com>,
Oleg Nesterov <oleg@...hat.com>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
Linus Walleij <linus.walleij@...aro.org>,
Wolfram Sang <wsa@...nel.org>, Arnd Bergmann <arnd@...db.de>,
Dan Williams <dan.j.williams@...el.com>,
"Russell King (Oracle)" <rmk+kernel@...linux.org.uk>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-hardening@...r.kernel.org
Subject: [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/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
Powered by blists - more mailing lists