Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752678AbaKUGih (ORCPT ); Fri, 21 Nov 2014 01:38:37 -0500 Received: from szxga03-in.huawei.com ([119.145.14.66]:35103 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751025AbaKUGig (ORCPT ); Fri, 21 Nov 2014 01:38:36 -0500 From: Wang Nan To: , , , , , , , , CC: , , Subject: [PATCH v3 0/3] ARM: kprobes: introduces instruction checker. Date: Fri, 21 Nov 2014 14:35:28 +0800 Message-ID: <1416551731-50777-1-git-send-email-wangnan0@huawei.com> X-Mailer: git-send-email 1.8.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.107.197.247] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020209.546EDDEA.0200,ss=1,re=0.001,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 50a80ed3057accb2003350e7af27424f Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 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/