[selinux-policy: 115/3172] add legacy read locale

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 19:15:02 UTC 2010


commit 0fef98c4051fdd7469f9ceb697c1668eaf4ccc7c
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Thu May 5 20:33:35 2005 +0000

    add legacy read locale

 refpolicy/policy/modules/system/miscfiles.if |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/refpolicy/policy/modules/system/miscfiles.if b/refpolicy/policy/modules/system/miscfiles.if
index 7f078b4..dc37d08 100644
--- a/refpolicy/policy/modules/system/miscfiles.if
+++ b/refpolicy/policy/modules/system/miscfiles.if
@@ -20,3 +20,18 @@ class dir { getattr read search };
 class lnk_file { getattr read };
 class file { getattr read };
 ')
+
+########################################
+#
+# miscfiles_legacy_read_localization(domain)
+#
+define(`miscfiles_legacy_read_localization',`
+requires_block_template(`$0'_depend)
+miscfiles_read_localization($1)
+allow $1 locale_t:file execute;
+')
+
+define(`miscfiles_read_localization_depend',`
+type locale_t;
+class file execute;
+')


More information about the scm-commits mailing list