All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH 1/1] Enable rcs2log location for all distributions
@ 2014-05-29 17:24 Sven Vermeulen
  2014-06-09 15:05 ` Christopher J. PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Vermeulen @ 2014-05-29 17:24 UTC (permalink / raw)
  To: refpolicy

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@siphos.be>
---
 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)
-- 
1.8.5.5

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

* [refpolicy] [PATCH 1/1] Enable rcs2log location for all distributions
  2014-05-29 17:24 [refpolicy] [PATCH 1/1] Enable rcs2log location for all distributions Sven Vermeulen
@ 2014-06-09 15:05 ` Christopher J. PeBenito
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher J. PeBenito @ 2014-06-09 15:05 UTC (permalink / raw)
  To: refpolicy

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 <sven.vermeulen@siphos.be>
> ---
>  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

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

end of thread, other threads:[~2014-06-09 15:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-29 17:24 [refpolicy] [PATCH 1/1] Enable rcs2log location for all distributions Sven Vermeulen
2014-06-09 15:05 ` 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.