diff --git a/policy/modules/system/xdg.if b/policy/modules/system/xdg.if index 1bff4ae01..11fc43069 100644 --- a/policy/modules/system/xdg.if +++ b/policy/modules/system/xdg.if @@ -63,6 +63,26 @@ interface(`xdg_data_content',` userdom_user_home_content($1) ') +######################################## +## +## Search through the xdg cache home directories +## +## +## +## Domain allowed access. +## +## +# +interface(`xdg_search_cache_dirs',` + gen_require(` + type xdg_cache_t; + ') + + search_dirs_pattern($1, xdg_cache_t, xdg_cache_t) + + userdom_search_user_home_dirs($1) +') + ######################################## ## ## Read the xdg cache home files