kprobes: Support NOKPROBE_SYMBOL() in modules
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 26 Mar 2020 14:50:00 +0000 (23:50 +0900)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 May 2020 15:15:32 +0000 (17:15 +0200)
commit16db6264c93d2d7df9eb8be5d9eb717ab30105fe
tree5276739d63b183b27c6b6a6a07af9be91ed4730b
parent1e6769b0aece51ea7a3dc3117c37d4a5669e4a21
kprobes: Support NOKPROBE_SYMBOL() in modules

Support NOKPROBE_SYMBOL() in modules. NOKPROBE_SYMBOL() records only symbol
address in "_kprobe_blacklist" section in the module.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200505134059.771170126@linutronix.de
include/linux/module.h
kernel/kprobes.c
kernel/module.c