1 |
commit: 5d53781c9e1acf2faa64a23540330a520d2757f6 |
2 |
Author: Jason Zaman <jason <AT> perfinion <DOT> com> |
3 |
AuthorDate: Mon Nov 23 15:23:32 2015 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 17 18:51:56 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=5d53781c |
7 |
|
8 |
portage: allow portage to rw all MLS levels |
9 |
|
10 |
policy/modules/contrib/portage.te | 5 +++++ |
11 |
1 file changed, 5 insertions(+) |
12 |
|
13 |
diff --git a/policy/modules/contrib/portage.te b/policy/modules/contrib/portage.te |
14 |
index 2f62eb6..19bd8c8 100644 |
15 |
--- a/policy/modules/contrib/portage.te |
16 |
+++ b/policy/modules/contrib/portage.te |
17 |
@@ -449,6 +449,11 @@ gen_tunable(portage_enable_test, false) |
18 |
corecmd_relabel_bin_files(portage_t) |
19 |
corecmd_relabel_bin_lnk_files(portage_t) |
20 |
|
21 |
+ mls_file_read_all_levels(portage_t) |
22 |
+ mls_file_write_all_levels(portage_t) |
23 |
+ mls_file_upgrade(portage_t) |
24 |
+ mls_file_downgrade(portage_t) |
25 |
+ |
26 |
auth_use_nsswitch(portage_t) |
27 |
|
28 |
# Support cgroup FEATURES |