<def-group>
  <definition class="compliance" id="nfs_no_insecure_locks_exports" version="1">
    <metadata>
      <title>No insecure_locks Option in /etc/exports</title>
      <affected family="unix">
        <platform>CentOS 4</platform>
		<platform>CentOS 5</platform>
		<platform>Red Hat Enterprise Linux 4</platform>
		<platform>Red Hat Enterprise Linux 5</platform>
      </affected>
      <description>Insecure file locking could allow for sensitive 
	  data to be viewed or edited by an unauthorized user.</description>
    </metadata>
    <criteria>
      <criterion comment="make sure the insecure_locks option is not used in /etc/exports" test_ref="test_nfs_no_insecure_locks_exports" />
    </criteria>
  </definition>
  <ind:textfilecontent54_test check="all" check_existence="none_exist" comment="make sure insecure_locks is not used in /etc/exports" id="test_nfs_no_insecure_locks_exports" version="1">
    <ind:object object_ref="object_nfs_no_insecure_locks_exports" />
  </ind:textfilecontent54_test>
  <ind:textfilecontent54_object id="object_nfs_no_insecure_locks_exports" version="1">
    <ind:filepath>/etc/exports</ind:filepath>
    <ind:pattern operation="pattern match">.*insecure_locks.*</ind:pattern>
    <ind:instance operation="greater than or equal" datatype="int">1</ind:instance>
  </ind:textfilecontent54_object>
</def-group>
