This is the first of a series of patches to build up a suitable kprobes
blacklist. This series only blacklists the exception vectors.
While I have more patches in the works to blacklist other symbols, I
wanted to get some early feedback on these two patches to ensure that
the approach is ok. So, I'm posting these right away.
I'd especially appreciate a review of the first patch and feedback on
whether it does the right thing with/without relocation. My tests
didn't reveal any issues.
Naveen N. Rao (2):
powerpc: kprobes: blacklist exception handlers
powerpc: kprobes: blacklist exception common handlers
arch/powerpc/include/asm/head-64.h | 1 +
arch/powerpc/include/asm/sections.h | 1 +
arch/powerpc/kernel/kprobes.c | 9 +++++++++
arch/powerpc/kernel/vmlinux.lds.S | 2 ++
4 files changed, 13 insertions(+)