[apparmor] [patch] Use list check in PtraceRule and SignalRule is_covered_localvars()

Steve Beattie steve at nxnw.org
Mon Jan 25 21:30:53 UTC 2016


On Mon, Dec 21, 2015 at 10:05:29PM +0100, Christian Boltz wrote:
> PtraceRule access and SignalRule access and signal can contain more than
> one value. Therefore adjust is_covered_localvars() in both to use the
> list (subset) instead of the plain (exactly equal) check.
> 
> Also add a testcase for each to ensure the list/subset check works as
> expected.
> 
> 
> [ 41-ptrace-signal-use-list-in-is_covered.diff ]

Acked-by: Steve Beattie <steve at nxnw.org>. 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/20160125/e1b29e6a/attachment.pgp>


More information about the AppArmor mailing list