1 |
commit: f5c8676f3ab615cc127e962d9f45fad1dfddd595 |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Tue Aug 27 10:22:24 2013 +0000 |
4 |
Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
5 |
CommitDate: Tue Aug 27 10:22:24 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=f5c8676f |
7 |
|
8 |
Recent firefox requires execmem (again) |
9 |
|
10 |
--- |
11 |
policy/modules/contrib/mozilla.te | 2 ++ |
12 |
1 file changed, 2 insertions(+) |
13 |
|
14 |
diff --git a/policy/modules/contrib/mozilla.te b/policy/modules/contrib/mozilla.te |
15 |
index aedcc00..5e89868 100644 |
16 |
--- a/policy/modules/contrib/mozilla.te |
17 |
+++ b/policy/modules/contrib/mozilla.te |
18 |
@@ -634,6 +634,7 @@ gen_tunable(mozilla_plugin_connect_all_unreserved, false) |
19 |
|
20 |
allow mozilla_t mozilla_exec_t:file { execute_no_trans }; |
21 |
allow mozilla_t mozilla_plugin_t:process { rlimitinh siginh noatsecure }; |
22 |
+ allow mozilla_t self:process execmem; # Startup of firefox (otherwise immediately killed) |
23 |
|
24 |
manage_fifo_files_pattern(mozilla_t, mozilla_tmp_t, mozilla_tmp_t) |
25 |
|
26 |
@@ -709,6 +710,7 @@ gen_tunable(mozilla_plugin_connect_all_unreserved, false) |
27 |
|
28 |
allow mozilla_plugin_t self:netlink_route_socket r_netlink_socket_perms; |
29 |
allow mozilla_plugin_t self:udp_socket create_socket_perms; |
30 |
+ allow mozilla_plugin_t self:process execmem; # Needed for flash plugin |
31 |
|
32 |
read_files_pattern(mozilla_plugin_t, mozilla_home_t, mozilla_home_t) |