On Fri, Aug 12, 2016 at 11:01:09PM +0200, Christian Boltz wrote:
> aa.py changes:
> - add propose_file_rules() - will propose matching paths from existing
>   rules in the profile or one of the includes
> - save user_globs if user selects '(N)ew' (will be re-used when
>   proposing rules)
> - change user_globs to a dict so that it can carry the human-readable
>   path and an AARE object for it
> - change order_globs() to ensure the original path (given as parameter)
>   is always the last item in the resulting list
> - add a ruletype switch to ask_the_questions() so that it uses
>   propose_file_rules() for file events (I don't like this
>   ruletype-specific solution too much, but everything else would make
>   things even more complicated)
> 
> Also keep aa-mergeprof ask_the_questions() in sync with aa.py.
> 
> In FileRule, add original_perms (might be set by propose_file_rules())
> 
> Finally, add some tests to ensure propose_file_rules() does what it promises.
> 
> [ 24-propose_file_rules.diff ]

Acked-by: Steve Beattie <st...@nxnw.org>. 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