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:
Diffstat (limited to 'include/tests_mac_frameworks')
-rw-r--r--include/tests_mac_frameworks6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/tests_mac_frameworks b/include/tests_mac_frameworks
index e758f8d2..d1bfeeb6 100644
--- a/include/tests_mac_frameworks
+++ b/include/tests_mac_frameworks
@@ -180,6 +180,12 @@
else
Display --indent 2 --text "- Checking presence grsecurity" --result "${STATUS_NOT_FOUND}" --color WHITE
fi
+ if [ ! -z "${GRADMBINARY}" ]; then
+ FIND=$(${GRADMBINARY} --status)
+ if [ "${FIND}" = "The RBAC system is currently enabled." ]; then
+ MAC_FRAMEWORK_ACTIVE=1
+ fi
+ fi
fi
#
#################################################################################