Skip to content
Commit 12fc4288 authored by Keno Fischer's avatar Keno Fischer Committed by Will Deacon
Browse files

arm64: ptrace: Fix missing return in hw breakpoint code



When delivering a hw-breakpoint SIGTRAP to a compat task via ptrace, the
lack of a 'return' statement means we fallthrough to the native case,
which differs in its handling of 'si_errno'.

Although this looks to be harmless because the subsequent signal is
effectively ignored, it's confusing and unintentional, so add the
missing 'return'.

Signed-off-by: default avatarKeno Fischer <keno@juliacomputing.com>
Link: https://lore.kernel.org/r/20210202002109.GA624440@juliacomputing.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent e30be145
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment