From: Tetsuo Handa Date: Thu, 8 Dec 2011 12:24:06 +0000 (+0900) Subject: TOMOYO: Fix pathname handling of disconnected paths. X-Git-Tag: v3.2-rc5~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1418a3e5ad4d01b1d4abf2c479c50b0cedd59e3f;p=pandora-kernel.git 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 Acked-by: Al Viro Cc: stable@vger.kernel.org Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed