<def-group>
  <definition class="compliance" id="sebool_mmap_low_allowed" version="1">
    <metadata>
        <title>Disable the mmap_low_allowed SELinux Boolean</title>
        
    <affected family="unix">
    <platform>Ubuntu 22.04</platform>
    </affected>
        <description>The SELinux 'mmap_low_allowed' boolean should be set in the system configuration.</description>
    </metadata>
    <criteria>
      <criterion comment="mmap_low_allowed is configured correctly" test_ref="test_sebool_mmap_low_allowed" />
    </criteria>
  </definition>

  <linux:selinuxboolean_test check="all" check_existence="all_exist" comment="mmap_low_allowed is configured correctly" id="test_sebool_mmap_low_allowed" version="1">
    <linux:object object_ref="object_sebool_mmap_low_allowed" />
    <linux:state state_ref="state_sebool_mmap_low_allowed" />
  </linux:selinuxboolean_test>

  <linux:selinuxboolean_object id="object_sebool_mmap_low_allowed" version="1">
    <linux:name>mmap_low_allowed</linux:name>
  </linux:selinuxboolean_object>

  <linux:selinuxboolean_state id="state_sebool_mmap_low_allowed" version="1">
    <linux:name>mmap_low_allowed</linux:name>
    
      <linux:current_status datatype="boolean" var_ref="var_mmap_low_allowed"/>
      <linux:pending_status datatype="boolean" var_ref="var_mmap_low_allowed"/>
    
  </linux:selinuxboolean_state>

  
    <external_variable comment="external variable for mmap_low_allowed" datatype="boolean" id="var_mmap_low_allowed" version="1" />
  
</def-group>