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

Steve Beattie steve at nxnw.org
Fri Nov 1 23:31:50 UTC 2013


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.

> 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.)

-- 
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: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20131101/eb3f57ff/attachment.pgp>


More information about the AppArmor mailing list