<def-group>
 <!-- THIS FILE IS GENERATED by create_kernel_modules_disabled.py.  DO NOT EDIT.  -->
  <definition class="compliance"
  id="kernel_module_KERNMODULE_disabled" version="1">
    <metadata>
      <title>Disable KERNMODULE Kernel Module</title>
      <affected family="unix">
        <platform>Red Hat Enterprise Linux 6</platform>
      </affected>
      <description>The kernel module KERNMODULE should be disabled.</description>
    </metadata>
    <criteria operator="OR">
      <criterion test_ref="test_kernmod_KERNMODULE_disabled" comment="kernel module KERNMODULE disabled in /etc/modprobe.d" />
      <criterion test_ref="test_kernmod_KERNMODULE_modprobeconf" comment="kernel module KERNMODULE disabled in /etc/modprobe.conf" />
    </criteria>
  </definition>

  <ind:textfilecontent54_test id="test_kernmod_KERNMODULE_disabled" version="1" check="all"
  comment="kernel module KERNMODULE disabled">
    <ind:object object_ref="obj_kernmod_KERNMODULE_disabled" />
  </ind:textfilecontent54_test>

  <ind:textfilecontent54_test id="test_kernmod_KERNMODULE_modprobeconf" version="1" check="all"
  comment="kernel module KERNMODULE disabled in /etc/modprobe.conf">
    <ind:object object_ref="obj_kernmod_KERNMODULE_modprobeconf" />
  </ind:textfilecontent54_test>

  <ind:textfilecontent54_object id="obj_kernmod_KERNMODULE_disabled"
  version="1" comment="kernel module KERNMODULE disabled">
    <ind:path>/etc/modprobe.d</ind:path>
    <ind:filename operation="pattern match">^.*\.conf$</ind:filename>
    <ind:pattern operation="pattern match">^\s*install\s+KERNMODULE\s+(/bin/false|/bin/true)$</ind:pattern>
    <ind:instance datatype="int">1</ind:instance>
  </ind:textfilecontent54_object>

  <ind:textfilecontent54_object id="obj_kernmod_KERNMODULE_modprobeconf"
  version="1" comment="Check deprecated /etc/modprobe.conf for disablement of KERNMODULE">
    <ind:filepath>/etc/modprobe.conf</ind:filepath>
    <ind:pattern operation="pattern match">^\s*install\s+KERNMODULE\s+(/bin/false|/bin/true)$</ind:pattern>
    <ind:instance datatype="int">1</ind:instance>
  </ind:textfilecontent54_object>

</def-group>
