[apparmor] [patch] Replace duplicate code in aa-mergeprof with a loop

Steve Beattie steve at nxnw.org
Tue Jun 2 06:12:48 UTC 2015

On Sun, May 24, 2015 at 11:23:54PM +0200, Christian Boltz wrote:
> now that the handling for capability and network rules is the same,
> wrap the former network rule-only code with
>     for ruletype in ['capability', 'network']:
> and delete the superfluous ;-) capabiltiy code block.
> Needless to say that future updates for other rule types will be
> quite easy ;-)
> [ 24-mergeprof-drop-duplicate-code.diff ]

Acked-by: Steve Beattie <steve at nxnw.org>

Steve Beattie
<sbeattie at ubuntu.com>
-------------- 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/20150601/41cdb781/attachment.pgp>

More information about the AppArmor mailing list