1 |
commit: e04cc19f599d56567d0a61667ba343701724aa16 |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Thu Nov 22 19:21:56 2012 +0000 |
4 |
Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
5 |
CommitDate: Tue Nov 27 19:07:49 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=e04cc19f |
7 |
|
8 |
Asterisk voicemail messages are generated from tmp |
9 |
|
10 |
When asterisk creates a voicemail message to send to the end user, the message |
11 |
recording is a temporary file (labeled asterisk_tmp_t) which is then picked up |
12 |
by the system mailer. Hence, we need to mark asterisk_tmp_t as |
13 |
mta_system_content(). |
14 |
|
15 |
Signed-off-by: Sven Vermeulen <sven.vermeulen <AT> siphos.be> |
16 |
|
17 |
--- |
18 |
policy/modules/contrib/asterisk.te | 1 + |
19 |
1 files changed, 1 insertions(+), 0 deletions(-) |
20 |
|
21 |
diff --git a/policy/modules/contrib/asterisk.te b/policy/modules/contrib/asterisk.te |
22 |
index 1005ebc..bb7039e 100644 |
23 |
--- a/policy/modules/contrib/asterisk.te |
24 |
+++ b/policy/modules/contrib/asterisk.te |
25 |
@@ -171,6 +171,7 @@ optional_policy(` |
26 |
|
27 |
optional_policy(` |
28 |
mta_send_mail(asterisk_t) |
29 |
+ mta_system_content(asterisk_tmp_t) |
30 |
') |
31 |
|
32 |
optional_policy(` |