commit | 8bb79224b87aab92071e94d46e70bd160d89bf34 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed Jul 16 09:51:03 2008 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Jul 26 20:53:19 2008 -0400 |
tree | dab47cbb434876e5916f18b738ef8bd3fe1e1ce1 | |
parent | db2e747b14991a4c6a5c98b0e5f552a193237c03 [diff] |
[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 <viro@zeniv.linux.org.uk>