kprobes: Support __kprobes blacklist in modules
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 26 Mar 2020 14:49:48 +0000 (23:49 +0900)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 May 2020 15:15:32 +0000 (17:15 +0200)
commit1e6769b0aece51ea7a3dc3117c37d4a5669e4a21
treec2738aa86d5cd28739f7a0a754124da21881260e
parent4fdd88877e5259dcc5e504dca449acc0324d71b9
kprobes: Support __kprobes blacklist in modules

Support __kprobes attribute for blacklist functions in modules.  The
__kprobes attribute functions are stored in .kprobes.text section.

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.678201813@linutronix.de
include/linux/module.h
kernel/kprobes.c
kernel/module.c