Blob Blame History Raw
## <summary>Resource management daemon</summary>

########################################
## <summary>
##	Connect to resmgrd over a unix domain
##	stream socket.
## </summary>
## <param name="domain">
##	<summary>
##	Domain allowed access.
##	</summary>
## </param>
#
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)
')