1 |
commit: 535015c594de2b96880ea2bc0fd219511da4826a |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Sun Dec 30 18:47:34 2012 +0000 |
4 |
Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
5 |
CommitDate: Sun Dec 30 18:47:34 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=535015c5 |
7 |
|
8 |
Mozilla plugin to read profile info |
9 |
|
10 |
The mozilla plugin (through plugin-container) reads in information from the |
11 |
.mozilla/firefox/profiles.ini file, so we need to grant read access on the |
12 |
mozilla_home_t for the mozilla plugin. |
13 |
|
14 |
--- |
15 |
policy/modules/contrib/mozilla.te | 2 ++ |
16 |
1 files changed, 2 insertions(+), 0 deletions(-) |
17 |
|
18 |
diff --git a/policy/modules/contrib/mozilla.te b/policy/modules/contrib/mozilla.te |
19 |
index 2c7ece5..37fe3e7 100644 |
20 |
--- a/policy/modules/contrib/mozilla.te |
21 |
+++ b/policy/modules/contrib/mozilla.te |
22 |
@@ -681,6 +681,8 @@ ifdef(`distro_gentoo',` |
23 |
allow mozilla_plugin_t self:netlink_route_socket r_netlink_socket_perms; |
24 |
allow mozilla_plugin_t self:udp_socket create_socket_perms; |
25 |
|
26 |
+ read_files_pattern(mozilla_plugin_t, mozilla_home_t, mozilla_home_t) |
27 |
+ |
28 |
corenet_sendrecv_pulseaudio_client_packets(mozilla_plugin_t) |
29 |
corenet_tcp_connect_pulseaudio_port(mozilla_plugin_t) |
30 |
corenet_tcp_sendrecv_pulseaudio_port(mozilla_plugin_t) |