Skip to content

tests/regression/apparmor/syscall.sh: fail iopl/ioperm with lockdown

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

Merge request reports