summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc
diff options
context:
space:
mode:
authorZhao Gongyi <zhaogongyi@bytedance.com>2026-11-05 19:30:51 +0800
committerCatalin Marinas <catalin.marinas@arm.com>2026-11-13 14:10:36 +0000
commit5306f124f3171289b2ef5bac1e08aad175f66d1e (patch)
treeb96bb59013a8965770aa709409a401b976c05566 /rust/kernel/alloc
parent18f2d01bfce99a885511c451cba95234eea190bc (diff)
arm64: ptrace: don't warn on missing siginfo in a group-stop
PTRACE_ATTACH to a group-stopped child can enter do_jobctl_trap(), which calls ptrace_stop() without siginfo. If the tracer writes NT_ARM_SYSTEM_CALL, system_call_set() can change syscallno from NO_SYSCALL before update_syscall_orig_x0_after_ptrace() checks last_siginfo. WARN_ON_ONCE(!info) then fires for a valid ptrace stop. Keep the early return when siginfo is absent, but remove the warning. This leaves orig_x0 untouched at a non-seized group-stop and preserves the existing syscall-exit-stop handling. Fixes: 88b839ce497c ("arm64: ptrace: Keep 'orig_x0' in-sync with x0 on syscall entry") Cc: stable@vger.kernel.org Signed-off-by: Zhao Gongyi <zhaogongyi@bytedance.com> Acked-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Will Deacon <will@kernel.org> [catalin.marinas@arm.com: modified comment as per Will's suggestion] Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions