Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3824651imu; Mon, 10 Dec 2018 08:23:02 -0800 (PST) X-Google-Smtp-Source: AFSGD/UHivsAOlNGaG9+wl92DYzueLSn1NAfrRnDxsp/VhNSWuKeh9xdyEWRQzeCRlmojIf4E4XB X-Received: by 2002:a62:1289:: with SMTP id 9mr13141315pfs.102.1544458982683; Mon, 10 Dec 2018 08:23:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544458982; cv=none; d=google.com; s=arc-20160816; b=J0BFrIFKsEp4cDkQTHUSqpWJe4FywYvXQPgUy1TUuDQrgnaOe378AoQEQrvYNrjPwb 7y3KLa38Kt4vJFPY7Dp+Ivew5CJ5DbC1UOcqxRs/FrD9yrYHP/Y5EiZNhjHpo+rUcfA3 a33BL2HNHPbjBqBalDO0BJVQWLB3T59UPIJFMNmhCcGgQ2w6+8LdjT1hYZy9yK5ErWTP 9CjrG3xI8SaBxir26xv1jEJ5YH4ans0m/mrGVwAGs34Ii9lVO2WCaWBRiCjtRFisfP1T 1hmZ0t2J+YXvWiEg/FWGLgqiJSXEABc/rqXvHFyVD//tAPOlsdz/zNi2wUOqlpkTFXh6 phLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=SZzKSrhqccWQdpOVW17AHjuTu939cT/b5KlSYsuXu2Q=; b=gfhg7yATn5tkc9herYj1NaHVcBnmWmIlIjAnP6z2GC3yIXb5M8nFsM/QzcLQV0vSNT cVF6OVNcGN7oIGRugjDk6OGvpfqtrlEIxQZyMUxFBL0em9efefK8gxljsBWj4Cf+1lda 3Y9KWh5eEElnSM0ZQlLTIV5bAbBn7rKae813P1wU0MIgUfhpUvx4peBvp4JjqOmXWiwL 3/vzeJ90frMQm/lOCj3eeF/sIKYJmMpMXJVDDqhEaiAn0aJGQ5MxaWVUt/NPN5+1JH6E 3ArFIvr+eEz34gyA6MinKn1BbV5ZFf0ptaYNGwkvO04Od1hYlZc0tR7v75+hU+IHZpGq IMVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EMFSZuAM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l24si9926419pgb.489.2018.12.10.08.22.47; Mon, 10 Dec 2018 08:23:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EMFSZuAM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727593AbeLJPNA (ORCPT + 99 others); Mon, 10 Dec 2018 10:13:00 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:46565 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727121AbeLJPNA (ORCPT ); Mon, 10 Dec 2018 10:13:00 -0500 Received: by mail-wr1-f65.google.com with SMTP id l9so10805388wrt.13 for ; Mon, 10 Dec 2018 07:12:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=SZzKSrhqccWQdpOVW17AHjuTu939cT/b5KlSYsuXu2Q=; b=EMFSZuAMaNTdvPGKAYAdCKY/LLtFhVvK1dci3wuXGuPw9GuBqo16T1bf08VeXnqyb7 8TJ3oFhGeV1ZlAq57SMVjTV9kqhb7EI2/8WWontfXOxjpbIGdTBpPV/f2Qs7pI9use9N qP1WK6mv55FKrQp3sSYgzqCkjoNtL6Jf6AU2aTRxT9v2AWtHODxGHM8UmjMHbPeEbHmE MRuP3eJ+Kap6CZlZwWw32TX8BmwKBiGpXq7/QeljIO5L032XCj2i2lJ7IUE9sKraoqMg bHyfTZC/OXh2k3U905zd5Z0jSQu3tEyZGlYTOp/1naOnt7t7v5rN69R+O7YdjZ+qOtr2 zXhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=SZzKSrhqccWQdpOVW17AHjuTu939cT/b5KlSYsuXu2Q=; b=CiCRUsqMl9bDm8uBGQJji7arHuax2aPxwLvQBNo1fyQ6ydG/WzUHdDeTBq1dQLFxSE E6wCIi/8h1yflmdc9smzr81xvUOWefFj1Xtt3iuPvY2i12ACCcQ1ZxH9b6X+i7/fZI73 +wGiI86e/LV5uwxnQ+tkd2myHt8QDbSE+IuJnlWe5xkwl1Fv6r1Tjaz9SDQzFkcViOP/ aIbLFbJNAK1/86hgNJ5gC05aMmMA2q8iQx0rFvmn0ye9FzXwhmXkkzj5igFjo1YIgmbo ySiucmf8jJ0UFbqjh6g+ji3WlwX6IKvOhByC1sUQoRL51IU4KmSm3b7OW+cg2aK0rTD6 ZFTQ== X-Gm-Message-State: AA+aEWYHBNgv5GqvQP/3aVQVujiEgCEZOB37PjcW+a6LvtLKAJdTQPuY 3ZKvHzcrU98r9kqfBuWCPQ== X-Received: by 2002:a05:6000:8a:: with SMTP id m10mr9808615wrx.79.1544454778463; Mon, 10 Dec 2018 07:12:58 -0800 (PST) Received: from localhost (host34-126-dynamic.27-79-r.retail.telecomitalia.it. [79.27.126.34]) by smtp.gmail.com with ESMTPSA id 129sm12168951wmd.18.2018.12.10.07.12.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 10 Dec 2018 07:12:57 -0800 (PST) Date: Mon, 10 Dec 2018 16:12:57 +0100 From: Andrea Righi To: Masami Hiramatsu , Boris Ostrovsky , Juergen Gross , Stefano Stabellini Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , x86@kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Subject: [PATCH] kprobes/x86/xen: blacklist non-attachable xen interrupt functions Message-ID: <20181210151256.GA1977@Dell> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Blacklist symbols in Xen probe-prohibited areas, so that user can see these prohibited symbols in debugfs. See also: a50480cb6d61. Signed-off-by: Andrea Righi --- arch/x86/xen/xen-asm_64.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/xen/xen-asm_64.S b/arch/x86/xen/xen-asm_64.S index bb1c2da0381d..1e9ef0ba30a5 100644 --- a/arch/x86/xen/xen-asm_64.S +++ b/arch/x86/xen/xen-asm_64.S @@ -12,6 +12,7 @@ #include #include #include +#include #include @@ -24,6 +25,7 @@ ENTRY(xen_\name) pop %r11 jmp \name END(xen_\name) +_ASM_NOKPROBE(xen_\name) .endm xen_pv_trap divide_error -- 2.17.1