diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2011-12-08 13:24:06 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-12-08 22:18:12 +0100 |
commit | 1418a3e5ad4d01b1d4abf2c479c50b0cedd59e3f (patch) | |
tree | daec3f125671eeb36a55ca0d00c3473af2c8872c /crypto/cast6.c | |
parent | Merge branch '3.2-rc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
download | linux-1418a3e5ad4d01b1d4abf2c479c50b0cedd59e3f.tar.xz linux-1418a3e5ad4d01b1d4abf2c479c50b0cedd59e3f.zip |
TOMOYO: Fix pathname handling of disconnected paths.
Current tomoyo_realpath_from_path() implementation returns strange pathname
when calculating pathname of a file which belongs to lazy unmounted tree.
Use local pathname rather than strange absolute pathname in that case.
Also, this patch fixes a regression by commit 02125a82 "fix apparmor
dereferencing potentially freed dentry, sanitize __d_path() API".
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: stable@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/cast6.c')
0 files changed, 0 insertions, 0 deletions