entry: add missing kernel-doc for arch_ptrace_report_syscall functions
PATCH 7/9 entry: add missing kernel-doc for arch_ptrace_report_syscall functions
Document the @regs and @step parameters for arch_ptrace_report_syscall_entry() and arch_ptrace_report_syscall_exit() that were missing from the kernel-doc comments.
Assisted-by Claude <[email protected]>
Signed-off-by Kit Dallege <[email protected]>
--- include/linux/entry-common.h | 3 +++ 1 file changed, 3 insertions(+)
include/linux/entry-common.h +3 -0
@@ -48,6 +48,7 @@/** * arch_ptrace_report_syscall_entry - Architecture specific ptrace_report_syscall_entry() wrapper +* @regs: pointer to the register state at syscall entry * * Invoked from syscall_trace_enter() to wrap ptrace_report_syscall_entry(). *
@@ -205,6 +206,8 @@ static __always_inline bool report_single_step(unsigned long work)/** * arch_ptrace_report_syscall_exit - Architecture specific ptrace_report_syscall_exit() +* @regs: pointer to the register state at syscall exit +* @step: indicates a single-step exit rather than a normal syscall exit * * This allows architecture specific ptrace_report_syscall_exit() * implementations. If not defined by the architecture this falls back to
Signature · 1 line
2.53.0