## Resource management daemon
########################################
##
## Connect to resmgrd over a unix domain
## stream socket.
##
##
##
## Domain allowed access.
##
##
#
interface(`resmgr_stream_connect',`
gen_require(`
type resmgrd_var_run_t, resmgrd_t;
')
allow $1 resmgrd_t:unix_stream_socket connectto;
allow $1 resmgrd_var_run_t:sock_file { getattr write };
files_search_pids($1)
')