[refpolicy] [PATCH 3/13] Adding dontaudit on mta

Christopher J. PeBenito cpebenito at tresys.com
Fri Apr 20 15:10:46 CDT 2012


On 03/22/12 16:08, Sven Vermeulen wrote:
> 
> Signed-off-by: Sven Vermeulen <sven.vermeulen at siphos.be>
> ---
>  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


More information about the refpolicy mailing list