[apparmor] [PATCH] [parsers] allow for nested alternations expressions

John Johansen john.johansen at canonical.com
Mon Nov 4 09:30:19 UTC 2013


On 11/01/2013 04:31 PM, Steve Beattie wrote:
> On Thu, Sep 05, 2013 at 12:55:06PM -0700, John Johansen wrote:
>> allow for nested alternations in regex patterns
>>
>> Currently alternations are limited to a single level, make it so we can
>> nest alternations.
>>
>> Note: this is a temporary solution to the problem. Long term this routine
>> to convert to pcre will go away when native parsing of aare is added to
>> the backend.
> 
> So you're wanting to convert parse.y to parse aa's regex directly?
> That sounds reasonable.
>
yes, it will handle aare and pcre directly

>> Signed-off-by: John Johansen <john.johansen at canonical.com>
> 
> Looks good, Acked-by: Steve Beattie <steve at nxnw.org>. Thanks!
> 
> (Sorry it took so long to get to the review of this.)
> 
np. its a bit ugly, thanks




More information about the AppArmor mailing list