aboutsummaryrefslogtreecommitdiff
blob: d457736d55593c2aa027b25e8e251707fa2ad018 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
## <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)
')