diff --git a/policy/modules/services/cron.if b/policy/modules/services/cron.if index d40848ab7..3278c216d 100644 --- a/policy/modules/services/cron.if +++ b/policy/modules/services/cron.if @@ -706,6 +706,26 @@ interface(`cron_manage_system_spool',` manage_files_pattern($1, system_cron_spool_t, system_cron_spool_t) ') +######################################## +## +## Read the system spool. +## +## +## +## Domain allowed access. +## +## +# +interface(`cron_read_system_spool',` + gen_require(` + type system_cron_spool_t; + ') + + cron_search_spool($1) + list_dirs_pattern($1, system_cron_spool_t, system_cron_spool_t) + read_files_pattern($1, system_cron_spool_t, system_cron_spool_t) +') + ######################################## ## ## Read and write crond temporary files.