commit: e447b905125aba52d801af16805805fa760148ac Author: Laurent Bigonville <bigon <AT> bigon <DOT> be> AuthorDate: Sun Apr 13 21:46:09 2014 +0000 Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> CommitDate: Mon Apr 21 15:17:54 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=e447b905
Label /etc/locale.alias as locale_t on Debian 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 7396629..58b4f5f 100644 --- a/policy/modules/system/miscfiles.fc +++ b/policy/modules/system/miscfiles.fc @@ -17,6 +17,10 @@ ifdef(`distro_gentoo',` /etc/ssl/private/(.*)? -- 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) ')
