Blame SOURCES/varnish-4.0.3_fix_varnish4_selinux.el6.patch

beffc1
diff -Nur ../varnish-4.0.3_pre_selinux/selinux/varnish4.te ./selinux/varnish4.te
beffc1
--- ../varnish-4.0.3_pre_selinux/selinux/varnish4.te	1970-01-01 01:00:00.000000000 +0100
beffc1
+++ ./selinux/varnish4.te	2015-03-06 10:00:00.015151633 +0100
beffc1
@@ -0,0 +1,13 @@
beffc1
+
beffc1
+module varnish4 1.0;
beffc1
+
beffc1
+require {
beffc1
+	type varnishd_t;
beffc1
+	class capability { fowner chown fsetid };
beffc1
+}
beffc1
+
beffc1
+#============= varnishd_t ==============
beffc1
+allow varnishd_t self:capability fowner;
beffc1
+allow varnishd_t self:capability chown;
beffc1
+allow varnishd_t self:capability fsetid;
beffc1
+