[apparmor] [PATCH 05/16] AppArmor: Fix the error case for chroot relative path name lookup

Kees Cook kees at ubuntu.com
Wed Feb 22 20:30:08 UTC 2012


On Wed, Feb 22, 2012 at 09:10:30AM -0800, John Johansen wrote:
> When a chroot relative pathname lookup fails it is falling through to
> do a d_absolute_path lookup.  This is incorrect as d_absolute_path should
> only be used to lookup names for namespace absolute paths.
> 
> Signed-off-by: John Johansen <john.johansen at canonical.com>

Signed-off-by: Kees Cook <kees at ubuntu.com>

-- 
Kees Cook



More information about the AppArmor mailing list