From: dominick.grift@gmail.com (grift) Date: Tue, 01 Jan 2013 11:37:15 +0100 Subject: [refpolicy] [PATCH 02/12] Mark make.profile entry as portage_conf_t (v2) In-Reply-To: <1356994351-29191-3-git-send-email-sven.vermeulen@siphos.be> References: <1356994351-29191-1-git-send-email-sven.vermeulen@siphos.be> <1356994351-29191-3-git-send-email-sven.vermeulen@siphos.be> Message-ID: <1357036635.2088.5.camel@localhost> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On Mon, 2012-12-31 at 23:52 +0100, Sven Vermeulen wrote: > 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. > I would probably have left it etc_t but i have no problem with this solution either, this was merged, thanks > 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) >