On Wed, Nov 26, 2014 at 09:33:53PM +0100, Christian Boltz wrote:
> Hello,
> 
> this patch fixes the usage of the aa hasher in aa.py handle_children() - 
> for interpreters, it used 
>     aa[profile][hat]['path'][interpreter_path]['mode']
> instead of
>     aa[profile][hat]['allow']['path'][interpreter_path]['mode']
> 
> The ['allow'] part was missing.
> 
> Note that the interpreter is already added in create_new_profile, which 
> explains why even the buggy code included the interpreter in the profile.
> (That could also mean that we don't need the interpreter stuff in 
> handle_children(), but that's another question that needs to be checked 
> carefully. And that means "not part of this patch" ;-)

Acked-by: Steve Beattie <[email protected]>

Thanks.


-- 
Steve Beattie
<[email protected]>
http://NxNW.org/~steve/

Attachment: signature.asc
Description: Digital signature

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to