Use stream_connect_pattern.
Signed-off-by: Dominick Grift <domg472@gmail.com>
This commit is contained in:
parent
83029ff3c5
commit
2e2a24e07d
@ -38,8 +38,7 @@ interface(`zebra_stream_connect',`
|
|||||||
')
|
')
|
||||||
|
|
||||||
files_search_pids($1)
|
files_search_pids($1)
|
||||||
allow $1 zebra_var_run_t:sock_file write;
|
stream_connect_pattern($1, zebra_var_run_t, zebra_var_run_t, zebra_t)
|
||||||
allow $1 zebra_t:unix_stream_socket connectto;
|
|
||||||
')
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
|
Loading…
Reference in New Issue
Block a user