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; +')