From: sven.vermeulen@siphos.be (Sven Vermeulen) Date: Mon, 31 Dec 2012 23:52:21 +0100 Subject: [refpolicy] [PATCH 02/12] Mark make.profile entry as portage_conf_t (v2) In-Reply-To: <1356994351-29191-1-git-send-email-sven.vermeulen@siphos.be> References: <1356994351-29191-1-git-send-email-sven.vermeulen@siphos.be> Message-ID: <1356994351-29191-3-git-send-email-sven.vermeulen@siphos.be> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com Although the /etc/make.profile symlink is going to be removed in a matter of time, it is currently still very much in use and should be marked as portage_conf_t. Fixed to use -l instead of -s in the file context. Signed-off-by: Sven Vermeulen --- portage.fc | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/portage.fc b/portage.fc index d044552..da4892c 100644 --- a/portage.fc +++ b/portage.fc @@ -1,5 +1,6 @@ /etc/make\.conf -- gen_context(system_u:object_r:portage_conf_t,s0) /etc/make\.globals -- gen_context(system_u:object_r:portage_conf_t,s0) +/etc/make\.profile -l gen_context(system_u:object_r:portage_conf_t,s0) /etc/portage(/.*)? gen_context(system_u:object_r:portage_conf_t,s0) /etc/portage/gpg(/.*)? gen_context(system_u:object_r:portage_gpg_t,s0) -- 1.7.8.6