commit:     ce276f219e65732b565f66f67d408af840832bd8
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Thu May 29 17:24:48 2014 +0000
Commit:     Sven Vermeulen <swift <AT> gentoo <DOT> org>
CommitDate: Tue Jun 10 18:14:15 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=ce276f21

Enable rcs2log location for all distributions

Currently, the /usr/share/cvs/contrib/rcs2log is only labeled as bin_t
for redhat distributions. Moving this to the general one as it is also
in use on other distributions

Signed-off-by: Sven Vermeulen <sven.vermeulen <AT> siphos.be>

---
 policy/modules/kernel/corecommands.fc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/policy/modules/kernel/corecommands.fc 
b/policy/modules/kernel/corecommands.fc
index 9b4388e..256b258 100644
--- a/policy/modules/kernel/corecommands.fc
+++ b/policy/modules/kernel/corecommands.fc
@@ -300,6 +300,7 @@ ifdef(`distro_gentoo',`
 /usr/share/cluster/.*\.sh              gen_context(system_u:object_r:bin_t,s0)
 /usr/share/cluster/ocf-shellfuncs --   gen_context(system_u:object_r:bin_t,s0)
 /usr/share/cluster/svclib_nfslock --   gen_context(system_u:object_r:bin_t,s0)
+/usr/share/cvs/contrib/rcs2log --      gen_context(system_u:object_r:bin_t,s0)
 /usr/share/e16/misc(/.*)?              gen_context(system_u:object_r:bin_t,s0)
 /usr/share/gedit-2/plugins/externaltools/tools(/.*)?   
gen_context(system_u:object_r:bin_t,s0)
 /usr/share/gitolite/hooks/common/update                --      
gen_context(system_u:object_r:bin_t,s0)
@@ -349,7 +350,6 @@ ifdef(`distro_redhat', `
 /usr/share/authconfig/authconfig-gtk\.py -- 
gen_context(system_u:object_r:bin_t,s0)
 /usr/share/authconfig/authconfig-tui\.py -- 
gen_context(system_u:object_r:bin_t,s0)
 /usr/share/authconfig/authconfig\.py --        
gen_context(system_u:object_r:bin_t,s0)
-/usr/share/cvs/contrib/rcs2log --      gen_context(system_u:object_r:bin_t,s0)
 /usr/share/clamav/clamd-gen    --      gen_context(system_u:object_r:bin_t,s0)
 /usr/share/clamav/freshclam-sleep --   gen_context(system_u:object_r:bin_t,s0)
 /usr/share/createrepo(/.*)?            gen_context(system_u:object_r:bin_t,s0)
@@ -421,5 +421,4 @@ ifdef(`distro_suse',`
 
 ifdef(`distro_gentoo',`
 /usr/lib/xfce4/notifyd/xfce4-notifyd   --      
gen_context(system_u:object_r:bin_t,s0)
-/usr/share/cvs/contrib/rcs2log --      gen_context(system_u:object_r:bin_t,s0)
 ')

Reply via email to