1 ## <summary>cloudform policy</summary>
3 #######################################
5 ## Creates types and rules for a basic
6 ## cloudform daemon domain.
8 ## <param name="prefix">
10 ## Prefix for the domain.
14 template(`cloudform_domain_template',`
16 attribute cloudform_domain;
19 type $1_t, cloudform_domain;
21 init_daemon_domain($1_t, $1_exec_t)
24 ######################################
26 ## Execute mongod in the caller domain.
28 ## <param name="domain">
30 ## Domain allowed access.
34 interface(`cloudform_exec_mongod',`
39 can_exec($1, mongod_exec_t)