All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH 1/7] Properly label all the ssh host keys
@ 2012-12-05 20:39 Laurent Bigonville
  2012-12-05 20:39 ` [refpolicy] [PATCH 2/7] Allow udev_t domain to read files labeled as consolekit_var_run_t Laurent Bigonville
                   ` (6 more replies)
  0 siblings, 7 replies; 18+ messages in thread
From: Laurent Bigonville @ 2012-12-05 20:39 UTC (permalink / raw)
  To: refpolicy

From: Laurent Bigonville <bigon@bigon.be>

Be sure that we are labeling properly all ssh host keys even if new
algorithms are added in the future.
---
 policy/modules/services/ssh.fc |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/policy/modules/services/ssh.fc b/policy/modules/services/ssh.fc
index 7df96c5..76d9f66 100644
--- a/policy/modules/services/ssh.fc
+++ b/policy/modules/services/ssh.fc
@@ -1,9 +1,7 @@
 HOME_DIR/\.ssh(/.*)?			gen_context(system_u:object_r:ssh_home_t,s0)
 
 /etc/ssh/primes			--	gen_context(system_u:object_r:sshd_key_t,s0)
-/etc/ssh/ssh_host_key 		--	gen_context(system_u:object_r:sshd_key_t,s0)
-/etc/ssh/ssh_host_dsa_key	--	gen_context(system_u:object_r:sshd_key_t,s0)
-/etc/ssh/ssh_host_rsa_key	--	gen_context(system_u:object_r:sshd_key_t,s0)
+/etc/ssh/ssh_host.*_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)
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2012-12-16 16:41 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-05 20:39 [refpolicy] [PATCH 1/7] Properly label all the ssh host keys Laurent Bigonville
2012-12-05 20:39 ` [refpolicy] [PATCH 2/7] Allow udev_t domain to read files labeled as consolekit_var_run_t Laurent Bigonville
2012-12-07  5:48   ` Christopher J. PeBenito
2012-12-05 20:39 ` [refpolicy] [PATCH 3/7] Label /var/run/shm as tmpfs_t Laurent Bigonville
2012-12-07  5:13   ` Christopher J. PeBenito
2012-12-15 22:29     ` Laurent Bigonville
2012-12-16 16:41       ` grift
2012-12-05 20:39 ` [refpolicy] [PATCH 4/7] authlogin.if: Add auth_create_pam_console_data_dirs and auth_pid_filetrans_pam_var_console interfaces Laurent Bigonville
2012-12-07  5:49   ` Christopher J. PeBenito
2012-12-05 20:39 ` [refpolicy] [PATCH 5/7] init.if: Add init_daemon_run_file interface Laurent Bigonville
2012-12-05 21:58   ` grift
2012-12-05 22:15     ` [refpolicy] [PATCH 5/7 v2] " Laurent Bigonville
2012-12-07  5:26       ` Christopher J. PeBenito
2012-12-05 20:39 ` [refpolicy] [PATCH 6/7] Label /etc/rc.d/init.d/x11-common as xdm_exec_t Laurent Bigonville
2012-12-07  5:50   ` Christopher J. PeBenito
2012-12-05 20:39 ` [refpolicy] [PATCH 7/7] Drop /etc/rc.d/init.d/xfree86-common filecontext definition Laurent Bigonville
2012-12-07  5:51   ` Christopher J. PeBenito
2012-12-07  5:48 ` [refpolicy] [PATCH 1/7] Properly label all the ssh host keys Christopher J. PeBenito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.