From 4bff5778e0eb579452126853910458b40cae3f2c Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Thu, 29 May 2014 16:53:02 +0200 Subject: [PATCH] handle_children() tried to read a profile from the binary instead of the binary's profile Patch by timdaman Bug: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1324154 Acked-By: Christian Boltz --- utils/apparmor/aa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/apparmor/aa.py b/utils/apparmor/aa.py index 81978c074..90336ec14 100644 --- a/utils/apparmor/aa.py +++ b/utils/apparmor/aa.py @@ -1234,7 +1234,7 @@ def handle_children(profile, hat, root): parent_uses_ld_xxx = check_for_LD_XXX(profile) sev_db.unload_variables() - sev_db.load_variables(profile) + sev_db.load_variables(get_profile_filename(profile)) severity = sev_db.rank(exec_target, 'x') # Prompt portion starts