[selinux-policy: 2314/3172] Setrans patch from Dan Walsh.
Daniel J Walsh
dwalsh at fedoraproject.org
Thu Oct 7 22:25:27 UTC 2010
commit 0a119a01427cf94c15f07bb30ccec40d500a8baa
Author: Chris PeBenito <cpebenito at tresys.com>
Date: Tue Nov 24 09:41:03 2009 -0500
Setrans patch from Dan Walsh.
policy/modules/system/setrans.if | 19 +++++++++++++++++++
policy/modules/system/setrans.te | 2 +-
2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/policy/modules/system/setrans.if b/policy/modules/system/setrans.if
index dea7f55..8de660e 100644
--- a/policy/modules/system/setrans.if
+++ b/policy/modules/system/setrans.if
@@ -1,5 +1,24 @@
## <summary>SELinux MLS/MCS label translation service.</summary>
+########################################
+## <summary>
+## Execute setrans server in the setrans domain.
+## </summary>
+## <param name="domain">
+## <summary>
+## The type of the process performing this action.
+## </summary>
+## </param>
+#
+#
+interface(`setrans_initrc_domtrans',`
+ gen_require(`
+ type setrans_initrc_exec_t;
+ ')
+
+ init_labeled_script_domtrans($1, setrans_initrc_exec_t)
+')
+
#######################################
## <summary>
## Allow a domain to translate contexts.
diff --git a/policy/modules/system/setrans.te b/policy/modules/system/setrans.te
index a34ab14..98ffab7 100644
--- a/policy/modules/system/setrans.te
+++ b/policy/modules/system/setrans.te
@@ -1,5 +1,5 @@
-policy_module(setrans, 1.6.0)
+policy_module(setrans, 1.6.1)
gen_require(`
class context contains;
More information about the scm-commits
mailing list