Re: [apparmor] [patch 11/11] utils: add simple parsing of multi-line rules

2014-03-07 Thread Steve Beattie
On Fri, Mar 07, 2014 at 01:49:54PM +0100, Christian Boltz wrote: > I found another evil testcase: > parser/tst/simple_tests/vars/vars_alternation_3.sd > (and I'm slightly ;-) surprised about EXRESULT PASS - I wouldn't be > surprised if it breaks the tools) As an aside, one of my future goals is

Re: [apparmor] [patch 11/11] utils: add simple parsing of multi-line rules

2014-03-07 Thread Christian Boltz
Hello, Am Donnerstag, 6. März 2014 schrieb Steve Beattie: > On Thu, Mar 06, 2014 at 10:10:16PM +0100, Christian Boltz wrote: > > Am Mittwoch, 5. März 2014 schrieb Steve Beattie: > > > D-Bus rules in particular seem to get written as multi-line rules. > > > This patch adds very simple hackish suppo

Re: [apparmor] [patch 11/11] utils: add simple parsing of multi-line rules

2014-03-06 Thread Seth Arnold
On Thu, Mar 06, 2014 at 11:02:24PM -0800, Steve Beattie wrote: > Subject: utils: add simple parsing of multi-line rules [v2] > > D-Bus rules in particular seem to get written as multi-line rules. This > patch adds very simple hackish support for multiple lines. Essentially, > what it does is if th

Re: [apparmor] [patch 11/11] utils: add simple parsing of multi-line rules

2014-03-06 Thread Steve Beattie
On Thu, Mar 06, 2014 at 10:10:16PM +0100, Christian Boltz wrote: > Am Mittwoch, 5. März 2014 schrieb Steve Beattie: > > D-Bus rules in particular seem to get written as multi-line rules. > > This patch adds very simple hackish support for multiple lines. > > Essentially, what it does is if the pars

Re: [apparmor] [patch 11/11] utils: add simple parsing of multi-line rules

2014-03-06 Thread Christian Boltz
Hello, Am Mittwoch, 5. März 2014 schrieb Steve Beattie: > D-Bus rules in particular seem to get written as multi-line rules. > This patch adds very simple hackish support for multiple lines. > Essentially, what it does is if the parsing of a line doesn't match > anything and falls all the way thro

[apparmor] [patch 11/11] utils: add simple parsing of multi-line rules

2014-03-05 Thread Steve Beattie
D-Bus rules in particular seem to get written as multi-line rules. This patch adds very simple hackish support for multiple lines. Essentially, what it does is if the parsing of a line doesn't match anything and falls all the way through, it saves the line and prepends it to the next line that occu