Use stream_connect_pattern.

Signed-off-by: Dominick Grift <domg472@gmail.com>
This commit is contained in:
Dominick Grift 2010-09-15 21:30:35 +02:00
parent 83029ff3c5
commit 2e2a24e07d

View File

@ -38,8 +38,7 @@ interface(`zebra_stream_connect',`
')
files_search_pids($1)
allow $1 zebra_var_run_t:sock_file write;
allow $1 zebra_t:unix_stream_socket connectto;
stream_connect_pattern($1, zebra_var_run_t, zebra_var_run_t, zebra_t)
')
########################################