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>2020-03-25 21:40:05 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2020-03-25 21:40:05 +0300
commit603d5b16a282b6c2f646bae450002e385bd91b3f (patch)
tree4a9d80ed150564d82de366b27949b95ca386917c /include/tests_file_integrity
parentb8cdb04772aac01bbdaec89d49cd22bc6325e4b8 (diff)
[FINT-4339] define what file to check for
Diffstat (limited to 'include/tests_file_integrity')
-rw-r--r--include/tests_file_integrity2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_file_integrity b/include/tests_file_integrity
index dc32411d..728c2616 100644
--- a/include/tests_file_integrity
+++ b/include/tests_file_integrity
@@ -305,7 +305,7 @@
if [ ${SKIPTEST} -eq 0 ]; then
FOUND=0
if [ -e /sys/kernel/security/ima ]; then
- FOUND=$(${CAT_BINARY} /sys/kernel/security/ima)
+ FOUND=$(${CAT_BINARY} /sys/kernel/security/ima/runtime_measurements_count)
fi
if [ "${FOUND}" -ne 1 ]; then
LogText "Result: EVM tools found but IMA/EVM disabled"