summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Vermeulen <swift@gentoo.org>2012-12-03 08:52:46 +0000
committerSven Vermeulen <swift@gentoo.org>2012-12-03 08:52:46 +0000
commit28283f0cbc14c95805e846773f8f80d4387280dd (patch)
tree3bf3d4987b9bf4b06ea503b3f790a8cee6a6cc8e /sec-policy/selinux-virt
parentfix typo, thanks tomwij (diff)
downloadgentoo-2-28283f0cbc14c95805e846773f8f80d4387280dd.tar.gz
gentoo-2-28283f0cbc14c95805e846773f8f80d4387280dd.tar.bz2
gentoo-2-28283f0cbc14c95805e846773f8f80d4387280dd.zip
Bumping to revision 8
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0xCDBA2FDB)
Diffstat (limited to 'sec-policy/selinux-virt')
-rw-r--r--sec-policy/selinux-virt/ChangeLog9
-rw-r--r--sec-policy/selinux-virt/files/fix-qemu-is-optional-r8.patch15
-rw-r--r--sec-policy/selinux-virt/selinux-virt-2.20120725-r8.ebuild15
3 files changed, 37 insertions, 2 deletions
diff --git a/sec-policy/selinux-virt/ChangeLog b/sec-policy/selinux-virt/ChangeLog
index 1fcf4fa76310..981987ca1e41 100644
--- a/sec-policy/selinux-virt/ChangeLog
+++ b/sec-policy/selinux-virt/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sec-policy/selinux-virt
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-virt/ChangeLog,v 1.19 2012/11/18 15:18:01 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-virt/ChangeLog,v 1.20 2012/12/03 08:52:29 swift Exp $
+
+*selinux-virt-2.20120725-r8 (03 Dec 2012)
+
+ 03 Dec 2012; Sven Vermeulen +files/fix-qemu-is-optional-r8.patch,
+ +selinux-virt-2.20120725-r8.ebuild:
+ Bumping to revision 8
*selinux-virt-2.20120725-r7 (18 Nov 2012)
@@ -89,4 +95,3 @@
01 Jan 2011; Chris Richards <gizmo@www.giz-works.com>
+selinux-virt-2.20101213.ebuild, +metadata.xml:
Initial commit
-
diff --git a/sec-policy/selinux-virt/files/fix-qemu-is-optional-r8.patch b/sec-policy/selinux-virt/files/fix-qemu-is-optional-r8.patch
new file mode 100644
index 000000000000..07518c5b1c14
--- /dev/null
+++ b/sec-policy/selinux-virt/files/fix-qemu-is-optional-r8.patch
@@ -0,0 +1,15 @@
+--- contrib/virt.te 2012-11-25 21:35:09.181247450 +0100
++++ contrib/virt.te 2012-11-25 21:34:09.223216815 +0100
+@@ -281,7 +281,11 @@
+ userdom_search_user_home_dirs(virt_domain)
+ userdom_read_all_users_state(virt_domain)
+
+-qemu_exec(virt_domain)
++ifdef(`distro_gentoo',`
++ optional_policy(`
++ qemu_exec(virt_domain)
++ ')
++')
+
+ tunable_policy(`virt_use_execmem',`
+ allow virt_domain self:process { execmem execstack };
diff --git a/sec-policy/selinux-virt/selinux-virt-2.20120725-r8.ebuild b/sec-policy/selinux-virt/selinux-virt-2.20120725-r8.ebuild
new file mode 100644
index 000000000000..66d2da64bfa3
--- /dev/null
+++ b/sec-policy/selinux-virt/selinux-virt-2.20120725-r8.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-virt/selinux-virt-2.20120725-r8.ebuild,v 1.1 2012/12/03 08:52:29 swift Exp $
+EAPI="4"
+
+IUSE=""
+MODS="virt"
+BASEPOL="2.20120725-r8"
+
+inherit selinux-policy-2
+
+DESCRIPTION="SELinux policy for virt"
+
+KEYWORDS="~amd64 ~x86"
+POLICY_PATCH="${FILESDIR}/fix-qemu-is-optional-r8.patch"