From 43bc3906c5d3261676f0dd58e8bed170fe87654c Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Tue, 7 Jun 2005 14:46:31 +0000 Subject: [PATCH] initial commit --- .../policy/modules/services/remotelogin.fc | 2 ++ .../policy/modules/services/remotelogin.if | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 refpolicy/policy/modules/services/remotelogin.fc create mode 100644 refpolicy/policy/modules/services/remotelogin.if diff --git a/refpolicy/policy/modules/services/remotelogin.fc b/refpolicy/policy/modules/services/remotelogin.fc new file mode 100644 index 00000000..d8691bd1 --- /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 00000000..c4a39133 --- /dev/null +++ b/refpolicy/policy/modules/services/remotelogin.if @@ -0,0 +1,25 @@ +## +## Policy for rshd, rlogind, and telnetd. + +######################################## +## +## +## Domain transition to the remote login domain. +## +## +## The type of the process performing this action. +## +## +## +# +define(`remotelogin_domtrans',` + requires_block_template(`$0'_depend) + + authlogin_login_program_transition($1,remote_login_t) +') + +define(`remotelogin_domtrans_depend',` + type remote_login_t; +') + +##