]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcec59dc78d4c8178c8a7ea25dc1f8b07fafdfbcf
treefc80e3bcfba5ed070c43deb8de1bca270bf501ec
parentdf43a13203ea4b9401d12ec1afc16f21e5ad4ffe
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