[apparmor] SLE doc / art_apparmor_quick.xml

2014-02-26 Thread Christian Boltz
Hello, I just found out nobody pointed me to art_apparmor_quick.xml in the SLE doc. I just accidently ;-) found it - and as always when I first touch something, it breaks into its parts ;-) For details, see the attached review patch (for SVN r12170) Regards, Christian Boltz -- Eine Sig ist

Re: [apparmor] [patch] fix aa-autodep (and aa-genprof) to write a non-empty profile

2014-02-26 Thread Steve Beattie
On Wed, Feb 26, 2014 at 11:24:36PM +0100, Christian Boltz wrote: Hello, aa-autodep (and therefore also aa-genprof) created a nearly-empty profile files with only tunables/global, but no profile. This patch makes sure that the profile itsself is also written to the profile file. Without

[apparmor] [patch] common.py: add recursive_print()

2014-02-26 Thread Christian Boltz
Hello, this patch adds recursive_print() to common.py. It prints a data structure in an easily readable output and is quite useful[1] for debugging. However, I don't recommend to call it in production code ;-) === modified file 'utils/apparmor/common.py'

Re: [apparmor] [patch] common.py: add recursive_print()

2014-02-26 Thread Kshitij Gupta
On Feb 27, 2014 6:18 AM, Christian Boltz appar...@cboltz.de wrote: Hello, this patch adds recursive_print() to common.py. It prints a data structure in an easily readable output and is quite Works with nested dictionaries, lists, strings, numbers, sets. Err it doesnt work with tuples. Gives

[apparmor] [patch] aa-unconfined fixes

2014-02-26 Thread Seth Arnold
Hello, this quick patch fixes several problems with aa-unconfined: AttributeError: 'module' object has no attribute 'UI_Info' AttributeError: 'module' object has no attribute 'open_file_read' AttributeError: 'module' object has no attribute 'check_for_apparmor' I propose this patch for trunk.

Re: [apparmor] [patch] aa-unconfined fixes

2014-02-26 Thread Steve Beattie
On Wed, Feb 26, 2014 at 10:27:24PM -0800, Seth Arnold wrote: Hello, this quick patch fixes several problems with aa-unconfined: AttributeError: 'module' object has no attribute 'UI_Info' AttributeError: 'module' object has no attribute 'open_file_read' AttributeError: 'module' object has no