[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <479C4A28.3020705@gmail.com>
Date: Sun, 27 Jan 2008 14:38:56 +0530
From: Abhishek Sagar <sagar.abhishek@...il.com>
To: LKML <linux-kernel@...r.kernel.org>
CC: jkenisto@...ibm.com, ananth@...ibm.com,
Masami Hiramatsu <mhiramat@...hat.com>,
Ingo Molnar <mingo@...e.hu>
Subject: [PATCH 0/3][RFC] x86: Catch stray non-kprobe breakpoints
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists