Skip to content
Snippets Groups Projects
Select Git revision
  • 097ff09326a799d091c5569f2c992b252d3878dd
  • test default
2 results

mls_decl

Blame
  • user avatar
    dcashman authored
    In order to support platform changes without simultaneous updates from
    non-platform components, the platform and non-platform policies must be
    split.  In order to provide a guarantee that policy written for
    non-platform objects continues to provide the same access, all types
    exposed to non-platform policy are versioned by converting them and the
    policy using them into attributes.
    
    This change performs that split, the subsequent versioning and also
    generates a mapping file to glue the different policy components
    together.
    
    Test: Device boots and runs.
    Bug: 31369363
    Change-Id: Ibfd3eb077bd9b8e2ff3b2e6a0ca87e44d78b1317
    2e00e637
    History
    mls_decl 276 B
    #########################################
    # MLS declarations
    #
    
    # Generate the desired number of sensitivities and categories.
    gen_sens(mls_num_sens)
    gen_cats(mls_num_cats)
    
    # Generate level definitions for each sensitivity and category.
    gen_levels(mls_num_sens,mls_num_cats)