From mboxrd@z Thu Jan 1 00:00:00 1970 From: cpebenito@tresys.com (Christopher J. PeBenito) Date: Fri, 20 Apr 2012 16:10:46 -0400 Subject: [refpolicy] [PATCH 3/13] Adding dontaudit on mta In-Reply-To: <20120322200821.GD3387@siphos.be> References: <20120322200229.GA3387@siphos.be> <20120322200821.GD3387@siphos.be> Message-ID: <4F91C2C6.5060706@tresys.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 03/22/12 16:08, Sven Vermeulen wrote: > > Signed-off-by: Sven Vermeulen > --- > mta.if | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/mta.if b/mta.if > index 343cee3..509bcea 100644 > --- a/mta.if > +++ b/mta.if > @@ -174,6 +174,8 @@ interface(`mta_role',` > allow mta_user_agent $2:fd use; > allow mta_user_agent $2:process sigchld; > allow mta_user_agent $2:fifo_file { read write }; > + > + dontaudit mta_user_agent $1:unix_stream_socket rw_socket_perms; > ') > > ######################################## Does not work. $1 is a role. -- Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com