commit | 28042fabf43b9a8ccfaa38f8c8187cc525e53fd3 | [log] [tgz] |
---|---|---|
author | John Johansen <john.johansen@canonical.com> | Thu Feb 16 06:21:30 2012 -0800 |
committer | John Johansen <john.johansen@canonical.com> | Mon Feb 27 11:38:23 2012 -0800 |
tree | f881ccfdb821608683bebf4013a572464e798657 | |
parent | 38305a4bab4be5d278443b057f7f5e97afb07f26 [diff] |
AppArmor: Fix the error case for chroot relative path name lookup 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@canonical.com> Acked-by: Kees Cook <kees@ubuntu.com>