arm64: kprobes: Move exception_text check in blacklist
authorMasami Hiramatsu <mhiramat@kernel.org>
Tue, 12 Feb 2019 15:44:19 +0000 (00:44 +0900)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 19 Mar 2019 12:43:24 +0000 (12:43 +0000)
commit6e08af0f10dcde01f0bdcc64cf91fea9d25e77cc
tree2df5def0b474478e59b614108cbedfd769db01fb
parentb5586163de1ce90317cd4037f69b14105be9f656
arm64: kprobes: Move exception_text check in blacklist

Move exception/irqentry text address check in blacklist,
since those are symbol based rejection.

If we prohibit probing on the symbols in exception_text,
those should be blacklisted.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/probes/kprobes.c