entry: Rework trace_syscall_enter()

Reread the syscall number from pt_regs and stop returning the eventually
modified syscall number.

That moves the reread to the end of syscall_trace_enter() and prepares for
moving it to the call site.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Tested-by: Michal Suchánek <msuchanek@suse.de>
Reviewed-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://patch.msgid.link/20260712141346.639115923@kernel.org
This commit is contained in:
Thomas Gleixner 2026-07-12 23:25:22 +02:00
commit dfc98c7a46
2 changed files with 6 additions and 13 deletions