Blame SOURCES/varnish-4.0.3_fix_varnish4_selinux.el6.patch

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