tests/regression/apparmor/syscall.sh: fail iopl/ioperm with lockdown
requested to merge alex_murray/apparmor:fail-iopl-ioperm-regression-tests-under-lockdown into master
When kernel lockdown is enabled the ioperm and iopl tests will fail regardless since lockdown prevents these syscalls before AppArmor has a chance to mediate them. So workaround this by detecting when lockdown is enabled and expect the tests to fail in that case.
Fixes issue #226 (closed).
Signed-off-by: Alex Murray alex.murray@canonical.com