| From: |
| Anton Arapov <anton@redhat.com> |
| To: |
| Oleg Nesterov <oleg@redhat.com>,
Srikar Dronamraju <srikar@linux.vnet.ibm.com> |
| Subject: |
| [RFC PATCH v2 0/4] uprobes: return probe implementation |
| Date: |
| Wed, 9 Jan 2013 12:24:48 +0100 |
| Message-ID: |
| <1357730692-3928-1-git-send-email-anton@redhat.com> |
| Cc: |
| LKML <linux-kernel@vger.kernel.org>,
Josh Stone <jistone@redhat.com>,
Frank Eigler <fche@redhat.com>,
Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@elte.hu>,
Ananth N Mavinakayanahalli <ananth@in.ibm.com>,
Anton Arapov <anton@redhat.com> |
| Archive-link: |
| Article, Thread
|
There are RFC uretprobes implementation. I'd be grateful for review.
RFCv1: https://lkml.org/lkml/2012/12/21/133
I've intentionally removed the retprobe bypass logic, it requires
a bit more work.
not fixed since last prior RFC review:
unify xol_get_trampoline_slot() and xol_take_insn_slot()
protect uprobe in prepare_uretprobe()
v2 changes:
introduced rp_handler(), get rid of return_consumers
get rid of uretprobe_[un]register()
introduced arch_uretprobe_get_sp()
removed uprobe_task->doomed, kill task immediately
fix arch_uretprobe_hijack_return_addr()'s returns
address the v1 minor issues
thanks,
Anton Arapov (5):
uretprobes/x86: hijack return address
uretprobes: trampoline implementation
uretprobes: return probe entry, prepare uretprobe
uretprobes: invoke return probe handlers
arch/x86/include/asm/uprobes.h | 6 ++
arch/x86/kernel/uprobes.c | 48 +++++++++++
include/linux/uprobes.h | 9 ++
kernel/events/uprobes.c | 181 ++++++++++++++++++++++++++++++++++++++++-
4 files changed, 241 insertions(+), 3 deletions(-)
--
1.8.0.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/