aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Vermeulen <sven.vermeulen@siphos.be>2013-12-11 21:51:29 +0100
committerSven Vermeulen <sven.vermeulen@siphos.be>2013-12-11 21:51:29 +0100
commita6f37929a49613d714cd9ff316084dc295f06928 (patch)
treec7739c5dc2e629d1b3c7efc51857e80b2f54d65a
parentAdding OpenSSH files (diff)
downloadhardened-docs-a6f37929a49613d714cd9ff316084dc295f06928.tar.gz
hardened-docs-a6f37929a49613d714cd9ff316084dc295f06928.tar.bz2
hardened-docs-a6f37929a49613d714cd9ff316084dc295f06928.zip
Fix QUOTA check (better output)
-rw-r--r--xml/SCAP/gentoo-oval.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/xml/SCAP/gentoo-oval.xml b/xml/SCAP/gentoo-oval.xml
index 611d021..693d59f 100644
--- a/xml/SCAP/gentoo-oval.xml
+++ b/xml/SCAP/gentoo-oval.xml
@@ -578,9 +578,9 @@
</lin-def:partition_test>
<ind-def:textfilecontent54_test id="oval:org.gentoo.dev.swift:tst:19"
- version="1" check="at least one" check_existence="at_least_one_exists"
+ version="2" check="all" check_existence="at_least_one_exists"
comment="Tests that CONFIG_QUOTA is in the kernel configuration">
- <!-- The file containing kernel configuration -->
+ <!-- The file containing kernel configuration matching CONFIG_QUOTA -->
<ind-def:object object_ref="oval:org.gentoo.dev.swift:obj:9" />
<!-- Match for "^CONFIG_QUOTA=[ym]" -->
<ind-def:state state_ref="oval:org.gentoo.dev.swift:ste:4" />
@@ -677,9 +677,9 @@
</lin-def:partition_object>
<ind-def:textfilecontent54_object id="oval:org.gentoo.dev.swift:obj:9"
- version="1" comment="The file containing kernel configuration">
+ version="2" comment="The file containing kernel configuration CONFIG_QUOTA">
<ind-def:filepath>/usr/src/linux/.config</ind-def:filepath>
- <ind-def:pattern operation="pattern match">^CONFIG_.*</ind-def:pattern>
+ <ind-def:pattern operation="pattern match">CONFIG_QUOTA.*</ind-def:pattern>
<ind-def:instance operation="greater than or equal" datatype="int">1</ind-def:instance>
</ind-def:textfilecontent54_object>