Ran AppArmor tests from the QA Regression Tests [1] and POSIX mqueue tests from the AppArmor test suite and they all passed as expected.
georgia@sec-jammy-amd64:/tmp/apparmor-3.0.4/tests/regression/apparmor$ uname -a
Linux sec-jammy-amd64 5.15.0-1048-intel-iotg #54-Ubuntu SMP Thu Jan 18 18:39:09 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
georgia@sec-jammy-amd64:~/qrt-test-apparmor$ sudo ./test-apparmor.py
.....
----------------------------------------------------------------------
Ran 62 tests in 1246.031s
Ran AppArmor tests from the QA Regression Tests [1] and POSIX mqueue tests from the AppArmor test suite and they all passed as expected.
georgia@ sec-jammy- amd64:/ tmp/apparmor- 3.0.4/tests/ regression/ apparmor$ uname -a 1048-intel- iotg #54-Ubuntu SMP Thu Jan 18 18:39:09 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Linux sec-jammy-amd64 5.15.0-
georgia@ sec-jammy- amd64:~ /qrt-test- apparmor$ sudo ./test-apparmor.py ------- ------- ------- ------- ------- ------- ------- ------- -------
.....
-------
Ran 62 tests in 1246.031s
OK (skipped=2)
georgia@ sec-jammy- amd64:/ tmp$ apt source apparmor sec-jammy- amd64:/ tmp$ cd apparmor- 3.0.4/tests/ regression/ apparmor/ sec-jammy- amd64:/ tmp/apparmor- 3.0.4/tests/ regression/ apparmor$ USE_SYSTEM=1 make sec-jammy- amd64:/ tmp/apparmor- 3.0.4/tests/ regression/ apparmor$ sudo ./posix_mq.sh
georgia@
georgia@
georgia@
[sudo] password for georgia:
BAD PASSWORD: The password fails the dictionary check - it is based on a dictionary word
xpass: POSIX MQUEUE (confined root - mqueue label 1)
xpass: POSIX MQUEUE (confined root - mqueue label 1 : mq_notify)
xpass: POSIX MQUEUE (confined root - mqueue label 1 : select)
xpass: POSIX MQUEUE (confined root - mqueue label 1 : poll)
xpass: POSIX MQUEUE (confined root - mqueue label 1 : epoll)
xpass: POSIX MQUEUE (confined root - mqueue label 2)
xpass: POSIX MQUEUE (confined root - mqueue label 2 : mq_notify)
xpass: POSIX MQUEUE (confined root - mqueue label 2 : select)
xpass: POSIX MQUEUE (confined root - mqueue label 2 : poll)
xpass: POSIX MQUEUE (confined root - mqueue label 2 : epoll)
xpass: POSIX MQUEUE (confined 1001 - mqueue label 1)
xpass: POSIX MQUEUE (confined 1001 - mqueue label 1 : mq_notify)
xpass: POSIX MQUEUE (confined 1001 - mqueue label 1 : select)
xpass: POSIX MQUEUE (confined 1001 - mqueue label 1 : poll)
xpass: POSIX MQUEUE (confined 1001 - mqueue label 1 : epoll)
xpass: POSIX MQUEUE (confined 1001 - mqueue label 2)
xpass: POSIX MQUEUE (confined 1001 - mqueue label 2 : mq_notify)
xpass: POSIX MQUEUE (confined 1001 - mqueue label 2 : select)
xpass: POSIX MQUEUE (confined 1001 - mqueue label 2 : poll)
xpass: POSIX MQUEUE (confined 1001 - mqueue label 2 : epoll)
[1] https:/ /launchpad. net/qa- regression- testing