diff options
Diffstat (limited to 'xml/SCAP/gentoo-oval.xml')
-rw-r--r-- | xml/SCAP/gentoo-oval.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/xml/SCAP/gentoo-oval.xml b/xml/SCAP/gentoo-oval.xml index 427e5c1..c4a9da5 100644 --- a/xml/SCAP/gentoo-oval.xml +++ b/xml/SCAP/gentoo-oval.xml @@ -612,6 +612,22 @@ </criteria> </definition> + <definition id="oval:org.gentoo.dev.swift:def:37" version="1" class="compliance"> + <metadata> + <title>The / file system is mounted with the nodev option</title> + <affected family="unix"> + <platform>Gentoo Linux</platform> + </affected> + <description> + This definition tests whether the / partition is mounted with the nodev + mount option. + </description> + </metadata> + <criteria operator="AND"> + <criterion test_ref="oval:org.gentoo.dev.swift:tst:41" comment="The / file system is mounted with nodev mount option" /> + </criteria> + </definition> + </definitions> <tests> @@ -946,6 +962,15 @@ <unix-def:state state_ref="oval:org.gentoo.dev.swift:ste:17" /> </unix-def:file_test> + <lin-def:partition_test id="oval:org.gentoo.dev.swift:tst:41" + version="1" check="all" check_existence="all_exist" + comment="Tests that / is mounted with nodev option"> + <!-- / partition --> + <lin-def:object object_ref="oval:org.gentoo.dev.swift:obj:29" /> + <!-- "nodev" mount option --> + <lin-def:state state_ref="oval:org.gentoo.dev.swift:ste:2" /> + </lin-def:partition_test> + </tests> <objects> @@ -1117,6 +1142,11 @@ <unix-def:filename xsi:nil="true"/> </unix-def:file_object> + <lin-def:partition_object id="oval:org.gentoo.dev.swift:obj:29" + version="1" comment="The / partition"> + <lin-def:mount_point>/</lin-def:mount_point> + </lin-def:partition_object> + </objects> <states> |