1 |
commit: b0b027157f3d12f12c5f859343ae4c28224c5629 |
2 |
Author: Jonathan Davies <jpds <AT> protonmail <DOT> com> |
3 |
AuthorDate: Tue Nov 17 03:46:23 2020 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 28 22:55:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=b0b02715 |
7 |
|
8 |
portage: Added /var/cache/distfiles path. |
9 |
|
10 |
Closes: https://github.com/perfinion/hardened-refpolicy/pull/1 |
11 |
Signed-off-by: Jason Zaman <jason <AT> perfinion.com> |
12 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
13 |
|
14 |
policy/modules/admin/portage.fc | 1 + |
15 |
1 file changed, 1 insertion(+) |
16 |
|
17 |
diff --git a/policy/modules/admin/portage.fc b/policy/modules/admin/portage.fc |
18 |
index 5757deaa..b1b28f3e 100644 |
19 |
--- a/policy/modules/admin/portage.fc |
20 |
+++ b/policy/modules/admin/portage.fc |
21 |
@@ -28,6 +28,7 @@ |
22 |
/var/db/pkg(/.*)? gen_context(system_u:object_r:portage_db_t,s0) |
23 |
/var/db/repos(/.*)? gen_context(system_u:object_r:portage_ebuild_t,s0) |
24 |
/var/cache/binpkgs(/.*)? gen_context(system_u:object_r:portage_ebuild_t,s0) |
25 |
+/var/cache/distfiles(/.*)? gen_context(system_u:object_r:portage_ebuild_t,s0) |
26 |
/var/cache/distfiles/cvs-src(/.*)? gen_context(system_u:object_r:portage_srcrepo_t,s0) |
27 |
/var/cache/distfiles/egit-src(/.*)? gen_context(system_u:object_r:portage_srcrepo_t,s0) |
28 |
/var/cache/distfiles/git[0-9]-src(/.*)? gen_context(system_u:object_r:portage_srcrepo_t,s0) |