From: Al Viro Date: Wed, 16 Jul 2008 13:51:03 +0000 (-0400) Subject: [PATCH] permission checks for chdir need special treatment only on the last step X-Git-Tag: v2.6.27-rc1~73^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bb79224b87aab92071e94d46e70bd160d89bf34;p=pandora-kernel.git [PATCH] permission checks for chdir need special treatment only on the last step ... so we ought to pass MAY_CHDIR to vfs_permission() instead of having it triggered on every step of preceding pathname resolution. LOOKUP_CHDIR is killed by that. Signed-off-by: Al Viro --- Reading git-diff-tree failed