linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: some symbols blacklisted for kprobing
@ 2015-07-06  5:03 Pratyush Anand
  2015-07-06  5:03 ` [PATCH 1/2] arm64: Blacklist non-kprobe-able symbols Pratyush Anand
  2015-07-06  5:03 ` [PATCH 2/2] arm64: Make all entry code as non-kprobe-able Pratyush Anand
  0 siblings, 2 replies; 13+ messages in thread
From: Pratyush Anand @ 2015-07-06  5:03 UTC (permalink / raw)
  To: linux-arm-kernel

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(+)

-- 
2.4.3

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-07-09 13:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-06  5:03 [PATCH 0/2] arm64: some symbols blacklisted for kprobing Pratyush Anand
2015-07-06  5:03 ` [PATCH 1/2] arm64: Blacklist non-kprobe-able symbols Pratyush Anand
2015-07-06  9:03   ` Will Deacon
2015-07-06 10:48     ` Pratyush Anand
2015-07-06 11:56       ` Masami Hiramatsu
2015-07-06 11:37     ` Masami Hiramatsu
2015-07-06 14:42       ` William Cohen
2015-07-06 11:11   ` Masami Hiramatsu
2015-07-06 11:49     ` Pratyush Anand
2015-07-09 13:53       ` Pratyush Anand
2015-07-06  5:03 ` [PATCH 2/2] arm64: Make all entry code as non-kprobe-able Pratyush Anand
2015-07-06 11:03   ` Masami Hiramatsu
2015-07-06 11:54     ` Pratyush Anand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).