Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2019-07-10 21:10:31 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-07-10 21:10:31 +0300
commitafba58e7433140e76736bc9dc539e8b7cb7e6756 (patch)
tree624a41be3a47c459fa2e0d6e64b8b6f6ce5c7d7f /include/tests_memory_processes
parent1a57b41bddb07e0ee122e1fe685d7d01b329a649 (diff)
[PROC-3802] test for presence of prelink tooling
Diffstat (limited to 'include/tests_memory_processes')
-rw-r--r--include/tests_memory_processes21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/tests_memory_processes b/include/tests_memory_processes
index 49fbd7c4..cde405c3 100644
--- a/include/tests_memory_processes
+++ b/include/tests_memory_processes
@@ -116,6 +116,27 @@
#
#################################################################################
#
+ # Test : PROC-3802
+ # Description : Check presence of prelink tooling
+ Register --test-no PROC-3802 --weight L --network NO --category security --description "Check presence of prelink tooling"
+ if [ ${SKIPTEST} -eq 0 ]; then
+ if PackageIsInstalled "prelink"; then
+ LogText "Result: prelink packages is installed"
+ # TODO
+ # - Add item to website with rationale
+ #ReportSuggestion "${TEST_NO}" "Disable and remove prelinking of binaries"
+ AddHP 1 3
+ Display --indent 2 --text "- Search prelink tooling" --result "${STATUS_FOUND}" --color YELLOW
+ else
+ Display --indent 2 --text "- Search prelink tooling" --result "${STATUS_NOT_FOUND}" --color GREEN
+ LogText "Result: prelink package is NOT installed"
+ AddHP 3 3
+ fi
+ fi
+#
+#################################################################################
+#
+
WaitForKeyPress