From 43bc3906c5d3261676f0dd58e8bed170fe87654c Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Jun 07 2005 14:46:31 +0000 Subject: initial commit --- 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 @@ +## +## 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; +') + +##