[apparmor] [patch] Change aa.py ask_the_questions() to use the aa-mergeprof code for network rules

Steve Beattie steve at nxnw.org
Tue Jun 2 23:54:50 UTC 2015


On Mon, May 25, 2015 at 12:18:31PM +0200, Christian Boltz wrote:
> this patch replaces the code in aa.py ask_the_questions() that handles 
> network rules with the ask_the_questions() code initially copied from 
> aa-mergeprof.
> 
> This means to convert the network/netdomain log events to a
> NetworkRuleset stored in the log_obj hasher, and then let the code from
> aa-mergeprof operate on this hasher.
> 
> The user interface is mostly unchanged, with two exceptions:
> - options always displayed, even if there is only one option
> - some slightly changed texts
> 
> If you didn't understand why there's a need for the previous patch, this
> one should explain it :-)
> 
> [ 28-logprof-use-mergeprof-code-for-network.diff ]

Acked-by: Steve Beattie <steve at nxnw.org>. This ends up fixing at least
one bug where the 'audit' keyword wasn't listed as a separate qualifier,
but instead showed up smooshed into the Network Family header.

Thanks.

-- 
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: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150602/9a0b8694/attachment.pgp>


More information about the AppArmor mailing list