1 |
commit: 0305b1b1d184ffac8b11e372ea4f8f8d78e3630d |
2 |
Author: Chris PeBenito <pebenito <AT> ieee <DOT> org> |
3 |
AuthorDate: Thu Jan 28 15:55:35 2021 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 1 01:21:42 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=0305b1b1 |
7 |
|
8 |
cron: Make backup call for system_cronjob_t optional. |
9 |
|
10 |
Signed-off-by: Chris PeBenito <pebenito <AT> ieee.org> |
11 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
12 |
|
13 |
policy/modules/services/cron.te | 6 ++++-- |
14 |
1 file changed, 4 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/policy/modules/services/cron.te b/policy/modules/services/cron.te |
17 |
index 72e1d8c4..c4342f05 100644 |
18 |
--- a/policy/modules/services/cron.te |
19 |
+++ b/policy/modules/services/cron.te |
20 |
@@ -309,8 +309,6 @@ init_start_all_units(system_cronjob_t) |
21 |
init_get_generic_units_status(system_cronjob_t) |
22 |
init_get_system_status(system_cronjob_t) |
23 |
|
24 |
-backup_manage_store_files(system_cronjob_t) |
25 |
- |
26 |
auth_manage_var_auth(crond_t) |
27 |
auth_use_pam(crond_t) |
28 |
|
29 |
@@ -396,6 +394,10 @@ optional_policy(` |
30 |
amavis_search_lib(crond_t) |
31 |
') |
32 |
|
33 |
+optional_policy(` |
34 |
+ backup_manage_store_files(system_cronjob_t) |
35 |
+') |
36 |
+ |
37 |
optional_policy(` |
38 |
djbdns_search_tinydns_keys(crond_t) |
39 |
djbdns_link_tinydns_keys(crond_t) |