]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
kprobes/x86: Blacklist indirect thunk functions for kprobes
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 18 Jan 2018 16:14:51 +0000 (01:14 +0900)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 19 Jan 2018 15:31:28 +0000 (16:31 +0100)
commitc1804a236894ecc942da7dc6c5abe209e56cba93
tree1f289f478870b7fa6adcf545db624a2017b29c5a
parent736e80a4213e9bbce40a7c050337047128b472ac
kprobes/x86: Blacklist indirect thunk functions for kprobes

Mark __x86_indirect_thunk_* functions as blacklist for kprobes
because those functions can be called from anywhere in the kernel
including blacklist functions of kprobes.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: David Woodhouse <dwmw@amazon.co.uk>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@linux-foundation.org>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/151629209111.10241.5444852823378068683.stgit@devbox
arch/x86/lib/retpoline.S