Skip to content

x86: kprobes: Show correct blaclkist in debugfs

Masami Hiramatsu lkml 1 version In review

Get series with b4
b4 am 154503482486.26176.6224515860220847638.stgit@devbox

Versions newest first

  1. v2 Latest3 patches 6 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3kprobes: Blacklist symbols in arch-defined prohibited areainclude/linux/kprobes.h kernel/kprobes.c+56 -140 replies
2/3x86/kprobes: Show x86-64 specific blacklisted symbols correctlyarch/x86/kernel/kprobes/core.c+6 -00 replies
3/3x86/kprobes: Remove unneeded arch_within_kprobe_blacklist from x86arch/x86/kernel/kprobes/core.c+0 -80 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchAndrea Righi
SeriesT-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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) <[email protected]>