[apparmor] [patch] Allow boolean definitions outside profiles, not inside

Steve Beattie steve at nxnw.org
Tue Jul 7 23:20:55 UTC 2015


On Sun, Jul 05, 2015 at 04:01:15PM +0200, Christian Boltz wrote:
> according to the parser test profiles (which are the only
> "documentation" I found about this), definition of boolean variables
> is only allowed outside profiles, not inside them.

That's correct, just like the set variables.

> parse_profile_data() got it the wrong way round, therefore this patch
> fixes the condition and updates the error message.
> 
> I propose this patch for trunk and 2.9.
> 
> [ 65-bool-definitions-outside-profile.diff ]

Acked-by: Steve Beattie <steve at nxnw.org> for both trunk and 2.9.

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150707/7ec2ea86/attachment.pgp>


More information about the AppArmor mailing list