Use stream connect pattern.

This commit is contained in:
Dominick Grift 2010-09-21 11:47:34 +02:00
parent b85c14f0b0
commit d696185c23

View File

@ -168,9 +168,8 @@ interface(`rhcs_stream_connect_fenced',`
type fenced_var_run_t, fenced_t;
')
allow $1 fenced_t:unix_stream_socket connectto;
allow $1 fenced_var_run_t:sock_file { getattr write };
files_search_pids($1)
stream_connect_pattern($1, fenced_var_run_t, fenced_var_run_t, fenced_t)
')
#####################################