[PATCH 08/21] Removed duplicate object_lib64_dir
Shawn Wells
shawn.d.wells at gmail.com
Mon May 13 03:11:32 UTC 2013
-------------- next part --------------
>From bc6fbcd28a26a5923c06ed4956a23f26232c0a04 Mon Sep 17 00:00:00 2001
From: Shawn Wells <shawn at redhat.com>
Date: Sun, 12 May 2013 22:26:52 -0400
Subject: [PATCH 08/21] Removed duplicate object_lib64_dir
Updated OVAL checks to have unique names
---
RHEL6/input/checks/file_ownership_library_dirs.xml | 4 ++--
.../input/checks/file_permissions_library_dirs.xml | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/RHEL6/input/checks/file_ownership_library_dirs.xml b/RHEL6/input/checks/file_ownership_library_dirs.xml
index 2509336..a606fc1 100644
--- a/RHEL6/input/checks/file_ownership_library_dirs.xml
+++ b/RHEL6/input/checks/file_ownership_library_dirs.xml
@@ -44,14 +44,14 @@
</unix:file_object>
<unix:file_test check="all" check_existence="none_exist" comment="/lib64 directories uid root" id="test_ownership_lib64_dir" version="1">
- <unix:object object_ref="object_lib64_dir" />
+ <unix:object object_ref="object_file_ownership_lib64_dir" />
</unix:file_test>
<unix:file_test check="all" check_existence="none_exist" comment="/lib64 files uid root" id="test_ownership_lib64_files" version="1">
<unix:object object_ref="object_lib64_files" />
</unix:file_test>
- <unix:file_object comment="/lib64 directories" id="object_lib64_dir" version="1">
+ <unix:file_object comment="/lib64 directories" id="object_file_ownership_lib64_dir" version="1">
<unix:behaviors recurse="directories" recurse_direction="down" max_depth="-1" recurse_file_system="all" />
<unix:path operation="equals">/lib64</unix:path>
<unix:filename xsi:nil="true" />
diff --git a/RHEL6/input/checks/file_permissions_library_dirs.xml b/RHEL6/input/checks/file_permissions_library_dirs.xml
index 8ec4e7c..05ac11d 100644
--- a/RHEL6/input/checks/file_permissions_library_dirs.xml
+++ b/RHEL6/input/checks/file_permissions_library_dirs.xml
@@ -47,14 +47,14 @@
</unix:file_object>
<unix:file_test check="all" check_existence="none_exist" comment="/lib64 directories go-w" id="test_perms_lib64_dir" version="1">
- <unix:object object_ref="object_lib64_dir" />
+ <unix:object object_ref="object_file_permissions_lib64_dir" />
</unix:file_test>
<unix:file_test check="all" check_existence="none_exist" comment="/lib64 files go-w" id="test_perms_lib64_files" version="1">
<unix:object object_ref="object_lib64_files" />
</unix:file_test>
- <unix:file_object comment="/lib64 directories" id="object_lib64_dir" version="1">
+ <unix:file_object comment="/lib64 directories" id="object_file_permissions_lib64_dir" version="1">
<unix:behaviors recurse="symlinks and directories" recurse_direction="down" max_depth="-1" recurse_file_system="all" />
<unix:path operation="equals">/lib64</unix:path>
<unix:filename xsi:nil="true" />
--
1.7.1
More information about the scap-security-guide
mailing list