[apparmor] update regression tests to account for parser support of a feature

Seth Arnold seth.arnold at canonical.com
Thu Apr 30 03:26:20 UTC 2015


On Wed, Apr 29, 2015 at 06:31:43PM -0700, John Johansen wrote:
> right I was thinking of a couple follow on patches
> 
> rename have_features -> kernel_features
>        requires_features -> requires_kernel_features
> 
> and then another patch that reintroduces have_features and requires_features
> for the common uses. I think we would have to specify the current sets as
> pairs unless we can come up with a good way to provide a mapping, so
> 
>   requires_features "network/af_unix" "unix,"
> 
> and it would expand into
>     $(requires_kernel_features "network/af_unix") == "true" -a $(parser_supports "unix,") == "true"

Nice, I was thinking much the same but didn't want to get greedy.

Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150429/80618e44/attachment.pgp>


More information about the AppArmor mailing list