commit:     146e952a40fd58ae69176dfdde31d389cc516c2d
Author:     Dominick Grift <dac.override <AT> gmail <DOT> com>
AuthorDate: Tue Sep  9 16:12:02 2014 +0000
Commit:     Sven Vermeulen <swift <AT> gentoo <DOT> org>
CommitDate: Sat Sep 13 09:16:55 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=146e952a

cron: that boolean identifier does not exist also require it

---
 policy/modules/contrib/cron.if | 4 ++--
 policy/modules/contrib/cron.te | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/policy/modules/contrib/cron.if b/policy/modules/contrib/cron.if
index 893ff91..868d89f 100644
--- a/policy/modules/contrib/cron.if
+++ b/policy/modules/contrib/cron.if
@@ -223,7 +223,7 @@ interface(`cron_admin_role',`
                type cronjob_t, crontab_exec_t, admin_crontab_t;
                class passwd crontab;
                type crond_t, crond_var_run_t, user_cron_spool_t;
-               bool cron_userdomain_transition;
+               bool cron_userdomain_transition, fcron_crond;
        ')
 
        ##############################
@@ -277,7 +277,7 @@ interface(`cron_admin_role',`
                dontaudit $2 cronjob_t:process { ptrace signal_perms };
        ')
 
-       tunable_policy(`crond_fcron',`
+       tunable_policy(`fcron_crond',`
                # Support for fcrondyn
                stream_connect_pattern($2, crond_var_run_t, crond_var_run_t, 
crond_t)
        ')

diff --git a/policy/modules/contrib/cron.te b/policy/modules/contrib/cron.te
index 237c2a6..0555125 100644
--- a/policy/modules/contrib/cron.te
+++ b/policy/modules/contrib/cron.te
@@ -1,4 +1,4 @@
-policy_module(cron, 2.7.1)
+policy_module(cron, 2.7.2)
 
 gen_require(`
        class passwd rootok;

Reply via email to