[selinux-policy: 261/3172] initial commit

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 19:27:29 UTC 2010


commit 43bc3906c5d3261676f0dd58e8bed170fe87654c
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Tue Jun 7 14:46:31 2005 +0000

    initial commit

 refpolicy/policy/modules/services/remotelogin.fc |    2 +
 refpolicy/policy/modules/services/remotelogin.if |   25 ++++++++++++++++++++++
 2 files changed, 27 insertions(+), 0 deletions(-)
---
diff --git a/refpolicy/policy/modules/services/remotelogin.fc b/refpolicy/policy/modules/services/remotelogin.fc
new file mode 100644
index 0000000..d8691bd
--- /dev/null
+++ b/refpolicy/policy/modules/services/remotelogin.fc
@@ -0,0 +1,2 @@
+
+# Remote login currently has no file contexts.
diff --git a/refpolicy/policy/modules/services/remotelogin.if b/refpolicy/policy/modules/services/remotelogin.if
new file mode 100644
index 0000000..c4a3913
--- /dev/null
+++ b/refpolicy/policy/modules/services/remotelogin.if
@@ -0,0 +1,25 @@
+## <module name="remotelogin" layer="services">
+## <summary>Policy for rshd, rlogind, and telnetd.</summary>
+
+########################################
+## <interface name="remotelogin_domtrans">
+##	<description>
+##		Domain transition to the remote login domain.
+##	</description>
+##	<parameter name="domain">
+##		The type of the process performing this action.
+##	</parameter>
+##	<infoflow type="write" weight="10"/>
+## </interface>
+#
+define(`remotelogin_domtrans',`
+	requires_block_template(`$0'_depend)
+
+	authlogin_login_program_transition($1,remote_login_t)
+')
+
+define(`remotelogin_domtrans_depend',`
+	type remote_login_t;
+')
+
+## </module>


More information about the scm-commits mailing list