From 4e2555febef13e0b03ff2c4a461a5f73d6f3a5d6 Mon Sep 17 00:00:00 2001 From: Matthias Krack Date: Wed, 13 Feb 2019 15:51:24 +0100 Subject: [PATCH] Print info about SELinux --- tools/regtesting/do_regtest | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/regtesting/do_regtest b/tools/regtesting/do_regtest index e0f0a8961d..4aa9e3f1b8 100755 --- a/tools/regtesting/do_regtest +++ b/tools/regtesting/do_regtest @@ -777,6 +777,13 @@ fi echo "--------------------------- Resource limits ------------------------------" prlimit +echo "--------------------------- SELinux --------------------------------------" +if [[ -f /usr/sbin/getenforce ]]; then + echo "SELinux is installed and is $(/usr/sbin/getenforce)" +else + echo "No SELinux installation found" +fi + echo "--------------------------- Preparations ---------------------------------" # make realclean