mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 14:25:52 +00:00
regression tests: Make the xattr_profile.sh depend on outofband transitions
While xattr attachments exist without outofband transitions, they are broken when values contain the null character. The addition of outofband transitions fixes this problem. While we could make the test requirement for outofband transitions specific to a few tests, since the parser currently requires outofband transitions to generate xattr attachment conditionals, for a first pass just make the whole test suite require them. Revisit this when/if the parser will allow xattr attachments without outofband transitions. Signed-off-by: John Johansen <john.johansen@canonical.com> Acked-by: Steve Beattie <sbeattie@ubuntu.com>
This commit is contained in:
@@ -21,7 +21,7 @@ bin=$pwd
|
||||
file="$bin/xattrs_profile"
|
||||
|
||||
requires_kernel_features domain/attach_conditions/xattr
|
||||
|
||||
requires_kernel_features policy/outofband
|
||||
|
||||
# Clean up existing xattrs
|
||||
clean_xattr()
|
||||
|
Reference in New Issue
Block a user