diff options
author | 2006-08-22 20:06:03 -0400 | |
---|---|---|
committer | 2006-08-24 15:54:58 -0400 | |
commit | a343bb7750e6a098909c34f5c5dfddbc4fa40053 (patch) | |
tree | f4125368b85270b4fd619ae317ce0796605c579e /crypto/algapi.c | |
parent | NFSv4: Add v4 exception handling for the ACL functions. (diff) | |
download | linux-rng-a343bb7750e6a098909c34f5c5dfddbc4fa40053.tar.xz linux-rng-a343bb7750e6a098909c34f5c5dfddbc4fa40053.zip |
VFS: Fix access("file", X_OK) in the presence of ACLs
Currently, the access() call will return incorrect information on NFS if
there exists an ACL that grants execute access to the user on a regular
file. The reason the information is incorrect is that the VFS overrides
this execute access in open_exec() by checking (inode->i_mode & 0111).
This patch propagates the VFS execute bit check back into the generic
permission() call.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
(cherry picked from 64cbae98848c4c99851cb0a405f0b4982cd76c1e commit)
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions