[selinux-policy: 889/3172] fix

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 20:21:53 UTC 2010


commit f1b0a8c55bbaad924df7b3844d52de2d81f7d27b
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Fri Oct 28 18:46:46 2005 +0000

    fix

 refpolicy/policy/modules/services/ssh.fc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/refpolicy/policy/modules/services/ssh.fc b/refpolicy/policy/modules/services/ssh.fc
index e79f119..699badc 100644
--- a/refpolicy/policy/modules/services/ssh.fc
+++ b/refpolicy/policy/modules/services/ssh.fc
@@ -4,7 +4,6 @@
 /etc/ssh/ssh_host_rsa_key	--	gen_context(system_u:object_r:sshd_key_t,s0)
 
 /usr/bin/ssh			--	gen_context(system_u:object_r:ssh_exec_t,s0)
-/usr/bin/ssh-agent		--	gen_context(system_u:object_r:ssh_agent_exec_t,s0)
 /usr/bin/ssh-keygen		--	gen_context(system_u:object_r:ssh_keygen_exec_t,s0)
 
 /usr/libexec/openssh/ssh-keysign --	gen_context(system_u:object_r:ssh_keysign_exec_t,s0)
@@ -14,5 +13,7 @@
 /var/run/sshd\.init\.pid	--	gen_context(system_u:object_r:sshd_var_run_t,s0)
 
 ifdef(`targeted_policy', `', `
+/usr/bin/ssh-agent		--	gen_context(system_u:object_r:ssh_agent_exec_t,s0)
+
 HOME_DIR/\.ssh(/.*)?			gen_context(system_u:object_r:ROLE_home_ssh_t,s0)
 ')


More information about the scm-commits mailing list