public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v4 -tip 0/3] x86/kprobes: bugfixes and split optprobes
@ 2012-03-05 13:32 Masami Hiramatsu
  2012-03-05 13:32 ` [PATCH v4 -tip 2/3] [BUGFIX] x86/kprobes: Fix a bug which can modify kernel code Masami Hiramatsu
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Masami Hiramatsu @ 2012-03-05 13:32 UTC (permalink / raw)
  To: Ingo Molnar, linux-kernel
  Cc: Thomas Gleixner, H. Peter Anvin, Ananth N Mavinakayanahalli,
	yrl.pp-manager.tt, systemtap, anderson

Hi,

Here are the patches for fixing bugs in kprobes on x86.

- Both bugs are related to the optprobe.
- First bugfix is optprobe to recover instructions when
  thoes are modified with jump.
- Second bugfix is kprobes to recover it too.

This series also includes a patch which split optprobes
parts out from kprobes x86 implementation.

Ingo, I've added the splitting patch according your
advice :)

Thank you,

---

Masami Hiramatsu (3):
      x86/kprobes: Split out optprobe related code to kprobes-opt.c
      [BUGFIX] x86/kprobes: Fix a bug which can modify kernel code
      [BUGFIX] x86/kprobes: Fix to recover instructions on optimized path


 arch/x86/kernel/Makefile         |    1 
 arch/x86/kernel/kprobes-common.h |  106 ++++++
 arch/x86/kernel/kprobes-opt.c    |  516 +++++++++++++++++++++++++++++++
 arch/x86/kernel/kprobes.c        |  633 ++++----------------------------------
 4 files changed, 684 insertions(+), 572 deletions(-)
 create mode 100644 arch/x86/kernel/kprobes-common.h
 create mode 100644 arch/x86/kernel/kprobes-opt.c

-- 
Masami HIRAMATSU
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@hitachi.com

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

end of thread, other threads:[~2012-03-06  9:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-05 13:32 [PATCH v4 -tip 0/3] x86/kprobes: bugfixes and split optprobes Masami Hiramatsu
2012-03-05 13:32 ` [PATCH v4 -tip 2/3] [BUGFIX] x86/kprobes: Fix a bug which can modify kernel code Masami Hiramatsu
2012-03-05 13:32 ` [PATCH v4 -tip 1/3] [BUGFIX] x86/kprobes: Fix to recover instructions on optimized path Masami Hiramatsu
2012-03-05 13:33 ` [PATCH v4 -tip 3/3] x86/kprobes: Split out optprobe related code to kprobes-opt.c Masami Hiramatsu
2012-03-06  9:11 ` [PATCH v4 -tip 0/3] x86/kprobes: bugfixes and split optprobes Ingo Molnar

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 read-only IMAP folder(s) and NNTP newsgroup(s).