On Sat, May 09, 2015 at 10:39:08PM +0200, Christian Boltz wrote: > Hello, > > this patch changes aa.py to use ChangeProfileRule and > ChangeProfileRuleset instead of a sub-hasher to store and write > change_profile rules. In detail: > - drop all the change_profile rule parsing from parse_profile_data() and > serialize_profile_from_old_profile() - instead, just call > ChangeProfileRule.parse() > - change write_change_profile to use ChangeProfileRuleset > - add removal of superfluous/duplicate change_profile rules (the old > code didn't do this) > > Note that this patch is much smaller than the NetworkRule and > CapabilityRule patches because aa-logprof doesn't ask for adding > change_profile rules - adding that is something for a later patch. > > > [ 03-use-ChangeProfileRule.diff ]
Acked-by: Steve Beattie <[email protected]>. Thanks. -- Steve Beattie <[email protected]> http://NxNW.org/~steve/
signature.asc
Description: Digital signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
