Repository : http://git.fedorahosted.org/cgit/kernel-tests.git On branch : master >--------------------------------------------------------------- commit 24bf68be38c799c83440252a2c07ff682a342d80 Author: Justin M. Forbes <jforbes@xxxxxxxxxx> Date: Thu Aug 7 16:54:06 2014 +0200 Check for SELinux before running paxtest >--------------------------------------------------------------- default/paxtest/runtest.sh | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/default/paxtest/runtest.sh b/default/paxtest/runtest.sh index 8b44626..8aa3b4e 100755 --- a/default/paxtest/runtest.sh +++ b/default/paxtest/runtest.sh @@ -23,6 +23,13 @@ check_bits() fi } +# Ensure SELinux is enforcing +selinux=`getenforce` +if [ "$selinux" != "Enforcing" ]; then + echo "SELinux must be enforcing for this test" + exit 3 +fi + # Build. make linux >/dev/null 2>/dev/null if [ ! -f ./paxtest ]; then _______________________________________________ kernel mailing list kernel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/kernel