From: bigon@debian.org (Laurent Bigonville) Date: Sun, 13 Apr 2014 23:46:09 +0200 Subject: [refpolicy] [PATCH] Label /etc/locale.alias as locale_t on Debian Message-ID: <1397425569-4013-1-git-send-email-bigon@debian.org> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com From: Laurent Bigonville 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