[apparmor] [patch] fix and improve recursive_print()
Christian Boltz
apparmor at cboltz.de
Tue Dec 9 16:01:39 UTC 2014
Hello,
Am Montag, 8. Dezember 2014 schrieb Steve Beattie:
> On Mon, Nov 17, 2014 at 01:18:11PM -0800, Steve Beattie wrote:
> > Update patch follows. It adds a header such that sample results look
like:
> > [unix]
> >
> > [
> >
> > [Raw_Unix_Rule]
> >
> > audit = False
> > deny = False
> > raw rule = unix peer=(label=@{profile_name}),
...
> > It also fixes a situation where, when the list or tuple is empty, it
> > would output:
> > [@{DOVECOT_MAILSTORE}]
> >
> > [
> > [--- empty ---]
> > ]
> >
> > and instead corrects it to just output:
> > [@{DOVECOT_MAILSTORE}]
> >
> > [--- empty ---]
> >
> > It also reduces the indention for lists and tuples by one to one, as
> > it was causing the raw rules to be overly indented.
> >
> > Signed-off-by: Steve Beattie <steve at nxnw.org>
>
> Poke, any feedback on this? Thanks.
Looks good :-)
Acked-by: Christian Boltz <apparmor at cboltz.de>
Regards,
Christian Boltz
--
No trees were killed in the sending of this message. However a large
number of electrons were terribly inconvenienced.
More information about the AppArmor
mailing list