From: Konrad Rzeszutek Wilk Subject: [PATCH] flask: Allow initial domain to use XENPF_get_symbol Date: Mon, 5 Oct 2015 11:16:18 -0400 Message-ID: <1444058178-3858-1-git-send-email-konrad.wilk@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Zj7V9-0007DS-JD for xen-devel@lists.xenproject.org; Mon, 05 Oct 2015 15:16:31 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org, ian.campbell@citrix.com, ian.jackson@eu.citrix.com, jbeulich@suse.com, xen-devel@lists.xen.org, dgdegra@tycho.nsa.gov Cc: Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org It looks to be missing in the policy file for the initial domain. Eventually we may want to extend this access to non-dom0 domains but for now it certainly dom0-only. Reviewed-by: Boris Ostrovsky Signed-off-by: Konrad Rzeszutek Wilk --- tools/flask/policy/policy/modules/xen/xen.te | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/flask/policy/policy/modules/xen/xen.te b/tools/flask/policy/policy/modules/xen/xen.te index 5e94ee3..d35ae22 100644 --- a/tools/flask/policy/policy/modules/xen/xen.te +++ b/tools/flask/policy/policy/modules/xen/xen.te @@ -71,6 +71,7 @@ allow dom0_t xen_t:xen2 { }; allow dom0_t xen_t:xen2 { pmu_ctrl + get_symbol }; allow dom0_t xen_t:mmu memorymap; -- 2.1.0