[selinux-policy: 2017/3172] trunk: init script for setrans.

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 21:59:09 UTC 2010


commit 88c02e0538a94aefd4ab2f7fd455758aa476beec
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Thu Sep 18 18:20:31 2008 +0000

    trunk: init script for setrans.

 policy/modules/system/setrans.fc |    6 ++++--
 policy/modules/system/setrans.te |    5 ++++-
 2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/policy/modules/system/setrans.fc b/policy/modules/system/setrans.fc
index 1cc3d19..bea4629 100644
--- a/policy/modules/system/setrans.fc
+++ b/policy/modules/system/setrans.fc
@@ -1,3 +1,5 @@
-/sbin/mcstransd	--	gen_context(system_u:object_r:setrans_exec_t,s0)
+/etc/rc\.d/init\.d/mcstrans --	gen_context(system_u:object_r:setrans_initrc_exec_t,s0)
 
-/var/run/setrans(/.*)?	gen_context(system_u:object_r:setrans_var_run_t,mls_systemhigh)
+/sbin/mcstransd		--	gen_context(system_u:object_r:setrans_exec_t,s0)
+
+/var/run/setrans(/.*)?		gen_context(system_u:object_r:setrans_var_run_t,mls_systemhigh)
diff --git a/policy/modules/system/setrans.te b/policy/modules/system/setrans.te
index ea4aa26..b8bcd8a 100644
--- a/policy/modules/system/setrans.te
+++ b/policy/modules/system/setrans.te
@@ -1,5 +1,5 @@
 
-policy_module(setrans, 1.4.1)
+policy_module(setrans, 1.4.2)
 
 ########################################
 #
@@ -10,6 +10,9 @@ type setrans_t;
 type setrans_exec_t;
 init_daemon_domain(setrans_t, setrans_exec_t)
 
+type setrans_initrc_exec_t;
+init_script_file(setrans_initrc_exec_t)
+
 type setrans_var_run_t;
 files_pid_file(setrans_var_run_t)
 mls_trusted_object(setrans_var_run_t)


More information about the scm-commits mailing list