Skip to content

arm64: some symbols blacklisted for kprobing

Pratyush Anand linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm64: Blacklist non-kprobe-able symbolsarch/arm64/kernel/debug-monitors.c arch/arm64/kernel/hw_breakpoint.c arch/arm64/kernel/kgdb.c +1 more+31 -08 replies
2/2arm64: Make all entry code as non-kprobe-ablearch/arm64/kernel/entry.S arch/arm64/kernel/kprobes.c arch/arm64/kernel/vmlinux.lds.S+13 -02 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMasami Hiramatsu
1/2
2/2R-b

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

Read the v1 thread

Cover letter [PATCH 0/2] arm64: some symbols blacklisted for kprobing

Functions which are called from do_debug_execptions and all entry routines must not allow to insert kprobe in it, otherwise we may witness a system hang.

This patch set blacklist such symbols.

Patches should be applied on top of arm64 kprobe patches [1].

[1] https://lkml.org/lkml/2015/6/15/514

Pratyush Anand (2):
arm64: Blacklist non-kprobe-able symbols
arm64: Make all entry code as non-kprobe-able

 arch/arm64/kernel/debug-monitors.c | 18 ++++++++++++++++++
 arch/arm64/kernel/entry.S          |  3 +++
 arch/arm64/kernel/hw_breakpoint.c  |  8 ++++++++
 arch/arm64/kernel/kgdb.c           |  4 ++++
 arch/arm64/kernel/kprobes.c        |  9 +++++++++
 arch/arm64/kernel/vmlinux.lds.S    |  1 +
 arch/arm64/mm/fault.c              |  1 +
 7 files changed, 44 insertions(+)
Signature · 1 line
2.4.3