arm64: unwind: Prohibit probing on return_address()
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 25 Jul 2019 08:16:05 +0000 (17:16 +0900)
committerWill Deacon <will@kernel.org>
Thu, 1 Aug 2019 14:00:26 +0000 (15:00 +0100)
commitee07b93e7721ccd5d5b9fa6f0c10cb3fe2f1f4f9
tree6f0ecb29969c6cb108496204de2b679b48e7afef
parent677379bc9139ac24b310a281fcb21a2f04288353
arm64: unwind: Prohibit probing on return_address()

Prohibit probing on return_address() and subroutines which
is called from return_address(), since the it is invoked from
trace_hardirqs_off() which is also kprobe blacklisted.

Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/return_address.c
arch/arm64/kernel/stacktrace.c