From patchwork Mon Oct 9 15:53:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Rzeszutek Wilk X-Patchwork-Id: 9993755 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B280260216 for ; Mon, 9 Oct 2017 15:56:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A5D012881C for ; Mon, 9 Oct 2017 15:56:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9810A28824; Mon, 9 Oct 2017 15:56:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 391E128820 for ; Mon, 9 Oct 2017 15:56:05 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1aNW-0002jG-Fe; Mon, 09 Oct 2017 15:54:02 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1aNU-0002ij-PM for xen-devel@lists.xenproject.org; Mon, 09 Oct 2017 15:54:00 +0000 Received: from [85.158.139.211] by server-4.bemta-5.messagelabs.com id 19/49-02229-89B9BD95; Mon, 09 Oct 2017 15:54:00 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrKIsWRWlGSWpSXmKPExsVyMfTOQd3ps29 HGpzaqG3xfctkJgdGj8MfrrAEMEaxZuYl5VcksGac2veKvaCXveLru5/sDYxb2LoYuTiEBKYz SrRvbGACcVgEPrBIrHh+mRXEkRCYxioxY9px9i5GDiAnS+LMGd4uRk4gM01i6ooJLBB2tcTce ++ZQWwhASWJLZMfM0JMPcgkcezVbrAiYQE9icnfbjOC2GwC+hJP115jhmh2lNi6/QwriC0iIC Mxb/ImMJtZwE9iyvGN7BC9rhJNL9uZQGwWAVWJ9W93gNXwCphKrNq+nRVijrzExN5pYPM5Bcw kmp7cZ4U4yFTi/5JPrBMYhRcwMqxiVC9OLSpLLdI11UsqykzPKMlNzMzRNTQw1ctNLS5OTE/N SUwq1kvOz93ECAxQBiDYwfil3/kQoyQHk5Io77wZtyOF+JLyUyozEosz4otKc1KLDzHKcHAoS fAemAWUEyxKTU+tSMvMAcYKTFqCg0dJhHc1SJq3uCAxtzgzHSJ1itGe48KdS3+YOG48vA4kD+ y5BSQ7bt79wyTEkpeflyolznsKpE0ApC2jNA9uKCy2LzHKSgnzMgKdKcRTkFqUm1mCKv+KUZy DUUmYdwvIFJ7MvBK43a+AzmICOoux+AbIWSWJCCmpBsZVitrHTYtPam31fHpgleyuXdy31MW3 pJ9IEHy+NHNnkMOO/UeOT962demm9Yvqdr48LMGVt0W85LnDkbC3j9TzFXRPXmw7MWHiFHdrJ gHBXStdTxhJ/X/bf0giVenTj9UHOF3WTv8a0Gvy4ZFjaNOHtSn7500Ou/d2phGTzgOOvgPGGf fsbrTNUWIpzkg01GIuKk4EAD9x+JboAgAA X-Env-Sender: ketuzsezr@gmail.com X-Msg-Ref: server-15.tower-206.messagelabs.com!1507564439!92151286!1 X-Originating-IP: [209.85.220.193] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 52690 invoked from network); 9 Oct 2017 15:53:59 -0000 Received: from mail-qk0-f193.google.com (HELO mail-qk0-f193.google.com) (209.85.220.193) by server-15.tower-206.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 9 Oct 2017 15:53:59 -0000 Received: by mail-qk0-f193.google.com with SMTP id 17so9673916qkq.5 for ; Mon, 09 Oct 2017 08:53:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=f5It6qr8zZUU+kGQdJ42XGpSH9+xUOVD0Io2P3TGuGc=; b=nnxRsTkQvzV2+QVUN45t/xrWEHukgnPKceJ0NwjxhjQYJwACs3bhlqJO0c1RkUxOCo 07udM4JvZSa4klt0e+W2ldRlgYqp6c0QhIbemjJJO2xqedEaiYdvpXuWxqyeO+4zKkLj ZdQIimYuI91TLFpydzRbSptBYlnuPvur6lYG/QkW3fHhmiUplb58xBH9U/mtmNgiSdWe HuN93b+z/P5NU4hNWvm3TBISnNM3uYNrArCuthY/J9r51Z7QXJTMH4L0+pMb9c8raTIB L5prKnILJnWe7pe4MOlL2IWVpcJd03eX0ckxD70ECKzV9skIm2nACL3MPuGWIan4p8k7 M7NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=f5It6qr8zZUU+kGQdJ42XGpSH9+xUOVD0Io2P3TGuGc=; b=ljpEpYcn/WDzX6NptB+rKX2EFGBW13+o6xdqZRBlpu92Dxd1z3J68kccKKq46Hc/1I lPzwVUZ3kt38oNR7vgUw9nrDfK+jewZaQqknuAh/tLONahVAj2HNPcajiE7o9/oo2i7g o4CeLi45rilyGKkZrLL/Oyv0T5wI8W7l9x+Hyc9Fr8cBUpbMUfcInxr2H6v3N3xYyU93 nWm/i83S0TYVRUHelre2cinrfOWH76lMlkoviNsrGfOiDdcm8IvQyNuw4GWeb8e0rX0q vRzWVpOpZj99vKi+AyQk3cWh6jFM0FehavwMnjJ9JSRem4nXJGlCKXjqH3W67KVtDWGz auvQ== X-Gm-Message-State: AMCzsaXs8IkMCfVxHpJVLqAC2cy9hAUx4L12d2DIx9TJkYSnZweMBrzk sIrtMpc/V+KHJMvASd7J8nNoTg== X-Google-Smtp-Source: AOwi7QCPi0bpVgfbq+raBhtAnh4t9PD4qXk3RrozzYuVo/SyROZirkv9AEcaNqicKmmRSImukpX76w== X-Received: by 10.55.109.131 with SMTP id i125mr3890113qkc.219.1507564438660; Mon, 09 Oct 2017 08:53:58 -0700 (PDT) Received: from localhost.localdomain (209-6-200-48.s4398.c3-0.smr-ubr2.sbo-smr.ma.cable.rcncustomer.com. [209.6.200.48]) by smtp.gmail.com with ESMTPSA id n76sm2961215qkn.85.2017.10.09.08.53.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Oct 2017 08:53:57 -0700 (PDT) From: Konrad Rzeszutek Wilk X-Google-Original-From: Konrad Rzeszutek Wilk To: refpolicy@oss.tresys.com Date: Mon, 9 Oct 2017 11:53:46 -0400 Message-Id: <20171009155347.8871-2-konrad@darnok.org> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20171009155347.8871-1-konrad@darnok.org> References: <20171009155347.8871-1-konrad@darnok.org> Cc: xen-devel@lists.xenproject.org, Konrad Rzeszutek Wilk Subject: [Xen-devel] [refpolicy SELinux PATCH 1/2] kernel/xen: Update for Xen 4.6 X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Konrad Rzeszutek Wilk libxenstored since git commit 9c89dc95201ffed5fead17b35754bf9440fdbdc0 prefers to use "/dev/xen/xenbus" over the "/proc/xen/xenbus". Signed-off-by: Konrad Rzeszutek Wilk --- policy/modules/kernel/devices.fc | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/kernel/devices.fc b/policy/modules/kernel/devices.fc index f4093434b..e206720be 100644 --- a/policy/modules/kernel/devices.fc +++ b/policy/modules/kernel/devices.fc @@ -183,6 +183,7 @@ ifdef(`distro_suse', ` /dev/xen/gntdev -c gen_context(system_u:object_r:xen_device_t,s0) /dev/xen/gntalloc -c gen_context(system_u:object_r:xen_device_t,s0) /dev/xen/privcmd -c gen_context(system_u:object_r:xen_device_t,s0) +/dev/xen/xenbus -c gen_context(system_u:object_r:xen_device_t,s0) ifdef(`distro_debian',` # this is a static /dev dir "backup mount"