Chris PeBenito 31b7c0
# Macro for resmgrd
Chris PeBenito 31b7c0
Chris PeBenito 31b7c0
define(`can_resmgrd_connect', `
Chris PeBenito 31b7c0
ifdef(`resmgrd.te', ` 
Chris PeBenito 31b7c0
allow $1 resmgrd_t:unix_stream_socket connectto;
Chris PeBenito 31b7c0
allow $1 { var_t var_run_t }:dir search;
Chris PeBenito 31b7c0
allow $1 resmgrd_var_run_t:sock_file write;
Chris PeBenito 31b7c0
allow $1 resmgrd_t:fd use;
Chris PeBenito 31b7c0
')
Chris PeBenito 31b7c0
')
Chris PeBenito 31b7c0