[apparmor] [patch] split off _is_equal_aare()
Steve Beattie
steve at nxnw.org
Mon Jan 25 21:41:18 UTC 2016
On Wed, Dec 23, 2015 at 10:02:08PM +0100, Christian Boltz wrote:
> Hello,
>
> checking if two AARE objects are equal is not hard, but also not a
> one-liner.
>
> Since we need to do this more than once (and even more often in other
> outstanding rule classes), split that code into an _is_equal_aare()
> function and change PtraceRule and SignalRule to use it.
>
> To make things even more easier, the parameters to use match the
> _is_covered_aare() syntax.
>
> [ 44-split-off-_is_equal_aare.diff ]
Acked-by: Steve Beattie <steve at nxnw.org>. Thanks.
(Yes, I know I missed 43. It requires a little more thought/effort than
I have time for at the moment.)
--
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/20160125/3e298ab5/attachment.pgp>
More information about the AppArmor
mailing list