On Fri, Aug 12, 2016 at 11:00:11PM +0200, Christian Boltz wrote:
> this patch adds
> - get_rules_for_path() returns all rules matching the given path
>   (both exact matches and AARE matches)
> - get_perms_for_path() returns the merged permissions for the given
>   path and a list of paths used in the matching rules
> 
> Also add tests for these two functions.
> 
> [ 22-add-get-perms-for-path.diff ]

I'm okay with this as-is, so Acked-by: Steve Beattie <st...@nxnw.org>,
but it feels like an abstraction class wrapped around the results of
get_perms_for_path() in particular might make working with them
simpler.

Thanks.

-- 
Steve Beattie
<sbeat...@ubuntu.com>
http://NxNW.org/~steve/

Attachment: signature.asc
Description: PGP signature

-- 
AppArmor mailing list
AppArmor@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to