Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751638AbbGFFDv (ORCPT ); Mon, 6 Jul 2015 01:03:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43271 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750891AbbGFFDp (ORCPT ); Mon, 6 Jul 2015 01:03:45 -0400 From: Pratyush Anand To: linux-arm-kernel@lists.infradead.org, linux@arm.linux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com Cc: linux-kernel@vger.kernel.org, wcohen@redhat.com, dave.long@linaro.org, steve.capper@linaro.org, masami.hiramatsu.pt@hitachi.com, Pratyush Anand Subject: [PATCH 0/2] arm64: some symbols blacklisted for kprobing Date: Mon, 6 Jul 2015 10:33:20 +0530 Message-Id: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1041 Lines: 30 Functions which are called from do_debug_execptions and all entry routines must not allow to insert kprobe in it, otherwise we may witness a system hang. This patch set blacklist such symbols. Patches should be applied on top of arm64 kprobe patches [1]. [1] https://lkml.org/lkml/2015/6/15/514 Pratyush Anand (2): arm64: Blacklist non-kprobe-able symbols arm64: Make all entry code as non-kprobe-able arch/arm64/kernel/debug-monitors.c | 18 ++++++++++++++++++ arch/arm64/kernel/entry.S | 3 +++ arch/arm64/kernel/hw_breakpoint.c | 8 ++++++++ arch/arm64/kernel/kgdb.c | 4 ++++ arch/arm64/kernel/kprobes.c | 9 +++++++++ arch/arm64/kernel/vmlinux.lds.S | 1 + arch/arm64/mm/fault.c | 1 + 7 files changed, 44 insertions(+) -- 2.4.3 -- 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/