[apparmor] [PATCH v3] Convert aa-status to Python

Steve Beattie steve at nxnw.org
Fri May 27 18:16:47 UTC 2011


On Fri, May 27, 2011 at 08:11:27AM -0500, Jamie Strandboge wrote:
> On Thu, 2011-05-26 at 20:37 -0400, Marc Deslauriers wrote:
> > [v3: fixed parsing entries with wildcards, also sort entries by pid]
> > 
> > [v2: cleaned up for Python v3 support, moves Perl aa-status tool to the
> > deprecated directory for distros that still need it.]
> > 
> > Here is a patch that converts the aa-status tool to Python, so it can be
> > packaged separately from the rest of the perl tools and not require a
> > bunch of perl modules to be installed on a minimal system.
> 
> I have not had time to dig into the code, though a cursory glance shows
> it to be fine. I have tested it on python 2.4 - 2.7 and 3.2 and it works
> well. It works with wildcard pathnames and hats, and its sorting is
> actually correct, which is a welcome surprise. :)

I'm a tiny bit confused why the perl sorting is not working on your
example system.

> ACK pending someone else's code review so long as for the short term we
> keep the perl version in a deprecated folder somewhere.

Acked-By: Steve Beattie <sbeattie at ubuntu.com>

-- 
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/20110527/d8aa4238/attachment.pgp>


More information about the AppArmor mailing list