ac13ad949b
Use stream_connect_pattern. Use stream_connect_pattern. Use stream_connect_pattern. Signed-off-by: Dominick Grift <domg472@gmail.com>
22 lines
465 B
Plaintext
22 lines
465 B
Plaintext
## <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;
|
|
')
|
|
|
|
files_search_pids($1)
|
|
stream_connect_pattern($1, resmgrd_var_run_t, resmgrd_var_run_t, resmgrd_t)
|
|
')
|