From: Wang Nan <wangnan0@huawei.com>
To: <tixy@linaro.org>, <masami.hiramatsu.pt@hitachi.com>,
<linux@arm.linux.org.uk>, <will.deacon@arm.com>,
<taras.kondratiuk@linaro.org>, <ben.dooks@codethink.co.uk>,
<cl@linux.com>, <rabin@rab.in>, <davem@davemloft.net>
Cc: <lizefan@huawei.com>, <linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>
Subject: [PATCH v3 0/3] ARM: kprobes: introduces instruction checker.
Date: Fri, 21 Nov 2014 14:35:28 +0800 [thread overview]
Message-ID: <1416551731-50777-1-git-send-email-wangnan0@huawei.com> (raw)
This the third version (and the final version I hope) of instruction
checker patch. It is a part of version 10 of ARM OPTPROBE patch series.
Previous discussion can be found from:
https://lkml.org/lkml/2014/11/18/26
https://lkml.org/lkml/2014/10/25/48
https://lkml.org/lkml/2014/10/22/254
https://lkml.org/lkml/2014/8/27/255
https://lkml.org/lkml/2014/8/12/12
https://lkml.org/lkml/2014/8/8/992
https://lkml.org/lkml/2014/8/8/5
https://lkml.org/lkml/2014/8/5/63
Except fixing an error found by Tixy, the main changes in this series
are mainly small code cleanup and commit message cleanup.
Wang Nan (3):
ARM: kprobes: introduces checker
ARM: kprobes: collects stack consumption for store instructions
ARM: kprobes: disallow probing stack consuming instructions
arch/arm/include/asm/kprobes.h | 1 -
arch/arm/include/asm/probes.h | 13 ++++
arch/arm/kernel/Makefile | 6 +-
arch/arm/kernel/entry-armv.S | 3 +-
arch/arm/kernel/kprobes-arm.c | 3 +
arch/arm/kernel/kprobes-test-arm.c | 16 +++--
arch/arm/kernel/kprobes-thumb.c | 4 ++
arch/arm/kernel/kprobes.c | 15 ++++-
arch/arm/kernel/kprobes.h | 7 +-
arch/arm/kernel/probes-arm.c | 5 +-
arch/arm/kernel/probes-arm.h | 3 +-
arch/arm/kernel/probes-checkers-arm.c | 99 +++++++++++++++++++++++++++++
arch/arm/kernel/probes-checkers-common.c | 87 +++++++++++++++++++++++++
arch/arm/kernel/probes-checkers-thumb.c | 106 +++++++++++++++++++++++++++++++
arch/arm/kernel/probes-checkers.h | 53 ++++++++++++++++
arch/arm/kernel/probes-thumb.c | 10 +--
arch/arm/kernel/probes-thumb.h | 6 +-
arch/arm/kernel/probes.c | 70 ++++++++++++++++++--
arch/arm/kernel/probes.h | 11 +++-
arch/arm/kernel/uprobes.c | 2 +-
20 files changed, 489 insertions(+), 31 deletions(-)
create mode 100644 arch/arm/kernel/probes-checkers-arm.c
create mode 100644 arch/arm/kernel/probes-checkers-common.c
create mode 100644 arch/arm/kernel/probes-checkers-thumb.c
create mode 100644 arch/arm/kernel/probes-checkers.h
--
1.8.4
next reply other threads:[~2014-11-21 6:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-21 6:35 Wang Nan [this message]
2014-11-21 6:35 ` [PATCH v3 1/3] ARM: kprobes: introduces checker Wang Nan
2014-11-21 6:35 ` [PATCH v3 2/3] ARM: kprobes: collects stack consumption for store instructions Wang Nan
2014-11-21 17:18 ` Jon Medhurst (Tixy)
2014-11-21 6:35 ` [PATCH v3 3/3] ARM: kprobes: disallow probing stack consuming instructions Wang Nan
2014-11-21 17:59 ` Jon Medhurst (Tixy)
2014-11-21 20:11 ` [PATCH] ARM: kprobes: Add test cases for " Jon Medhurst (Tixy)
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=1416551731-50777-1-git-send-email-wangnan0@huawei.com \
--to=wangnan0@huawei.com \
--cc=ben.dooks@codethink.co.uk \
--cc=cl@linux.com \
--cc=davem@davemloft.net \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=lizefan@huawei.com \
--cc=masami.hiramatsu.pt@hitachi.com \
--cc=rabin@rab.in \
--cc=taras.kondratiuk@linaro.org \
--cc=tixy@linaro.org \
--cc=will.deacon@arm.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
all inboxes | Powered by JetHome®