From: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
To: Ingo Molnar <mingo@elte.hu>, linux-kernel@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>,
Ananth N Mavinakayanahalli <ananth@in.ibm.com>,
yrl.pp-manager.tt@hitachi.com, systemtap@sourceware.org,
anderson@redhat.com
Subject: [PATCH v4 -tip 0/3] x86/kprobes: bugfixes and split optprobes
Date: Mon, 05 Mar 2012 22:32:01 +0900 [thread overview]
Message-ID: <20120305133200.5982.45827.stgit@localhost.localdomain> (raw)
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
next reply other threads:[~2012-03-05 13:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-05 13:32 Masami Hiramatsu [this message]
2012-03-05 13:32 ` [PATCH v4 -tip 1/3] [BUGFIX] x86/kprobes: Fix to recover instructions on optimized path Masami Hiramatsu
2012-03-06 16:16 ` [tip:perf/core] x86/kprobes: Fix instruction recovery " tip-bot for 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-06 16:17 ` [tip:perf/core] x86/kprobes: Fix a bug which can modify kernel code permanently tip-bot for Masami Hiramatsu
2012-03-05 13:32 ` [PATCH v4 -tip 3/3] x86/kprobes: Split out optprobe related code to kprobes-opt.c Masami Hiramatsu
2012-03-06 16:18 ` [tip:perf/core] " tip-bot for Masami Hiramatsu
2012-03-06 9:10 ` [PATCH v4 -tip 0/3] x86/kprobes: bugfixes and split optprobes Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120305133200.5982.45827.stgit@localhost.localdomain \
--to=masami.hiramatsu.pt@hitachi.com \
--cc=ananth@in.ibm.com \
--cc=anderson@redhat.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=systemtap@sourceware.org \
--cc=tglx@linutronix.de \
--cc=yrl.pp-manager.tt@hitachi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox