[PATCH v2 0/3] x86: kprobes: Show correct blaclkist in debugfs

From: Masami Hiramatsu
Date: Mon Dec 17 2018 - 03:20:52 EST


This is v2 series for showing correct kprobe blacklist in
debugfs.

v1 is here:

https://lkml.org/lkml/2018/12/7/517

I splitted the RFC v1 patch into x86 and generic parts,
also added a patch to remove unneeded arch-specific
blacklist check function (because those have been added
to the generic blacklist.)

If this style is good, I will make another series for the
archs which have own arch_within_kprobe_blacklist(), and
eventually replace that with arch_populate_kprobe_blacklist()
so that user can get the correct kprobe blacklist in debugfs.

Thank you,

---

Masami Hiramatsu (3):
kprobes: Blacklist symbols in arch-defined prohibited area
x86/kprobes: Show x86-64 specific blacklisted symbols correctly
x86/kprobes: Remove unneeded arch_within_kprobe_blacklist from x86


arch/x86/kernel/kprobes/core.c | 8 ++---
include/linux/kprobes.h | 3 ++
kernel/kprobes.c | 67 ++++++++++++++++++++++++++++++++--------
3 files changed, 59 insertions(+), 19 deletions(-)

--
Masami Hiramatsu (Linaro) <mhiramat@xxxxxxxxxx>