12 lines
244 B
Plaintext
12 lines
244 B
Plaintext
|
# Macro for resmgrd
|
||
|
|
||
|
define(`can_resmgrd_connect', `
|
||
|
ifdef(`resmgrd.te', `
|
||
|
allow $1 resmgrd_t:unix_stream_socket connectto;
|
||
|
allow $1 { var_t var_run_t }:dir search;
|
||
|
allow $1 resmgrd_var_run_t:sock_file write;
|
||
|
allow $1 resmgrd_t:fd use;
|
||
|
')
|
||
|
')
|
||
|
|