[refpolicy] [PATCH 1/2] Label /var/run/mdadm/map as mdadm_map_t

Laurent Bigonville bigon at debian.org
Tue Sep 11 18:31:47 CDT 2012


From: Laurent Bigonville <bigon at bigon.be>

mdadm is now creating map file under /run/mdadm/map
---
 raid.fc |    1 +
 1 file changed, 1 insertion(+)

diff --git a/raid.fc b/raid.fc
index ed9c70d..e3c8bfb 100644
--- a/raid.fc
+++ b/raid.fc
@@ -4,3 +4,4 @@
 /sbin/mdmpd		--	gen_context(system_u:object_r:mdadm_exec_t,s0)
 
 /var/run/mdadm(/.*)?		gen_context(system_u:object_r:mdadm_var_run_t,s0)
+/var/run/mdadm/map	--	gen_context(system_u:object_r:mdadm_map_t,s0)
-- 
1.7.10.4



More information about the refpolicy mailing list