##
## Allow qemu to connect fully to the network
-@@ -13,28 +15,154 @@
+@@ -13,28 +15,160 @@
##
gen_tunable(qemu_full_network, false)
@@ -3807,6 +3809,9 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
+type qemu_cache_t;
+files_type(qemu_cache_t)
+
++type qemu_var_run_t;
++files_pid_file(qemu_var_run_t)
++
+########################################
+#
+# qemu common policy
@@ -3823,6 +3828,9 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
+manage_files_pattern(qemu_t, qemu_cache_t, qemu_cache_t)
+files_var_filetrans(qemu_t, qemu_cache_t, { file dir })
+
++manage_files_pattern(qemu_t, qemu_var_run_t, qemu_var_run_t)
++files_pid_filetrans(qemu_t, qemu_var_run_t, file)
++
+kernel_read_system_state(qemutype)
+
+corenet_all_recvfrom_unlabeled(qemutype)
diff --git a/selinux-policy.spec b/selinux-policy.spec
index 2e7040c..28a1e73 100644
--- a/selinux-policy.spec
+++ b/selinux-policy.spec
@@ -20,7 +20,7 @@
Summary: SELinux policy configuration
Name: selinux-policy
Version: 3.6.4
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPLv2+
Group: System Environment/Base
Source: serefpolicy-%{version}.tgz
@@ -444,6 +444,9 @@ exit 0
%endif
%changelog
+* Sun Feb 8 2009 Dan Walsh