selinux-policy/policy/modules/services/resmgr.if

23 lines
495 B
Plaintext
Raw Normal View History

2006-04-14 19:13:17 +00:00
## <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)
')