[selinux-policy: 494/3172] add missing context template

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 19:47:21 UTC 2010


commit 3b6174a1426b51afbea2bf35c5bfe51f3c6787c5
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Fri Jul 15 20:54:24 2005 +0000

    add missing context template

 refpolicy/policy/modules/system/pcmcia.fc |   12 ++++++------
 refpolicy/policy/modules/system/raid.fc   |    6 +++---
 2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/refpolicy/policy/modules/system/pcmcia.fc b/refpolicy/policy/modules/system/pcmcia.fc
index 9dac1a2..aafe8e2 100644
--- a/refpolicy/policy/modules/system/pcmcia.fc
+++ b/refpolicy/policy/modules/system/pcmcia.fc
@@ -1,10 +1,10 @@
 
-/etc/apm/event\.d/pcmcia --	system_u:object_r:cardmgr_exec_t
+/etc/apm/event\.d/pcmcia --	context_template(system_u:object_r:cardmgr_exec_t,s0)
 
-/sbin/cardctl		--	system_u:object_r:cardctl_exec_t
-/sbin/cardmgr		--	system_u:object_r:cardmgr_exec_t
+/sbin/cardctl		--	context_template(system_u:object_r:cardctl_exec_t,s0)
+/sbin/cardmgr		--	context_template(system_u:object_r:cardmgr_exec_t,s0)
 
-/var/lib/pcmcia(/.*)?		system_u:object_r:cardmgr_var_run_t
+/var/lib/pcmcia(/.*)?		context_template(system_u:object_r:cardmgr_var_run_t,s0)
 
-/var/run/cardmgr\.pid	--	system_u:object_r:cardmgr_var_run_t
-/var/run/stab		--	system_u:object_r:cardmgr_var_run_t
+/var/run/cardmgr\.pid	--	context_template(system_u:object_r:cardmgr_var_run_t,s0)
+/var/run/stab		--	context_template(system_u:object_r:cardmgr_var_run_t,s0)
diff --git a/refpolicy/policy/modules/system/raid.fc b/refpolicy/policy/modules/system/raid.fc
index c6126ed..e7118d6 100644
--- a/refpolicy/policy/modules/system/raid.fc
+++ b/refpolicy/policy/modules/system/raid.fc
@@ -1,5 +1,5 @@
 
-/sbin/mdadm		--	system_u:object_r:mdadm_exec_t
-/sbin/mdmpd		--	system_u:object_r:mdadm_exec_t
+/sbin/mdadm		--	context_template(system_u:object_r:mdadm_exec_t,s0)
+/sbin/mdmpd		--	context_template(system_u:object_r:mdadm_exec_t,s0)
 
-/var/run/mdadm(/.*)?            system_u:object_r:mdadm_var_run_t 
+/var/run/mdadm(/.*)?		context_template(system_u:object_r:mdadm_var_run_t,s0)


More information about the scm-commits mailing list