selinux-policy/policy/modules/services/resmgr.if
2006-07-12 20:32:27 +00:00

23 lines
495 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;
')
allow $1 resmgrd_t:unix_stream_socket connectto;
allow $1 resmgrd_var_run_t:sock_file { getattr write };
files_search_pids($1)
')