[apparmor] [patch] aa-mergeprof: move creating the headers for capabilty and network rules inside the loop

Steve Beattie steve at nxnw.org
Tue Jun 2 06:16:24 UTC 2015


On Sun, May 24, 2015 at 11:25:45PM +0200, Christian Boltz wrote:
> Hello,
> 
> this patch moves the code to set q.headers, q.functions and q.default 
> for network and capability rules inside the "while not done" loop. This 
> ensures to always have valid headers (for example, after changing the 
> audit qualifier, the severity was "lost" before) and avoids some 
> duplicated code.
> 
> Also drop a useless "if True:" condition and change the whitespace of
> the following lines.
> [ 25-mergeprof-move-headers-inside-loop.diff ]

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

-- 
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/20150601/a47c4473/attachment.pgp>


More information about the AppArmor mailing list