MLS File Syntax

Within a CDS Framework project, the file conf/framework_mls.xml relates the CDS Framework specified MLS levels to the SELinux MLS associations. The format of this file is an XML file, shown in the following example:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<mls>
   <level name='mls-low' color='0xffffff' range='mls_systemlow' order='0' />
   <level name='mls-high' color='0xff0000' range='mls_systemhigh' order='1' />
</mls>

The mls tag denotes this file contains MLS information understood by CDS Framework.
Each level line describes a single MLS level definition.
The name attribute is the human readable name for the attribute.
The color attribute is the color to display in the graphical policy editor.
The range attribute is the SELinux MLS level to get assigned once the CDS Framework policy is translated into SELinux policy.
The order attribute is the order in which to display this item for selection.

This file is edited through the MLS Properties page.