From b54bc589bbaa3b158cad2e23a4e32158b1622e51 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sun, 21 Oct 2018 11:58:58 -0400 Subject: apparmor test --- test/filters/filters.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/filters/filters.sh') diff --git a/test/filters/filters.sh b/test/filters/filters.sh index 72d699415..917aa93b6 100755 --- a/test/filters/filters.sh +++ b/test/filters/filters.sh @@ -12,6 +12,12 @@ if [ -f /etc/debian_version ]; then fi export PATH="$PATH:/usr/lib/firejail:/usr/lib64/firejail" +if [ -f /sys/kernel/security/apparmor/profiles ]; then + echo "TESTING: apparmor (test/filters/apparmor.exp)" + ./apparmor.exp +else + echo "TESTING SKIP: no apparmor support in Linux kernel (test/filters/apparmor.exp)" +fi if [ "$(uname -m)" = "x86_64" ]; then echo "TESTING: memory-deny-write-execute (test/filters/memwrexe.exp)" -- cgit v1.2.3-70-g09d2