signal/arm64: Add and use arm64_force_sig_ptrace_errno_trap
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 22 Sep 2018 08:52:41 +0000 (10:52 +0200)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 27 Sep 2018 19:55:15 +0000 (21:55 +0200)
commitf3a900b34101bb8df10b83f326b3af796c101a05
tree6186e2ab08d3feb1d77af99458cbeada475ceab8
parent2627f0347c682d03e8594a81083557d3d798f58f
signal/arm64: Add and use arm64_force_sig_ptrace_errno_trap

Add arm64_force_sig_ptrace_errno_trap for consistency with
arm64_force_sig_fault and use it where appropriate.

This adds the show_signal logic to the force_sig_errno_trap case,
where it was apparently overlooked earlier.

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>
arch/arm64/include/asm/traps.h
arch/arm64/kernel/ptrace.c
arch/arm64/kernel/traps.c