]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: kprobes: Move extable address check into arch_prepare_kprobe()
authorMasami Hiramatsu <mhiramat@kernel.org>
Tue, 12 Feb 2019 15:43:22 +0000 (00:43 +0900)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 19 Mar 2019 12:42:58 +0000 (12:42 +0000)
commit56cc2fccd16beeb1291d4bb2c071926b06ffb47f
tree5c9c5b4d98f865ff32452514cfe109f5a09a4b60
parente34ba0d7c8ee128a8a7cc0a1d0345206aeb6a4e5
arm64: kprobes: Move extable address check into arch_prepare_kprobe()

Move extable address check into arch_prepare_kprobe() from
arch_within_kprobe_blacklist().
The blacklist is exposed via debugfs as a list of symbols.
The extable entries are smaller, so must be filtered out
by arch_prepare_kprobe().

Acked-by: Will Deacon <will.deacon@arm.com>
Reviewed-by: James Morse <james.morse@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