]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - arch/arm64/kernel/process.c
arm64: traps: Don't print stack or raw PC/LR values in backtraces
authorWill Deacon <will.deacon@arm.com>
Thu, 19 Oct 2017 12:19:20 +0000 (13:19 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 27 Oct 2017 15:26:53 +0000 (16:26 +0100)
commita25ffd3a6302a67814280274d8f1aa4ae2ea4b59
treee43de23d0bb5b050ffbd88a67959104b69e340d2
parent42dbf54e88906ffb8ee992c14e45dd36483f5011
arm64: traps: Don't print stack or raw PC/LR values in backtraces

Printing raw pointer values in backtraces has potential security
implications and are of questionable value anyway.

This patch follows x86's lead and removes the "Exception stack:" dump
from kernel backtraces, as well as converting PC/LR values to symbols
such as "sysrq_handle_crash+0x20/0x30".

Tested-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/process.c
arch/arm64/kernel/traps.c