• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#################################################
2# MLS policy constraints
3#
4
5# We aren't using MLS in Microdroid. But the policy grammar requires
6# at least one MLS declaration, and checkpolicy enforces this. We
7# don't want to disable MLS, since we share some file labels with the
8# host (e.g. files in APEXes) which does have MLS. So we include this
9# fairly harmless constraint.
10
11# Process transition:  Require equivalence.
12mlsconstrain process { transition dyntransition } (h1 eq h2 and l1 eq l2);
13