diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2011-06-19 01:50:08 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-20 01:43:05 -0400 |
| commit | 4cf27141cbe0239f48ec6f0b37bad347d51d1785 (patch) | |
| tree | ef2b247dc3cbbd795331b8937d3c29e5fc3c7b85 /fs/udf/file.c | |
| parent | 43e15cdbefea4ce6d68113de98d4f61c0cf45687 (diff) | |
| download | olio-linux-3.10-4cf27141cbe0239f48ec6f0b37bad347d51d1785.tar.xz olio-linux-3.10-4cf27141cbe0239f48ec6f0b37bad347d51d1785.zip | |
make exec_permission(dir) really equivalent to inode_permission(dir, MAY_EXEC)
capability overrides apply only to the default case; if fs has ->permission()
that does _not_ call generic_permission(), we have no business doing them.
Moreover, if it has ->permission() that does call generic_permission(), we
have no need to recheck capabilities.
Besides, the capability overrides should apply only if we got EACCES from
acl_permission_check(); any other value (-EIO, etc.) should be returned
to caller, capabilities or not capabilities.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/udf/file.c')
0 files changed, 0 insertions, 0 deletions