Gentoo Archives: gentoo-commits

From: Sven Vermeulen <sven.vermeulen@××××××.be>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/
Date: Tue, 27 Nov 2012 20:01:17
Message-Id: 1354044000.ae43136476eb0c200262281ef9014b4ed9243f38.SwifT@gentoo
1 commit: ae43136476eb0c200262281ef9014b4ed9243f38
2 Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
3 AuthorDate: Tue Nov 27 19:20:00 2012 +0000
4 Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
5 CommitDate: Tue Nov 27 19:20:00 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=ae431364
7
8 Mark make.profile entry as portage_conf_t
9
10 Although the /etc/make.profile symlink is going to be removed in a matter of
11 time, it is currently still very much in use and should be marked as
12 portage_conf_t.
13
14 ---
15 policy/modules/contrib/portage.fc | 4 ++++
16 1 files changed, 4 insertions(+), 0 deletions(-)
17
18 diff --git a/policy/modules/contrib/portage.fc b/policy/modules/contrib/portage.fc
19 index d044552..cc92873 100644
20 --- a/policy/modules/contrib/portage.fc
21 +++ b/policy/modules/contrib/portage.fc
22 @@ -33,3 +33,7 @@
23 /var/tmp/emerge-webrsync(/.*)? gen_context(system_u:object_r:portage_tmp_t,s0)
24 /var/tmp/portage(/.*)? gen_context(system_u:object_r:portage_tmp_t,s0)
25 /var/tmp/portage-pkg(/.*)? gen_context(system_u:object_r:portage_tmp_t,s0)
26 +
27 +ifdef(`distro_gentoo',`
28 +/etc/make\.profile -s gen_context(system_u:object_r:portage_conf_t,s0)
29 +')