[apparmor] [patch][parser] fix: auditing of capabilities

Steve Beattie steve at nxnw.org
Tue Oct 7 19:09:43 UTC 2014


On Tue, Oct 07, 2014 at 04:22:19AM -0700, John Johansen wrote:
> The audit flags are not being set correctly by the parser so that
> 
>   audit capability XXX,
> 
> will not result in an audit message being logged when the capability
> is used.
> 
> Signed-off-by: John Johansen <john.johansen at canonical.com>
Acked-by: Steve Beattie <steve at nxnw.org>

Though given how repeated the logic is around handling audit/deny, this
really ought to be embedded into a helper function.

Please reference https://bugs.launchpad.net/bugs/1378091 in the commit
(i.e. '--fixes lp:1378091').

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/20141007/16f6f53d/attachment.pgp>


More information about the AppArmor mailing list