Debian Codegraph @

tools/flask/policy/modules/prot_domU.te

raw
1 # This is an alternative to nomigrate_t: a policy boolean controls the ability
2 # to create or migrate a domain of type prot_domU_t. If disabled, dom0 cannot
3 # map memory belonging to those domains.
4 gen_bool(prot_doms_locked, false)
5 declare_domain(prot_domU_t)
6 if (!prot_doms_locked) {
7 create_domain(dom0_t, prot_domU_t)
8 migrate_domain_out(dom0_t, prot_domU_t)
9 }
10 domain_comms(dom0_t, prot_domU_t)
11 domain_comms(domU_t, prot_domU_t)
12 domain_comms(prot_domU_t, prot_domU_t)
13 domain_self_comms(prot_domU_t)