From 0293695addc0511ca02380c93a479683658f7f39 Mon Sep 17 00:00:00 2001 From: Dominick Grift Date: Sep 17 2010 12:32:46 +0000 Subject: Use stream connect pattern. --- diff --git a/policy/modules/services/apm.if b/policy/modules/services/apm.if index 1ea99b2..8c1c60c 100644 --- a/policy/modules/services/apm.if +++ b/policy/modules/services/apm.if @@ -108,6 +108,5 @@ interface(`apm_stream_connect',` ') files_search_pids($1) - allow $1 apmd_var_run_t:sock_file write; - allow $1 apmd_t:unix_stream_socket connectto; + stream_connect_pattern($1, apmd_var_run_t, apmd_var_run_t, apmd_t) ')