arm64: Do not forget syscall when starting a new thread.
authorFrancis Laniel <flaniel@linux.microsoft.com>
Wed, 8 Jun 2022 16:24:46 +0000 (17:24 +0100)
committerWill Deacon <will@kernel.org>
Fri, 1 Jul 2022 11:33:05 +0000 (12:33 +0100)
commitde6921856f99c11d3986c6702d851e1328d4f7f6
treefc80e3bcfba5ed070c43deb8de1bca270bf501ec
parent9f6a503d5238f444b13aaeaf8b88032dbcc5b707
arm64: Do not forget syscall when starting a new thread.

Enable tracing of the execve*() system calls with the
syscalls:sys_exit_execve tracepoint by removing the call to
forget_syscall() when starting a new thread and preserving the value of
regs->syscallno across exec.

Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
Link: https://lore.kernel.org/r/20220608162447.666494-2-flaniel@linux.microsoft.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/processor.h