ci: match Ubuntu unprivileged bwrap profile

This commit is contained in:
viyatb-oai
2026-04-17 13:47:57 -07:00
parent d091915dce
commit fe5db40c71
2 changed files with 3 additions and 3 deletions

View File

@@ -106,7 +106,7 @@ set -euo pipefail
aa_profile="$(cat /proc/self/attr/current)"
echo "payload.apparmor=$aa_profile"
case "$aa_profile" in
*bwrap*unpriv_bwrap*) ;;
*unpriv_bwrap*) ;;
*)
echo "Expected payload to run under Ubuntu's unprivileged bwrap AppArmor profile." >&2
exit 1
@@ -131,7 +131,7 @@ set -euo pipefail
aa_profile="$(cat /proc/self/attr/current)"
echo "payload.apparmor=$aa_profile"
case "$aa_profile" in
*bwrap*unpriv_bwrap*)
*unpriv_bwrap*)
echo "Expected legacy Landlock smoke to avoid the bwrap AppArmor profile." >&2
exit 1
;;