Blame SOURCES/varnish-4.0.3_fix_varnish4_selinux.el6.patch

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