From: cpebenito@tresys.com (Christopher J. PeBenito) Date: Mon, 9 Jun 2014 11:05:12 -0400 Subject: [refpolicy] [PATCH 1/1] Enable rcs2log location for all distributions In-Reply-To: <1401384288-11462-1-git-send-email-sven.vermeulen@siphos.be> References: <1401384288-11462-1-git-send-email-sven.vermeulen@siphos.be> Message-ID: <5395CD28.1010405@tresys.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 05/29/2014 01:24 PM, Sven Vermeulen wrote: > 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 > --- > policy/modules/kernel/corecommands.fc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/policy/modules/kernel/corecommands.fc b/policy/modules/kernel/corecommands.fc > index 096c4fd..5961142 100644 > --- a/policy/modules/kernel/corecommands.fc > +++ b/policy/modules/kernel/corecommands.fc > @@ -286,6 +286,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) > @@ -338,7 +339,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) Merged. -- Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com