Received: by 2002:a17:90a:88:0:0:0:0 with SMTP id a8csp4593506pja; Thu, 21 Nov 2019 22:29:37 -0800 (PST) X-Google-Smtp-Source: APXvYqyzwjS/3OrFovB749ZCp9y5ef3ugKV3sG7QcrIyn1uhHa8UpaLe/uceVeGiYKjfHpQuWXD2 X-Received: by 2002:a17:906:3418:: with SMTP id c24mr19767908ejb.121.1574404176942; Thu, 21 Nov 2019 22:29:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574404176; cv=none; d=google.com; s=arc-20160816; b=tlShQw1sertDtBXtwG1k4pV/yOW4fY08TpHJ0/KUCKt/8AileAI73fSDl60wpqsxPN nqXDzx6BqLg7EJEZU4+uyZCEZQ0kBSuBLV1xNWtLyJUegbCGetZr/ta5moP5YsKjaWH1 QSgBqFng+Bu7JIF37VN8h3aZqVKsvIYPIQ4KO1fBrATQEU/alToJidLYX8WCO+rFprxJ UMO32LjzUBsoBCf6uHxCneagKn95+4p+Q/k/8ssNXu6eu1cZisCjkwZCiQsnUMtuGcPs F7vo5kDJihwvqiAfouXAX9LdIhCKUbUSh5hRGVNdMAe0FL6b/t0LCerR3eIeq5LPwrKv TBgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4nofLd1WJe1kighB2LTDf3hdpOjpLW+FJiOcM23zg3Y=; b=WP2pU40UU45aoCe704ps4IdvbXPo8ETuW9zmmP12o7XNrbsAZCNVV74r46IWmtVGba URuGlkDQOK1BskRo1kCczTGncKiaIX8Pl3OeZEYnBw7FPbwC+rOlo9QeJBaEzBr+kYQF axqJ95Ez5n44LKbr75PBMNu0pFWjrE3C17fXaZraifBXDYG1A9p7FfkORH6VHvJXM042 glBuXpYd4BcMWEGV+8nl19AhaGxsDpr/tiuXzhfdFVMqpIt4uAgRR1C4u51vIt073dkA xJwbaMsjxWpYVJKDmJQNoU0eW0tPQWYHoRb2u6+SVgHM4GEqFC3VdoKP3ZlP8kKqyPfv LU0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Fa8IE+au; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10si4728315edn.266.2019.11.21.22.29.13; Thu, 21 Nov 2019 22:29:36 -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=@kernel.org header.s=default header.b=Fa8IE+au; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728535AbfKVG0v (ORCPT + 99 others); Fri, 22 Nov 2019 01:26:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:55328 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727822AbfKVFuk (ORCPT ); Fri, 22 Nov 2019 00:50:40 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0950C2071C; Fri, 22 Nov 2019 05:50:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574401839; bh=Ql9x8nBLRruSTrj/axpdo25m6wC+H80WPeR0h+hYPu4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Fa8IE+auH7bNqpDrTWeyFOq3CyzulDLsTcGjS/A5nsP8Wkg1yzHNeMEljkb/Zfwu3 FY7J0KsmR5RsiqNhE9kGjK+spJFxUJw7fK/pNbDjWJU/xijMji3wQv98IyaE08io5M fiS2sL3klxqWZ1U82IMX8nPhnN6hdQll835Kg84I= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Andrea Righi , Masami Hiramatsu , Boris Ostrovsky , Sasha Levin , xen-devel@lists.xenproject.org Subject: [PATCH AUTOSEL 4.19 080/219] kprobes/x86/xen: blacklist non-attachable xen interrupt functions Date: Fri, 22 Nov 2019 00:46:52 -0500 Message-Id: <20191122054911.1750-73-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191122054911.1750-1-sashal@kernel.org> References: <20191122054911.1750-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andrea Righi [ Upstream commit bf9445a33ae6ac2f0822d2f1ce1365408387d568 ] 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 Acked-by: Masami Hiramatsu Signed-off-by: Boris Ostrovsky Signed-off-by: Sasha Levin --- 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 3a6feed76dfc1..a93d8a7cef26c 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.20.1