1 |
commit: 515dd31c34c9d6eb1742297e6497748feeb4d68c |
2 |
Author: Sven Vermeulen <swift <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 1 17:47:20 2016 +0000 |
4 |
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 1 17:47:20 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=515dd31c |
7 |
|
8 |
Add hg-src as portage_srcrepo_t |
9 |
|
10 |
Enable /usr/portage/hg-src as portage_srcrepo_t for the mercurial |
11 |
version control system. |
12 |
|
13 |
X-Gentoo-Bug: #578358 |
14 |
|
15 |
policy/modules/contrib/portage.fc | 1 + |
16 |
1 file changed, 1 insertion(+) |
17 |
|
18 |
diff --git a/policy/modules/contrib/portage.fc b/policy/modules/contrib/portage.fc |
19 |
index 655f986..e5479b3 100644 |
20 |
--- a/policy/modules/contrib/portage.fc |
21 |
+++ b/policy/modules/contrib/portage.fc |
22 |
@@ -24,6 +24,7 @@ |
23 |
/usr/portage/distfiles/cvs-src(/.*)? gen_context(system_u:object_r:portage_srcrepo_t,s0) |
24 |
/usr/portage/distfiles/egit-src(/.*)? gen_context(system_u:object_r:portage_srcrepo_t,s0) |
25 |
/usr/portage/distfiles/git.?-src(/.*)? gen_context(system_u:object_r:portage_srcrepo_t,s0) |
26 |
+/usr/portage/distfiles/hg-src(/.*)? gen_context(system_u:object_r:portage_srcrepo_t,s0) |
27 |
/usr/portage/distfiles/svn-src(/.*)? gen_context(system_u:object_r:portage_srcrepo_t,s0) |
28 |
|
29 |
/var/db/pkg(/.*)? gen_context(system_u:object_r:portage_db_t,s0) |