[apparmor] [PATCH 10/14] Fix: refactor change_profile to deal with unexpected TOK_ID error

John Johansen john.johansen at canonical.com
Mon Jun 8 19:18:30 UTC 2015


On 06/08/2015 12:09 PM, Steve Beattie wrote:
> On Thu, Jun 04, 2015 at 03:56:39AM -0700, John Johansen wrote:
>> bison isn't properly handling the 3 options of
>>
>> TOK_CHANGE_PROFILE opt_id TOK_END_OF_RULE
>> TOK_CHANGE_PROFILE opt_id TOK_ARROW TOK_ID TOK_END_OF_RULE
>> TOK_CHANGE_PROFILE opt_id TOK_ARROW TOK_COLON TOK_ID TOK_COLON TOK_END_OF_RULE
>>
>> specifying
>>   change_profile /exec,
>>
>> results in an unexpected TOK_ID error
> 
> I'm not able to reproduce this failure with patch 08 applied...
> 
interesting, this gave me no end of grief. One of those wtf I swear that is valid
and mess around with it until it works. Any how it was failing on some of the
tests for me, and yeah dedup ftw




More information about the AppArmor mailing list