signal/arm64: In ptrace_hbptriggered name the signal description string
This will let the description be reused shortly. Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Tested-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
This commit is contained in:
parent
009f608ab2
commit
2627f0347c
|
@ -182,6 +182,7 @@ static void ptrace_hbptriggered(struct perf_event *bp,
|
||||||
struct pt_regs *regs)
|
struct pt_regs *regs)
|
||||||
{
|
{
|
||||||
struct arch_hw_breakpoint *bkpt = counter_arch_bp(bp);
|
struct arch_hw_breakpoint *bkpt = counter_arch_bp(bp);
|
||||||
|
const char *desc = "Hardware breakpoint trap (ptrace)";
|
||||||
|
|
||||||
#ifdef CONFIG_COMPAT
|
#ifdef CONFIG_COMPAT
|
||||||
if (is_compat_task()) {
|
if (is_compat_task()) {
|
||||||
|
@ -206,7 +207,7 @@ static void ptrace_hbptriggered(struct perf_event *bp,
|
||||||
#endif
|
#endif
|
||||||
arm64_force_sig_fault(SIGTRAP, TRAP_HWBKPT,
|
arm64_force_sig_fault(SIGTRAP, TRAP_HWBKPT,
|
||||||
(void __user *)(bkpt->trigger),
|
(void __user *)(bkpt->trigger),
|
||||||
"Hardware breakpoint trap (ptrace)");
|
desc);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue