Use stream connect pattern.
This commit is contained in:
parent
b85c14f0b0
commit
d696185c23
@ -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)
|
||||
')
|
||||
|
||||
#####################################
|
||||
|
Loading…
Reference in New Issue
Block a user