selinux-refpolicy/policy/modules/services/hypervkvp.if
2018-06-23 10:38:58 -04:00

30 lines
653 B
Plaintext

## <summary>HyperV key value pair (KVP).</summary>
########################################
## <summary>
## All of the rules required to
## administrate an hypervkvp environment.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
## <param name="role">
## <summary>
## Role allowed access.
## </summary>
## </param>
## <rolecap/>
#
interface(`hypervkvp_admin',`
gen_require(`
type hypervkvpd_t, hypervkvpd_initrc_exec_t;
')
allow $1 hypervkvpd_t:process { ptrace signal_perms };
ps_process_pattern($1, hypervkvpd_t)
init_startstop_service($1, $2, hypervkvpd_t, hypervkvpd_initrc_exec_t)
')