From: cpebenito@tresys.com (Christopher J. PeBenito) Date: Thu, 25 Aug 2011 07:47:27 -0400 Subject: [refpolicy] [PATCH 02/11] Do not audit the use of portage' filedescriptors from load_policy_t In-Reply-To: <20110823133955.GC857@siphos.be> References: <20110823133643.GA857@siphos.be> <20110823133955.GC857@siphos.be> Message-ID: <4E56364F.5020808@tresys.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 08/23/11 09:39, Sven Vermeulen wrote: > During build and eventual activation of the base policy, the load_policy_t > domain attempts to use a portage file descriptor. However, this serves no > purpose (the loading is done correctly and everything is logged > appropriately). > > Hence, we dontaudit this use. Merged. > Signed-off-by: Sven Vermeulen > --- > policy/modules/system/selinuxutil.te | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/policy/modules/system/selinuxutil.te b/policy/modules/system/selinuxutil.te > index e252935..12dabe2 100644 > --- a/policy/modules/system/selinuxutil.te > +++ b/policy/modules/system/selinuxutil.te > @@ -199,6 +199,10 @@ ifdef(`hide_broken_symptoms',` > ') > ') > > +optional_policy(` > + portage_dontaudit_use_fds(load_policy_t) > +') > + > ######################################## > # > # Newrole local policy -- Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com