All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH] Label /etc/locale.alias as locale_t on Debian
@ 2014-04-13 21:46 Laurent Bigonville
  2014-04-21 13:07 ` Christopher J. PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent Bigonville @ 2014-04-13 21:46 UTC (permalink / raw)
  To: refpolicy

From: Laurent Bigonville <bigon@bigon.be>

On Debian, /usr/share/locale/locale.alias is a symlink to
/etc/locale.alias, properly label this file.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707246
---
 policy/modules/system/miscfiles.fc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/policy/modules/system/miscfiles.fc b/policy/modules/system/miscfiles.fc
index e917c2e..fb7e7b2 100644
--- a/policy/modules/system/miscfiles.fc
+++ b/policy/modules/system/miscfiles.fc
@@ -15,6 +15,10 @@ ifdef(`distro_gentoo',`
 /etc/ssl(/.*)?			gen_context(system_u:object_r:cert_t,s0)
 /etc/timezone		--	gen_context(system_u:object_r:locale_t,s0)
 
+ifdef(`distro_debian',`
+/etc/locale.alias	--	gen_context(system_u:object_r:locale_t,s0)
+')
+
 ifdef(`distro_redhat',`
 /etc/sysconfig/clock	--	gen_context(system_u:object_r:locale_t,s0)
 ')
-- 
1.9.2

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

* [refpolicy] [PATCH] Label /etc/locale.alias as locale_t on Debian
  2014-04-13 21:46 [refpolicy] [PATCH] Label /etc/locale.alias as locale_t on Debian Laurent Bigonville
@ 2014-04-21 13:07 ` Christopher J. PeBenito
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher J. PeBenito @ 2014-04-21 13:07 UTC (permalink / raw)
  To: refpolicy

On 04/13/2014 05:46 PM, Laurent Bigonville wrote:
> From: Laurent Bigonville <bigon@bigon.be>
> 
> On Debian, /usr/share/locale/locale.alias is a symlink to
> /etc/locale.alias, properly label this file.
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707246
> ---
>  policy/modules/system/miscfiles.fc | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/policy/modules/system/miscfiles.fc b/policy/modules/system/miscfiles.fc
> index e917c2e..fb7e7b2 100644
> --- a/policy/modules/system/miscfiles.fc
> +++ b/policy/modules/system/miscfiles.fc
> @@ -15,6 +15,10 @@ ifdef(`distro_gentoo',`
>  /etc/ssl(/.*)?			gen_context(system_u:object_r:cert_t,s0)
>  /etc/timezone		--	gen_context(system_u:object_r:locale_t,s0)
>  
> +ifdef(`distro_debian',`
> +/etc/locale.alias	--	gen_context(system_u:object_r:locale_t,s0)
> +')
> +
>  ifdef(`distro_redhat',`
>  /etc/sysconfig/clock	--	gen_context(system_u:object_r:locale_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-04-21 13:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-13 21:46 [refpolicy] [PATCH] Label /etc/locale.alias as locale_t on Debian Laurent Bigonville
2014-04-21 13:07 ` 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.