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 <apparmor@cboltz.de>
This commit is contained in:
Christian Boltz 2014-05-29 16:53:02 +02:00
parent 29469c6e2a
commit 4bff5778e0

View file

@ -1234,7 +1234,7 @@ def handle_children(profile, hat, root):
parent_uses_ld_xxx = check_for_LD_XXX(profile) parent_uses_ld_xxx = check_for_LD_XXX(profile)
sev_db.unload_variables() sev_db.unload_variables()
sev_db.load_variables(profile) sev_db.load_variables(get_profile_filename(profile))
severity = sev_db.rank(exec_target, 'x') severity = sev_db.rank(exec_target, 'x')
# Prompt portion starts # Prompt portion starts