LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 0/3][RFC] x86: Catch stray non-kprobe breakpoints
@ 2008-01-27  9:08 Abhishek Sagar
  2008-01-29  6:02 ` Ananth N Mavinakayanahalli
  0 siblings, 1 reply; 9+ messages in thread
From: Abhishek Sagar @ 2008-01-27  9:08 UTC (permalink / raw)
  To: LKML; +Cc: jkenisto, ananth, Masami Hiramatsu, Ingo Molnar

Greetings,

Non kprobe breakpoints in the kernel might lie inside the .kprobes.text section. Such breakpoints can easily be identified by in_kprobes_functions and can be caught early. These are problematic and a warning should be emitted to discourage them (in any rare case, if they actually occur).

For this, a check can route the trap handling of such breakpoints away from kprobe_handler (which ends up calling even more functions marked as __kprobes) from inside kprobe_exceptions_notify.

All comments/suggestions are welcome.

--
Thanks & Regards,
Abhishek Sagar

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

end of thread, other threads:[~2008-01-30  4:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-27  9:08 [PATCH 0/3][RFC] x86: Catch stray non-kprobe breakpoints Abhishek Sagar
2008-01-29  6:02 ` Ananth N Mavinakayanahalli
2008-01-29 10:40   ` Abhishek Sagar
2008-01-29 13:18     ` Ananth N Mavinakayanahalli
2008-01-29 17:24       ` Abhishek Sagar
2008-01-29 15:13     ` Masami Hiramatsu
2008-01-29 18:08       ` Abhishek Sagar
2008-01-29 19:29         ` Masami Hiramatsu
2008-01-30  4:07           ` Ananth N Mavinakayanahalli

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).