From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753302AbdF2OJL (ORCPT ); Thu, 29 Jun 2017 10:09:11 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:58951 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753270AbdF2OI7 (ORCPT ); Thu, 29 Jun 2017 10:08:59 -0400 From: "Naveen N. Rao" To: Masami Hiramatsu Cc: Ingo Molnar , Ananth N Mavinakayanahalli , linux-kernel@vger.kernel.org Subject: [RFC PATCH 0/2] Show kprobe blacklisted address ranges in debugfs Date: Thu, 29 Jun 2017 19:38:36 +0530 X-Mailer: git-send-email 2.13.1 X-TM-AS-MML: disable x-cbid: 17062914-0044-0000-0000-000002772F04 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17062914-0045-0000-0000-000007072F04 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-06-29_10:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1706290230 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the ability to discover all blacklisted address _ranges_ (such as those with __kprobes annotation, __entry text code, et al) through the kprobes/blacklist debugfs file. This can then be used by userspace to accurately detect which addresses can't be probed on. - Naveen Naveen N. Rao (2): kprobes: Simplify kprobe blacklist management kprobes: Allow specifying names for certain blacklisted address ranges arch/arm64/kernel/probes/kprobes.c | 31 +++++++++------- arch/powerpc/kernel/kprobes.c | 10 ++--- arch/x86/kernel/kprobes/core.c | 10 ++--- include/linux/kprobes.h | 3 ++ kernel/kprobes.c | 75 +++++++++++++++++++++++--------------- 5 files changed, 76 insertions(+), 53 deletions(-) -- 2.13.1