1 |
commit: 2b6e4ce7100ae407716c847e49bd4f46c5a58892 |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Mon Oct 29 18:52:16 2012 +0000 |
4 |
Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
5 |
CommitDate: Mon Oct 29 18:52:16 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=2b6e4ce7 |
7 |
|
8 |
Use create_files_pattern to support cron_log_t marked directories |
9 |
|
10 |
--- |
11 |
policy/modules/contrib/cron.if | 2 +- |
12 |
1 files changed, 1 insertions(+), 1 deletions(-) |
13 |
|
14 |
diff --git a/policy/modules/contrib/cron.if b/policy/modules/contrib/cron.if |
15 |
index e6259bd..a1ecb7f 100644 |
16 |
--- a/policy/modules/contrib/cron.if |
17 |
+++ b/policy/modules/contrib/cron.if |
18 |
@@ -440,7 +440,7 @@ interface(`cron_create_log_files',` |
19 |
type cron_log_t; |
20 |
') |
21 |
|
22 |
- allow $1 cron_log_t:file create_file_perms; |
23 |
+ create_files_pattern($1, cron_log_t, cron_log_t) |
24 |
') |
25 |
|
26 |
######################################## |