]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64/ptrace: Split report_syscall()
authorJinjie Ruan <ruanjinjie@huawei.com>
Mon, 22 Dec 2025 11:47:23 +0000 (19:47 +0800)
committerWill Deacon <will@kernel.org>
Tue, 27 Jan 2026 10:38:35 +0000 (10:38 +0000)
commit741a9000173a036526eb2374e1ba34c466754f1c
treee33f73c1295e3756c4fae516128301f7235d1bfc
parente7e7afdc7c141227f2ce29aca85969e050da1ab9
arm64/ptrace: Split report_syscall()

The generic syscall entry code has the form:

| syscall_trace_enter()
| {
| ptrace_report_syscall_entry()
| }
|
| syscall_exit_work()
| {
| ptrace_report_syscall_exit()
| }

In preparation for moving arm64 over to the generic entry code, split
report_syscall() to two separate enter and exit functions to align
the structure of the arm64 code with syscall_trace_enter() and
syscall_exit_work() from the generic entry code.

No functional changes.

Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Reviewed-by: Kevin Brodsky <kevin.brodsky@arm.com>
Suggested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/ptrace.c