Blame SOURCES/0014-Allow-to-define-sock-file-in-etc-directory.patch

f0c25a
From ae6f0f8121cc3551bb0b0d415b91010b9ba6848f Mon Sep 17 00:00:00 2001
f0c25a
From: Petr Lautrbach <plautrba@redhat.com>
f0c25a
Date: Thu, 9 Jul 2015 15:46:32 +0200
f0c25a
Subject: [PATCH] Allow to define sock file in /etc directory
f0c25a
f0c25a
Resolves: rhbz#1188360
f0c25a
---
f0c25a
 sepolicy/sepolicy/templates/etc_rw.py | 4 ++++
f0c25a
 1 file changed, 4 insertions(+)
f0c25a
f0c25a
diff --git a/sepolicy/sepolicy/templates/etc_rw.py b/sepolicy/sepolicy/templates/etc_rw.py
f0c25a
index dcf445e..b0ee119 100644
f0c25a
--- a/sepolicy/sepolicy/templates/etc_rw.py
f0c25a
+++ b/sepolicy/sepolicy/templates/etc_rw.py
f0c25a
@@ -137,3 +137,7 @@ FILENAME		--	gen_context(system_u:object_r:TEMPLATETYPE_etc_rw_t,s0)
f0c25a
 fc_dir="""\
f0c25a
 FILENAME(/.*)?		gen_context(system_u:object_r:TEMPLATETYPE_etc_rw_t,s0)
f0c25a
 """
f0c25a
+
f0c25a
+fc_sock_file="""\
f0c25a
+FILENAME        -s  gen_context(system_u:object_r:TEMPLATETYPE_etc_rw_t,s0)
f0c25a
+"""
f0c25a
-- 
f0c25a
2.4.3
f0c25a