Browse Source

cron_additional: add policy module

Helmut Pozimski 3 years ago
parent
commit
539c629eef
1 changed files with 11 additions and 0 deletions
  1. 11 0
      cron_additional.te

+ 11 - 0
cron_additional.te

@@ -0,0 +1,11 @@
+policy_module(cron_additional, 0.0.1)
+
+require {
+  type crond_t;
+  type cron_spool_t;
+  type system_cron_spool_t;
+}
+
+allow crond_t cron_spool_t:dir watch;
+allow crond_t system_cron_spool_t:dir watch;
+allow crond_t system_cron_spool_t:file watch;