Re: [apparmor] [patch] split off _is_covered_*() helper functions

2016-01-25 Thread Steve Beattie
On Mon, Dec 21, 2015 at 12:45:18AM +0100, Christian Boltz wrote: > is_covered_localvars() in the rule classes need the same set of checks > again and again. This patch adds the helper functions _is_covered_list(), > _is_covered_aare() and _is_covered_plain() to check against lists, AARE > and

[apparmor] [patch] split off _is_covered_*() helper functions

2015-12-20 Thread Christian Boltz
Hello, is_covered_localvars() in the rule classes need the same set of checks again and again. This patch adds the helper functions _is_covered_list(), _is_covered_aare() and _is_covered_plain() to check against lists, AARE and plain variables like str. The helpers check if the values from the