[apparmor] [patch] Handle #include <directory> in is_known_rule()
steve at nxnw.org
Tue Jul 7 21:38:55 UTC 2015
On Sat, Jul 04, 2015 at 06:58:39PM +0200, Christian Boltz wrote:
> this patch fixes the crash reported in
> and also avoids asking for and adding superfluous rules that are
> already covered by a file in the included directory.
> This patch looks bigger than it is because it moves quite some lines
> into the "else:" branch. Everything inside the "else:" just got an
> additional whitespace level.
> Note: 2.9 needs a different patch because it has some profile_known_*()
> functions instead of is_known_rule().
> [ 61-is_known_rule-check-directory-includes.diff ]
I couldn't reproduce the failure against trunk, but the patch looks
fine. Acked-by: Steve Beattie <steve at nxnw.org>.
<sbeattie at ubuntu.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the AppArmor